/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/ |
H A D | UTF16Test.java | 1040 for (int startPos = 0; startPos != -1 && startPos < test1.length();) in TestIndexOf() 1042 startPos = UTF16.indexOf(test1, test2, startPos); in TestIndexOf() 1043 if (startPos >= 0) { in TestIndexOf() 1045 startPos += 4; in TestIndexOf() 1054 for (int startPos = 10; startPos != -1 && startPos < test in TestIndexOf() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
H A D | UTF16Test.java | 1046 for (int startPos = 0; startPos != -1 && startPos < test1.length();) in TestIndexOf() 1048 startPos = UTF16.indexOf(test1, test2, startPos); in TestIndexOf() 1049 if (startPos >= 0) { in TestIndexOf() 1051 startPos += 4; in TestIndexOf() 1060 for (int startPos = 10; startPos != -1 && startPos < test in TestIndexOf() [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | ustrtest.cpp | 720 int32_t startPos = 0; in TestSearching() local 722 startPos != -1 && startPos < test1.length(); in TestSearching() 723 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching() 728 for ( occurrences = 0, startPos = 10; in TestSearching() 729 startPos != -1 && startPos < test1.length(); in TestSearching() 730 (startPos in TestSearching() [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | rbbi_cache.cpp | 120 void RuleBasedBreakIterator::DictionaryCache::populateDictionary(int32_t startPos, int32_t endPos, in populateDictionary() argument 122 if ((endPos - startPos) <= 1) { in populateDictionary() 130 int32_t rangeStart = startPos; in populateDictionary() 181 if (startPos < fBreaks.elementAti(0)) { in populateDictionary() 186 fBreaks.insertElementAt(startPos, 0, status); in populateDictionary() 235 void RuleBasedBreakIterator::BreakCache::following(int32_t startPos, UErrorCode &status) { in following() argument 239 if (startPos == fTextIdx || seek(startPos) || populateNear(startPos, status)) { in following() 240 // startPos i in following() 252 preceding(int32_t startPos, UErrorCode &status) preceding() argument [all...] |
H A D | lstmbe.cpp | 476 virtual void vectorize(UText *text, int32_t startPos, int32_t endPos, 509 virtual void vectorize(UText *text, int32_t startPos, int32_t endPos, 519 UText *text, int32_t startPos, int32_t endPos, 522 if (offsets.ensureCapacity(endPos - startPos, status) && 523 indices.ensureCapacity(endPos - startPos, status)) { 525 utext_setNativeIndex(text, startPos); 548 virtual void vectorize(UText *text, int32_t startPos, int32_t endPos, 560 UText *text, int32_t startPos, int32_t endPos, 564 if (!offsets.ensureCapacity(endPos - startPos, status) || 565 !indices.ensureCapacity(endPos - startPos, statu [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | rbbi_cache.cpp | 120 void RuleBasedBreakIterator::DictionaryCache::populateDictionary(int32_t startPos, int32_t endPos, in populateDictionary() argument 122 if ((endPos - startPos) <= 1) { in populateDictionary() 130 int32_t rangeStart = startPos; in populateDictionary() 182 if (startPos < fBreaks.elementAti(0)) { in populateDictionary() 187 fBreaks.insertElementAt(startPos, 0, status); in populateDictionary() 236 void RuleBasedBreakIterator::BreakCache::following(int32_t startPos, UErrorCode &status) { in following() argument 240 if (startPos == fTextIdx || seek(startPos) || populateNear(startPos, status)) { in following() 241 // startPos i in following() 253 preceding(int32_t startPos, UErrorCode &status) preceding() argument [all...] |
H A D | lstmbe.cpp | 476 virtual void vectorize(UText *text, int32_t startPos, int32_t endPos, 509 virtual void vectorize(UText *text, int32_t startPos, int32_t endPos, 519 UText *text, int32_t startPos, int32_t endPos, 522 if (offsets.ensureCapacity(endPos - startPos, status) && 523 indices.ensureCapacity(endPos - startPos, status)) { 525 utext_setNativeIndex(text, startPos); 548 virtual void vectorize(UText *text, int32_t startPos, int32_t endPos, 560 UText *text, int32_t startPos, int32_t endPos, 564 if (!offsets.ensureCapacity(endPos - startPos, status) || 565 !indices.ensureCapacity(endPos - startPos, statu [all...] |
H A D | brkeng.h | 71 * @param startPos The start of the run within the supplied text. 78 int32_t startPos, 105 int32_t startPos, 222 * @param startPos The start of the run within the supplied text. 229 int32_t startPos,
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | rbbi_cache.cpp | 120 void RuleBasedBreakIterator::DictionaryCache::populateDictionary(int32_t startPos, int32_t endPos, in populateDictionary() argument 122 if ((endPos - startPos) <= 1) { in populateDictionary() 130 int32_t rangeStart = startPos; in populateDictionary() 181 if (startPos < fBreaks.elementAti(0)) { in populateDictionary() 186 fBreaks.insertElementAt(startPos, 0, status); in populateDictionary() 235 void RuleBasedBreakIterator::BreakCache::following(int32_t startPos, UErrorCode &status) { in following() argument 239 if (startPos == fTextIdx || seek(startPos) || populateNear(startPos, status)) { in following() 240 // startPos i in following() 252 preceding(int32_t startPos, UErrorCode &status) preceding() argument [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/breakiter/ |
H A D | CjkBreakEngine.java | 109 public int divideUpDictionaryRange(CharacterIterator inText, int startPos, int endPos, in divideUpDictionaryRange() argument 111 if (startPos >= endPos) { in divideUpDictionaryRange() 115 inText.setIndex(startPos); in divideUpDictionaryRange() 117 int inputLength = endPos - startPos; in divideUpDictionaryRange() 120 inText.setIndex(startPos); in divideUpDictionaryRange() 268 if (foundBreaks.size() == 0 || foundBreaks.peek() < startPos) { in divideUpDictionaryRange() 275 int pos = charPositions[t_boundary[i]] + startPos; in divideUpDictionaryRange() 280 if (pos != startPos in divideUpDictionaryRange() 283 foundBreaks.push(charPositions[t_boundary[i]] + startPos); in divideUpDictionaryRange()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | CjkBreakEngine.java | 85 public int divideUpDictionaryRange(CharacterIterator inText, int startPos, int endPos, in divideUpDictionaryRange() argument 87 if (startPos >= endPos) { in divideUpDictionaryRange() 91 inText.setIndex(startPos); in divideUpDictionaryRange() 93 int inputLength = endPos - startPos; in divideUpDictionaryRange() 96 inText.setIndex(startPos); in divideUpDictionaryRange() 224 if (foundBreaks.size() == 0 || foundBreaks.peek() < startPos) { in divideUpDictionaryRange() 230 int pos = charPositions[t_boundary[i]] + startPos; in divideUpDictionaryRange() 231 if (!(foundBreaks.contains(pos) || pos == startPos)) { in divideUpDictionaryRange() 232 foundBreaks.push(charPositions[t_boundary[i]] + startPos); in divideUpDictionaryRange()
|
H A D | RuleBasedBreakIterator.java | 432 * @param startPos The position from which to begin searching for a break position. 436 public int following(int startPos) { in following() argument 439 if (startPos < fText.getBeginIndex()) { in following() 445 startPos = CISetIndex32(fText, startPos); in following() 446 fBreakCache.following(startPos); in following() 1169 * @param startPos The start position of a range of text 1171 * @param firstRuleStatus The rule status index that applies to the break at startPos 1172 * @param otherRuleStatus The rule status index that applies to boundaries other than startPos 1175 void populateDictionary(int startPos, in argument 1359 following(int startPos) following() argument 1372 preceding(int startPos) preceding() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/ |
H A D | vktRayQueryBuiltinTests.cpp | 1935 tcu::UVec2 startPos = tcu::UVec2(0, 0); in initAccelerationStructures() local 1956 const deUint32 n = width * startPos.y() + startPos.x(); in initAccelerationStructures() 1958 const float x0 = float(startPos.x() + 0) / float(width); in initAccelerationStructures() 1959 const float y0 = float(startPos.y() + 0) / float(height); in initAccelerationStructures() 1960 const float x1 = float(startPos.x() + 1) / float(width); in initAccelerationStructures() 1961 const float y1 = float(startPos.y() + 1) / float(height); in initAccelerationStructures() 1978 startPos.y() = m / width; in initAccelerationStructures() 1979 startPos.x() = m % width; in initAccelerationStructures() 2092 tcu::UVec2 startPos in initAccelerationStructures() local 2688 tcu::UVec2 startPos = tcu::UVec2(0, 0); initAccelerationStructures() local 2849 tcu::UVec2 startPos = tcu::UVec2(0, 0); initAccelerationStructures() local 3009 tcu::UVec2 startPos = tcu::UVec2(0, 0); initAccelerationStructures() local 3177 tcu::UVec2 startPos = tcu::UVec2(0, 0); initAccelerationStructures() local 3357 tcu::UVec2 startPos = tcu::UVec2(0, 0); initAccelerationStructures() local 3536 tcu::UVec2 startPos = tcu::UVec2(0, 0); initAccelerationStructures() local 3752 tcu::UVec2 startPos = tcu::UVec2(0, 0); initAccelerationStructures() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_query/ |
H A D | vktRayQueryBuiltinTests.cpp | 1915 tcu::UVec2 startPos = tcu::UVec2(0, 0); in initAccelerationStructures() local 1936 const deUint32 n = width * startPos.y() + startPos.x(); in initAccelerationStructures() 1938 const float x0 = float(startPos.x() + 0) / float(width); in initAccelerationStructures() 1939 const float y0 = float(startPos.y() + 0) / float(height); in initAccelerationStructures() 1940 const float x1 = float(startPos.x() + 1) / float(width); in initAccelerationStructures() 1941 const float y1 = float(startPos.y() + 1) / float(height); in initAccelerationStructures() 1958 startPos.y() = m / width; in initAccelerationStructures() 1959 startPos.x() = m % width; in initAccelerationStructures() 2072 tcu::UVec2 startPos in initAccelerationStructures() local 2668 tcu::UVec2 startPos = tcu::UVec2(0, 0); initAccelerationStructures() local 2829 tcu::UVec2 startPos = tcu::UVec2(0, 0); initAccelerationStructures() local 2989 tcu::UVec2 startPos = tcu::UVec2(0, 0); initAccelerationStructures() local 3157 tcu::UVec2 startPos = tcu::UVec2(0, 0); initAccelerationStructures() local 3337 tcu::UVec2 startPos = tcu::UVec2(0, 0); initAccelerationStructures() local 3516 tcu::UVec2 startPos = tcu::UVec2(0, 0); initAccelerationStructures() local 3732 tcu::UVec2 startPos = tcu::UVec2(0, 0); initAccelerationStructures() local [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | rematch.cpp | 644 int64_t startPos = fMatchEnd; in find() local 645 if (startPos==0) { in find() 646 startPos = fActiveStart; in find() 656 if (startPos >= fActiveLimit) { in find() 661 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find() 663 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find() 683 if (startPos > testStartLimit) { in find() 695 U_ASSERT(startPos >= 0); in find() 702 MatchAt(startPos, false, status); in find() 709 if (startPos > in find() 931 int32_t startPos = (int32_t)fMatchEnd; findUsingChunk() local [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | rematch.cpp | 644 int64_t startPos = fMatchEnd; in find() local 645 if (startPos==0) { in find() 646 startPos = fActiveStart; in find() 656 if (startPos >= fActiveLimit) { in find() 661 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find() 663 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find() 683 if (startPos > testStartLimit) { in find() 695 U_ASSERT(startPos >= 0); in find() 702 MatchAt(startPos, false, status); in find() 709 if (startPos > in find() 931 int32_t startPos = (int32_t)fMatchEnd; findUsingChunk() local [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | rematch.cpp | 644 int64_t startPos = fMatchEnd; in find() local 645 if (startPos==0) { in find() 646 startPos = fActiveStart; in find() 656 if (startPos >= fActiveLimit) { in find() 661 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find() 663 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find() 683 if (startPos > testStartLimit) { in find() 695 U_ASSERT(startPos >= 0); in find() 702 MatchAt(startPos, FALSE, status); in find() 709 if (startPos > in find() 926 int32_t startPos = (int32_t)fMatchEnd; findUsingChunk() local [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | RuleBasedBreakIterator.java | 492 * @param startPos The position from which to begin searching for a break position. 497 public int following(int startPos) { in following() argument 500 if (startPos < fText.getBeginIndex()) { in following() 506 startPos = CISetIndex32(fText, startPos); in following() 507 fBreakCache.following(startPos); in following() 1191 * @param startPos The start position of a range of text 1193 * @param firstRuleStatus The rule status index that applies to the break at startPos 1194 * @param otherRuleStatus The rule status index that applies to boundaries other than startPos 1197 void populateDictionary(int startPos, in argument 1382 following(int startPos) following() argument 1395 preceding(int startPos) preceding() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingBuildTests.cpp | 155 tcu::UVec2& startPos, 313 tcu::UVec2& startPos, in initBottomAccelerationStructure() 328 const deUint32 n = m_data.width * startPos.y() + startPos.x(); in initBottomAccelerationStructure() 329 const float x0 = float(startPos.x() + 0) / float(m_data.width); in initBottomAccelerationStructure() 330 const float y0 = float(startPos.y() + 0) / float(m_data.height); in initBottomAccelerationStructure() 331 const float x1 = float(startPos.x() + 1) / float(m_data.width); in initBottomAccelerationStructure() 332 const float y1 = float(startPos.y() + 1) / float(m_data.height); in initBottomAccelerationStructure() 351 startPos.y() = m / m_data.width; in initBottomAccelerationStructure() 352 startPos in initBottomAccelerationStructure() 310 initBottomAccelerationStructure(BlasPtr blas, bool useGpuBuild, deUint32 workerThreadsCount, tcu::UVec2& startPos, bool triangles) const initBottomAccelerationStructure() argument [all...] |
H A D | vktRayTracingMemGuaranteeTests.cpp | 152 tcu::UVec2& startPos); 561 tcu::UVec2& startPos) in initBottomAccelerationStructure() 579 const deUint32 n = m_data.width * startPos.y() + startPos.x(); in initBottomAccelerationStructure() 580 const float x0 = float(startPos.x() + 0) / float(m_data.width); in initBottomAccelerationStructure() 581 const float y0 = float(startPos.y() + 0) / float(m_data.height); in initBottomAccelerationStructure() 582 const float x1 = float(startPos.x() + 1) / float(m_data.width); in initBottomAccelerationStructure() 583 const float y1 = float(startPos.y() + 1) / float(m_data.height); in initBottomAccelerationStructure() 589 startPos.y() = m / m_data.width; in initBottomAccelerationStructure() 590 startPos in initBottomAccelerationStructure() 560 initBottomAccelerationStructure(VkCommandBuffer cmdBuffer, tcu::UVec2& startPos) initBottomAccelerationStructure() argument 603 tcu::UVec2 startPos; initBottomAccelerationStructures() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingBuildTests.cpp | 155 tcu::UVec2& startPos, 313 tcu::UVec2& startPos, in initBottomAccelerationStructure() 328 const deUint32 n = m_data.width * startPos.y() + startPos.x(); in initBottomAccelerationStructure() 329 const float x0 = float(startPos.x() + 0) / float(m_data.width); in initBottomAccelerationStructure() 330 const float y0 = float(startPos.y() + 0) / float(m_data.height); in initBottomAccelerationStructure() 331 const float x1 = float(startPos.x() + 1) / float(m_data.width); in initBottomAccelerationStructure() 332 const float y1 = float(startPos.y() + 1) / float(m_data.height); in initBottomAccelerationStructure() 351 startPos.y() = m / m_data.width; in initBottomAccelerationStructure() 352 startPos in initBottomAccelerationStructure() 310 initBottomAccelerationStructure(BlasPtr blas, bool useGpuBuild, deUint32 workerThreadsCount, tcu::UVec2& startPos, bool triangles) const initBottomAccelerationStructure() argument [all...] |
H A D | vktRayTracingBuiltinTests.cpp | 220 tcu::UVec2& startPos); 1262 tcu::UVec2& startPos) in initBottomAccelerationStructure() 1294 const deUint32 n = m_data.width * startPos.y() + startPos.x(); in initBottomAccelerationStructure() 1295 const float x0 = float(startPos.x() + 0) / float(m_data.width); in initBottomAccelerationStructure() 1296 const float y0 = float(startPos.y() + 0) / float(m_data.height); in initBottomAccelerationStructure() 1297 const float x1 = float(startPos.x() + 1) / float(m_data.width); in initBottomAccelerationStructure() 1298 const float y1 = float(startPos.y() + 1) / float(m_data.height); in initBottomAccelerationStructure() 1316 startPos.y() = m / m_data.width; in initBottomAccelerationStructure() 1317 startPos in initBottomAccelerationStructure() 1261 initBottomAccelerationStructure(VkCommandBuffer cmdBuffer, tcu::UVec2& startPos) initBottomAccelerationStructure() argument 1546 tcu::UVec2 startPos; initBottomAccelerationStructures() local [all...] |
H A D | vktRayTracingMemGuaranteeTests.cpp | 152 tcu::UVec2& startPos); 561 tcu::UVec2& startPos) in initBottomAccelerationStructure() 579 const deUint32 n = m_data.width * startPos.y() + startPos.x(); in initBottomAccelerationStructure() 580 const float x0 = float(startPos.x() + 0) / float(m_data.width); in initBottomAccelerationStructure() 581 const float y0 = float(startPos.y() + 0) / float(m_data.height); in initBottomAccelerationStructure() 582 const float x1 = float(startPos.x() + 1) / float(m_data.width); in initBottomAccelerationStructure() 583 const float y1 = float(startPos.y() + 1) / float(m_data.height); in initBottomAccelerationStructure() 589 startPos.y() = m / m_data.width; in initBottomAccelerationStructure() 590 startPos in initBottomAccelerationStructure() 560 initBottomAccelerationStructure(VkCommandBuffer cmdBuffer, tcu::UVec2& startPos) initBottomAccelerationStructure() argument 603 tcu::UVec2 startPos; initBottomAccelerationStructures() local [all...] |
/third_party/lzma/CPP/7zip/Compress/ |
H A D | PpmdDecoder.cpp | 147 const UInt64 startPos = _processedSize;
in Code() local 149 const size_t processed = (size_t)(_processedSize - startPos);
in Code() 209 const UInt64 startPos = _processedSize;
in Read() local 212 *processedSize = (UInt32)(_processedSize - startPos);
in Read()
|
/third_party/lzma/CPP/7zip/Archive/7z/ |
H A D | 7zDecode.cpp | 144 void Init(CLockedInStream *lockedInStream, UInt64 startPos)
in Init() argument 148 _pos = startPos;
in Init() 184 void Init(CLockedInStream *lockedInStream, UInt64 startPos)
188 _pos = startPos;
216 UInt64 startPos,
517 RINOK(inStream->Seek((Int64)(startPos + packPositions[0]), STREAM_SEEK_SET, &lockedInStreamSpec->Pos))
538 const UInt64 packPos = startPos + packPositions[j];
|