Home
last modified time | relevance | path

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

/mbedtls-development/programs/test/
A Dselftest.c154 static int test_snprintf( size_t n, const char *ref_buf, int ref_ret ) in test_snprintf() function
176 return( test_snprintf( 0, "xxxxxxxxx", -1 ) != 0 || in run_test_snprintf()
177 test_snprintf( 1, "", -1 ) != 0 || in run_test_snprintf()
178 test_snprintf( 2, "1", -1 ) != 0 || in run_test_snprintf()
179 test_snprintf( 3, "12", -1 ) != 0 || in run_test_snprintf()
180 test_snprintf( 4, "123", 3 ) != 0 || in run_test_snprintf()
181 test_snprintf( 5, "123", 3 ) != 0 ); in run_test_snprintf()
/mbedtls-development/tests/suites/
A Dhost_test.function338 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 );

Completed in 3 milliseconds