Home
last modified time | relevance | path

Searched refs:left_length (Results 1 – 3 of 3) sorted by relevance

/glibc-2.36/support/
Dsupport_test_compare_blob.c53 support_test_compare_blob (const void *left, unsigned long int left_length, in support_test_compare_blob() argument
60 if (left_length == 0 && right_length == 0) in support_test_compare_blob()
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()
68 if (left_length == right_length) in support_test_compare_blob()
69 printf (" blob length: %lu bytes\n", left_length); in support_test_compare_blob()
72 report_length ("left length: ", left_length, left_len_expr); in support_test_compare_blob()
75 report_blob ("left", left, left_length, left_expr); in support_test_compare_blob()
Dsupport_test_compare_string_main.c73 size_t left_length = string_length_or_zero (left); in SUPPORT_TEST_COMPARE_STRING() local
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()
82 printf (" string length: %zu %s\n", left_length, in SUPPORT_TEST_COMPARE_STRING()
86 report_length ("left", left, left_length); in SUPPORT_TEST_COMPARE_STRING()
90 left_length, left_expr); in SUPPORT_TEST_COMPARE_STRING()
Dcheck.h153 #define TEST_COMPARE_BLOB(left, left_length, right, right_length) \ argument
154 (support_test_compare_blob (left, left_length, right, right_length, \
156 #left, #left_length, #right, #right_length))
159 unsigned long int left_length,