/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/ |
H A D | device_kvstore_test.cpp | 150 void SyncCompleted(const std::map<std::string, Status> &results); 153 void DeviceSyncCallbackTestImpl::SyncCompleted(const std::map<std::string, Status> &results) in SyncCompleted() argument 233 std::vector<Entry> results; in HWTEST_F() local 234 kvStore_->GetEntries(dataQuery, results); in HWTEST_F() 235 EXPECT_EQ(results.size(), sum) << "entries size is not equal 10."; in HWTEST_F() 289 std::vector<Entry> results; in HWTEST_F() local 290 kvStore_->GetEntries(dataQuery, results); in HWTEST_F() 291 EXPECT_EQ(results.size(), sum) << "entries size is not equal 10."; in HWTEST_F() 389 std::vector<Entry> results; in HWTEST_F() local 390 kvStore_->GetEntries(GetKey(prefix + " "), results); in HWTEST_F() 461 std::map<std::string, Status> results; HWTEST_F() local 872 std::vector<Entry> results; HWTEST_F() local 913 std::vector<Entry> results; HWTEST_F() local 955 std::vector<Entry> results; HWTEST_F() local 1001 std::vector<Entry> results; HWTEST_F() local 1046 std::vector<Entry> results; HWTEST_F() local [all...] |
/third_party/python/Lib/test/ |
H A D | lock_tests.py | 206 results = [] 209 results.append(lock.acquire(timeout=0.5)) 211 results.append(t2 - t1) 213 self.assertFalse(results[0]) 214 self.assertTimeout(results[1], 0.5) 435 results = [] 439 results.append(evt.wait(timeout * 4)) 446 self.assertEqual(results, [True] * N) 579 results = [] 587 results [all...] |
H A D | test_trace.py | 142 self.assertEqual(self.tracer.results().counts, expected) 154 self.assertEqual(self.tracer.results().counts, expected) 166 self.assertEqual(self.tracer.results().counts, expected) 181 self.assertEqual(self.tracer.results().counts, expected) 196 self.assertEqual(self.tracer.results().counts, expected) 215 self.assertEqual(self.tracer.results().counts, expected) 231 self.assertEqual(tracer.results().counts, expected) 259 self.assertEqual(self.tracer.results().counts[k], expected[k]) 281 self.assertEqual(self.tracer.results().calledfuncs, expected) 301 self.assertEqual(self.tracer.results() [all...] |
/foundation/ability/form_fwk/services/src/ |
H A D | form_info_storage.cpp | 52 const std::vector<int32_t> &supportDimensions, std::vector<int32_t> &results) in find_match_dimensions() 57 results.emplace_back(val); in find_match_dimensions() 60 return !results.empty(); in find_match_dimensions() 106 std::vector<int32_t> results; in GetFormsInfoByFilter() local 107 if (find_match_dimensions(filter.supportDimensions, item.supportDimensions, results)) { in GetFormsInfoByFilter() 109 formInfo.supportDimensions = results; in GetFormsInfoByFilter() 51 find_match_dimensions(const std::vector<int32_t> &targetDimensions, const std::vector<int32_t> &supportDimensions, std::vector<int32_t> &results) find_match_dimensions() argument
|
/foundation/multimodalinput/input/test/facility/virtual_device/src/ |
H A D | general_device.cpp | 86 void GeneralDevice::Execute(std::vector<std::string> &results) in Execute() argument 96 results.push_back(buffer); in Execute() 104 std::vector<std::string> results; in GetInputDeviceNodes() local 105 Execute(results); in GetInputDeviceNodes() 106 if (results.empty()) { in GetInputDeviceNodes() 113 for (const auto &res : results) { in GetInputDeviceNodes()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_tcp_check_syncookie_user.c | 131 log_err("Can't clear results"); in run_test() 136 log_err("Can't clear results"); in run_test() 141 log_err("Can't clear results"); in run_test() 208 int results = -1; in main() local 217 results = get_map_fd_by_prog_id(atoi(argv[1]), &xdp); in main() 218 if (results < 0) { in main() 242 if (run_test(server, results, xdp)) in main() 245 if (run_test(server_v6, results, xdp)) in main() 255 close(results); in main()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | csr2022.cpp | 149 UBool CharsetRecog_2022JP::match(InputText *textIn, CharsetMatch *results) const { in match() 154 results->set(textIn, this, confidence); in match() 165 UBool CharsetRecog_2022KR::match(InputText *textIn, CharsetMatch *results) const { in match() 170 results->set(textIn, this, confidence); in match() 180 UBool CharsetRecog_2022CN::match(InputText *textIn, CharsetMatch *results) const { in match() 185 results->set(textIn, this, confidence); in match()
|
/third_party/node/tools/ |
H A D | test-v8.bat | 23 echo running 'python tools\run-tests.py %common_v8_test_options% %v8_test_options% --slow-tests-cutoff 1000000 --json-test-results v8-tap.xml' 24 call python tools\run-tests.py %common_v8_test_options% %v8_test_options% --slow-tests-cutoff 1000000 --json-test-results v8-tap.xml 29 echo running 'python tools\run-tests.py %common_v8_test_options% intl --slow-tests-cutoff 1000000 --json-test-results v8-intl-tap.xml' 30 call python tools\run-tests.py %common_v8_test_options% intl --slow-tests-cutoff 1000000 --json-test-results ./v8-intl-tap.xml 35 echo running 'python tools\run-tests.py %common_v8_test_options% benchmarks --slow-tests-cutoff 1000000 --json-test-results v8-benchmarks-tap.xml' 36 call python tools\run-tests.py %common_v8_test_options% benchmarks --slow-tests-cutoff 1000000 --json-test-results ./v8-benchmarks-tap.xml
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | csr2022.cpp | 149 UBool CharsetRecog_2022JP::match(InputText *textIn, CharsetMatch *results) const { in match() 154 results->set(textIn, this, confidence); in match() 165 UBool CharsetRecog_2022KR::match(InputText *textIn, CharsetMatch *results) const { in match() 170 results->set(textIn, this, confidence); in match() 180 UBool CharsetRecog_2022CN::match(InputText *textIn, CharsetMatch *results) const { in match() 185 results->set(textIn, this, confidence); in match()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | csr2022.cpp | 149 UBool CharsetRecog_2022JP::match(InputText *textIn, CharsetMatch *results) const { in match() 154 results->set(textIn, this, confidence); in match() 165 UBool CharsetRecog_2022KR::match(InputText *textIn, CharsetMatch *results) const { in match() 170 results->set(textIn, this, confidence); in match() 180 UBool CharsetRecog_2022CN::match(InputText *textIn, CharsetMatch *results) const { in match() 185 results->set(textIn, this, confidence); in match()
|
/kernel/linux/linux-5.10/tools/testing/selftests/ |
H A D | kselftest_harness.h | 126 snprintf(_metadata->results->reason, \ 127 sizeof(_metadata->results->reason), fmt, ##__VA_ARGS__); \ 130 _metadata->results->reason); \ 827 struct __test_results *results; member 970 memset(t->results->reason, 0, sizeof(t->results->reason)); in __run_test() 1000 ksft_test_result_skip("%s\n", t->results->reason[0] ? in __run_test() 1001 t->results->reason : "unknown"); in __run_test() 1013 struct __test_results *results; in test_harness_run() local 1028 results in test_harness_run() [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/shell/lib/ |
H A D | perf_metric_validation.py | 21 self.allresults = dict() # metric results of all workload 22 self.allignoremetrics = dict() # metrics with no results or negative results 28 self.results = dict() # metric results of current workload 30 self.ignoremetrics= set() # metrics with no results or negative results, neg result counts as a failed test 73 return self.results[idx] 118 Get value of the metric from self.results. 123 @returns: list with value found in self.results; lis [all...] |
/third_party/python/Lib/lib2to3/fixes/ |
H A D | fix_xreadlines.py | 19 def transform(self, node, results): 20 no_call = results.get("no_call") 25 node.replace([x.clone() for x in results["call"]])
|
/third_party/skia/buildtools/checkdeps/ |
H A D | PRESUBMIT.py | 12 results = [] 13 results.extend(input_api.canned_checks.RunUnitTests( 17 return results
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_tcp_check_syncookie_user.c | 133 log_err("Can't clear results"); in run_test() 138 log_err("Can't clear results"); in run_test() 143 log_err("Can't clear results"); in run_test() 228 int results = -1; in main() local 240 results = get_map_fd_by_prog_id(atoi(argv[1]), &xdp); in main() 241 if (results < 0) { in main() 277 if (run_test(server, results, xdp, in main() 281 if (run_test(server_v6, results, xdp, in main() 285 if (run_test(server_dual, results, xdp, in main() 297 close(results); in main() [all...] |
/third_party/ltp/ |
H A D | ltpmenu | 46 # April 23 2003 - Added PID to results filename. 51 # April 30, 2003 - Recoded results display to allow selection 52 # of results file. 53 # - Created variable to hold results filename 54 # - Added time to results filename. 152 # Description: The results generated after the ltp execution located under 153 # ltp-mmddyy/results/ directory in a text (ASCII) file called 154 # results.todaysdate. This function displays this file in a 155 # window. If the results file does not exit it displays an 157 # need to be executed inorder to view results [all...] |
/third_party/notofonts/scripts/ |
H A D | gather.py | 64 results = {} variable 79 results[repo_name] = { 87 results[repo_name]["issues"] = [] 89 results[repo_name]["issues"].append( 159 results[repo_name]["families"] = state[repo_name].get("families", {}) 168 for result in results.values(): 180 json.dump(results, open("docs/noto.json", "w"), indent=True, sort_keys=True)
|
/third_party/skia/infra/lottiecap/gold/ |
H A D | lottie-web-aggregator.go | 64 // contains all the results reported in through report_gold_data 65 var results []jsonio.Result var 80 results = []jsonio.Result{} 125 results = append(results, jsonio.Result{ 149 // dumpJSON writes out a JSON file with all the results, typically at the end of 166 results := jsonio.GoldResults{ 172 Results: results, 179 if err := enc.Encode(&results); err != nil {
|
/third_party/vk-gl-cts/scripts/verify/ |
H A D | verify.py | 54 results = readTestLog(filename) 61 # Verify number of results 62 if len(results) != len(mustpass): 63 messages.append(error(filename, "Wrong number of test results, expected %d, found %d" % (len(mustpass), len(results)))) 66 for ndx in range(len(results)): 67 result = results[ndx] 71 messages.append(error(filename, "Multiple results for " + result.name)) 73 # Verify that all results are present and valid 79 result = results[resultNd [all...] |
/third_party/node/deps/v8/src/torque/ |
H A D | csa-generator.cc | 128 std::vector<std::string> results; in EmitInstruction() local 132 results.push_back(DefinitionToVariable(instruction.GetValueDefinition(i))); in EmitInstruction() 133 stack->Push(results.back()); in EmitInstruction() 141 PrintCommaSeparatedList(out(), results); in EmitInstruction() local 143 } else if (results.size() == 1) { in EmitInstruction() 144 out() << results[0] << " = "; in EmitInstruction() 185 std::vector<std::string> results; in EmitInstruction() local 189 results.push_back(DefinitionToVariable(instruction.GetValueDefinition(i))); in EmitInstruction() 190 stack->Push(results.back()); in EmitInstruction() 198 PrintCommaSeparatedList(out(), results); in EmitInstruction() local 321 std::vector<std::string> results; EmitInstruction() local 337 PrintCommaSeparatedList(out(), results); EmitInstruction() local 372 std::vector<std::string> results; EmitInstruction() local 412 PrintCommaSeparatedList(out(), results); EmitInstruction() local [all...] |
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | short_term_callback.cpp | 103 napi_value results[ARGS_ONE] = {nullptr}; in SendMessageBack() local 104 CHECK_ARGS_RET_VOID(this->env_, napi_create_object(this->env_, &results[PARAM0]), JS_INNER_FAIL); in SendMessageBack() 109 CHECK_ARGS_RET_VOID(this->env_, napi_set_named_property(this->env_, results[PARAM0], RESULT_PARAM.c_str(), result), in SendMessageBack() 115 CHECK_ARGS_RET_VOID(this->env_, napi_set_named_property(this->env_, results[PARAM0], DATA_PARAM.c_str(), data), in SendMessageBack() 122 CHECK_ARGS_RET_VOID(this->env_, napi_call_function(this->env_, undefined, callback, ARGS_ONE, results, &returnVal), in SendMessageBack()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/cloud_data/include/ |
H A D | cloud_service_proxy.h | 41 int32_t Share(const std::string &sharingRes, const Participants &participants, Results &results) override; 42 int32_t Unshare(const std::string &sharingRes, const Participants &participants, Results &results) override; 45 const std::string &sharingRes, const Participants &participants, Results &results) override; 46 int32_t Query(const std::string &sharingRes, QueryResults &results) override; 47 int32_t QueryByInvitation(const std::string &invitation, QueryResults &results) override;
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-smtp_client/ |
H A D | main.c | 16 static int interrupted, results[10], count_tests, count_passes; variable 227 args.results = results; in main() 228 args.results_max = LWS_ARRAY_SIZE(results); in main() 244 /* describe the overall test results */ in main() 250 lws_unit_test_result_name(results[n])); in main()
|
/third_party/node/deps/npm/node_modules/fastest-levenshtein/ |
H A D | bench.js | 81 var results = new Map(); 85 if (results.has(event.target.name[0])) { 86 results.get(event.target.name[0]).push(event.target.hz); 89 results.set(event.target.name[0], [event.target.hz]); 93 console.log(results);
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/Retired/ |
H A D | findBalance.py | 149 results = parser.parse_args() variable 151 setLogFile(True, True, results.logFile) 152 setLogFile(True, False, results.diagFile) 153 setLogFile(False, True, results.warnFile) 156 for file in results.files:
|