Lines Matching refs:right
43 max_size_t (size_t left, size_t right) in max_size_t() argument
45 if (left > right) in max_size_t()
48 return right; in max_size_t()
56 strncmp_no_terminator (const char *left, const char *right) in strncmp_no_terminator() argument
59 size_t right_len = strlen (right); in strncmp_no_terminator()
60 return strncmp (left, right, max_size_t (left_len, right_len)); in strncmp_no_terminator()
64 strncasecmp_no_terminator (const char *left, const char *right) in strncasecmp_no_terminator() argument
67 size_t right_len = strlen (right); in strncasecmp_no_terminator()
68 return strncasecmp (left, right, max_size_t (left_len, right_len)); in strncasecmp_no_terminator()
72 strncmp_terminator (const char *left, const char *right) in strncmp_terminator() argument
75 size_t right_len = strlen (right); in strncmp_terminator()
76 return strncmp (left, right, max_size_t (left_len, right_len)); in strncmp_terminator()
80 strncasecmp_terminator (const char *left, const char *right) in strncasecmp_terminator() argument
83 size_t right_len = strlen (right); in strncasecmp_terminator()
84 return strncasecmp (left, right, max_size_t (left_len, right_len)); in strncasecmp_terminator()
88 strncmp_64 (const char *left, const char *right) in strncmp_64() argument
90 return strncmp (left, right, 64); in strncmp_64()
94 strncasecmp_64 (const char *left, const char *right) in strncasecmp_64() argument
96 return strncasecmp (left, right, 64); in strncasecmp_64()
100 strncmp_max (const char *left, const char *right) in strncmp_max() argument
112 return strncmp (left, right, SIZE_MAX); in strncmp_max()
117 strncasecmp_max (const char *left, const char *right) in strncasecmp_max() argument
129 return strncasecmp (left, right, SIZE_MAX); in strncasecmp_max()
142 char *right = memalign (max_align, blob_size); in do_test() local
143 if (left == NULL || right == NULL) in do_test()
202 memset (right, pads[pad_right], blob_size); in do_test()
203 strcpy (right + right_align, strings[right_idx]); in do_test()
209 (left + left_align, right + right_align); in do_test()
226 free (right); in do_test()