Home
last modified time | relevance | path

Searched refs:firstPos (Results 1 - 7 of 7) sorted by relevance

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/
H A Dresource_info.cpp52 auto firstPos = key.find_first_of(SEPARATOR); in ParseKey() local
53 if (firstPos == std::string::npos) { in ParseKey()
59 InnerParseAppIndex(key.substr(0, firstPos)); in ParseKey()
62 if (firstPos != lastPos) { in ParseKey()
63 moduleName_ = key.substr(firstPos + 1, lastPos - firstPos - 1); in ParseKey()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/quick_fix/
H A Dquick_fix_boot_scanner.cpp158 size_t firstPos = fileStr.rfind(ServiceConstants::PATH_SEPARATOR); in ProcessQuickFixDir() local
159 if (firstPos == std::string::npos) { in ProcessQuickFixDir()
164 size_t secondPos = fileStr.rfind(ServiceConstants::PATH_SEPARATOR, firstPos - 1); in ProcessQuickFixDir()
170 std::string bundleName = fileStr.substr(secondPos + 1, firstPos - secondPos - 1); in ProcessQuickFixDir()
/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dstring_utils.h607 auto firstPos = str.find_first_not_of(cTrim); in TrimStr() local
608 if (firstPos == std::string::npos) { in TrimStr()
612 return str.substr(firstPos, endPos - firstPos + 1); in TrimStr()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_base_utils.cpp277 size_t firstPos = rawStack.rfind(':', secondPos - 1); in GetErrorPos() local
278 if (firstPos == std::string::npos) { in GetErrorPos()
282 std::string lineStr = rawStack.substr(firstPos + 1, secondPos - 1 - firstPos); in GetErrorPos()
/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessibility_account_data.cpp1217 std::size_t firstPos = connection.first.find_first_of('/') + 1; in RemoveAccessibilityAbilityByName() local
1219 if (endPos <= firstPos) { in RemoveAccessibilityAbilityByName()
1224 std::string connectedBundleName = connection.first.substr(firstPos, endPos - firstPos); in RemoveAccessibilityAbilityByName()
/foundation/barrierfree/accessibility/services/test/xts/src/asac_register_elemnt_operator_test/
H A Dasac_account_data_benchmark.cpp1217 std::size_t firstPos = connection.first.find_first_of('/') + 1; in RemoveA11yBenchmarkAbilityByName() local
1219 if (endPos <= firstPos) { in RemoveA11yBenchmarkAbilityByName()
1224 std::string connectedBundleName = connection.first.substr(firstPos, endPos - firstPos); in RemoveA11yBenchmarkAbilityByName()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbase_bundle_installer.cpp5714 auto firstPos = tempSoDir.find(ServiceConstants::TMP_SUFFIX); in RemoveTempSoDir() local
5715 if (firstPos == std::string::npos) { in RemoveTempSoDir()
5719 auto secondPos = tempSoDir.find(ServiceConstants::PATH_SEPARATOR, firstPos); in RemoveTempSoDir()

Completed in 18 milliseconds