Home
last modified time | relevance | path

Searched refs:pos1 (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/module/
H A Dmodule_path_helper.h267 size_t pos1 = recordName.find(PathHelper::SLASH_TAG); in GetModuleName() local
268 if (pos1 != CString::npos) { in GetModuleName()
269 pos1++; in GetModuleName()
270 size_t pos2 = recordName.find(PathHelper::SLASH_TAG, pos1); in GetModuleName()
272 CString moduleName = recordName.substr(pos1, pos2 - pos1); in GetModuleName()
286 size_t pos1 = recordName.find(PathHelper::NORMALIZED_OHMURL_TAG); in GetModuleNameWithNormalizedName() local
287 if (pos1 != CString::npos) { in GetModuleNameWithNormalizedName()
288 pos1++; in GetModuleNameWithNormalizedName()
289 size_t pos2 = recordName.find(PathHelper::SLASH_TAG, pos1); in GetModuleNameWithNormalizedName()
304 size_t pos1 = modulePath.find(PathHelper::SLASH_TAG); GetModuleNameWithPath() local
[all...]
/arkcompiler/runtime_core/libark_defect_scan_aux/
H A Dclass.cpp54 auto pos1 = name.find_first_of("#"); in GetFuncNameWithoutPrefix() local
56 if (pos1 == pos2) { in GetFuncNameWithoutPrefix()
57 ASSERT(pos1 == std::string::npos); in GetFuncNameWithoutPrefix()
60 ASSERT(pos1 != std::string::npos); in GetFuncNameWithoutPrefix()
62 auto record_name = name.substr(0, pos1); in GetFuncNameWithoutPrefix()
/arkcompiler/runtime_core/static_core/verification/util/tests/
H A Dstruct_field_test.cpp56 int32_t &pos1 = vec[1U]; in TEST_F() local
58 int32_t &pos2 = sF1.Of(pos1); in TEST_F()
/arkcompiler/ets_runtime/ecmascript/base/tests/
H A Dstring_helper_test.cpp83 size_t pos1 = StringHelper::Find(valueStr, searchStr1, 0); in HWTEST_F_L0() local
89 EXPECT_EQ(pos1, 6U); in HWTEST_F_L0()
126 size_t pos1 = StringHelper::FindFromU16ToUpper(u16SourceStr, utf16Data); in HWTEST_F_L0() local
128 EXPECT_EQ(pos1, 6U); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/
H A Dreg_alloc_resolver.cpp267 bool HasSameLocation(LifeIntervals *interval, LifeNumber pos1, LifeNumber pos2) in HasSameLocation() argument
269 auto sibling1 = interval->FindSiblingAt(pos1); in HasSameLocation()
273 return sibling1->SplitCover(pos1) && sibling1->SplitCover(pos2) && in HasSameLocation()

Completed in 3 milliseconds