/ohos5.0/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()
|
/ohos5.0/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/src/ |
H A D | peak_finder.cpp | 156 mountainPosition.firstPos.push_back(bothSides.leftPos); in GetEachIndependentEnvelope() 166 mountainPosition.firstPos.push_back(bothSides.leftPos); in GetEachIndependentEnvelope() 270 if (wholeEnvelop.firstPos.empty()) { in FilterSecondaryPeak() 274 int32_t lastFirstPos = wholeEnvelop.firstPos[0]; in FilterSecondaryPeak() 290 lastFirstPos = wholeEnvelop.firstPos[i]; in FilterSecondaryPeak() 337 mountainPosition.firstPos.erase(mountainPosition.firstPos.begin() + peakIndex); in DeletePeaks() 399 int32_t valleyPos = mountainPosition.firstPos[startPos]; in DetectValley() 604 void PeakFinder::SplitLongShortEnvelope(int32_t dataSize, const std::vector<int32_t> &firstPos, in SplitLongShortEnvelope() argument 609 for (size_t i = 0; i < firstPos.size(); i++) { in SplitLongShortEnvelope() 610 countAssemble.push_back(lastPos[i] - firstPos[i]); in SplitLongShortEnvelope() [all …]
|
/ohos5.0/docs/zh-cn/application-dev/internationalization/ |
H A D | i18n-character-processing.md | 159 let firstPos: number = iterator.first(); // 设置为第一个可断句的分割点,返回该分割点的位置。第一个分割点总是在文本的起始位置,firstPos = 0 177 let firstPos = iterator.first(); // firstPos: 0
|
/ohos5.0/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()
|
/ohos5.0/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/include/ |
H A D | peak_finder.h | 28 std::vector<int32_t> firstPos; member 179 void SplitLongShortEnvelope(int32_t dataSize, const std::vector<int32_t> &firstPos,
|
/ohos5.0/docs/en/application-dev/internationalization/ |
H A D | i18n-character-processing.md | 159 …firstPos: number = iterator.first(); // Set the position of BreakIterator as the first break point… 177 let firstPos = iterator.first(); // firstPos: 0
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/ |
H A D | string_utils.h | 607 auto firstPos = str.find_first_not_of(cTrim); 608 if (firstPos == std::string::npos) { 612 return str.substr(firstPos, endPos - firstPos + 1);
|
/ohos5.0/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()
|
/ohos5.0/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | accessibility_account_data.cpp | 1214 std::size_t firstPos = connection.first.find_first_of('/') + 1; in RemoveAccessibilityAbilityByName() local 1216 if (endPos <= firstPos) { in RemoveAccessibilityAbilityByName() 1221 std::string connectedBundleName = connection.first.substr(firstPos, endPos - firstPos); in RemoveAccessibilityAbilityByName()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-localization-kit/ |
H A D | js-apis-i18n.md | 1415 let firstPos: number = iterator.first(); // firstPos = 0
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | base_bundle_installer.cpp | 5602 auto firstPos = tempSoDir.find(ServiceConstants::TMP_SUFFIX); in RemoveTempSoDir() local 5603 if (firstPos == std::string::npos) { in RemoveTempSoDir() 5607 auto secondPos = tempSoDir.find(ServiceConstants::PATH_SEPARATOR, firstPos); in RemoveTempSoDir()
|
/ohos5.0/docs/en/application-dev/reference/apis-localization-kit/ |
H A D | js-apis-i18n.md | 1415 let firstPos: number = iterator.first(); // firstPos = 0
|