/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
H A D | TestUtility.java | 41 StringBuffer results = new StringBuffer(); in replace() 45 results.append(replacement); in replace() 48 results.append(source.charAt(i)); in replace() 51 return results.toString(); in replace() 55 StringBuffer results = new StringBuffer(); in replaceAll() 60 results.append(replacement); in replaceAll() 62 UTF16.append(results, cp); in replaceAll() 65 return results.toString(); in replaceAll()
|
/third_party/node/test/parallel/ |
H A D | test-stream2-readable-empty-buffer-no-eof.js | 74 const results = []; 78 results.push(String(chunk)); 82 results.push('EOF'); 87 assert.deepStrictEqual(results, [ 'xxxxx', 'xxxxx', 'EOF' ]); 101 const results = []; 105 results.push(String(chunk)); 109 results.push('EOF'); 114 assert.deepStrictEqual(results, [ 'eHh4', 'eHg=', 'EOF' ]);
|
H A D | test-fs-readdir-types.js | 88 req.oncomplete = (err, results) => { 93 results[1] = results[1].map(() => UNKNOWN); 94 oldCb(null, results); 98 const results = oldReaddir(path, encoding, types, req, ctx); 99 results[1] = results[1].map(() => UNKNOWN); 100 return results;
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
H A D | vktWsiSurfaceTests.cpp | 129 void operator() (tcu::ResultCollector& results, in operator ()() argument 148 results.fail("Query didn't return VK_INCOMPLETE"); in operator ()() 374 tcu::ResultCollector results (log); in querySurfaceSupportTest() 398 results.fail("Surface must be supported by all devices and queue families"); in querySurfaceSupportTest() 402 return tcu::TestStatus(results.getResult(), results.getMessage()); in querySurfaceSupportTest() 413 tcu::ResultCollector results (log); in queryPresentationSupportTest() 437 results.fail("Presentation support is different from surface support"); in queryPresentationSupportTest() 441 return tcu::TestStatus(results.getResult(), results in queryPresentationSupportTest() 457 validateSurfaceCapabilities(tcu::ResultCollector& results, const VkSurfaceCapabilitiesKHR& capabilities) validateSurfaceCapabilities() argument 653 validateSurfaceFormats(tcu::ResultCollector& results, Type wsiType, const vector<VkSurfaceFormatKHR>& formats) validateSurfaceFormats() argument 886 validateSurfacePresentModes(tcu::ResultCollector& results, Type wsiType, const vector<VkPresentModeKHR>& modes) validateSurfacePresentModes() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/ |
H A D | astc_integer_sequence.cpp | 242 // we may write more temporary results than the number of outputs in decode_ise() 243 // The maximum actual number of results is 64 bit, but we keep 4 additional elements in decode_ise() 245 uint8_t results[68]; in decode_ise() local 261 results[i] = read_bits(bits, bit_offset, input_data); in decode_ise() 298 results[5 * i] |= tritptr[0] << bits; in decode_ise() 299 results[5 * i + 1] |= tritptr[1] << bits; in decode_ise() 300 results[5 * i + 2] |= tritptr[2] << bits; in decode_ise() 301 results[5 * i + 3] |= tritptr[3] << bits; in decode_ise() 302 results[5 * i + 4] |= tritptr[4] << bits; in decode_ise() 312 results[ in decode_ise() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | raw_hash_set_probe_benchmark.cc | 478 void RunForTypeAndDistribution(std::vector<Result>& results) { in RunForTypeAndDistribution() argument 487 results.push_back({Name<T>(), Name<Dist>(), CollectMeanProbeLengths<Dist>()}); in RunForTypeAndDistribution() 491 void RunForType(std::vector<Result>& results) { in RunForType() argument 492 RunForTypeAndDistribution<T, Sequential<T>>(results); in RunForType() 493 RunForTypeAndDistribution<T, AlmostSequential<T, 20>>(results); in RunForType() 494 RunForTypeAndDistribution<T, AlmostSequential<T, 50>>(results); in RunForType() 495 RunForTypeAndDistribution<T, Random<T, Uniform>>(results); in RunForType() 498 RunForTypeAndDistribution<T, Random<T, Gaussian>>(results); in RunForType() 499 RunForTypeAndDistribution<T, Random<T, Zipf>>(results); in RunForType() 527 std::vector<Result> results; in main() local [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_ap/ |
H A D | ap_stations_manager.cpp | 104 std::vector<StationInfo> results; in EnableAllBlockList() 105 if (WifiSettings::GetInstance().GetBlockList(results, m_id)) { in EnableAllBlockList() 111 for (std::vector<StationInfo>::iterator iter = results.begin(); iter != results.end(); iter++) { in EnableAllBlockList() 125 std::vector<StationInfo> results; in StationLeave() local 126 if (WifiConfigCenter::GetInstance().GetStationList(results, m_id)) { in StationLeave() 130 auto it = results.begin(); in StationLeave() 131 for (; it != results.end(); ++it) { in StationLeave() 150 std::vector<StationInfo> results; in StationJoin() local 151 if (WifiConfigCenter::GetInstance().GetStationList(results, m_i in StationJoin() [all...] |
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/idl_client/unittest/ |
H A D | mock_wifi_hal_service.c | 88 WifiErrorNo GetScanInfos(ScanInfo *results, int *size) in GetScanInfos() argument 90 if (results == NULL || size == NULL || *size == 0) { in GetScanInfos() 93 if (strcpy_s(results[0].ssid, sizeof(results[0].ssid), "OHOS_testAp") != EOK || in GetScanInfos() 94 strcpy_s(results[0].bssid, sizeof(results[0].bssid), "00:00:00:00:00:00") != EOK || in GetScanInfos() 95 strcpy_s(results[0].flags, sizeof(results[0].flags), "CMCC") != EOK) { in GetScanInfos() 98 results[0].freq = 2412; in GetScanInfos() 99 results[ in GetScanInfos() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | number_fluent.cpp | 540 auto results = new UFormattedNumberData(); in formatInt() local 541 if (results == nullptr) { in formatInt() 545 results->quantity.setToLong(value); in formatInt() 546 formatImpl(results, status); in formatInt() 548 // Do not save the results object if we encountered a failure. in formatInt() 550 return FormattedNumber(results); in formatInt() 552 delete results; in formatInt() 559 auto results = new UFormattedNumberData(); in formatDouble() local 560 if (results == nullptr) { in formatDouble() 564 results in formatDouble() 578 auto results = new UFormattedNumberData(); formatDecimal() local 598 auto results = new UFormattedNumberData(); formatDecimalQuantity() local 615 formatImpl(impl::UFormattedNumberData* results, UErrorCode& status) const formatImpl() argument [all...] |
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/ |
H A D | object_callback_stub.cpp | 36 std::map<std::string, int32_t> results; in OnRemoteRequest() local 37 if (!ITypesUtil::Unmarshal(data, results)) { in OnRemoteRequest() 41 Completed(results); in OnRemoteRequest() 80 std::map<std::string, std::vector<uint8_t>> results; in OnRemoteRequest() local 82 if (!ITypesUtil::Unmarshal(data, results, allReady)) { in OnRemoteRequest() 86 Completed(results, allReady); in OnRemoteRequest() 103 std::map<std::string, std::vector<uint8_t>> results; in OnRemoteRequest() local 105 if (!ITypesUtil::Unmarshal(data, results, allReady)) { in OnRemoteRequest() 109 Completed(results, allReady); in OnRemoteRequest()
|
/third_party/node/deps/v8/tools/mb/ |
H A D | PRESUBMIT.py | 12 results = [] 16 results.extend(input_api.RunTests(pylint_checks)) 19 results.extend( 26 results.extend(input_api.RunTests([ 32 results.extend( 36 return results
|
/third_party/python/Lib/lib2to3/fixes/ |
H A D | fix_throw.py | 26 def transform(self, node, results): 29 exc = results["exc"].clone() 35 val = results.get("val") 46 throw_args = results["args"] 48 if "tb" in results: 49 tb = results["tb"].clone()
|
H A D | fix_has_key.py | 71 def transform(self, node, results): 72 assert results 79 negation = results.get("negation") 80 anchor = results["anchor"] 82 before = [n.clone() for n in results["before"]] 83 arg = results["arg"].clone() 84 after = results.get("after")
|
H A D | fix_renames.py | 51 results = match(node) 52 if results: 55 return results 62 def transform(self, node, results): 63 mod_name = results.get("module_name") 64 attr_name = results.get("attr_name") 65 #bare_name = results.get("bare_name") 66 #import_mod = results.get("module")
|
/third_party/python/Lib/test/ |
H A D | test_glob.py | 174 # either of these results is reasonable 189 # either of these results is reasonable 365 results = glob.glob('**', recursive=True) 366 self.assertEqual(len(results), len(set(results))) 367 results = set(results) 369 while results: 371 self.assertIn(path, results) 372 results [all...] |
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | termiosndk.cpp | 51 napi_value results = nullptr;
in Tcdrain() local 52 napi_create_int32(env, result, &results);
in Tcdrain() 53 return results;
in Tcdrain() 78 napi_value results = nullptr;
in Tcflow() local 79 napi_create_int32(env, result, &results);
in Tcflow() 80 return results;
in Tcflow() 103 napi_value results = nullptr;
in Tcflush() local 104 napi_create_int32(env, result, &results);
in Tcflush() 105 return results;
in Tcflush() 122 napi_value results in Tcgetattr() local 147 napi_value results = nullptr; Tcgetsid() local 166 napi_value results = nullptr; Tcsendbreak() local 188 napi_value results = nullptr; Tcsetattr() local [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/tests/kutf/ |
H A D | kutf_resultset.c | 27 * struct kutf_result_set - Represents a set of results. 28 * @results: Pointer to the linked list where the results are stored. 31 struct list_head results; member 44 INIT_LIST_HEAD(&set->results); in kutf_create_result_set() 72 list_add_tail(&new_result->node, &set->results); in kutf_add_result() 77 if (!list_empty(&set->results)) in kutf_destroy_result_set() 78 pr_err("kutf_destroy_result_set: Unread results from test\n"); in kutf_destroy_result_set() 85 if (!list_empty(&set->results)) { in kutf_remove_result() 88 ret = list_first_entry(&set->results, struc in kutf_remove_result() [all...] |
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/adaptor/ |
H A D | object_callback_impl.cpp | 18 void ObjectSaveCallback::Completed(const std::map<std::string, int32_t> &results) in Completed() argument 20 callback_(results); in Completed() 37 void ObjectRetrieveCallback::Completed(const std::map<std::string, std::vector<uint8_t>> &results, bool allReady) in Completed() argument 39 callback_(results, allReady); in Completed() 48 void ObjectChangeCallback::Completed(const std::map<std::string, std::vector<uint8_t>> &results, bool allReady) in Completed() argument 50 callback_(results, allReady); in Completed()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | indexTypeCheck.js | 59 public results: { [x:string]: any; } = <{ [x:string]: any; }>{}; 62 this.results[name] = this.results[name]; 81 this.results = {};
84 this.results[name] = this.results[name];
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | nanobenchmark_test.cc | 34 Result results[N]; variable 37 const size_t num_results = Measure(&Div, nullptr, inputs, N, results, params); 46 ABSL_RAW_LOG(INFO, "%5zu: %6.2f ticks; MAD=%4.2f%%\n", results[i].input, 47 results[i].ticks, results[i].variability * 100.0); 48 ABSL_RAW_CHECK(results[i].ticks != 0.0f, "Zero duration");
|
/third_party/skia/infra/bots/buildstats/ |
H A D | buildstats_wasm.py | 25 results = { 27 'results': { } 46 results[props[i]] = props[i+1] 50 results['key'][keys[i]] = keys[i+1] 66 results['results'][name] = { 74 print(json.dumps(results, indent=2)) 77 output.write(json.dumps(results, indent=2))
|
H A D | buildstats_web.py | 24 results = { 26 'results': { } 31 results[props[i]] = props[i+1] 35 results['key'][keys[i]] = keys[i+1] 52 results['results'][name] = { 60 print(json.dumps(results, indent=2)) 63 output.write(json.dumps(results, indent=2))
|
/third_party/python/Lib/lib2to3/ |
H A D | pytree.py | 433 name = None # Optional name used to store match in results dict 454 def match(self, node, results=None): 460 If results is not None, it must be a dict which will be 469 if results is not None: 474 results.update(r) 475 if results is not None and self.name: 476 results[self.name] = node 479 def match_seq(self, nodes, results=None): 487 return self.match(nodes[0], results) 511 If a name is given, the matching node is stored in the results [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/ |
H A D | data_share_service_stub.cpp | 156 std::vector<OperationResult> results = Publish(publishData, bundleName); in OnPublish() local 157 if (!ITypesUtil::Marshal(reply, results)) { in OnPublish() 158 ZLOGE("ITypesUtil::Marshal(reply, results) failed"); in OnPublish() 173 auto results = GetData(bundleName, errorCode); in OnGetData() local 174 if (!ITypesUtil::Marshal(reply, results.datas_, errorCode)) { in OnGetData() 175 ZLOGE("ITypesUtil::Marshal(reply, results) failed"); in OnGetData() 195 std::vector<OperationResult> results = SubscribeRdbData(uris, templateId, observer); in OnSubscribeRdbData() local 196 if (!ITypesUtil::Marshal(reply, results)) { in OnSubscribeRdbData() 197 ZLOGE("ITypesUtil::Marshal(reply, results) failed"); in OnSubscribeRdbData() 211 std::vector<OperationResult> results in OnUnsubscribeRdbData() local 227 std::vector<OperationResult> results = EnableRdbSubs(uris, templateId); OnEnableRdbSubs() local 243 std::vector<OperationResult> results = DisableRdbSubs(uris, templateId); OnDisableRdbSubs() local 264 std::vector<OperationResult> results = SubscribePublishedData(uris, subscriberId, observer); OnSubscribePublishedData() local 280 std::vector<OperationResult> results = UnsubscribePublishedData(uris, subscriberId); OnUnsubscribePublishedData() local 296 std::vector<OperationResult> results = EnablePubSubs(uris, subscriberId); OnEnablePubSubs() local 312 std::vector<OperationResult> results = DisablePubSubs(uris, subscriberId); OnDisablePubSubs() local [all...] |
/foundation/deviceprofile/device_info_manager/old/services/core/src/dbstorage/ |
H A D | online_sync_table.cpp | 107 void OnlineSyncTable::SyncCompleted(const std::map<std::string, Status>& results) in SyncCompleted() argument 111 NotifySyncCompleted(results); in SyncCompleted() 117 for (const auto& [deviceId, result] : results) { in SyncCompleted() 145 NotifySyncCompleted(results); in SyncCompleted() 149 void OnlineSyncTable::NotifySyncCompleted(const std::map<std::string, Status>& results) in NotifySyncCompleted() argument 151 HILOGI("called, syncResult size %{public}zu!", results.size()); in NotifySyncCompleted() 152 for (const auto& item : results) { in NotifySyncCompleted() 159 syncCallback_->SyncCompleted(results); in NotifySyncCompleted()
|