Home
last modified time | relevance | path

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

12345678910>>...132

/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...]
/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...]
/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())
/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/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/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...]

Completed in 14 milliseconds

12345678910>>...132