Searched refs:firstPos (Results 1 - 7 of 7) sorted by relevance
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/ |
H A D | resource_info.cpp | 52 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 D | quick_fix_boot_scanner.cpp | 158 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 D | string_utils.h | 607 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 D | jsi_base_utils.cpp | 277 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 D | accessibility_account_data.cpp | 1217 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 D | asac_account_data_benchmark.cpp | 1217 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 D | base_bundle_installer.cpp | 5714 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