Home
last modified time | relevance | path

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

12345678

/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...]
H A Dui_model.cpp92 return attrValue.find(value) != std::string_view::npos; in MatchAttr()
94 return attrValue.find(value) == 0; in MatchAttr()
140 if (hierarchy.find(HIERARCHY_SEPARATOR) == std::string::npos) { in GetParentWidgetHierarchy()
144 auto findRoot = hierarchy.find(ROOT_HIERARCHY); in GetParentWidgetHierarchy()
158 if (hierarchy.find(ROOT_HIERARCHY) != 0) { in GetChildHierarchy()
/test/testfwk/arkxtest/uitest/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...]
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 Dfrontend_api_handler_test.cpp83 ASSERT_TRUE(reply.exception_.message_.find("No handler found") != string::npos); in TEST_F()
141 ASSERT_TRUE(reply.exception_.message_.find("json.exception.out_of_range") != string::npos); in TEST_F()
218 ASSERT_TRUE(ref0.find("By#") != string::npos); in TEST_F()
228 ASSERT_TRUE(ref1.find("By#") != string::npos); in TEST_F()
238 ASSERT_TRUE(ref2.find("UiDriver#") != string::npos); in TEST_F()
248 ASSERT_TRUE(ref3.find("By#") != string::npos); in TEST_F()
258 ASSERT_TRUE(ref4.find("By#") != string::npos); in TEST_F()
275 ASSERT_TRUE(ref0.find("On#") != string::npos); in TEST_F()
286 ASSERT_TRUE(ref1.find("On#") != string::npos); in TEST_F()
296 ASSERT_TRUE(ref2.find("Drive in TEST_F()
[all...]
H A Dipc_transactor_test.cpp114 ASSERT_TRUE(clientOutput.find(" FAILED ") == string::npos); in TEST_P()
164 ASSERT_TRUE(result.exception_.message_.find("ipc connection is dead") != string::npos); in TEST()
170 ASSERT_TRUE(clientOutput.find(" FAILED ") == string::npos); in TEST()
223 ASSERT_TRUE(clientOutput.find(" FAILED ") == string::npos); in TEST()
270 ASSERT_TRUE(clientOutput.find(" FAILED ") == string::npos); in TEST()
304 ASSERT_TRUE(clientOutput.find(" FAILED ") == string::npos); in TEST()
/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/xts/acts/hiviewdfx/utils/native/
H A Dfile_utils.cpp43 if ((cmd.find("hilog") == std::string::npos) && (cmd.find("hidumper") == std::string::npos) in ExecCmdWithRet()
44 && (cmd.find("ps") == std::string::npos) && (cmd.find("rm") == std::string::npos) && in ExecCmdWithRet()
45 (cmd.find("hiperf") == std::string::npos) && (cmd.find("hisysevent") == std::string::npos) && in ExecCmdWithRet()
46 (cmd.find("mkdir") == std::string::npos) && (cmd.find("dd") == std::string::npos)) { in ExecCmdWithRet()
140 if (int(info.find(para[i])) >= 0) { in CheckInfo()
/test/xts/tools/build/
H A Dtest_package_select.py45 rslash_index = dep.find('/hits')
47 rslash_index = dep.find('/acts')
49 rslash_index = dep.find('/hats')
51 rslash_index = dep.find('/dcts')
52 colon_index = dep.find(':')
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/
H A Dimage_receiver_test.cpp71 * find item
73 uintptr_t find(int32_t key) in find() function in OHOS::Media::MyMap
75 auto itor = map_.find(key); in find()
83 * find item
85 int32_t find(uintptr_t ptr) in find() function in OHOS::Media::MyMap
136 auto itor = map_.find(key); in check()
178 int32_t receiverKey = receiverMap.find((uintptr_t)context->receiver); in Callback()
334 OH_ImageReceiverOptions* options = (OH_ImageReceiverOptions*)optionMap.find(params[NUM_0]); in JsImageReceiverOptionsGetSize()
361 OH_ImageReceiverOptions* options = (OH_ImageReceiverOptions*)optionMap.find(params[NUM_0]); in JsImageReceiverOptionsSetSize()
383 OH_ImageReceiverOptions* options = (OH_ImageReceiverOptions*)optionMap.find(param in JsImageReceiverOptionsGetCapacity()
[all...]
/test/testfwk/arkxtest/uitest/record/
H A Dpointer_tracker.cpp110 auto judgeFunction = pointerTypeJudgMap_.find(pointerTypeJudgChain_[0])->second; in HandleMoveEvent()
113 FingerTracker* ftracker = fingerTrackers.find(event.downTime)->second; in HandleMoveEvent()
128 fingerTrackers.find(event.downTime)->second->UpdatevelocityTracker(event); in HandleUpEvent()
130 auto judgeFunction = pointerTypeJudgMap_.find(pointerTypeJudgChain_[0])->second; in HandleUpEvent()
133 fingerTrackers.find(event.downTime)->second->HandleUpEvent(event); in HandleUpEvent()
134 fingerTrackers.find(event.downTime)->second->BuildFingerInfo(); in HandleUpEvent()
209 int moveDistance = fingerTrackers.find(touchEvent.downTime)->second->GetMoveDistance(); in IsClick()
228 int moveDistance = fingerTrackers.find(touchEvent.downTime)->second->GetMoveDistance(); in IsLongClick()
240 auto ftracker = fingerTrackers.find(touchEvent.downTime)->second; in IsDrag()
254 auto ftracker = fingerTrackers.find(touchEven in IsRecent()
[all...]
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
H A Ddmlib_lite.py59 if result_output.find(CPP_TEST_STANDARD_SIGN) == -1 and \
70 index = result.find(input_command) + len(input_command)
73 if result_output.find(CPP_TEST_STANDARD_SIGN) != -1:
75 result_output.find(CPP_TEST_END_SIGN) != -1:
79 if result_output.find(_START_JSUNIT_RUN_MARKER) >= 1 and \
80 result_output.find(_END_JSUNIT_RUN_MARKER) >= 1:
83 if result_output.find(INSTALL_END_MARKER) != -1:
85 if (result_output.find(CPP_TEST_MOUNT_SIGN) != -1
86 and result_output.find(CPP_TEST_STOP_SIGN) != -1):
100 elif input_command.startswith("chmod +x") and input_command.find("quer
[all...]
/test/testfwk/developer_test/src/core/config/
H A Dresource_manager.py171 pos = push_value.find(find_key)
183 pos = push_value.find(find_key)
203 pos = copy_value.find(find_key)
211 pos = copy_value.find(find_key)
257 env_node = node.find("environment")
266 pre_node = node.find("preparer")
273 clr_node = node.find("cleaner")
/test/xts/acts/commonlibrary/toolchain/libc-test/include/
H A Dgetfiles.cpp31 if ((tempName[i].find("stat", path.length() - 1) != -1) || in GetFileNames()
32 (tempName[i].find("sem_close-unmap", path.length() - 1) != -1) || in GetFileNames()
33 (tempName[i].find("runtest", path.length() - 1) != -1)) { in GetFileNames()
/test/testfwk/xdevice/src/xdevice/_core/config/
H A Dresource_manager.py47 env_node = node.find("environment")
56 pre_node = node.find("preparer")
63 clr_node = node.find("cleaner")
109 pos = push_value.find(find_key)
119 pos = push_value.find(find_key)
/test/testfwk/developer_test/local_coverage/interface_coverage/
H A Dinterface_coverage_gcov_lcov.py93 if fn.find(postfix) != -1 and fn[-len(postfix):] == postfix:
103 if "" == file_path or -1 != file_path.find(__file__):
118 if -1 != filepath.find(item):
135 if func_returntype.find("KVSTORE_API") != -1:
166 if func_returntype.find("KVSTORE_API") != -1:
286 pos = content.find("<")
296 pos_start = func_info.find("(")
332 if -1 != line.find(find_string):
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/jsvmtest/
H A Djsvmtest.cpp44 if (name.find(prefix) != 0) { in RunTestsWithPrefix()
57 auto it = testMap.find(name); in RunTest()
71 if (name.find("/") != std::string::npos) { in main()
/test/testfwk/developer_test/local_coverage/keyword_registration/
H A Dkeyword_filter.py112 start_index = content.find(f'<a name="{line}"')
113 end_index = content.find(f'<a name="{int(line) + 1}"')
168 keyword_index = keyword_source_code.find(keyword)
177 bracket_index = keyword_code.find("(")
261 line_feed_index = branch_html.find(line_item)
270 first_branch_index = branch_html.find(first_branch)
279 line_feed_index = branch_html.find(line_item)
288 line_feed_index = branch_tag.find(line_item)
304 line_feed_index = branch_tag.find(line_item)
854 line_feed_index = branch_html.find(line_ite
[all...]
/test/testfwk/developer_test/aw/cxx/distributed/
H A Ddistributed_cfg.cpp52 position = strline.find(":"); in OpenCfg()
69 cfgIterator = cfgMap_.find(key); in GetCfgVal()
82 posend = str.find(",", pos); in GetValueInString()
89 posend = str.find(",", pos); in GetValueInString()
/test/ostest/wukong/report/src/
H A Dreport.cpp198 std::map<std::string, std::string>::iterator it = data.find("event"); in SyncInputInfo()
205 std::vector<std::string>::iterator bundleIter = std::find(bundles_.begin(), bundles_.end(), data["bundleName"]); in SyncInputInfo()
482 std::vector<std::string>::iterator iterDir = find(hilogFiles_.begin(), hilogFiles_.end(), targetFile); in HilogFileRecord()
500 if (exceptionFilename.find("cppcrash") != std::string::npos) { in ExceptionRecord()
504 if (exceptionFilename.find("appfreeze") != std::string::npos) { in ExceptionRecord()
508 if (exceptionFilename.find("jscrash") != std::string::npos) { in ExceptionRecord()
512 if (exceptionFilename.find("serviceblock") != std::string::npos) { in ExceptionRecord()
540 bundleComponmentRecordIter = bundleComponmentRecord_.find(bundle); in ComponmentInfoArrange()
548 componmentTypeCountIter = componmentRecord.componmentTypeCount.find(inputCompMsgPtr->componmentType_); in ComponmentInfoArrange()
/test/xts/acts/ai/neural_network_runtime/v1_0/interface/src/
H A DExecutorTest.cpp302 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
307 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F()
342 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
347 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F()
382 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
387 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F()
422 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
427 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F()
461 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
466 } else if (std::find(graphArg in HWTEST_F()
[all...]
/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/
H A DExecutorTest.cpp407 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
412 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F()
447 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
452 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F()
487 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
492 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F()
527 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
532 } else if (std::find(graphArgs.outputIndices.begin(), graphArgs.outputIndices.end(), i) != in HWTEST_F()
566 if (std::find(graphArgs.inputIndices.begin(), graphArgs.inputIndices.end(), i) != in HWTEST_F()
571 } else if (std::find(graphArg in HWTEST_F()
[all...]
/test/testfwk/xdevice/plugins/ohos/src/ohos/parser/
H A Dc_parser_lite.py103 return line.find("PASS") != -1 or line.find("FAIL") != -1 or line.find(
141 if line.find(":") != -1 and line.count(
165 if message.find("PASS") != -1:
167 elif message.find("FAIL") != -1:
169 elif message.find("IGNORE") != -1:
/test/testfwk/developer_test/src/core/
H A Dutils.py45 if file_name.find(postfix) != -1 \
59 if "" != file_name and -1 == file_name.find(__file__):
168 if line.find('=') > 0:
213 and product_form.find("wifiiot") == -1:

Completed in 18 milliseconds

12345678