Home
last modified time | relevance | path

Searched refs:find (Results 26 - 50 of 4843) sorted by relevance

12345678910>>...194

/third_party/skia/tests/
H A DLRUCacheTest.cpp34 REPORTER_ASSERT(r, !test.find(i)); in DEF_TEST()
36 REPORTER_ASSERT(r, test.find(i)); in DEF_TEST()
37 REPORTER_ASSERT(r, i * i == (*test.find(i))->fValue); in DEF_TEST()
40 REPORTER_ASSERT(r, !test.find(i - kSize)); in DEF_TEST()
59 if (!test.find(k)) { in DEF_TEST()
67 REPORTER_ASSERT(r, test.find(k)); in DEF_TEST()
68 REPORTER_ASSERT(r, k == (*test.find(k))->fValue); in DEF_TEST()
/test/testfwk/arkxtest/uitest/core/
H A Dfrontend_api_handler.cpp44 auto find = refCountMap_.find(ref); in IncRef() local
45 if (find != refCountMap_.end()) { in IncRef()
46 find->second++; in IncRef()
54 auto find = refCountMap_.find(ref); in DecAndGetRef() local
55 if (find != refCountMap_.end()) { in DecAndGetRef()
56 find->second--; in DecAndGetRef()
57 if (find->second == 0) { in DecAndGetRef()
58 refCountMap_.erase(find); in DecAndGetRef()
76 auto find = callBackInfos_.find(event); global() variable
99 auto find = callBackInfos_.find(event); AddCallbackInfo() local
267 const auto find = sApiArgTypesMap.find(oldApiName); ApiMapPre() local
305 const auto find = sApiArgTypesMap.find(oldApiName); ApiMapPost() local
386 auto find = handlers_.find(call.apiId_); Call() local
494 auto find = sApiArgTypesMap.find(in.apiId_); APiCallInfoChecker() local
540 auto find = sObjectCounts.find(typeName); StoreBackendObject() local
559 auto find = sBackendObjects.find(string(ref)); GetBackendObject() local
[all...]
H A Ddump_handler.cpp32 auto begin = str.find(startStr, index); in GetMiddleStr()
35 auto end = str.find(endStr, index); in GetMiddleStr()
49 if (visibleHie.find(hie) != string::npos) { in HasVisibleChild()
66 if (cache.widgetCountMap_.find(hierarchy) != cache.widgetCountMap_.cend()) { in DFSMarshalWidget()
72 if (cache.visitWidgetMap_.find(tempChildHierarchy) == cache.visitWidgetMap_.cend()) { in DFSMarshalWidget()
95 auto find = elementTrees.find(windowId); in AddExtraAttrs() local
96 auto elementTree = (find != elementTrees.end()) ? find->second : ""; in AddExtraAttrs()
139 if (cache.widgetCountMap_.find(parentHi in DumpWindowInfoToJson()
[all...]
/third_party/cups-filters/filter/
H A Dstrcasestr.c41 * Find the first occurrence of find in s, ignore case.
44 strcasestr(s, find) in strcasestr()
45 const char *s, *find; in strcasestr()
50 if ((c = *find++) != 0) {
52 len = strlen(find);
58 } while (strncasecmp(s, find, len) != 0);
/third_party/skia/third_party/externals/imgui/
H A Dimstb_textedit.h5 // Grep for [DEAR IMGUI] to find the changes.
409 // search rows to find one that straddles 'y' in stb_text_locate_coord()
516 // find the x/y location of a character, and remember info about the previous row in
518 static void stb_textedit_find_charpos(StbFindState *find, STB_TEXTEDIT_STRING *str, int n, int single_line) in stb_textedit_find_charpos() argument
526 // if it's at the end, then find the last line -- simpler than trying to in stb_textedit_find_charpos()
530 find->y = 0; in stb_textedit_find_charpos()
531 find->first_char = 0; in stb_textedit_find_charpos()
532 find->length = z; in stb_textedit_find_charpos()
533 find->height = r.ymax - r.ymin; in stb_textedit_find_charpos()
534 find in stb_textedit_find_charpos()
865 StbFindState find; stb_textedit_key() local
932 StbFindState find; stb_textedit_key() local
[all...]
/third_party/googletest/googlemock/scripts/generator/cpp/
H A Dtokenize.py87 i = source.find('"', i+1)
98 i = source.find('"', i+1)
104 i = source.find("'", i+1)
109 i = source.find("'", i+1)
162 i = source.find('\n', i)
167 i = source.find('*/', i) + 2
226 i1 = source.find('\n', i)
227 i2 = source.find('//', i)
228 i3 = source.find('/*', i)
229 i4 = source.find('"',
[all...]
/base/telephony/cellular_data/test/
H A Dcellular_data_dump_helper_test.cpp61 ASSERT_FALSE(result.find("CellularData") == std::string::npos); in HWTEST_F()
62 ASSERT_FALSE(result.find("Usage:dump <command> [options]") == std::string::npos); in HWTEST_F()
75 ASSERT_FALSE(result.find("Ohos cellular data service") == std::string::npos); in HWTEST_F()
76 ASSERT_TRUE(result.find("CellularDataRoamingEnabled") == std::string::npos); in HWTEST_F()
89 ASSERT_FALSE(result.find("Ohos cellular data service") == std::string::npos); in HWTEST_F()
90 ASSERT_TRUE(result.find("CellularDataRoamingEnabled") == std::string::npos); in HWTEST_F()
103 ASSERT_FALSE(result.find("Ohos cellular data service") == std::string::npos); in HWTEST_F()
104 ASSERT_FALSE(result.find("CellularDataRoamingEnabled") == std::string::npos); in HWTEST_F()
/third_party/node/test/cctest/
H A Dtest_report.cc40 EXPECT_NE(actual.find("FooMessage"), std::string::npos); in TEST_F()
41 EXPECT_NE(actual.find("BarTrigger"), std::string::npos); in TEST_F()
56 EXPECT_NE(actual.find("FooMessage"), std::string::npos); in TEST_F()
57 EXPECT_NE(actual.find("BarTrigger"), std::string::npos); in TEST_F()
76 EXPECT_NE(actual.find("FooMessage"), std::string::npos); in TEST_F()
77 EXPECT_NE(actual.find("BarTrigger"), std::string::npos); in TEST_F()
112 EXPECT_NE(actual.find("FooMessage"), std::string::npos); in TEST_F()
113 EXPECT_NE(actual.find("BarTrigger"), std::string::npos); in TEST_F()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
H A DDiscoverDependentFunctions.cpp63 if (mNonDepFunctions.find(func) != mNonDepFunctions.end())
68 if (mDepFunctions.find(func) == mDepFunctions.end())
70 auto it = mFuncToDef.find(func);
80 if (mNonDepFunctions.find(func) != mNonDepFunctions.end())
84 ASSERT(mDepFunctions.find(func) != mDepFunctions.end());
101 if (mDepFunctions.find(func) != mDepFunctions.end())
106 if (mNonDepFunctions.find(func) != mNonDepFunctions.end())
114 if (mDepFunctions.find(func) == mDepFunctions.end())
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DRendererTest.cpp56 ASSERT_NE(rendererString.find(std::string("direct3d11")), std::string::npos); in TEST_P()
62 ASSERT_NE(rendererString.find(std::string("direct3d9")), std::string::npos); in TEST_P()
71 auto basicRenderPos = rendererString.find(std::string("microsoft basic render")); in TEST_P()
72 auto softwareAdapterPos = rendererString.find(std::string("software adapter")); in TEST_P()
112 if (rendererString.find(acceptableShaderModels[i]) != std::string::npos) in TEST_P()
137 ASSERT_NE(versionString.find(std::string("es 3.1")), std::string::npos); in TEST_P()
141 ASSERT_NE(versionString.find(std::string("es 3.0")), std::string::npos); in TEST_P()
145 ASSERT_NE(versionString.find(std::string("es 2.0")), std::string::npos); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
H A Dangle_test_platform.cpp20 return (rendererString.find("Adreno") != std::string::npos); in IsAdreno()
26 return (rendererString.find("Direct3D11 vs_5_0") != std::string::npos); in IsD3D11()
32 return (rendererString.find("Direct3D9") != std::string::npos); in IsD3D9()
43 return (rendererString.find("OpenGL ES") != std::string::npos); in IsOpenGLES()
49 return (rendererString.find("OpenGL") != std::string::npos); in IsOpenGL()
55 return (rendererString.find("NULL") != std::string::npos); in IsNULL()
62 return (rendererString.find("Vulkan") != std::string::npos); in IsVulkan()
69 return (rendererString.find("ANGLE Metal") != std::string::npos); in IsMetal()
/third_party/json/tests/src/
H A Dunit-element_access2.cpp744 CHECK(j.find("integer") != j.end());
746 CHECK(j.find("integer") == j.end());
749 CHECK(j.find("unsigned") != j.end());
751 CHECK(j.find("unsigned") == j.end());
754 CHECK(j.find("boolean") != j.end());
756 CHECK(j.find("boolean") == j.end());
759 CHECK(j.find("null") != j.end());
761 CHECK(j.find("null") == j.end());
764 CHECK(j.find("string") != j.end());
766 CHECK(j.find("strin
[all...]
/base/account/os_account/services/accountmgr/test/unittest/common/account_mgr_service_test/
H A Daccount_dump_helper_test.cpp131 auto pos = out.find("Account Manager service, enter '-h' for usage", 0); in HWTEST_F()
162 auto pos = out.find("OhosAccount name", 0); in HWTEST_F()
164 pos = out.find("OhosAccount uid", 0); in HWTEST_F()
166 pos = out.find("OhosAccount status", 0); in HWTEST_F()
168 pos = out.find("OhosAccount bind time", 0); in HWTEST_F()
170 pos = out.find("Bind local user id", 0); in HWTEST_F()
190 auto pos = out.find("ID:", 0); in HWTEST_F()
228 auto pos = out.find("Usage:dump", 0); in HWTEST_F()
246 auto pos = out.find("System error", 0); in HWTEST_F()
264 auto pos = out.find("Syste in HWTEST_F()
[all...]
/base/security/access_token/services/tokensyncmanager/src/command/
H A Dbase_remote_command.cpp49 if (jsonObject.find(tag) != jsonObject.end() && jsonObject.at(tag).is_string()) { in GetStringFromJson()
56 if (jsonObject.find(tag) != jsonObject.end() && jsonObject.at(tag).is_number()) { in GetIntFromJson()
64 if (jsonObject.find(tag) != jsonObject.end() && jsonObject.at(tag).is_number()) { in GetUnSignedIntFromJson()
175 if (hapTokenJson.find("version") != hapTokenJson.end() && hapTokenJson.at("version").is_number()) { in FromHapTokenBasicInfoJson()
188 if (hapTokenJson.find("apl") != hapTokenJson.end() && hapTokenJson.at("apl").is_number()) { in FromHapTokenBasicInfoJson()
199 if (hapTokenJson.find("permState") != hapTokenJson.end() in FromPermStateListJson()
205 if (permissionJson.find("permissionName") == permissionJson.end() || in FromPermStateListJson()
207 permissionJson.find("isGeneral") == permissionJson.end() || in FromPermStateListJson()
209 permissionJson.find("grantConfig") == permissionJson.end() || in FromPermStateListJson()
218 if (grantConfigJson.find("resDeviceI in FromPermStateListJson()
[all...]
/base/time/time_service/test/unittest/service_test/src/
H A Dtime_dfx_test.cpp96 EXPECT_NE(result.find("dump all time info"), std::string::npos); in HWTEST_F()
97 EXPECT_NE(result.find("dump the time Zone"), std::string::npos); in HWTEST_F()
110 EXPECT_NE(result.find("dump all timer info"), std::string::npos); in HWTEST_F()
132 EXPECT_NE(result.find("timer id"), std::string::npos); in HWTEST_F()
133 EXPECT_NE(result.find("timer type"), std::string::npos); in HWTEST_F()
157 EXPECT_NE(result.find("timer id"), std::string::npos); in HWTEST_F()
158 EXPECT_NE(result.find("timer trigger"), std::string::npos); in HWTEST_F()
173 EXPECT_NE(result.find("dump current time info,include localtime,timezone info"), std::string::npos); in HWTEST_F()
174 EXPECT_NE(result.find("dump all timer info"), std::string::npos); in HWTEST_F()
175 EXPECT_NE(result.find("dum in HWTEST_F()
[all...]
/third_party/skia/src/core/
H A DSkTMultiMap.h49 ValueList* list = fHash.find(key); in insert()
67 ValueList* list = fHash.find(key); in remove()
94 T* find(const Key& key) const { in find() function in SkTMultiMap
95 ValueList* list = fHash.find(key); in find()
103 T* find(const Key& key, const FindPredicate f) { in find() function in SkTMultiMap
104 ValueList* list = fHash.find(key); in find()
116 ValueList* list = fHash.find(key); in findAndRemove()
144 for (ValueList* list = fHash.find(key); list; list = list->fNext) { in has()
155 ValueList* list = fHash.find(key); in countForKey()
/third_party/rust/crates/memchr/src/memmem/prefilter/x86/
H A Davx.rs9 const _: PrefilterFnTy = find;
18 pub(crate) unsafe fn find(
24 super::super::genericsimd::find::<__m256i>(
29 super::sse::find,
42 // SAFETY: The safety of super::find only requires that the current in prefilter_permutations()
44 unsafe { PrefilterTest::run_all_tests(super::find) }; in prefilter_permutations()
/third_party/skia/src/sksl/
H A DSkSLIntrinsicMap.cpp15 SkASSERT(fIntrinsics.find(key) == fIntrinsics.end()); in insertOrDie()
19 const ProgramElement* IntrinsicMap::find(const String& key) { in find() function in SkSL::IntrinsicMap
20 auto iter = fIntrinsics.find(key); in find()
22 return fParent ? fParent->find(key) : nullptr; in find()
29 auto iter = fIntrinsics.find(key); in findAndInclude()
/third_party/typescript/tests/baselines/reference/
H A DdottedSymbolResolution1.js3 find(selector: string): JQuery;
22 each(x.find(" "), function () {
24 thisBar = $this.find(".fx-usagebars-calloutbar-this"); // bug lead to 'could not find dotted symbol' here
40 each(x.find(" "), function () {
41 var $this = $(''), thisBar = $this.find(".fx-usagebars-calloutbar-this"); // bug lead to 'could not find dotted symbol' here
/base/powermgr/battery_statistics/services/native/src/entities/
H A Dsensor_entity.cpp38 auto gravityIter = gravityTimerMap_.find(uid); in GetActiveTimeMs()
45 STATS_HILOGD(COMP_SVC, "Didn't find related timer for uid: %{public}d, return 0", uid); in GetActiveTimeMs()
49 auto proximityIter = proximityTimerMap_.find(uid); in GetActiveTimeMs()
56 STATS_HILOGD(COMP_SVC, "Didn't find related timer for uid: %{public}d, return 0", uid); in GetActiveTimeMs()
72 auto gravityIter = gravityPowerMap_.find(uid); in CalculateGravity()
92 auto proximityIter = proximityPowerMap_.find(uid); in CalculateProximity()
111 auto sensorIter = sensorTotalPowerMap_.find(uid); in Calculate()
126 auto iter = sensorTotalPowerMap_.find(uidOrUserId); in GetEntityPowerMah()
142 auto gravityOnIter = gravityPowerMap_.find(uid); in GetStatsPowerMah()
152 auto proximityOnIter = proximityPowerMap_.find(ui in GetStatsPowerMah()
[all...]
/third_party/skia/src/gpu/text/
H A DGrTextBlobCache.cpp31 sk_sp<GrTextBlob> GrTextBlobCache::find(const GrTextBlob::Key& key) { in find() function in GrTextBlobCache
33 const BlobIDCacheEntry* idEntry = fBlobIDCache.find(key.fUniqueID); in find()
38 sk_sp<GrTextBlob> blob = idEntry->find(key); in find()
54 auto* idEntry = fBlobIDCache.find(id); in internalRemove()
57 sk_sp<GrTextBlob> stillExists = idEntry->find(blob->key()); in internalRemove()
91 auto* idEntry = fBlobIDCache.find(msg.fBlobID); in internalPurgeStaleBlobs()
144 auto* idEntry = fBlobIDCache.find(id); in internalAdd()
149 if (sk_sp<GrTextBlob> alreadyIn = idEntry->find(blob->key()); alreadyIn) { in internalAdd()
172 SkASSERT(!this->find(blob->key())); in addBlob()
187 sk_sp<GrTextBlob> GrTextBlobCache::BlobIDCacheEntry::find(cons function in GrTextBlobCache::BlobIDCacheEntry
[all...]
/base/global/i18n/frameworks/intl/test/unittest/
H A Dintl_test.cpp577 EXPECT_TRUE(out.find(expects) != out.npos); in HWTEST_F()
626 map<string, string>::iterator it = options.find("localeMatcher"); in HWTEST_F()
630 it = options.find("locale"); in HWTEST_F()
634 it = options.find("usage"); in HWTEST_F()
638 it = options.find("sensitivity"); in HWTEST_F()
642 it = options.find("ignorePunctuation"); in HWTEST_F()
646 it = options.find("numeric"); in HWTEST_F()
650 it = options.find("caseFirst"); in HWTEST_F()
654 it = options.find("collation"); in HWTEST_F()
689 map<string, string>::iterator it = options.find("localeMatche in HWTEST_F()
[all...]
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_common/
H A Ddlp_permission_serializer.cpp93 if (!lenName.empty() && permJson.find(lenName) != permJson.end() && permJson.at(lenName).is_number()) { in ReadUint8ArrayFromJson()
97 if (permJson.find(keyName) != permJson.end() && permJson.at(keyName).is_string()) { in ReadUint8ArrayFromJson()
189 if (accountInfoJson.find(RIGHT_INDEX) != accountInfoJson.end() && accountInfoJson.at(RIGHT_INDEX).is_object()) { in DeserializeAuthUserInfo()
196 if (rightInfoJson.find(EDIT_INDEX) != rightInfoJson.end() && rightInfoJson.at(EDIT_INDEX).is_boolean()) { in DeserializeAuthUserInfo()
200 if (rightInfoJson.find(FC_INDEX) != rightInfoJson.end() && rightInfoJson.at(FC_INDEX).is_boolean()) { in DeserializeAuthUserInfo()
269 size_t pos = domainInfo.serverConfigId_.find(":"); in SerializeDomainInfo()
377 if (permJson.find(ONLINE_POLICY_CONTENT) != permJson.end() && permJson.at(ONLINE_POLICY_CONTENT).is_string()) { in GetPolicyJson()
398 if (policyJson.find(EVERYONE_INDEX) == policyJson.end() || !policyJson.at(EVERYONE_INDEX).is_object()) { in DeserializeEveryoneInfo()
407 if (everyoneInfoJson.find(RIGHT_INDEX) == everyoneInfoJson.end() || in DeserializeEveryoneInfo()
416 if (rightInfoJson.find(EDIT_INDE in DeserializeEveryoneInfo()
[all...]
/base/hiviewdfx/hiview/plugins/performance/timer/
H A DAppTimerAdapter.cpp46 sessions.erase(std::find(sessions.begin(), sessions.end(), id)); in Stop()
57 sessions.erase(std::find(sessions.begin(), sessions.end(), id)); in Expired()
68 if (std::find(sessions.begin(), sessions.end(), id) != sessions.end()) { in ValidateDuplication()
75 if (std::find(sessions.begin(), sessions.end(), id) == sessions.end()) { in ValidateExistence()
104 if (idToBundle.find(id) != idToBundle.end()) { in IdToKey()
112 if (bundleToId.find(key) != bundleToId.end()) { in KeyToId()
120 if (bundleToId.find(key) != bundleToId.end()) { in ValidateExistKey()
/base/notification/distributed_notification_service/services/ans/src/common/
H A Dnotification_config_parse.cpp51 if (keyCheck.find("/") == std::string::npos && json.contains(keyCheck)) { in GetConfigJson()
56 if (keyCheck.find("/") != std::string::npos) { in GetConfigJson()
65 ANS_LOGE("Cannot find keyCheck: %{public}s in notificationConfigJsons.", keyCheck.c_str()); in GetConfigJson()
82 if (root.find(CFG_KEY_NOTIFICATION_SERVICE) == root.end()) { in GetCurrentSlotReminder()
83 ANS_LOGE("GetCurrentSlotReminder failed as can not find notificationService."); in GetCurrentSlotReminder()
93 if (reminderFilterSlot.find(CFG_KEY_NAME) == reminderFilterSlot.end() || in GetCurrentSlotReminder()
101 if (reminderFilterSlot.find(CFG_KEY_REMINDER_FLAGS) == reminderFilterSlot.end() || in GetCurrentSlotReminder()
124 auto iter = configSlotsReminder.find(slotType); in GetConfigSlotReminderModeByType()
129 auto defaultIter = defaultCurrentSlotReminder_.find(slotType); in GetConfigSlotReminderModeByType()

Completed in 14 milliseconds

12345678910>>...194