Lines Matching refs:n
11 "Expected string (with \"\") for parameter and got: %s\n", *str );
65 "Expected integer for parameter and got: %s\n", str );
109 "FAILED\nSkipping unknown test function '%s'\n",
127 "Usage: %s [OPTIONS] files...\n\n" \
128 " Command line arguments:\n" \
129 " files... One or more test data file. If no file is specified\n" \
130 " the followimg default test case is used:\n" \
131 " %s\n\n" \
132 " Options:\n" \
133 " -v | --verbose Display full information about each test\n" \
134 " -h | --help Display this information\n\n", \
147 if( strlen( buf ) && buf[strlen(buf) - 1] == '\n' )
192 if( *p == '\\' && *(p + 1) == 'n' )
195 *(q++) = '\n';
216 static int test_snprintf( size_t n, const char ref_buf[10], int ref_ret )
222 ret = mbedtls_snprintf( buf, n, "%s", "123" );
223 if( ret < 0 || (size_t) ret >= n )
228 memcmp( buf + n, ref + n, sizeof( buf ) - n ) != 0 )
280 mbedtls_fprintf( stderr, "all-bits-zero is not a NULL pointer\n" );
289 mbedtls_fprintf( stderr, "the snprintf implementation is broken\n" );
340 mbedtls_fprintf( stderr, "Failed to open test file: %s\n",
350 "FATAL: Dep count larger than zero at start of loop\n" );
357 mbedtls_fprintf( stdout, "%s%.66s", test_errors ? "\n" : "", buf );
386 mbedtls_fprintf( stderr, "FATAL: Out of memory\n" );
433 mbedtls_fprintf( stdout, "----\n" );
449 mbedtls_fprintf( stdout, "\n" );
457 mbedtls_fprintf( stdout, "PASS\n" );
462 mbedtls_fprintf( stderr, "FAILED: FATAL PARSE ERROR\n" );
473 mbedtls_fprintf( stderr, "Should be empty %d\n",
485 …mbedtls_fprintf( stdout, "\n----------------------------------------------------------------------…
491 mbedtls_fprintf( stdout, " (%d / %d tests (%d skipped))\n",