Home
last modified time | relevance | path

Searched refs:result_str (Results 1 – 25 of 33) sorted by relevance

12

/third_party/mbedtls/tests/suites/
Dtest_suite_pkcs1_v21.function14 data_t * result_str, int result )
47 ASSERT_COMPARE( output, ctx.len, result_str->x, result_str->len );
59 data_t * result_str, char * seed, data_t * message_str,
89 if( result_str->len == 0 )
107 ASSERT_COMPARE( output, output_len, result_str->x, result_str->len );
122 data_t * result_str, int fixed_salt_length,
167 ASSERT_COMPARE( output, ctx.len, result_str->x, result_str->len );
180 ASSERT_COMPARE( output, ctx.len, result_str->x, result_str->len );
193 char * salt, data_t * result_str, int result )
218 …cs1_verify( &ctx, digest, mbedtls_md_get_size( md_info ), hash_result, result_str->x ) == result );
[all …]
Dtest_suite_debug.function52 int line, char * result_str )
77 TEST_ASSERT( strcmp( buffer.buf, result_str ) == 0 );
87 char * result_str )
109 TEST_ASSERT( strcmp( buffer.buf, result_str ) == 0 );
119 data_t * data, char * result_str )
141 TEST_ASSERT( strcmp( buffer.buf, result_str ) == 0 );
151 char * prefix, char * result_str )
176 TEST_ASSERT( strcmp( buffer.buf, result_str ) == 0 );
187 char * prefix, char * result_str )
213 TEST_ASSERT( strcmp( buffer.buf, result_str ) == 0 );
Dtest_suite_oid.function14 void oid_get_certificate_policies( data_t *oid, char *result_str )
25 if( strlen( result_str ) == 0 )
32 TEST_ASSERT( strcmp( ( char* )desc, result_str ) == 0 );
38 void oid_get_extended_key_usage( data_t *oid, char *result_str )
49 if( strlen( result_str ) == 0 )
56 TEST_ASSERT( strcmp( ( char * )desc, result_str ) == 0 );
Dtest_suite_pkcs1_v15.function15 data_t * result_str, int result )
49 TEST_ASSERT( mbedtls_test_hexcmp( output, result_str->x,
50 ctx.len, result_str->len ) == 0 );
63 int hash, data_t * result_str,
93 if( result_str->len == 0 )
110 TEST_ASSERT( mbedtls_test_hexcmp( output, result_str->x,
112 result_str->len) == 0 );
269 data_t * result_str, int result )
312 TEST_ASSERT( mbedtls_test_hexcmp( output, result_str->x,
313 ctx.len, result_str->len ) == 0 );
[all …]
Dtest_suite_pem.function10 char * result_str )
26 TEST_ASSERT( olen > strlen( (char*) result_str ) );
28 TEST_ASSERT( strncmp( (char *) check_buf, (char *) result_str, olen ) == 0 );
Dtest_suite_x509parse.function404 void x509_parse_san( char * crt_file, char * result_str )
435 TEST_ASSERT( strcmp( buf, result_str ) == 0 );
444 void x509_cert_info( char * crt_file, char * result_str )
459 TEST_ASSERT( strcmp( buf, result_str ) == 0 );
467 void mbedtls_x509_crl_info( char * crl_file, char * result_str )
482 TEST_ASSERT( strcmp( buf, result_str ) == 0 );
506 void mbedtls_x509_csr_info( char * csr_file, char * result_str )
521 TEST_ASSERT( strcmp( buf, result_str ) == 0 );
529 void x509_verify_info( int flags, char * prefix, char * result_str )
540 TEST_ASSERT( strcmp( buf, result_str ) == 0 );
[all …]
Dtest_suite_rsa.function84 data_t * result_str, int result )
123 TEST_ASSERT( mbedtls_test_hexcmp( output, result_str->x,
124 ctx.len, result_str->len ) == 0 );
138 data_t * result_str, int result )
160 …cs1_verify( &ctx, digest, mbedtls_md_get_size( md_info ), hash_result, result_str->x ) == result );
174 char * input_E, data_t * result_str )
208 TEST_ASSERT( mbedtls_test_hexcmp( output, result_str->x,
209 ctx.len, result_str->len ) == 0 );
223 data_t * result_str, int correct )
244 …pkcs1_verify( &ctx, MBEDTLS_MD_NONE, hash_result->len, hash_result->x, result_str->x ) == correct …
[all …]
Dtest_suite_error.function11 void error_strerror( int code, char * result_str )
19 TEST_ASSERT( strcmp( buf, result_str ) == 0 );
Dtest_suite_pk.function382 char * input_E, data_t * result_str,
414 result_str->x, mbedtls_pk_get_len( &pk ) ) == result );
417 result_str->x, mbedtls_pk_get_len( &pk ), rs_ctx ) == result );
431 data_t * result_str, int pk_type,
480 result_str->x, mbedtls_pk_get_len( &pk ) ) == result );
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkerror.c100 const char *result_str; in gst_vulkan_error_to_g_error() local
108 result_str = _vk_result_to_string (result); in gst_vulkan_error_to_g_error()
109 if (result_str == NULL) { in gst_vulkan_error_to_g_error()
111 result_str = "Unknown"; in gst_vulkan_error_to_g_error()
121 g_set_error (error, GST_VULKAN_ERROR, result, "%s (0x%x, %i): %s", result_str, in gst_vulkan_error_to_g_error()
/third_party/ltp/testcases/kernel/device-drivers/block/block_dev_kernel/
Dltp_block_dev.c59 #define result_str(pass) ((pass == 0) ? ("FAIL") : ("PASS")) macro
107 prk_info("Test Case Result: %s\n", result_str(pass)); in tc01()
144 prk_info("Test Case Result: %s\n", result_str(pass)); in tc02()
191 prk_info("Test Case Result: %s\n", result_str(pass)); in tc03()
219 prk_info("Test Case Result: %s\n", result_str(pass)); in tc04()
249 prk_info("Test Case Result: %s\n", result_str(pass)); in tc05()
269 prk_info("Test Case Result: %s\n", result_str(pass)); in tc06()
292 prk_info("Test Case Result: %s\n", result_str(pass)); in tc07()
313 prk_info("Test Case Result: %s\n", result_str(pass)); in tc08()
335 prk_info("Test Case Result: %s\n", result_str(pass)); in tc09()
/third_party/ltp/testcases/kernel/device-drivers/locking/
Dlock_torture.sh86 result_str=`dmesg | sed -nE '$s/.*End of test: ([A-Z]+):.*/\1/p'`
87 if [ "$result_str" = "SUCCESS" ]; then
90 tst_resm TFAIL "$type: $result_str, see dmesg"
/third_party/grpc/test/core/security/
Dlinux_system_roots_test.cc75 char* result_str = grpc_slice_to_c_string(result_slice); in TEST() local
77 EXPECT_STREQ(result_str, bundle_str); in TEST()
79 gpr_free(result_str); in TEST()
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Denum_string_mapping_test.cpp47 const std::string result_str = libspirv::ExtensionToString(extension); in TEST_P() local
48 EXPECT_EQ(extension_str, result_str); in TEST_P()
60 const std::string result_str = libspirv::CapabilityToString(capability); in TEST_P() local
61 EXPECT_EQ(capability_str, result_str); in TEST_P()
/third_party/skia/third_party/externals/spirv-tools/test/
Denum_string_mapping_test.cpp52 const std::string result_str = ExtensionToString(extension); in TEST_P() local
53 EXPECT_EQ(extension_str, result_str); in TEST_P()
65 const std::string result_str = CapabilityToString(capability); in TEST_P() local
66 EXPECT_EQ(capability_str, result_str); in TEST_P()
/third_party/spirv-tools/test/
Denum_string_mapping_test.cpp52 const std::string result_str = ExtensionToString(extension); in TEST_P() local
53 EXPECT_EQ(extension_str, result_str); in TEST_P()
65 const std::string result_str = CapabilityToString(capability); in TEST_P() local
66 EXPECT_EQ(capability_str, result_str); in TEST_P()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Denum_string_mapping_test.cpp52 const std::string result_str = ExtensionToString(extension); in TEST_P() local
53 EXPECT_EQ(extension_str, result_str); in TEST_P()
65 const std::string result_str = CapabilityToString(capability); in TEST_P() local
66 EXPECT_EQ(capability_str, result_str); in TEST_P()
/third_party/mindspore/mindspore/_extends/parallel_compile/tbe_compiler/
Dtbe_adapter.py267 result_str = str(result)
269 result_str = str(res)
271 if result_str == "True":
273 elif result_str == "False":
275 elif result_str == "Unknown":
280 …b.info("op module {} check support result is {}, not supported".format(op_module_name, result_str))
/third_party/boost/boost/graph/distributed/
Dgraphviz.hpp171 std::string result_str = local_graph_out.str(); in write_graphviz() local
172 const char* data = result_str.c_str(); in write_graphviz()
174 int len = result_str.length(); in write_graphviz()
/third_party/gn/src/gn/
Dfilesystem_utils.cc889 std::string result_str; in SourceDirForPath() local
894 result_str = "//"; in SourceDirForPath()
898 result_str = "/"; in SourceDirForPath()
903 result_str.append(FilePathToUTF8(path_comp[i])); in SourceDirForPath()
904 result_str.push_back('/'); in SourceDirForPath()
906 return SourceDir(std::move(result_str)); in SourceDirForPath()
/third_party/ltp/pan/
Dltp-pan.c725 char *result_str; in check_pids() local
823 result_str = "CONF"; in check_pids()
826 result_str = "FAIL"; in check_pids()
828 result_str = "PASS"; in check_pids()
834 result_str, in check_pids()
/third_party/selinux/libsepol/cil/src/
Dcil_internal.h578 char *result_str; member
647 char *result_str; member
658 char *result_str; member
Dcil_copy_ast.c711 new->result_str = orig->result_str; in cil_copy_roletransition()
729 new->result_str = orig->result_str; in cil_copy_nametypetransition()
868 new->result_str = orig->result_str; in cil_copy_type_rule()
Dcil_write_ast.c1102 fprintf(out, "%s", datum_or_str(DATUM(roletrans->result), roletrans->result_str)); in cil_write_ast_node()
1160 fprintf(out, "%s", datum_or_str(DATUM(rule->result), rule->result_str)); in cil_write_ast_node()
1171 fprintf(out, "%s", datum_or_str(DATUM(rule->result), rule->result_str)); in cil_write_ast_node()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cDirectStateAccessVertexArraysTests.cpp2402 std::string result_str = "[ "; in DrawAndCheck() local
2410 result_str.append(ss.str()); in DrawAndCheck()
2414 result_str.append(", "); in DrawAndCheck()
2418 result_str.append(" ]"); in DrawAndCheck()
2423 << result_str.c_str() << ", but " << reference_str.c_str() in DrawAndCheck()
3401 std::string result_str = "["; in CheckXFB() local
3406 result_str.append(Utilities::itoa((glw::GLuint)result[j])); in CheckXFB()
3411 result_str.append(", "); in CheckXFB()
3416 result_str.append("]"); in CheckXFB()
3420 …m_context.getTestContext().getLog() << tcu::TestLog::Message << "Result is " << result_str << ", b… in CheckXFB()

12