| /third_party/spirv-tools/test/opt/ |
| H A D | analyze_live_input_test.cpp | 99 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 D | expand.rs | 197 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 D | array-prototype-find.js | 30 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 D | typedArray-find.js | 43 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);
|
| /arkcompiler/ets_frontend/ets2panda/public/headers_parser/ |
| H A D | line_iterator.py | 65 self.current_line.find("#ifndef") != -1 66 or self.current_line.find("#undef") != -1 67 or self.current_line.find("#endif") != -1 71 return self.current_line.find("template") != -1 74 return self.current_line.find("namespace") != -1 77 return self.current_line.find("enum class") != -1 80 return self.current_line.find("struct ") != -1 83 return self.current_line.find("using ") != -1 87 if self.current_line.find(name) != -1: 92 return self.current_line.find("#defin [all...] |
| H A D | parse_enum.py | 29 equally_pos = data.find("=") 31 raise RuntimeError("Can't find '='.") 33 if data.find("~") != -1 or data.find("&") != -1: 41 if data.find("=") == -1 or data.find("<<") != -1: 43 if data.find("|") != -1: 46 value = data[data.find("=") + 1 :].strip(" ") 62 value_end = data.find(",", value_start) 64 if data.find("#defin [all...] |
| H A D | prepare_header.py | 28 double_slash_pos = data.find("//") 31 end_of_line = data.find("\n", double_slash_pos) 38 double_slash_pos = data.find("//") 41 multiline_comment_start = data.find("/*") 44 multiline_comment_end = data.find("*/", multiline_comment_start) 47 raise RuntimeError("Error find end of multiline-comment") 50 multiline_comment_start = data.find("/*") 60 current_pos = data.find("#include") 67 include_end = data.find('"', include_start + 1) 77 current_pos = data.find("#includ [all...] |
| /arkcompiler/runtime_core/static_core/disassembler/tests/ |
| H A D | literals_test.cpp | 25 auto beg = text.find(header); in ExtractArrayBody() 26 auto end = text.find('}', beg); in ExtractArrayBody() 54 EXPECT_TRUE(ss.str().find(".language PandaAssembly") != std::string::npos); in TEST() 55 EXPECT_TRUE(ss.str().find(".array array_0 i32 3 { 2 3 4 }") != std::string::npos); in TEST() 56 EXPECT_TRUE(ss.str().find(".array array_1 i32 3 { 2 3 4 }") != std::string::npos); in TEST() 57 EXPECT_TRUE(ss.str().find(".array array_2 i32 3 { 2 3 4 }") != std::string::npos); in TEST() 58 EXPECT_TRUE(ss.str().find(".array array_3 i32 3 { 2 3 4 }") != std::string::npos); in TEST() 83 EXPECT_TRUE(ss.str().find(".language PandaAssembly") != std::string::npos); in TEST() 84 EXPECT_TRUE(ss.str().find(".array array_0 panda.String 3 { \"a\" \"ab\" \"abc\" }") != std::string::npos); in TEST() 85 EXPECT_TRUE(ss.str().find(" in TEST() [all...] |
| /third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
| H A D | ShaderD3D.cpp | 207 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 D | gen_manual.cpp | 59 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 D | stringpiece_unittest.cc | 128 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 D | run-debuginfod-find.sh | 76 # 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 D | run-find-prologues.sh | 23 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
|
| /arkcompiler/ets_runtime/test/moduletest/arrayfind/ |
| H A D | arrayfind.js | 18 const found = array1.find((element) => element > 10); 27 console.log(Array.prototype.find.call(arrayLike, (x) => !Number.isInteger(x))); 31 array.find((value, index) => { 35 array.find((value, index) => { 53 console.log([4, 6, 8, 12].find(isPrime)); 54 console.log([4, 5, 8, 12].find(isPrime)); 59 .find((num, idx, arr) => { 67 const deleteWords = words.find((word, index, arr) => {
|
| /arkcompiler/runtime_core/static_core/runtime/tooling/inspector/tests/ |
| H A D | debug_info_cache.cpp | 101 ASSERT_NE(curr.find(PtLocation(fileName.c_str(), methodFoo->GetFileId(), 2U)), curr.end()); in TEST_F() 102 ASSERT_NE(curr.find(PtLocation(fileName.c_str(), methodFoo->GetFileId(), 3U)), curr.end()); in TEST_F() 103 ASSERT_NE(curr.find(PtLocation(fileName.c_str(), methodFoo->GetFileId(), 4U)), curr.end()); in TEST_F() 107 ASSERT_NE(curr.find(PtLocation(fileName.c_str(), methodFoo->GetFileId(), 5U)), curr.end()); in TEST_F() 108 ASSERT_NE(curr.find(PtLocation(fileName.c_str(), methodFoo->GetFileId(), 6U)), curr.end()); in TEST_F() 112 ASSERT_NE(curr.find(PtLocation(fileName.c_str(), methodFoo->GetFileId(), 10U)), curr.end()); in TEST_F() 150 ASSERT_NE(disasm_file.find(fileName), std::string::npos); in TEST_F() 155 ASSERT_NE(disasm_file.find(fileName), std::string::npos); in TEST_F() 161 ASSERT_NE(set_locs.find(PtLocation(fileName.c_str(), methodFoo->GetFileId(), 6U)), set_locs.end()); in TEST_F() 162 ASSERT_NE(set_locs.find(PtLocatio in TEST_F() [all...] |
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
| H A D | ets_taskpool.cpp | 52 auto taskIter = tasks.find(id); in DecrementTaskCounter() 66 if (idsToBeCanceled.find(id) != idsToBeCanceled.end()) { in MoveTaskFromWaitingToRunning() 67 if ((waitingTasksAfterDecrementation == 0) && (runningTasks.find(id) == runningTasks.end())) { in MoveTaskFromWaitingToRunning() 95 if (idsToBeCanceled.find(id) != idsToBeCanceled.end()) { in RemoveTaskFromRunning() 96 if ((runningTasksAfterDecrementation == 0) && (waitingTasks.find(id) == waitingTasks.end())) { in RemoveTaskFromRunning() 116 if ((waitingTasks_.find(taskId) == waitingTasks_.end()) && (runningTasks_.find(taskId) == runningTasks_.end())) { in CancelTask() 127 if ((waitingGroupTasks_.find(groupId) == waitingGroupTasks_.end()) && in CancelGroup() 128 (runningGroupTasks_.find(groupId) == runningTasks_.end())) { in CancelGroup() 139 auto it = executingTasks_.find(coroutineI in IsTaskCanceled() [all...] |
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/test/mempool/ |
| H A D | maple_string_test.cpp | 33 ans = ms_obj.find(findCase1, 0); // 3 in TEST() 35 ans = ms_obj.find(nullptr, 0); // inf in TEST() 37 ans = ms_obj.find(findCase1, 8000); // inf in TEST() 39 ans = ms_obj.find(findCase1, 4); // inf in TEST() 41 ans = ms_obj.find(findCase2, 0); // 3 in TEST() 43 ans = ms_obj.find(findCase2, 8000); // inf in TEST() 45 ans = ms_obj.find(findCase2, 4); // inf in TEST() 80 ans = ms_obj.find(findCase1, 0, 2); // 3 in TEST() 82 ans = ms_obj.find(findCase1, 0, 3); // 6 in TEST() 84 ans = ms_obj.find(findCase in TEST() [all...] |
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/ |
| H A D | stack_trace_test.cpp | 75 pos = captured.find("Test message", pos); in TEST_F() 78 pos = captured.find("StackTraceTest.throwing", pos); in TEST_F() 81 pos = captured.find("StackTraceTest.nestedFunc2", pos); in TEST_F() 84 pos = captured.find("StackTraceTest.nestedFunc1", pos); in TEST_F() 87 pos = captured.find("StackTraceTest.invokeException", pos); in TEST_F() 108 pos = captured.find("Test message", pos); in TEST_F() 111 pos = captured.find("StackTraceTest.throwing", pos); in TEST_F() 114 pos = captured.find("StackTraceTest.nestedFunc2", pos); in TEST_F() 117 pos = captured.find("StackTraceTest.nestedFunc1", pos); in TEST_F() 120 pos = captured.find("StackTraceTes in TEST_F() [all...] |
| /arkcompiler/toolchain/websocket/ |
| H A D | http.cpp | 23 auto startPos = headersText.find(headerName); in DecodeHeader() 25 auto endOfLinePos = headersText.find(EOL, startPos); in DecodeHeader() 41 auto endOfLinePos = request.find(EOL, methodStartPos); in DecodeVersion() 43 methodStartPos = request.find(' ', methodStartPos); in DecodeVersion() 45 methodStartPos = request.find(' ', methodStartPos + 1); in DecodeVersion() 59 auto pos = request.find(GET); in Decode() 78 auto versionEndPos = response.find(' ', versionStartPos); in DecodeVersion() 93 auto statusEndPos = response.find(' ', statusStartPos); in DecodeStatus() 94 statusEndPos = (statusEndPos == std::string::npos) ? response.find(EOL, statusStartPos) : statusEndPos; in DecodeStatus() 107 // find star in Decode() [all...] |
| /third_party/typescript/tests/baselines/reference/ |
| H A D | jsDeclarationsJSDocRedirectedLookups.js | 88 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 D | SkStringViewTest.cpp | 161 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...] |
| /third_party/python/Lib/test/test_importlib/frozen/ |
| H A D | test_finder.py | 26 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 D | string_view_test.cc | 179 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 D | ui_model_test.cpp | 79 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 D | mock_element_node_iterator.h | 51 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...] |