Home
last modified time | relevance | path

Searched refs:sIndex (Results 1 – 25 of 63) sorted by relevance

123

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCodePointMap.java203 protected int sIndex; field in CodePointMap.StringIterator
222 protected StringIterator(CharSequence s, int sIndex) { in StringIterator() argument
224 this.sIndex = sIndex; in StringIterator()
236 public void reset(CharSequence s, int sIndex) { in reset() argument
238 this.sIndex = sIndex; in reset()
253 if (sIndex >= s.length()) { in next()
256 c = Character.codePointAt(s, sIndex); in next()
257 sIndex += Character.charCount(c); in next()
272 if (sIndex <= 0) { in previous()
275 c = Character.codePointBefore(s, sIndex); in previous()
[all …]
DCodePointTrie.java816 public final StringIterator stringIterator(CharSequence s, int sIndex) { in stringIterator() argument
817 return new FastStringIterator(s, sIndex); in stringIterator()
821 private FastStringIterator(CharSequence s, int sIndex) { in FastStringIterator() argument
822 super(s, sIndex); in FastStringIterator()
827 if (sIndex >= s.length()) { in next()
830 char lead = s.charAt(sIndex++); in next()
837 if (UTF16Plus.isSurrogateLead(lead) && sIndex < s.length() && in next()
838 Character.isLowSurrogate(trail = s.charAt(sIndex))) { in next()
839 ++sIndex; in next()
852 if (sIndex <= 0) { in previous()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DCodePointMap.java191 protected int sIndex; field in CodePointMap.StringIterator
210 protected StringIterator(CharSequence s, int sIndex) { in StringIterator() argument
212 this.sIndex = sIndex; in StringIterator()
223 public void reset(CharSequence s, int sIndex) { in reset() argument
225 this.sIndex = sIndex; in reset()
239 if (sIndex >= s.length()) { in next()
242 c = Character.codePointAt(s, sIndex); in next()
243 sIndex += Character.charCount(c); in next()
257 if (sIndex <= 0) { in previous()
260 c = Character.codePointBefore(s, sIndex); in previous()
[all …]
DCodePointTrie.java797 public final StringIterator stringIterator(CharSequence s, int sIndex) { in stringIterator() argument
798 return new FastStringIterator(s, sIndex); in stringIterator()
802 private FastStringIterator(CharSequence s, int sIndex) { in FastStringIterator() argument
803 super(s, sIndex); in FastStringIterator()
808 if (sIndex >= s.length()) { in next()
811 char lead = s.charAt(sIndex++); in next()
818 if (UTF16Plus.isSurrogateLead(lead) && sIndex < s.length() && in next()
819 Character.isLowSurrogate(trail = s.charAt(sIndex))) { in next()
820 ++sIndex; in next()
833 if (sIndex <= 0) { in previous()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
DInput.cpp46 assert(mReadLoc.cIndex < mLength[mReadLoc.sIndex]); in skipChar()
48 if (mReadLoc.cIndex == mLength[mReadLoc.sIndex]) in skipChar()
50 ++mReadLoc.sIndex; in skipChar()
53 if (mReadLoc.sIndex >= mCount) in skipChar()
57 return mString[mReadLoc.sIndex] + mReadLoc.cIndex; in skipChar()
65 if (mReadLoc.sIndex < mCount && maxSize > 0) in read()
67 const char *c = mString[mReadLoc.sIndex] + mReadLoc.cIndex; in read()
107 while ((nRead < maxRead) && (mReadLoc.sIndex < mCount)) in read()
109 size_t size = mLength[mReadLoc.sIndex] - mReadLoc.cIndex; in read()
116 if (*(mString[mReadLoc.sIndex] + mReadLoc.cIndex + i) == '\\') in read()
[all …]
DInput.h41 size_t sIndex; // String index; member
44 Location() : sIndex(0), cIndex(0) {} in Location()
DTokenizer.l84 while ((scanLoc->sIndex < input->count()) && \
85 (scanLoc->cIndex >= input->length(scanLoc->sIndex))) \
87 scanLoc->cIndex -= input->length(scanLoc->sIndex++); \
284 if (scanLoc->sIndex != sIndexMax)
288 scanLoc->sIndex = sIndexMax; scanLoc->cIndex = 0;
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/preprocessor/
DInput.cpp38 ASSERT(mReadLoc.cIndex < mLength[mReadLoc.sIndex]); in skipChar()
40 if (mReadLoc.cIndex == mLength[mReadLoc.sIndex]) in skipChar()
42 ++mReadLoc.sIndex; in skipChar()
45 if (mReadLoc.sIndex >= mCount) in skipChar()
49 return mString[mReadLoc.sIndex] + mReadLoc.cIndex; in skipChar()
57 if (mReadLoc.sIndex < mCount && maxSize > 0) in read()
59 const char *c = mString[mReadLoc.sIndex] + mReadLoc.cIndex; in read()
99 while ((nRead < maxRead) && (mReadLoc.sIndex < mCount)) in read()
101 size_t size = mLength[mReadLoc.sIndex] - mReadLoc.cIndex; in read()
108 if (*(mString[mReadLoc.sIndex] + mReadLoc.cIndex + i) == '\\') in read()
[all …]
DInput.h35 size_t sIndex; // String index; member
38 Location() : sIndex(0), cIndex(0) {} in Location()
DTokenizer.l76 while ((scanLoc->sIndex < input->count()) && \
77 (scanLoc->cIndex >= input->length(scanLoc->sIndex))) \
79 scanLoc->cIndex -= input->length(scanLoc->sIndex++); \
276 if (scanLoc->sIndex != sIndexMax)
280 scanLoc->sIndex = sIndexMax; scanLoc->cIndex = 0;
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
DInput.cpp38 ASSERT(mReadLoc.cIndex < mLength[mReadLoc.sIndex]); in skipChar()
40 if (mReadLoc.cIndex == mLength[mReadLoc.sIndex]) in skipChar()
42 ++mReadLoc.sIndex; in skipChar()
45 if (mReadLoc.sIndex >= mCount) in skipChar()
49 return mString[mReadLoc.sIndex] + mReadLoc.cIndex; in skipChar()
57 if (mReadLoc.sIndex < mCount && maxSize > 0) in read()
59 const char *c = mString[mReadLoc.sIndex] + mReadLoc.cIndex; in read()
99 while ((nRead < maxRead) && (mReadLoc.sIndex < mCount)) in read()
101 size_t size = mLength[mReadLoc.sIndex] - mReadLoc.cIndex; in read()
108 if (*(mString[mReadLoc.sIndex] + mReadLoc.cIndex + i) == '\\') in read()
[all …]
DInput.h35 size_t sIndex; // String index; member
38 Location() : sIndex(0), cIndex(0) {} in Location()
Dpreprocessor.l84 while ((scanLoc->sIndex < input->count()) && \
85 (scanLoc->cIndex >= input->length(scanLoc->sIndex))) \
87 scanLoc->cIndex -= input->length(scanLoc->sIndex++); \
284 if (scanLoc->sIndex != sIndexMax)
288 scanLoc->sIndex = sIndexMax; scanLoc->cIndex = 0;
/third_party/mindspore/mindspore/lite/java/java/fl_client/src/main/java/com/mindspore/flclient/cipher/struct/
DDecryptShareSecrets.java33 private int sIndex; field in DecryptShareSecrets
101 return sIndex; in getSIndex()
109 public void setSIndex(int sIndex) { in setSIndex() argument
110 this.sIndex = sIndex; in setSIndex()
/third_party/skia/src/pathops/
DSkPathWriter.cpp333 int sIndex = sLink[rIndex]; in assemble() local
334 SkASSERT(sIndex != SK_MaxS32); in assemble()
337 if (sIndex < 0) { in assemble()
338 eIndex = sLink[~sIndex]; in assemble()
339 sLink[~sIndex] = SK_MaxS32; in assemble()
341 eIndex = eLink[sIndex]; in assemble()
342 eLink[sIndex] = SK_MaxS32; in assemble()
346 SkDebugf("%s sIndex=%c%d eIndex=%c%d\n", __FUNCTION__, sIndex < 0 ? 's' : 'e', in assemble()
347 sIndex < 0 ? ~sIndex : sIndex, eIndex < 0 ? 's' : 'e', in assemble()
382 sIndex == ((rIndex != eIndex) ^ forward ? eIndex : ~eIndex)); in assemble()
[all …]
/third_party/flutter/skia/src/pathops/
DSkPathWriter.cpp336 int sIndex = sLink[rIndex]; in assemble() local
337 SkASSERT(sIndex != SK_MaxS32); in assemble()
340 if (sIndex < 0) { in assemble()
341 eIndex = sLink[~sIndex]; in assemble()
342 sLink[~sIndex] = SK_MaxS32; in assemble()
344 eIndex = eLink[sIndex]; in assemble()
345 eLink[sIndex] = SK_MaxS32; in assemble()
349 SkDebugf("%s sIndex=%c%d eIndex=%c%d\n", __FUNCTION__, sIndex < 0 ? 's' : 'e', in assemble()
350 sIndex < 0 ? ~sIndex : sIndex, eIndex < 0 ? 's' : 'e', in assemble()
386 sIndex == ((rIndex != eIndex) ^ forward ? eIndex : ~eIndex)); in assemble()
[all …]
/third_party/glslang/Test/
D310.vert146 uniform int sIndex;
157 sArray[sIndex + 1]; // ERRRO, not supported
158 auArray[sIndex + 1];
161 ubInst[sIndex + 1]; // ERROR, not supported
162 bbInst[sIndex]; // ERROR, not supported
164 iArray[sIndex * 2]; // ERROR, not supported
175 sArray[sIndex + 1];
176 ubInst[sIndex + 1];
177 bbInst[sIndex - 2]; // ERROR, still not supported
179 iArray[sIndex - 2];
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcollationfastlatin.cpp814 const uint8_t *s8, int32_t &sIndex, int32_t sLength) { in lookupUTF8() argument
817 int32_t i2 = sIndex + 1; in lookupUTF8()
819 uint8_t t1 = s8[sIndex]; in lookupUTF8()
821 sIndex += 2; in lookupUTF8()
837 const uint8_t *s8, int32_t &sIndex) { in lookupUTF8Unsafe() argument
842 return table[((c - 0xc2) << 6) + s8[sIndex++]]; // 0080..017F in lookupUTF8Unsafe()
844 uint8_t t2 = s8[sIndex + 1]; in lookupUTF8Unsafe()
845 sIndex += 2; in lookupUTF8Unsafe()
857 … const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength) { in nextPair() argument
865 sLength = sIndex - 1; in nextPair()
[all …]
Dcollationfastlatin.h224 const uint8_t *s8, int32_t &sIndex, int32_t sLength);
226 const uint8_t *s8, int32_t &sIndex);
229 … const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength);
/third_party/node/deps/icu-small/source/i18n/
Dcollationfastlatin.cpp814 const uint8_t *s8, int32_t &sIndex, int32_t sLength) { in lookupUTF8() argument
817 int32_t i2 = sIndex + 1; in lookupUTF8()
819 uint8_t t1 = s8[sIndex]; in lookupUTF8()
821 sIndex += 2; in lookupUTF8()
837 const uint8_t *s8, int32_t &sIndex) { in lookupUTF8Unsafe() argument
842 return table[((c - 0xc2) << 6) + s8[sIndex++]]; // 0080..017F in lookupUTF8Unsafe()
844 uint8_t t2 = s8[sIndex + 1]; in lookupUTF8Unsafe()
845 sIndex += 2; in lookupUTF8Unsafe()
857 … const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength) { in nextPair() argument
865 sLength = sIndex - 1; in nextPair()
[all …]
Dcollationfastlatin.h224 const uint8_t *s8, int32_t &sIndex, int32_t sLength);
226 const uint8_t *s8, int32_t &sIndex);
229 … const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength);
/third_party/icu/icu4c/source/i18n/
Dcollationfastlatin.cpp814 const uint8_t *s8, int32_t &sIndex, int32_t sLength) { in lookupUTF8() argument
817 int32_t i2 = sIndex + 1; in lookupUTF8()
819 uint8_t t1 = s8[sIndex]; in lookupUTF8()
821 sIndex += 2; in lookupUTF8()
837 const uint8_t *s8, int32_t &sIndex) { in lookupUTF8Unsafe() argument
842 return table[((c - 0xc2) << 6) + s8[sIndex++]]; // 0080..017F in lookupUTF8Unsafe()
844 uint8_t t2 = s8[sIndex + 1]; in lookupUTF8Unsafe()
845 sIndex += 2; in lookupUTF8Unsafe()
857 … const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength) { in nextPair() argument
865 sLength = sIndex - 1; in nextPair()
[all …]
Dcollationfastlatin.h224 const uint8_t *s8, int32_t &sIndex, int32_t sLength);
226 const uint8_t *s8, int32_t &sIndex);
229 … const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength);
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationfastlatin.cpp814 const uint8_t *s8, int32_t &sIndex, int32_t sLength) { in lookupUTF8() argument
817 int32_t i2 = sIndex + 1; in lookupUTF8()
819 uint8_t t1 = s8[sIndex]; in lookupUTF8()
821 sIndex += 2; in lookupUTF8()
837 const uint8_t *s8, int32_t &sIndex) { in lookupUTF8Unsafe() argument
842 return table[((c - 0xc2) << 6) + s8[sIndex++]]; // 0080..017F in lookupUTF8Unsafe()
844 uint8_t t2 = s8[sIndex + 1]; in lookupUTF8Unsafe()
845 sIndex += 2; in lookupUTF8Unsafe()
857 … const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength) { in nextPair() argument
865 sLength = sIndex - 1; in nextPair()
[all …]
Dcollationfastlatin.h224 const uint8_t *s8, int32_t &sIndex, int32_t sLength);
226 const uint8_t *s8, int32_t &sIndex);
229 … const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength);

123