Home
last modified time | relevance | path

Searched refs:result (Results 4201 - 4225 of 21040) sorted by relevance

1...<<161162163164165166167168169170>>...842

/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Difaddrsndk.cpp31 napi_value result = nullptr; in Getifaddrs() local
32 napi_create_int32(env, ret, &result); in Getifaddrs()
34 return result; in Getifaddrs()
48 napi_value result = nullptr; in Freeifaddrs() local
49 napi_create_int32(env, ret, &result); in Freeifaddrs()
50 return result; in Freeifaddrs()
H A Dlanginfondk.cpp38 napi_value result; in NlLanginfo() local
39 napi_create_string_utf8(env, ret, NAPI_AUTO_LENGTH, &result); in NlLanginfo()
40 return result; in NlLanginfo()
47 napi_value result = nullptr; in NlLanginfoL() local
49 napi_create_string_utf8(env, getInfo, NAPI_AUTO_LENGTH, &result); in NlLanginfoL()
50 return result; in NlLanginfoL()
H A Dstatvfsndk.cpp40 napi_value result = nullptr; in Statvfs() local
41 napi_create_int32(env, intValue, &result); in Statvfs()
42 return result; in Statvfs()
59 napi_value result = nullptr; in Statvfs64() local
60 napi_create_int32(env, intValue, &result); in Statvfs64()
61 return result; in Statvfs64()
H A Dswapndk.cpp35 napi_value result = nullptr; in SwapOn() local
36 napi_create_int32(env, backParam, &result); in SwapOn()
37 return result; in SwapOn()
50 napi_value result = nullptr; in SwapOff() local
51 napi_create_int32(env, backParam, &result); in SwapOff()
52 return result; in SwapOff()
/test/xts/acts/multimedia/audio/ohaudioNdktest/
H A DActsOhaudioNdkTest.cpp75 OH_AudioStream_Result result = OH_AudioStreamBuilder_GenerateRenderer(builder, &audioRenderer); in HWTEST() local
76 EXPECT_EQ(result, AUDIOSTREAM_SUCCESS); in HWTEST()
97 result = OH_AudioRenderer_Start(audioRenderer); in HWTEST()
98 EXPECT_EQ(result, AUDIOSTREAM_SUCCESS); in HWTEST()
108 result = OH_AudioRenderer_GetUnderflowCount(audioRenderer, &underFlowCount); in HWTEST()
109 EXPECT_EQ(result, AUDIOSTREAM_SUCCESS); in HWTEST()
/test/xts/device_attest_lite/services/core/adapter/
H A Dattest_adapter_oem.c23 bool result = false; in OEMIsFlagExist() local
26 result = IsFileExist(AUTH_RESULT_PATH, RESET_FLAG_FILE_NAME); in OEMIsFlagExist()
31 return result; in OEMIsFlagExist()
37 int32_t result = ATTEST_ERR; in OEMCreateFlag() local
40 result = CreateFile(AUTH_RESULT_PATH, RESET_FLAG_FILE_NAME); in OEMCreateFlag()
45 return result; in OEMCreateFlag()
/third_party/elfutils/tests/
H A Dget-files.c32 int result = 0; in main() local
43 result = 1; in main()
66 result = 1; in main()
75 result = 1; in main()
84 result = 1; in main()
106 return result; in main()
H A Dfind-prologues.c70 int result = dwarf_entry_breakpoints (func, &bkpts); in handle_function() local
71 if (result <= 0) in handle_function()
75 for (int i = 0; i < result; ++i) in handle_function()
77 i == result - 1 ? "\n" : ""); in handle_function()
100 int result = 0; in main() local
107 return result; in main()
/third_party/curl/tests/libtest/
H A Dlib2305.c34 CURLcode result = in websocket_close() local
37 "ws: curl_ws_send returned %u, sent %u\n", (int)result, (int)sent); in websocket_close()
52 CURLcode result = in websocket() local
54 if(result) { in websocket()
55 if(result == CURLE_AGAIN) in websocket()
58 printf("curl_ws_recv returned %d\n", (int)result); in websocket()
H A Dlib1597.c40 CURLcode result = CURLE_OK; in test() local
100 result = curl_easy_setopt(curl, CURLOPT_PROTOCOLS_STR, prots[i].in); in test()
101 if(result != *prots[i].exp) { in test()
103 prots[i].in, result); in test()
108 res = (int)result; in test()
114 return (int)result; in test()
/third_party/glslang/gtests/
H A DConfig.FromFile.cpp53 GlslangResult result; in TEST_P() local
54 result.validationResult = true; in TEST_P()
75 result.shaderResults.push_back( in TEST_P()
82 result.linkingOutput = program.getInfoLog(); in TEST_P()
83 result.linkingError = program.getInfoDebugLog(); in TEST_P()
86 outputResultToStream(&stream, result, testCase.controls); in TEST_P()
H A DLink.FromFile.cpp52 GlslangResult result; in TEST_P() local
53 result.validationResult = true; in TEST_P()
65 result.shaderResults.push_back( in TEST_P()
73 result.linkingOutput = program.getInfoLog(); in TEST_P()
74 result.linkingError = program.getInfoDebugLog(); in TEST_P()
77 outputResultToStream(&stream, result, controls); in TEST_P()
/third_party/curl/lib/
H A Dfopen.c97 CURLcode result = CURLE_WRITE_ERROR; in Curl_fopen() local
114 result = Curl_rand_alnum(data, randbuf, sizeof(randbuf)); in Curl_fopen()
115 if(result) in Curl_fopen()
127 result = CURLE_OUT_OF_MEMORY; in Curl_fopen()
131 result = CURLE_WRITE_ERROR; in Curl_fopen()
150 return result; in Curl_fopen()
/third_party/gn/src/gn/
H A Dswift_values.cc34 std::vector<OutputFile>* result) const { in GetOutputs()
39 tool->outputs(), result); in GetOutputs()
48 target, source, tool->partial_outputs(), result); in GetOutputs()
54 std::vector<SourceFile>* result) const { in GetOutputsAsSourceFiles()
58 result->reserve(outputs.size()); in GetOutputsAsSourceFiles()
62 result->push_back(output.AsSourceFile(build_settings)); in GetOutputsAsSourceFiles()
H A Dohos_components_unittest.cc56 std::string result = com.getInnerApi("libfoo"); in TEST() local
57 EXPECT_EQ(fooLabel, result); in TEST()
60 result = com.getInnerApi("libbar"); in TEST()
61 EXPECT_EQ(barLabel, result); in TEST()
64 result = com.getInnerApi("libnone"); in TEST()
65 EXPECT_EQ(0, result.size()); in TEST()
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
H A DCaseFoldTransliterator.java43 private StringBuilder result; field in CaseFoldTransliterator
53 result = new StringBuilder(); in CaseFoldTransliterator()
71 result.setLength(0); in handleTransliterate()
81 c=csp.toFullFolding(c, result, 0); // toFullFolding(int c, StringBuffer out, int options) in handleTransliterate()
90 /* decode the result */ in handleTransliterate()
96 delta=iter.replace(result.toString()); in handleTransliterate()
97 result.setLength(0); in handleTransliterate()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
H A DRegressionTest.java34 String result = df.formatDurationFromNow(500); in TestDisallowedMillis()
38 result); in TestDisallowedMillis()
50 String result = df.formatDurationFromNow(500); in TestDisallowedMillis()
54 result); in TestDisallowedMillis()
69 String result = df.formatDurationFromNow(500); in TestDisallowedMillis()
73 result); in TestDisallowedMillis()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/
H A DRegressionTest.java37 String result = df.formatDurationFromNow(500); in TestDisallowedMillis()
41 result); in TestDisallowedMillis()
53 String result = df.formatDurationFromNow(500); in TestDisallowedMillis()
57 result); in TestDisallowedMillis()
72 String result = df.formatDurationFromNow(500); in TestDisallowedMillis()
76 result); in TestDisallowedMillis()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DCaseFoldTransliterator.java44 private StringBuilder result; field in CaseFoldTransliterator
54 result = new StringBuilder(); in CaseFoldTransliterator()
72 result.setLength(0); in handleTransliterate()
82 c=csp.toFullFolding(c, result, 0); // toFullFolding(int c, StringBuffer out, int options) in handleTransliterate()
91 /* decode the result */ in handleTransliterate()
97 delta=iter.replace(result.toString()); in handleTransliterate()
98 result.setLength(0); in handleTransliterate()
/third_party/icu/icu4c/source/common/
H A Dutil.h36 * @param result the digits of the number are appended here
43 * @return a reference to result
45 static UnicodeString& appendNumber(UnicodeString& result, int32_t n,
51 UnicodeString result; in makeBogusString() local
52 result.setToBogus(); in makeBogusString()
53 return result; in makeBogusString()
73 static UBool escapeUnprintable(UnicodeString& result, UChar32 c);
78 * @return result
80 static UnicodeString &escape(UnicodeString& result, UChar32 c);
/third_party/mbedtls/programs/pkey/
H A Dpk_decrypt.c47 unsigned char result[1024]; in main() local
56 memset(result, 0, sizeof(result)); in main()
101 if ((f = fopen("result-enc.txt", "rb")) == NULL) { in main()
102 mbedtls_printf("\n ! Could not open %s\n\n", "result-enc.txt"); in main()
116 * Decrypt the encrypted RSA data and print the result. in main()
121 if ((ret = mbedtls_pk_decrypt(&pk, buf, i, result, &olen, sizeof(result), in main()
130 mbedtls_printf("The decrypted result is: '%s'\n\n", result); in main()
[all...]
/third_party/jerryscript/tests/jerry/
H A Dregexp-routines.js47 result = re.exec("a");
48 assert (result.length === 1);
49 assert (result[0] === "a");
55 result = re.exec("a");
56 assert (result.length === 1);
57 assert (result[0] === "a");
/third_party/jerryscript/tests/unit-core/
H A Dtest-regression-3588.cpp103 jerry_value_t result = jerry_run (parsed_code_val); in HWTEST_F() local
104 TEST_ASSERT (!jerry_value_is_error (result)); in HWTEST_F()
106 jerry_release_value (result); in HWTEST_F()
123 jerry_value_t result = jerry_run (parsed_code_val); in HWTEST_F() local
124 TEST_ASSERT (!jerry_value_is_error (result)); in HWTEST_F()
126 jerry_release_value (result); in HWTEST_F()
/third_party/node/test/js-native-api/test_date/
H A Dtest_date.c28 napi_value date, result; in isDate() local
34 NODE_API_CALL(env, napi_get_boolean(env, is_date, &result)); in isDate()
36 return result; in isDate()
40 napi_value date, result; in getDateValue() local
46 NODE_API_CALL(env, napi_create_double(env, value, &result)); in getDateValue()
48 return result; in getDateValue()
/third_party/node/test/fixtures/crypto/
H A Daes_gcm.js90 const result =
92 result.set(kCiphertext[keyLength], 0);
93 result.set(tag[keyLength].slice(0, byteCount),
99 result
111 result: noadresult
128 result: kCiphertext[keyLength]

Completed in 12 milliseconds

1...<<161162163164165166167168169170>>...842