Home
last modified time | relevance | path

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

12

/third_party/mbedtls/tests/suites/
Dtest_suite_pkcs1_v21.function14 data_t *result_str, int result)
50 ASSERT_COMPARE(output, ctx.len, result_str->x, result_str->len);
62 data_t *result_str, char *seed, data_t *message_str,
95 if (result_str->len == 0) {
109 ASSERT_COMPARE(output, output_len, result_str->x, result_str->len);
124 data_t *result_str, int fixed_salt_length,
163 ASSERT_COMPARE(output, ctx.len, result_str->x, result_str->len);
175 ASSERT_COMPARE(output, ctx.len, result_str->x, result_str->len);
188 char *salt, data_t *result_str, int result)
211 result_str->x) == result);
[all …]
Dtest_suite_oid.function15 void oid_get_certificate_policies(data_t *oid, char *result_str)
26 if (strlen(result_str) == 0) {
30 TEST_ASSERT(strcmp((char *) desc, result_str) == 0);
36 void oid_get_extended_key_usage(data_t *oid, char *result_str)
47 if (strlen(result_str) == 0) {
51 TEST_ASSERT(strcmp((char *) desc, result_str) == 0);
101 void oid_get_numeric_string(data_t *oid, int error_ret, char *result_str)
115 TEST_EQUAL(ret, strlen(result_str));
117 TEST_EQUAL(strcmp(buf, result_str), 0);
Dtest_suite_debug.function56 int line, char *result_str)
81 TEST_ASSERT(strcmp(buffer.buf, result_str) == 0);
91 char *result_str)
113 TEST_ASSERT(strcmp(buffer.buf, result_str) == 0);
123 data_t *data, char *result_str)
145 TEST_ASSERT(strcmp(buffer.buf, result_str) == 0);
155 char *prefix, char *result_str)
180 TEST_ASSERT(strcmp(buffer.buf, result_str) == 0);
191 char *prefix, char *result_str)
217 TEST_ASSERT(strcmp(buffer.buf, result_str) == 0);
Dtest_suite_pkcs1_v15.function17 data_t *result_str, int result)
58 TEST_ASSERT(mbedtls_test_hexcmp(output, result_str->x,
59 ctx.len, result_str->len) == 0);
71 data_t *result_str, char *seed,
103 if (result_str->len == 0) {
116 TEST_ASSERT(mbedtls_test_hexcmp(output, result_str->x,
118 result_str->len) == 0);
274 data_t *result_str, int result)
313 TEST_ASSERT(mbedtls_test_hexcmp(output, result_str->x,
314 ctx.len, result_str->len) == 0);
[all …]
Dtest_suite_rsa.function165 data_t *result_str, int result)
197 TEST_ASSERT(mbedtls_test_hexcmp(output, result_str->x,
198 ctx.len, result_str->len) == 0);
212 data_t *result_str, int result)
229 result_str->x) == result);
243 data_t *result_str)
277 TEST_ASSERT(mbedtls_test_hexcmp(output, result_str->x,
278 ctx.len, result_str->len) == 0);
292 data_t *result_str, int correct)
314 result_str->x) == correct);
[all …]
Dtest_suite_x509parse.function431 void x509_parse_san(char *crt_file, char *result_str)
461 TEST_ASSERT(strcmp(buf, result_str) == 0);
470 void x509_cert_info(char *crt_file, char *result_str)
485 TEST_ASSERT(strcmp(buf, result_str) == 0);
493 void mbedtls_x509_crl_info(char *crl_file, char *result_str)
508 TEST_ASSERT(strcmp(buf, result_str) == 0);
532 void mbedtls_x509_csr_info(char *csr_file, char *result_str)
547 TEST_ASSERT(strcmp(buf, result_str) == 0);
555 void x509_verify_info(int flags, char *prefix, char *result_str)
566 TEST_ASSERT(strcmp(buf, result_str) == 0);
[all …]
Dtest_suite_pem.function12 char *result_str)
28 TEST_ASSERT(olen > strlen((char *) result_str));
30 TEST_ASSERT(strncmp((char *) check_buf, (char *) result_str, olen) == 0);
Dtest_suite_error.function11 void error_strerror(int code, char *result_str)
19 TEST_ASSERT(strcmp(buf, result_str) == 0);
Dtest_suite_pk.function523 data_t *result_str, int result)
550 result_str->x, mbedtls_pk_get_len(&pk)) == result);
553 result_str->x, mbedtls_pk_get_len(
568 char *input_E, data_t *result_str,
601 result_str->x, sig_len);
Dtest_suite_ssl.function2077 char *label, data_t *result_str, int exp_ret)
2081 output = mbedtls_calloc(1, result_str->len);
2090 output, result_str->len) == exp_ret);
2093 TEST_ASSERT(mbedtls_test_hexcmp(output, result_str->x,
2094 result_str->len, result_str->len) == 0);
/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/vk-gl-cts/external/amber/src/src/vulkan/
Dcommand_buffer.cc102 std::string result_str; in SubmitAndReset() local
105 result_str = "OUT_OF_HOST_MEMORY"; in SubmitAndReset()
108 result_str = "OUT_OF_DEVICE_MEMORY"; in SubmitAndReset()
111 result_str = "DEVICE_LOST"; in SubmitAndReset()
114 result_str = "<UNEXPECTED RESULT>"; in SubmitAndReset()
117 return Result("Vulkan::Calling vkWaitForFences Fail (" + result_str + ")"); in SubmitAndReset()
/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/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/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/node/deps/v8/tools/
Dbigint-tester.py133 result_str = Format(result_num)
134 return "{\n a: %s,\n r: %s\n}" % (x_str, result_str)
165 result_str = Format(result_num)
167 (left_str, right_str, result_str))
/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dwpas_glue.c260 static const char * result_str(enum eapol_supp_result result) in result_str() function
283 result_str(result)); in wpa_supplicant_eapol_cb()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwpas_glue.c273 static const char * result_str(enum eapol_supp_result result) in result_str() function
296 result_str(result)); in wpa_supplicant_eapol_cb()

12