Home
last modified time | relevance | path

Searched refs:splitPos (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/ability/ability_base/interfaces/inner_api/base/src/
H A Duser_object_wrapper.cpp81 std::size_t splitPos = str.find(SPLIT); in Parse() local
82 if (splitPos == std::string::npos) { in Parse()
85 std::string className = str.substr(0, splitPos); in Parse()
/ohos5.0/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/
H A Dsource_map.cpp388 std::size_t splitPos = std::string::npos; in GetRelativePath() local
392 splitPos = temp.find_last_of("/\\"); in GetRelativePath()
393 if (splitPos != std::string::npos) { in GetRelativePath()
394 temp = temp.substr(0, splitPos - 1); in GetRelativePath()
401 return sources.substr(splitPos); in GetRelativePath()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_base_utils.cpp550 std::size_t splitPos = std::string::npos; in GetRelativePath() local
554 splitPos = temp.find_last_of(splitStr); in GetRelativePath()
555 if (splitPos != std::string::npos) { in GetRelativePath()
556 temp = temp.substr(0, splitPos - 1); in GetRelativePath()
563 return sources.substr(splitPos); in GetRelativePath()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dpac_map_test.cpp56 std::size_t splitPos = str.find("#"); in Parse() local
57 if (splitPos == std::string::npos) { in Parse()
60 std::string strData = str.substr(0, splitPos); in Parse()