Lines Matching full:s2
213 const char *s1, const char *s2, \
218 test_fail_message(NULL, file, line, #type, s1, s2, #op, \
277 const char *s1, const char *s2) in test_str_eq() argument
279 if (s1 == NULL && s2 == NULL) in test_str_eq()
281 if (s1 == NULL || s2 == NULL || strcmp(s1, s2) != 0) { in test_str_eq()
284 s2, s2 == NULL ? 0 : strlen(s2)); in test_str_eq()
291 const char *s1, const char *s2) in test_str_ne() argument
293 if ((s1 == NULL) ^ (s2 == NULL)) in test_str_ne()
295 if (s1 == NULL || strcmp(s1, s2) == 0) { in test_str_ne()
298 s2, s2 == NULL ? 0 : strlen(s2)); in test_str_ne()
305 const char *s1, size_t n1, const char *s2, size_t n2) in test_strn_eq() argument
307 if (s1 == NULL && s2 == NULL) in test_strn_eq()
309 if (n1 != n2 || s1 == NULL || s2 == NULL || strncmp(s1, s2, n1) != 0) { in test_strn_eq()
312 s2, s2 == NULL ? 0 : OPENSSL_strnlen(s2, n2)); in test_strn_eq()
319 const char *s1, size_t n1, const char *s2, size_t n2) in test_strn_ne() argument
321 if ((s1 == NULL) ^ (s2 == NULL)) in test_strn_ne()
323 if (n1 != n2 || s1 == NULL || strncmp(s1, s2, n1) == 0) { in test_strn_ne()
326 s2, s2 == NULL ? 0 : OPENSSL_strnlen(s2, n2)); in test_strn_ne()
333 const void *s1, size_t n1, const void *s2, size_t n2) in test_mem_eq() argument
335 if (s1 == NULL && s2 == NULL) in test_mem_eq()
337 if (n1 != n2 || s1 == NULL || s2 == NULL || memcmp(s1, s2, n1) != 0) { in test_mem_eq()
339 s1, n1, s2, n2); in test_mem_eq()
346 const void *s1, size_t n1, const void *s2, size_t n2) in test_mem_ne() argument
348 if ((s1 == NULL) ^ (s2 == NULL)) in test_mem_ne()
352 if (s1 == NULL || memcmp(s1, s2, n1) == 0) { in test_mem_ne()
354 s1, n1, s2, n2); in test_mem_ne()
362 const char *s1, const char *s2, \
367 test_fail_bignum_message(NULL, file, line, "BIGNUM", s1, s2, \
452 const char *s1, const char *s2, \
460 test_fail_message(NULL, file, line, "time_t", s1, s2, #op, \