Searched refs:test_snprintf (Results 1 – 2 of 2) sorted by relevance
/net-tools-latest/mbedtls-2.4.0/programs/test/ |
D | selftest.c | 75 static int test_snprintf( size_t n, const char ref_buf[10], int ref_ret ) in test_snprintf() function 97 return( test_snprintf( 0, "xxxxxxxxx", -1 ) != 0 || in run_test_snprintf() 98 test_snprintf( 1, "", -1 ) != 0 || in run_test_snprintf() 99 test_snprintf( 2, "1", -1 ) != 0 || in run_test_snprintf() 100 test_snprintf( 3, "12", -1 ) != 0 || in run_test_snprintf() 101 test_snprintf( 4, "123", 3 ) != 0 || in run_test_snprintf() 102 test_snprintf( 5, "123", 3 ) != 0 ); in run_test_snprintf()
|
/net-tools-latest/mbedtls-2.4.0/tests/suites/ |
D | main_test.function | 216 static int test_snprintf( size_t n, const char ref_buf[10], int ref_ret ) 238 return( test_snprintf( 0, "xxxxxxxxx", -1 ) != 0 || 239 test_snprintf( 1, "", -1 ) != 0 || 240 test_snprintf( 2, "1", -1 ) != 0 || 241 test_snprintf( 3, "12", -1 ) != 0 || 242 test_snprintf( 4, "123", 3 ) != 0 || 243 test_snprintf( 5, "123", 3 ) != 0 );
|