/support/ |
A D | check.h | 101 #define TEST_COMPARE(left, right) \ argument 105 typedef __typeof__ (+ (right)) __right_type; \ 160 const void *right, 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 D | timespec.c | 27 struct timespec right) in test_timespec_before_impl() argument 29 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() 38 (intmax_t) right.tv_sec, (intmax_t) right.tv_nsec, in test_timespec_before_impl() 46 struct timespec right) 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() [all …]
|
A D | support_descriptors.c | 43 const struct procfs_descriptor *right = r; in descriptor_compare() local 45 return left->fd - right->fd; in descriptor_compare() 207 while (left != left_end && right != right_end) in support_descriptors_check() 209 if (left->fd == right->fd) in support_descriptors_check() 222 if (left->dev != right->dev) in support_descriptors_check() 234 if (left->ino != right->ino) in support_descriptors_check() 243 ++right; in support_descriptors_check() 245 else if (left->fd < right->fd) in support_descriptors_check() 256 ++right; in support_descriptors_check() 267 while (right != right_end) in support_descriptors_check() [all …]
|
A D | support_test_compare_string_main.c | 65 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() 74 size_t right_length = string_length_or_zero (right); 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() 87 report_length ("right", right, right_length); in SUPPORT_TEST_COMPARE_STRING() 91 report_string ("right", (const UCHAR *) right, in SUPPORT_TEST_COMPARE_STRING()
|
A D | timespec.h | 46 struct timespec right); 50 struct timespec right); 67 struct timespec right), 71 struct timespec right), 89 #define TEST_TIMESPEC_BEFORE(left, right) \ argument 90 test_timespec_before_impl (__FILE__, __LINE__, (left), (right)) 103 #define TEST_TIMESPEC_EQUAL_OR_AFTER(left, right) \ argument 104 test_timespec_equal_or_after_impl (__FILE__, __LINE__, left, right) 106 #define TEST_TIMESPEC_NOW_OR_AFTER(clockid, right) \ argument 111 TEST_TIMESPEC_EQUAL_OR_AFTER (now, (right)); \
|
A D | support_test_compare_blob.c | 54 const void *right, unsigned long int right_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() 76 report_blob ("right", right, right_length, right_expr); in support_test_compare_blob()
|
A D | run_diff.h | 29 const char *right_label, const char *right);
|
A D | support_run_diff.c | 45 const char *right_label, const char *right) in support_run_diff() argument 52 char *right_path = write_to_temp_file ("right-diff", right); in support_run_diff() 71 status, left_label, left, right_label, right); in support_run_diff()
|
A D | resolv_test.c | 96 compare_compressed_name (const void *left, const void *right) in compare_compressed_name() argument 99 const struct compressed_name *crright = right; in compare_compressed_name() 118 return left - right; in compare_compressed_name()
|