Home
last modified time | relevance | path

Searched refs:find (Results 1 - 25 of 3630) sorted by relevance

12345678910>>...146

/third_party/spirv-tools/test/opt/
H A Danalyze_live_input_test.cpp99 auto itr0 = live_inputs.find(0); in TEST_F()
100 auto itr1 = live_inputs.find(1); in TEST_F()
101 auto itr2 = live_inputs.find(2); in TEST_F()
102 auto itr3 = live_inputs.find(3); in TEST_F()
103 auto itr4 = live_inputs.find(4); in TEST_F()
104 auto itr5 = live_inputs.find(5); in TEST_F()
105 auto itr6 = live_inputs.find(6); in TEST_F()
208 auto itr0 = live_inputs.find(0); in TEST_F()
209 auto itr1 = live_inputs.find(1); in TEST_F()
210 auto itr2 = live_inputs.find( in TEST_F()
[all...]
/third_party/rust/crates/regex/src/
H A Dexpand.rs197 macro_rules! find { macros
218 find!(find_cap_ref1, "$foo", c!("foo", 4));
219 find!(find_cap_ref2, "${foo}", c!("foo", 6));
220 find!(find_cap_ref3, "$0", c!(0, 2));
221 find!(find_cap_ref4, "$5", c!(5, 2));
222 find!(find_cap_ref5, "$10", c!(10, 3));
225 find!(find_cap_ref6, "$42a", c!("42a", 4));
226 find!(find_cap_ref7, "${42}a", c!(42, 5));
227 find!(find_cap_ref8, "${42");
228 find!(find_cap_ref
[all...]
/third_party/jerryscript/tests/jerry/es2015/
H A Darray-prototype-find.js30 assert (array1.find (bigger_than_10) === 12);
40 array1.find (less_than_0);
57 assert (JSON.stringify (inventory.find (isCherries)) === '{"name":"cherries","quantity":5}');
60 assert (eval ("inventory.find (fruit => fruit.name === 'bananas')") === inventory[1]);
81 assert (src_array.find (isPrime) === undefined);
85 assert (src_array.find (isPrime) === 5);
91 obj.find = Array.prototype.find;
94 obj.find ();
102 assert (Array.prototype.find
[all...]
H A DtypedArray-find.js43 assert (array1.find (bigger_than_10) === 12);
53 array1.find (less_than_0);
61 assert (eval ("array1.find (e => e > 100)") === 120);
82 assert (src_array.find (isPrime) === undefined);
86 assert (src_array.find (isPrime) === 5);
90 TypedArray.prototype.find.call (5);
100 array.find (5);
108 array.find ();
115 assert (array.find (function (e) { return e < 2 }, {}, 8, 4, 5, 6, 6) === 1);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DShaderD3D.cpp207 return mUniformRegisterMap.find(uniformName)->second; in getUniformRegister()
213 return mUniformBlockRegisterMap.find(blockName)->second; in getUniformBlockRegister()
219 return mUniformBlockUseStructuredBufferMap.find(blockName)->second; in shouldUniformBlockUseStructuredBuffer()
225 return mShaderStorageBlockRegisterMap.find(blockName)->second; in getShaderStorageBlockRegister()
240 return mUsedImage2DFunctionNames.find(functionName) != mUsedImage2DFunctionNames.end(); in useImage2DFunction()
299 mUsesMultipleRenderTargets = translatedSource.find("GL_USES_MRT") != std::string::npos; in compile()
300 mUsesFragColor = translatedSource.find("GL_USES_FRAG_COLOR") != std::string::npos; in compile()
301 mUsesFragData = translatedSource.find("GL_USES_FRAG_DATA") != std::string::npos; in compile()
302 mUsesSecondaryColor = translatedSource.find("GL_USES_SECONDARY_COLOR") != std::string::npos; in compile()
303 mUsesFragCoord = translatedSource.find("GL_USES_FRAG_COOR in compile()
[all...]
/drivers/peripheral/sensor/hdi_service/
H A Dsensor_clients_manager.cpp112 if (clients_.find(groupId) == clients_.end() || clients_[groupId].find(serviceId) == clients_[groupId].end()) { in ReportDataCbRegister()
122 auto it = clients_[groupId].find(serviceId); in ReportDataCbRegister()
133 if (clients_.find(groupId) == clients_.end() || clients_[groupId].find(serviceId) == clients_[groupId].end()) { in ReportDataCbUnRegister()
138 auto it = clients_[groupId].find(serviceId); in ReportDataCbUnRegister()
148 auto it = sensorConfig_.find(sensorId); in UpdateSensorConfig()
164 auto it = sdcSensorConfig_.find(sensorId); in UpdateSdcSensorConfig()
188 if (clients_.find(groupId) == clients_.end() || clients_[groupId].empty()) { in UpdateClientPeriodCount()
194 if (client.curCountMap_.find(sensorI in UpdateClientPeriodCount()
[all...]
/third_party/lz4/contrib/gen_manual/
H A Dgen_manual.cpp59 spos = s.find("/*"); in trim_comments()
60 epos = s.find("*/"); in trim_comments()
76 size_t const epos = line.find(terminator); in get_lines()
95 spos = line.find("/*"); in print_line()
96 epos = line.find("*/"); in print_line()
143 if (line.substr(0,7) == "typedef" && line.find("{")!=string::npos) { in main()
154 if ((line.find("/**<")!=string::npos || line.find("/*!<")!=string::npos) in main()
155 && line.find("*/")!=string::npos) { in main()
162 spos = line.find("/** in main()
[all...]
/third_party/protobuf/src/google/protobuf/stubs/
H A Dstringpiece_unittest.cc128 TestMap::iterator new_iter = map.find("zot"); in TEST()
131 new_iter = map.find("bar"); in TEST()
320 EXPECT_EQ(a.find(b), 0); in TEST()
321 EXPECT_EQ(a.find(b, 1), StringPiece::npos); in TEST()
322 EXPECT_EQ(a.find(c), 23); in TEST()
323 EXPECT_EQ(a.find(c, 9), 23); in TEST()
324 EXPECT_EQ(a.find(c, StringPiece::npos), StringPiece::npos); in TEST()
325 EXPECT_EQ(b.find(c), StringPiece::npos); in TEST()
326 EXPECT_EQ(b.find(c, StringPiece::npos), StringPiece::npos); in TEST()
327 EXPECT_EQ(a.find( in TEST()
[all...]
/third_party/elfutils/tests/
H A Drun-debuginfod-find.sh76 # find an unused port number
149 # cannot find it without debuginfod.
180 testrun ${abs_top_builddir}/debuginfod/debuginfod-find debuginfo 01234567 || true
182 echo "could not find cache in $DEBUGINFOD_CACHE_PATH"
192 testrun ${abs_top_builddir}/debuginfod/debuginfod-find debuginfo 01234567 || true
203 testrun ${abs_top_builddir}/debuginfod/debuginfod-find debuginfo 01234567 || true
211 # Test whether debuginfod-find is able to fetch those files.
213 filename=`testrun ${abs_top_builddir}/debuginfod/debuginfod-find debuginfo $BUILDID`
220 filename=`testrun ${abs_top_builddir}/debuginfod/debuginfod-find executable F/prog`
224 filename=`testrun ${abs_top_builddir}/debuginfod/debuginfod-find sourc
[all...]
H A Drun-find-prologues.sh23 testrun_compare ${abs_builddir}/find-prologues -e testfile <<\EOF
29 testrun_compare ${abs_builddir}/find-prologues -e testfile11 <<\EOF
40 testrun_compare ${abs_builddir}/find-prologues -e testfile22 <<\EOF
45 testrun_compare ${abs_builddir}/find-prologues -e testfile24 <<\EOF
50 testrun_compare ${abs_builddir}/find-prologues -e testfile25 <<\EOF
54 testrun_compare ${abs_builddir}/find-prologues -e testfile3 <<\EOF
60 testrun_compare ${abs_builddir}/find-prologues -e testfile4 <<\EOF
68 testrun_compare ${abs_builddir}/find-prologues -e testfile5 <<\EOF
74 testrun_compare ${abs_builddir}/find-prologues -e testfile6 <<\EOF
/third_party/typescript/tests/baselines/reference/
H A DjsDeclarationsJSDocRedirectedLookups.js88 out/index.d.ts(14,39): error TS2304: Cannot find name 'class'.
89 out/index.d.ts(15,38): error TS2304: Cannot find name 'bool'.
90 out/index.d.ts(16,37): error TS2304: Cannot find name 'int'.
91 out/index.d.ts(17,39): error TS2552: Cannot find name 'float'. Did you mean 'GLfloat'?
92 out/index.d.ts(18,41): error TS2304: Cannot find name 'integer'.
111 !!! error TS2304: Cannot find name 'class'.
114 !!! error TS2304: Cannot find name 'bool'.
117 !!! error TS2304: Cannot find name 'int'.
120 !!! error TS2552: Cannot find name 'float'. Did you mean 'GLfloat'?
123 !!! error TS2304: Cannot find nam
[all...]
/third_party/skia/tests/
H A DSkStringViewTest.cpp161 REPORTER_ASSERT(r, skstd::string_view("abcdef").find("abcdef") == 0); in DEF_TEST()
162 REPORTER_ASSERT(r, skstd::string_view("abcdef").find("abcdefg") == skstd::string_view::npos); in DEF_TEST()
163 REPORTER_ASSERT(r, skstd::string_view("abcdef").find("") == 0); in DEF_TEST()
164 REPORTER_ASSERT(r, skstd::string_view("").find("") == 0); in DEF_TEST()
165 REPORTER_ASSERT(r, skstd::string_view("").find("a") == skstd::string_view::npos); in DEF_TEST()
166 REPORTER_ASSERT(r, skstd::string_view("abcdef").find("b") == 1); in DEF_TEST()
167 REPORTER_ASSERT(r, skstd::string_view("abcdef").find("f") == 5); in DEF_TEST()
168 REPORTER_ASSERT(r, skstd::string_view("abcdef").find("q") == skstd::string_view::npos); in DEF_TEST()
169 REPORTER_ASSERT(r, skstd::string_view("abcdef").find("bcd") == 1); in DEF_TEST()
170 REPORTER_ASSERT(r, skstd::string_view("abcdef").find("bc in DEF_TEST()
[all...]
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()
/third_party/python/Lib/test/test_importlib/frozen/
H A Dtest_finder.py26 def find(self, name, **kwargs): member in FindSpecTests
81 spec = self.find(name)
90 spec = self.find(name)
101 spec = self.find(name)
111 spec = self.find(name)
123 spec = self.find(name)
133 spec = self.find(name)
147 actual = self.find(name)
150 spec = self.find(name, path=path)
159 actual = self.find(nam
189 def find(self, name, path=None): global() member in FinderTests
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dstring_view_test.cc179 TestMap::iterator new_iter = map.find("zot"); in TEST()
182 new_iter = map.find("bar"); in TEST()
401 EXPECT_EQ(a.find(b), 0); in TEST()
402 EXPECT_EQ(a.find(b, 1), absl::string_view::npos); in TEST()
403 EXPECT_EQ(a.find(c), 23); in TEST()
404 EXPECT_EQ(a.find(c, 9), 23); in TEST()
405 EXPECT_EQ(a.find(c, absl::string_view::npos), absl::string_view::npos); in TEST()
406 EXPECT_EQ(b.find(c), absl::string_view::npos); in TEST()
407 EXPECT_EQ(b.find(c, absl::string_view::npos), absl::string_view::npos); in TEST()
408 EXPECT_EQ(a.find( in TEST()
[all...]
/test/testfwk/arkxtest/uitest/test/
H A Dui_model_test.cpp79 ASSERT_TRUE(str0.find(ATTR_TEXT) != string::npos); in TEST()
80 ASSERT_TRUE(str0.find("wyz") != string::npos); in TEST()
81 ASSERT_TRUE(str0.find(ATTR_ID) != string::npos); in TEST()
82 ASSERT_TRUE(str0.find("100") != string::npos); in TEST()
87 ASSERT_TRUE(str0.find(ATTR_TEXT) != string::npos); in TEST()
88 ASSERT_TRUE(str0.find("wyz") != string::npos); in TEST()
89 ASSERT_TRUE(str0.find(ATTR_ID) != string::npos); in TEST()
90 ASSERT_TRUE(str0.find("211") != string::npos); in TEST()
91 ASSERT_TRUE(str0.find("100") == string::npos); in TEST()
H A Dmock_element_node_iterator.h51 size_t pos = strs.find(split); in StringSplit()
57 pos = strs.find(split); in StringSplit()
64 if (obj.find("accessibilityId") != obj.end()) { in WrapperJsonToElement()
67 if (obj.find("inspectorKey") != obj.end()) { in WrapperJsonToElement()
70 if (obj.find("content") != obj.end()) { in WrapperJsonToElement()
73 if (obj.find("componentType") != obj.end()) { in WrapperJsonToElement()
76 if (obj.find("bundleName") != obj.end()) { in WrapperJsonToElement()
79 if (obj.find("hierarchy") != obj.end()) { in WrapperJsonToElement()
82 if (obj.find("enabled") != obj.end()) { in WrapperJsonToElement()
85 if (obj.find("focuse in WrapperJsonToElement()
[all...]
/test/xts/acts/graphic/graphicGlesExtension/
H A DgraphicGlesExtension.cpp94 bool isHave1 = strTest2.find("GL_NV_memory_object_sparse") != -1 ? true : false; in HWTEST_F()
95 bool isHave2 = strTest2.find("GL_NV_timeline_semaphore") != -1 ? true : false; in HWTEST_F()
96 bool isHave3 = strTest2.find("GL_QCOM_frame_extrapolation") != -1 ? true : false; in HWTEST_F()
154 bool isHave1 = strTest2.find("GL_MESA_framebuffer_flip_y") != -1 ? true : false; in HWTEST_F()
155 bool isHave2 = strTest2.find("GL_MESA_framebuffer_flip_y") != -1 ? true : false; in HWTEST_F()
156 bool isHave3 = strTest2.find("GL_NV_timeline_semaphore") != -1 ? true : false; in HWTEST_F()
214 bool isHave1 = strTest2.find("GL_NV_memory_object_sparse") != -1 ? true : false; in HWTEST_F()
215 bool isHave2 = strTest2.find("GL_NV_timeline_semaphore") != -1 ? true : false; in HWTEST_F()
216 bool isHave3 = strTest2.find("GL_QCOM_shading_rate") != -1 ? true : false; in HWTEST_F()
274 bool isHave1 = strTest2.find("GL_QCOM_motion_estimatio in HWTEST_F()
[all...]
/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...]
/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/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...]
/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...]
/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/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())

Completed in 13 milliseconds

12345678910>>...146