Home
last modified time | relevance | path

Searched refs:left (Results 1 – 9 of 9) sorted by relevance

/support/
A Dcheck.h101 #define TEST_COMPARE(left, right) \ argument
104 typedef __typeof__ (+ (left)) __left_type; \
158 void support_test_compare_blob (const void *left,
171 #define TEST_COMPARE_STRING(left, right) \ argument
172 (support_test_compare_string (left, right, __FILE__, __LINE__, \
173 #left, #right))
179 #define TEST_COMPARE_STRING_WIDE(left, right) \ argument
180 (support_test_compare_string_wide (left, right, __FILE__, __LINE__, \
181 #left, #right))
183 void support_test_compare_string (const char *left, const char *right,
[all …]
A Dsupport_descriptors.c45 return left->fd - right->fd; in descriptor_compare()
209 if (left->fd == right->fd) in support_descriptors_check()
222 if (left->dev != right->dev) in support_descriptors_check()
228 left->fd, in support_descriptors_check()
234 if (left->ino != right->ino) in support_descriptors_check()
239 left->fd, in support_descriptors_check()
242 ++left; in support_descriptors_check()
245 else if (left->fd < right->fd) in support_descriptors_check()
249 ++left; in support_descriptors_check()
260 while (left != left_end) in support_descriptors_check()
[all …]
A Dtimespec.c29 if (left.tv_sec > right.tv_sec in test_timespec_before_impl()
30 || (left.tv_sec == right.tv_sec in test_timespec_before_impl()
31 && left.tv_nsec > right.tv_nsec)) { in test_timespec_before_impl()
33 const struct timespec diff = timespec_sub (left, right); in test_timespec_before_impl()
37 (intmax_t) left.tv_sec, (intmax_t) left.tv_nsec, in test_timespec_before_impl()
45 struct timespec left, in test_timespec_equal_or_after_impl() argument
48 if (left.tv_sec < right.tv_sec in test_timespec_equal_or_after_impl()
49 || (left.tv_sec == right.tv_sec in test_timespec_equal_or_after_impl()
50 && left.tv_nsec < right.tv_nsec)) { in test_timespec_equal_or_after_impl()
52 const struct timespec diff = timespec_sub (right, left); in test_timespec_equal_or_after_impl()
[all …]
A Dsupport_test_compare_string_main.c65 SUPPORT_TEST_COMPARE_STRING (const CHAR *left, const CHAR *right, in SUPPORT_TEST_COMPARE_STRING() argument
70 if (left == NULL && right == NULL) in SUPPORT_TEST_COMPARE_STRING()
73 size_t left_length = string_length_or_zero (left); in SUPPORT_TEST_COMPARE_STRING()
76 if (left_length != right_length || left == NULL || right == NULL in SUPPORT_TEST_COMPARE_STRING()
77 || MEMCMP (left, right, left_length) != 0) in SUPPORT_TEST_COMPARE_STRING()
81 if (left_length == right_length && right != NULL && left != NULL) in SUPPORT_TEST_COMPARE_STRING()
86 report_length ("left", left, left_length); in SUPPORT_TEST_COMPARE_STRING()
89 report_string ("left", (const UCHAR *) left, in SUPPORT_TEST_COMPARE_STRING()
A Dtimespec.h45 struct timespec left,
49 struct timespec left,
66 struct timespec left,
70 struct timespec left,
89 #define TEST_TIMESPEC_BEFORE(left, right) \ argument
90 test_timespec_before_impl (__FILE__, __LINE__, (left), (right))
92 #define TEST_TIMESPEC_BEFORE_NOW(left, clockid) \ argument
97 TEST_TIMESPEC_BEFORE ((left), now); \
103 #define TEST_TIMESPEC_EQUAL_OR_AFTER(left, right) \ argument
104 test_timespec_equal_or_after_impl (__FILE__, __LINE__, left, right)
A Dsupport_test_compare_blob.c53 support_test_compare_blob (const void *left, unsigned long int left_length, in support_test_compare_blob() argument
63 if (left_length != right_length || left == NULL || right == NULL in support_test_compare_blob()
64 || memcmp (left, right, left_length) != 0) in support_test_compare_blob()
75 report_blob ("left", left, left_length, left_expr); in support_test_compare_blob()
A Drun_diff.h28 void support_run_diff (const char *left_label, const char *left,
A Dsupport_run_diff.c44 support_run_diff (const char *left_label, const char *left, in support_run_diff() argument
51 char *left_path = write_to_temp_file ("left-diff", left); in support_run_diff()
71 status, left_label, left, right_label, right); in support_run_diff()
A Dresolv_test.c96 compare_compressed_name (const void *left, const void *right) in compare_compressed_name() argument
98 const struct compressed_name *crleft = left; in compare_compressed_name()
118 return left - right; in compare_compressed_name()

Completed in 17 milliseconds