Home
last modified time | relevance | path

Searched refs:currentIndex (Results 1 - 25 of 49) sorted by relevance

12

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DReplaceableUCharacterIterator.java39 this.currentIndex = 0; in ReplaceableUCharacterIterator()
51 this.currentIndex = 0; in ReplaceableUCharacterIterator()
63 this.currentIndex = 0; in ReplaceableUCharacterIterator()
88 if (currentIndex < replaceable.length()) { in current()
89 return replaceable.charAt(currentIndex); in current()
132 * Gets the current currentIndex in text.
133 * @return current currentIndex in text.
137 return currentIndex; in getIndex()
141 * Returns next UTF16 character and increments the iterator's currentIndex by 1.
142 * If the resulting currentIndex i
184 setIndex(int currentIndex) setIndex() argument
210 private int currentIndex; global() field in ReplaceableUCharacterIterator
[all...]
H A DCharacterIteratorWrapper.java112 int currentIndex = iterator.getIndex(); in getText()
120 iterator.setIndex(currentIndex); in getText()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DReplaceableUCharacterIterator.java41 this.currentIndex = 0; in ReplaceableUCharacterIterator()
53 this.currentIndex = 0; in ReplaceableUCharacterIterator()
65 this.currentIndex = 0; in ReplaceableUCharacterIterator()
90 if (currentIndex < replaceable.length()) { in current()
91 return replaceable.charAt(currentIndex); in current()
134 * Gets the current currentIndex in text.
135 * @return current currentIndex in text.
139 return currentIndex; in getIndex()
143 * Returns next UTF16 character and increments the iterator's currentIndex by 1.
144 * If the resulting currentIndex i
186 setIndex(int currentIndex) setIndex() argument
212 private int currentIndex; global() field in ReplaceableUCharacterIterator
[all...]
H A DCharacterIteratorWrapper.java114 int currentIndex = iterator.getIndex(); in getText()
122 iterator.setIndex(currentIndex); in getText()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DIterableByteBufferInputStream.java52 private int currentIndex; field in IterableByteBufferInputStream
76 currentIndex = -1; in IterableByteBufferInputStream()
80 currentIndex = 0; in IterableByteBufferInputStream()
87 currentIndex++; in getNextByteBuffer()
114 if (currentIndex == dataSize) { in read()
130 if (currentIndex == dataSize) { in read()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DFunctionLookup.cpp24 // Gets all ordered combinations of elements in list[currentIndex, end]
30 for (size_t currentIndex = 0; currentIndex < list.size(); currentIndex++) in GetImplicitConversionCombinations()
36 combination.push_back(list[currentIndex]); in GetImplicitConversionCombinations()
112 // combination[currentIndex] represents index of next argument to be converted in GetMangledNames()
113 int currentIndex = 0; in GetMangledNames() local
118 if (currentIndex != static_cast<int>(combination.size()) && in GetMangledNames()
119 combination[currentIndex] == i) in GetMangledNames()
125 currentIndex in GetMangledNames()
[all...]
H A Dspan_unittest.cpp133 size_t currentIndex = 0; in TEST() local
136 ASSERT_EQ(value, currentIndex); in TEST()
137 ++currentIndex; in TEST()
146 size_t currentIndex = 0; in TEST() local
149 ASSERT_EQ(*iter, kSpanDataSize - 1 - currentIndex); in TEST()
150 ++currentIndex; in TEST()
/third_party/icu/icu4c/source/common/
H A Dnormlzr.cpp43 currentIndex(0), nextIndex(0), in Normalizer()
52 currentIndex(0), nextIndex(0), in Normalizer()
61 currentIndex(0), nextIndex(0), in Normalizer()
70 currentIndex(copy.currentIndex), nextIndex(copy.nextIndex), in Normalizer()
108 return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex; in hashCode()
295 currentIndex=nextIndex=text->setToStart(); in reset()
302 currentIndex=nextIndex=text->getIndex(); in setIndexOnly()
321 currentIndex=nextIndex=text->setToEnd(); in last()
342 return currentIndex; in getIndex()
[all...]
/third_party/node/deps/icu-small/source/common/
H A Dnormlzr.cpp43 currentIndex(0), nextIndex(0), in Normalizer()
52 currentIndex(0), nextIndex(0), in Normalizer()
61 currentIndex(0), nextIndex(0), in Normalizer()
70 currentIndex(copy.currentIndex), nextIndex(copy.nextIndex), in Normalizer()
108 return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex; in hashCode()
295 currentIndex=nextIndex=text->setToStart(); in reset()
302 currentIndex=nextIndex=text->getIndex(); in setIndexOnly()
321 currentIndex=nextIndex=text->setToEnd(); in last()
342 return currentIndex; in getIndex()
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Dnormlzr.cpp43 currentIndex(0), nextIndex(0), in Normalizer()
52 currentIndex(0), nextIndex(0), in Normalizer()
61 currentIndex(0), nextIndex(0), in Normalizer()
70 currentIndex(copy.currentIndex), nextIndex(copy.nextIndex), in Normalizer()
108 return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex; in hashCode()
295 currentIndex=nextIndex=text->setToStart(); in reset()
302 currentIndex=nextIndex=text->getIndex(); in setIndexOnly()
321 currentIndex=nextIndex=text->setToEnd(); in last()
342 return currentIndex; in getIndex()
[all...]
/third_party/libphonenumber/java/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
H A DPhonePrefixMap.java153 int currentIndex = numOfEntries - 1; in lookup()
161 currentIndex = binarySearch(0, currentIndex, phonePrefix); in lookup()
162 if (currentIndex < 0) { in lookup()
165 int currentPrefix = phonePrefixMapStorage.getPrefix(currentIndex); in lookup()
167 return phonePrefixMapStorage.getDescription(currentIndex); in lookup()
/third_party/icu/icu4c/source/tools/gensprep/
H A Dstore.c159 static int16_t currentIndex = 0; /* the current index into the data trie */ variable
273 indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION+mappingLength] = currentIndex; in storeMappingData()
278 limitIndex = currentIndex; in storeMappingData()
286 trieWord = currentIndex << 2; in storeMappingData()
320 if(currentIndex+value->length+1 > _SPREP_MAX_INDEX_VALUE){ in storeMappingData()
322 currentIndex+value->length, _SPREP_MAX_INDEX_VALUE); in storeMappingData()
330 mappingData[currentIndex++] = (uint16_t) mappingLength; in storeMappingData()
333 u_memmove(mappingData+currentIndex, value->mapping, value->length); in storeMappingData()
334 currentIndex += value->length; in storeMappingData()
335 if (currentIndex > mappingDataCapacit in storeMappingData()
[all...]
/third_party/skia/third_party/externals/icu/source/tools/gensprep/
H A Dstore.c158 static int16_t currentIndex = 0; /* the current index into the data trie */ variable
272 indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION+mappingLength] = currentIndex; in storeMappingData()
277 limitIndex = currentIndex; in storeMappingData()
285 trieWord = currentIndex << 2; in storeMappingData()
319 if(currentIndex+value->length+1 > _SPREP_MAX_INDEX_VALUE){ in storeMappingData()
321 currentIndex+value->length, _SPREP_MAX_INDEX_VALUE); in storeMappingData()
329 mappingData[currentIndex++] = (uint16_t) mappingLength; in storeMappingData()
332 u_memmove(mappingData+currentIndex, value->mapping, value->length); in storeMappingData()
333 currentIndex += value->length; in storeMappingData()
334 if (currentIndex > mappingDataCapacit in storeMappingData()
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DReadOnlySequenceFactory.cs56 var currentIndex = 0; in CreateWithContent()
57 while (currentIndex < data.Length) in CreateWithContent()
60 while (segment.Count < segmentSize && currentIndex < data.Length) in CreateWithContent()
62 segment.Add(data[currentIndex++]); in CreateWithContent()
/third_party/skia/third_party/externals/freetype/src/gxvalid/
H A Dgxvmorx1.c118 FT_Short currentIndex; in gxv_morx_subtable_type1_entry_validate() local
136 currentIndex = (FT_Short)( glyphOffset_p->ul ); in gxv_morx_subtable_type1_entry_validate()
147 GXV_TRACE(( "markIndex = %d, currentIndex = %d\n", in gxv_morx_subtable_type1_entry_validate()
148 markIndex, currentIndex )); in gxv_morx_subtable_type1_entry_validate()
154 if ( optdata->substitutionTable_num_lookupTables < currentIndex + 1 ) in gxv_morx_subtable_type1_entry_validate()
156 (FT_UShort)( currentIndex + 1 ); in gxv_morx_subtable_type1_entry_validate()
/third_party/lzma/CS/7zip/Common/
H A DCommandLineParser.cs224 int currentIndex = -1; in ParseSubCharsCommand()
232 if (currentIndex >= 0) in ParseSubCharsCommand()
236 currentIndex = j; in ParseSubCharsCommand()
240 if (currentIndex == -1 && !charsSet.EmptyAllowed) in ParseSubCharsCommand()
242 indices.Add(currentIndex); in ParseSubCharsCommand()
/third_party/skia/experimental/sktext/src/
H A DVisualRun.h65 for (auto currentIndex : textBlock) { in forEachTextBlockInGlyphRange()
66 if (currentIndex >= fDirTextRange.fEnd) { in forEachTextBlockInGlyphRange()
69 if (currentIndex < fDirTextRange.fStart) { in forEachTextBlockInGlyphRange()
73 dirTextRange.fEnd = currentIndex; in forEachTextBlockInGlyphRange()
/third_party/typescript/tests/baselines/reference/
H A DduplicateOverloadInTypeAugmentation1.js3 reduce(callbackfn: (previousValue: T, currentValue: T, currentIndex: number, array: T[]) => T,
5 reduce<U>(callbackfn: (previousValue: U, currentValue: T, currentIndex: number, array: T[]) => U,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationUserDefinedIO.cpp209 int currentIndex = 0; in basicSubobjectAtIndex() local
212 for (; currentIndex < subobjectIndex; ++objectIndex) in basicSubobjectAtIndex()
213 currentIndex += objects[objectIndex]->numBasicSubobjectsInElementType() * topLevelArraySize; in basicSubobjectAtIndex()
215 if (currentIndex > subobjectIndex) in basicSubobjectAtIndex()
218 currentIndex -= objects[objectIndex]->numBasicSubobjectsInElementType() * topLevelArraySize; in basicSubobjectAtIndex()
221 return objects[objectIndex]->basicSubobjectAtIndex(subobjectIndex - currentIndex, topLevelArraySize); in basicSubobjectAtIndex()
307 int currentIndex = 0; in basicSubobjectAtIndex() local
311 if (currentIndex == subobjectIndex) in basicSubobjectAtIndex()
313 ++currentIndex; in basicSubobjectAtIndex()
420 int currentIndex in basicSubobjectAtIndex() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationUserDefinedIO.cpp209 int currentIndex = 0; in basicSubobjectAtIndex() local
212 for (; currentIndex < subobjectIndex; ++objectIndex) in basicSubobjectAtIndex()
213 currentIndex += objects[objectIndex]->numBasicSubobjectsInElementType() * topLevelArraySize; in basicSubobjectAtIndex()
215 if (currentIndex > subobjectIndex) in basicSubobjectAtIndex()
218 currentIndex -= objects[objectIndex]->numBasicSubobjectsInElementType() * topLevelArraySize; in basicSubobjectAtIndex()
221 return objects[objectIndex]->basicSubobjectAtIndex(subobjectIndex - currentIndex, topLevelArraySize); in basicSubobjectAtIndex()
307 int currentIndex = 0; in basicSubobjectAtIndex() local
311 if (currentIndex == subobjectIndex) in basicSubobjectAtIndex()
313 ++currentIndex; in basicSubobjectAtIndex()
420 int currentIndex in basicSubobjectAtIndex() local
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DNormalizer.java141 // of the source in [currentIndex..nextIndex[ .
142 private int currentIndex; field in Normalizer
644 copy.currentIndex = currentIndex; in clone()
1539 currentIndex=nextIndex=0; in reset()
1555 currentIndex=nextIndex=index; in setIndexOnly()
1634 currentIndex=nextIndex=text.getIndex(); in last()
1657 return currentIndex; in getIndex()
1899 currentIndex=nextIndex; in nextNormalize()
1921 nextIndex=currentIndex; in previousNormalize()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DNormalizer.java140 // of the source in [currentIndex..nextIndex[ .
141 private int currentIndex; field in Normalizer
658 copy.currentIndex = currentIndex; in clone()
1578 currentIndex=nextIndex=0; in reset()
1595 currentIndex=nextIndex=index; in setIndexOnly()
1679 currentIndex=nextIndex=text.getIndex(); in last()
1703 return currentIndex; in getIndex()
1959 currentIndex=nextIndex; in nextNormalize()
1981 nextIndex=currentIndex; in previousNormalize()
[all...]
/third_party/skia/samplecode/
H A DSampleTextureUpload.cpp132 int currentIndex = y * fTileCols + x; variable
133 canvas->drawImage(fTextures[currentIndex]->getImage(),
/third_party/node/deps/npm/node_modules/diff/lib/patch/
H A Dapply.js211 var currentIndex = 0;
214 var index = uniDiff[currentIndex++];
/third_party/skia/src/gpu/ops/
H A DDefaultPathRenderer.cpp87 fSubpathIndexStart = this->currentIndex(); in moveTo()
99 uint16_t prevIdx = this->currentIndex() - 1; in addLine()
113 uint16_t firstQPtIdx = this->currentIndex() - 1; in addQuad()
141 uint16_t firstCPtIdx = this->currentIndex() - 1; in addCubic()
225 uint16_t currentIndex() const { return fCurVert - fVertices; } in currentIndex() function in __anon18835::PathGeoBuilder

Completed in 29 milliseconds

12