Home
last modified time | relevance | path

Searched refs:firstPos (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/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()
/ohos5.0/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/src/
H A Dpeak_finder.cpp156 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 Di18n-character-processing.md159 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 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()
/ohos5.0/base/sensors/sensor/vibration_convert/core/algorithm/peak_finder/include/
H A Dpeak_finder.h28 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 Di18n-character-processing.md159firstPos: 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 Dstring_utils.h607 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 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()
/ohos5.0/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessibility_account_data.cpp1214 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 Djs-apis-i18n.md1415 let firstPos: number = iterator.first(); // firstPos = 0
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbase_bundle_installer.cpp5602 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 Djs-apis-i18n.md1415 let firstPos: number = iterator.first(); // firstPos = 0