Lines Matching refs:s1
212 const char *s1, const char *s2, \
217 test_fail_message(NULL, file, line, #type, s1, s2, #op, \
278 const char *s1, const char *s2) in test_str_eq() argument
280 if (s1 == NULL && s2 == NULL) in test_str_eq()
282 if (s1 == NULL || s2 == NULL || strcmp(s1, s2) != 0) { in test_str_eq()
284 s1, s1 == NULL ? 0 : strlen(s1), in test_str_eq()
292 const char *s1, const char *s2) in test_str_ne() argument
294 if ((s1 == NULL) ^ (s2 == NULL)) in test_str_ne()
296 if (s1 == NULL || strcmp(s1, s2) == 0) { in test_str_ne()
298 s1, s1 == NULL ? 0 : strlen(s1), in test_str_ne()
306 const char *s1, size_t n1, const char *s2, size_t n2) in test_strn_eq() argument
308 if (s1 == NULL && s2 == NULL) in test_strn_eq()
310 if (n1 != n2 || s1 == NULL || s2 == NULL || strncmp(s1, s2, n1) != 0) { in test_strn_eq()
312 s1, s1 == NULL ? 0 : OPENSSL_strnlen(s1, n1), in test_strn_eq()
320 const char *s1, size_t n1, const char *s2, size_t n2) in test_strn_ne() argument
322 if ((s1 == NULL) ^ (s2 == NULL)) in test_strn_ne()
324 if (n1 != n2 || s1 == NULL || strncmp(s1, s2, n1) == 0) { in test_strn_ne()
326 s1, s1 == NULL ? 0 : OPENSSL_strnlen(s1, n1), in test_strn_ne()
334 const void *s1, size_t n1, const void *s2, size_t n2) in test_mem_eq() argument
336 if (s1 == NULL && s2 == NULL) in test_mem_eq()
338 if (n1 != n2 || s1 == NULL || s2 == NULL || memcmp(s1, s2, n1) != 0) { in test_mem_eq()
340 s1, n1, s2, n2); in test_mem_eq()
347 const void *s1, size_t n1, const void *s2, size_t n2) in test_mem_ne() argument
349 if ((s1 == NULL) ^ (s2 == NULL)) in test_mem_ne()
353 if (s1 == NULL || memcmp(s1, s2, n1) == 0) { in test_mem_ne()
355 s1, n1, s2, n2); in test_mem_ne()
363 const char *s1, const char *s2, \
368 test_fail_bignum_message(NULL, file, line, "BIGNUM", s1, s2, \
453 const char *s1, const char *s2, \
461 test_fail_message(NULL, file, line, "time_t", s1, s2, #op, \