Searched refs:pos2 (Results 1 - 5 of 5) sorted by relevance
/arkcompiler/runtime_core/libark_defect_scan_aux/ |
H A D | class.cpp | 55 auto pos2 = name.find_last_of("#"); in GetFuncNameWithoutPrefix() local 56 if (pos1 == pos2) { in GetFuncNameWithoutPrefix() 61 ASSERT(pos2 != std::string::npos); in GetFuncNameWithoutPrefix() 63 auto fun_name = name.substr(pos2 + 1); in GetFuncNameWithoutPrefix()
|
/arkcompiler/runtime_core/static_core/verification/util/tests/ |
H A D | struct_field_test.cpp | 58 int32_t &pos2 = sF1.Of(pos1); in TEST_F() local 59 EXPECT_EQ(pos2, 5_I); in TEST_F()
|
/arkcompiler/ets_runtime/ecmascript/module/ |
H A D | module_path_helper.h | 270 size_t pos2 = recordName.find(PathHelper::SLASH_TAG, pos1); in GetModuleName() local 271 if (pos2 != CString::npos) { in GetModuleName() 272 CString moduleName = recordName.substr(pos1, pos2 - pos1); in GetModuleName() 289 size_t pos2 = recordName.find(PathHelper::SLASH_TAG, pos1); in GetModuleNameWithNormalizedName() local 290 if (pos2 != CString::npos) { in GetModuleNameWithNormalizedName() 291 CString moduleName = recordName.substr(pos1, pos2 - pos1); in GetModuleNameWithNormalizedName()
|
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
H A D | string_helper_test.cpp | 84 size_t pos2 = StringHelper::Find(valueStr, searchStr2, 0); in HWTEST_F_L0() local 90 EXPECT_EQ(pos2, std::string::npos); in HWTEST_F_L0() 127 size_t pos2 = StringHelper::FindFromU16ToUpper(u16SourceStr, utf16DataUpper); in HWTEST_F_L0() local 129 EXPECT_EQ(pos2, 6U); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/ |
H A D | reg_alloc_resolver.cpp | 267 bool HasSameLocation(LifeIntervals *interval, LifeNumber pos1, LifeNumber pos2) in HasSameLocation() argument 270 auto sibling2 = interval->FindSiblingAt(pos2); in HasSameLocation() 273 return sibling1->SplitCover(pos1) && sibling1->SplitCover(pos2) && in HasSameLocation()
|
Completed in 4 milliseconds