Lines Matching +defs:val +defs:args
40 removal_args_t *args = user_data;
42 time_t *val = value;
44 HAL_DEBUG(("test stale: %s (%d > %d)", name, args->timestamp, *val));
45 if (args->timestamp > *val) {
51 udi = libhal_manager_find_device_string_match(args->ctx,
59 libhal_remove_device(args->ctx, udi[i], &error);
76 removal_args_t args[1];
78 args->ctx = ctx;
79 args->timestamp = timestamp;
81 g_hash_table_foreach_remove(seen, device_remove_if_stale, args);
90 time_t *val;
97 (gpointer)&key, (gpointer)&val);
99 if ((result == FALSE) && ((val = calloc(1, sizeof (*val))) != NULL)) {
100 g_hash_table_insert(seen, strdup(name), val);
102 (void) time(val);
103 HAL_DEBUG(("seen: %s (%d)", name, *val));