Lines Matching refs:result
262 * and return the result. Note that this works for several types, e.g. both strings
273 * @param result Pointer to where to store result
277 match_compare_property (HalDevice *d, const char *key, const char *right_side, dbus_int64_t *result)
290 *result = (dbus_int64_t) strcmp (hal_device_property_get_string (d, key), right_side);
295 *result = ((dbus_int64_t) hal_device_property_get_int (d, key)) - strtoll (right_side, NULL, 0);
300 *result = ((dbus_int64_t) hal_device_property_get_uint64 (d, key)) - ((dbus_int64_t) strtoll (right_side, NULL, 0));
305 *result = (dbus_int64_t) ceil (hal_device_property_get_double (d, key) - atof (right_side));
636 dbus_int64_t result;
637 if (!match_compare_property (d, prop_to_check, attr[3], &result)) {
640 return result < 0;
643 dbus_int64_t result;
644 if (!match_compare_property (d, prop_to_check, attr[3], &result))
647 return result <= 0;
649 dbus_int64_t result;
650 if (!match_compare_property (d, prop_to_check, attr[3], &result))
653 return result > 0;
655 dbus_int64_t result;
656 if (!match_compare_property (d, prop_to_check, attr[3], &result))
659 return result >= 0;