Searched refs:test_snprintf (Results 1 – 2 of 2) sorted by relevance
/mbedtls-3.4.0/programs/test/ |
D | selftest.c | 140 static int test_snprintf( size_t n, const char *ref_buf, int ref_ret ) in test_snprintf() function 162 return( test_snprintf( 0, "xxxxxxxxx", -1 ) != 0 || in run_test_snprintf() 163 test_snprintf( 1, "", -1 ) != 0 || in run_test_snprintf() 164 test_snprintf( 2, "1", -1 ) != 0 || in run_test_snprintf() 165 test_snprintf( 3, "12", -1 ) != 0 || in run_test_snprintf() 166 test_snprintf( 4, "123", 3 ) != 0 || in run_test_snprintf() 167 test_snprintf( 5, "123", 3 ) != 0 ); in run_test_snprintf()
|
/mbedtls-3.4.0/tests/suites/ |
D | host_test.function | 338 static int test_snprintf( size_t n, const char *ref_buf, int ref_ret ) 367 return( test_snprintf( 0, "xxxxxxxxx", -1 ) != 0 || 368 test_snprintf( 1, "", -1 ) != 0 || 369 test_snprintf( 2, "1", -1 ) != 0 || 370 test_snprintf( 3, "12", -1 ) != 0 || 371 test_snprintf( 4, "123", 3 ) != 0 || 372 test_snprintf( 5, "123", 3 ) != 0 );
|