Lines Matching refs:d

206 		HalDevice *d;  in resolve_udiprop_path()  local
211 d = hal_device_store_find (hald_get_gdl (), udi_result); in resolve_udiprop_path()
212 if (d == NULL) in resolve_udiprop_path()
213 d = hal_device_store_find (hald_get_tdl (), udi_result); in resolve_udiprop_path()
214 if (d == NULL) in resolve_udiprop_path()
234 newudi = hal_device_property_get_string (d, udiprop); in resolve_udiprop_path()
277 match_compare_property (HalDevice *d, const char *key, const char *right_side, dbus_int64_t *result) in match_compare_property() argument
284 if (!hal_device_has_property (d, key)) in match_compare_property()
287 proptype = hal_device_property_get_type (d, key); in match_compare_property()
290 *result = (dbus_int64_t) strcmp (hal_device_property_get_string (d, key), right_side); in match_compare_property()
295 *result = ((dbus_int64_t) hal_device_property_get_int (d, key)) - strtoll (right_side, NULL, 0); in match_compare_property()
300 …*result = ((dbus_int64_t) hal_device_property_get_uint64 (d, key)) - ((dbus_int64_t) strtoll (righ… in match_compare_property()
305 *result = (dbus_int64_t) ceil (hal_device_property_get_double (d, key) - atof (right_side)); in match_compare_property()
334 HalDevice *d; in handle_match() local
354 d = hal_device_store_find (hald_get_gdl (), udi_to_check); in handle_match()
355 if (d == NULL) { in handle_match()
356 d = hal_device_store_find (hald_get_tdl (), udi_to_check); in handle_match()
358 if (d == NULL) { in handle_match()
374 if (hal_device_property_get_type (d, prop_to_check) != HAL_PROPERTY_TYPE_STRING) in handle_match()
377 if (strcmp (hal_device_property_get_string (d, prop_to_check), in handle_match()
394 if (hal_device_property_get_type (d, prop_to_check) != HAL_PROPERTY_TYPE_INT32) in handle_match()
397 if (hal_device_property_get_int (d, prop_to_check) != value) { in handle_match()
413 if (hal_device_property_get_type (d, prop_to_check) != HAL_PROPERTY_TYPE_UINT64) in handle_match()
416 if (hal_device_property_get_uint64 (d, prop_to_check) != value) { in handle_match()
436 if (hal_device_property_get_type (d, prop_to_check) != in handle_match()
440 if (hal_device_property_get_bool (d, prop_to_check) != value) in handle_match()
452 if (hal_device_has_property (d, prop_to_check)) in handle_match()
457 if (hal_device_has_property (d, prop_to_check)) in handle_match()
471 type = hal_device_property_get_type (d, prop_to_check); in handle_match()
474 if (hal_device_has_property (d, prop_to_check)) in handle_match()
475 if (strlen (hal_device_property_get_string (d, prop_to_check)) > 0) in handle_match()
479 if (hal_device_has_property (d, prop_to_check)) in handle_match()
480 if (!hal_device_property_strlist_is_empty(d, prop_to_check)) in handle_match()
509 if (hal_device_property_get_type (d, prop_to_check) != HAL_PROPERTY_TYPE_STRING) in handle_match()
514 str = hal_device_property_get_string (d, prop_to_check); in handle_match()
541 if (hal_device_property_get_type (d, prop_to_check) != HAL_PROPERTY_TYPE_STRING) in handle_match()
544 if (hal_device_has_property (d, prop_to_check)) { in handle_match()
545 path = hal_device_property_get_string (d, prop_to_check); in handle_match()
569 if (hal_device_property_get_type (d, prop_to_check) == HAL_PROPERTY_TYPE_STRING) { in handle_match()
570 if (hal_device_has_property (d, prop_to_check)) { in handle_match()
573 haystack = hal_device_property_get_string (d, prop_to_check); in handle_match()
579 } else if (hal_device_property_get_type (d, prop_to_check) == HAL_PROPERTY_TYPE_STRLIST && in handle_match()
584 value = hal_device_property_get_strlist (d, prop_to_check); in handle_match()
603 if (hal_device_property_get_type (d, prop_to_check) == HAL_PROPERTY_TYPE_STRING) { in handle_match()
604 if (hal_device_has_property (d, prop_to_check)) { in handle_match()
609 haystack_lowercase = g_utf8_strdown (hal_device_property_get_string (d, prop_to_check), -1); in handle_match()
617 } else if (hal_device_property_get_type (d, prop_to_check) == HAL_PROPERTY_TYPE_STRLIST && in handle_match()
622 value = hal_device_property_get_strlist (d, prop_to_check); in handle_match()
637 if (!match_compare_property (d, prop_to_check, attr[3], &result)) { in handle_match()
644 if (!match_compare_property (d, prop_to_check, attr[3], &result)) in handle_match()
650 if (!match_compare_property (d, prop_to_check, attr[3], &result)) in handle_match()
656 if (!match_compare_property (d, prop_to_check, attr[3], &result)) in handle_match()
1074 spawned_device_callouts_add_done (HalDevice *d, gpointer userdata1, gpointer userdata2) in spawned_device_callouts_add_done() argument
1076 HAL_INFO (("Add callouts completed udi=%s", d->udi)); in spawned_device_callouts_add_done()
1079 hal_device_store_remove (hald_get_tdl (), d); in spawned_device_callouts_add_done()
1080 hal_device_store_add (hald_get_gdl (), d); in spawned_device_callouts_add_done()
1172 HalDevice *d; in end() local
1174 d = hal_device_store_find (hald_get_gdl (), udi_to_merge_from); in end()
1175 if (d == NULL) { in end()
1176 d = hal_device_store_find (hald_get_tdl (), udi_to_merge_from); in end()
1178 if (d == NULL) { in end()
1181 hal_device_copy_property (d, prop_to_merge, pc->device, pc->merge_key); in end()
1487 scan_fdi_files (const char *dir, HalDevice * d) in scan_fdi_files() argument
1526 found_fdi_file = process_fdi_file (dir, filename, d); in scan_fdi_files()
1553 found_fdi_file = scan_fdi_files (dirname, d); in scan_fdi_files()
1582 di_search_and_merge (HalDevice *d, DeviceInfoType type) in di_search_and_merge() argument
1648 ret = scan_fdi_files (s1, d) || ret; in di_search_and_merge()
1650 ret = scan_fdi_files (s2, d) || ret; in di_search_and_merge()
1652 ret = scan_fdi_files (s3, d) || ret; in di_search_and_merge()