Home
last modified time | relevance | path

Searched refs:test_snprintf (Results 1 – 2 of 2) sorted by relevance

/net-tools-latest/mbedtls-2.4.0/programs/test/
Dselftest.c75 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/
Dmain_test.function216 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 );