Home
last modified time | relevance | path

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

/external/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 …]
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;
DInput.h41 size_t sIndex; // String index; member
44 Location() : sIndex(0), cIndex(0) {} in Location()
DTokenizer.cpp957 while ((scanLoc->sIndex < input->count()) && \
958 (scanLoc->cIndex >= input->length(scanLoc->sIndex))) \
960 scanLoc->cIndex -= input->length(scanLoc->sIndex++); \
1687 if (scanLoc->sIndex != sIndexMax)
1691 scanLoc->sIndex = sIndexMax; scanLoc->cIndex = 0;
/external/skia/src/pathops/
DSkPathWriter.cpp285 int sIndex = sLink[rIndex]; in assemble() local
286 SkASSERT(sIndex != SK_MaxS32); in assemble()
289 if (sIndex < 0) { in assemble()
290 eIndex = sLink[~sIndex]; in assemble()
291 sLink[~sIndex] = SK_MaxS32; in assemble()
293 eIndex = eLink[sIndex]; in assemble()
294 eLink[sIndex] = SK_MaxS32; in assemble()
298 SkDebugf("%s sIndex=%c%d eIndex=%c%d\n", __FUNCTION__, sIndex < 0 ? 's' : 'e', in assemble()
299 sIndex < 0 ? ~sIndex : sIndex, eIndex < 0 ? 's' : 'e', in assemble()
317 sIndex == ((rIndex != eIndex) ^ forward ? eIndex : ~eIndex)); in assemble()
[all …]
DSkOpAngle.cpp466 int sIndex = -1; in endsIntersect() local
496 sIndex = index; in endsIntersect()
517 sIndex = index; in endsIntersect()
521 const SkDCurve& curve = sIndex ? rh->fPart.fCurve : this->fPart.fCurve; in endsIntersect()
522 const SkOpSegment& segment = sIndex ? *rh->segment() : *this->segment(); in endsIntersect()
523 double tStart = sIndex ? rh->fStart->t() : fStart->t(); in endsIntersect()
529 return sRayLonger ^ (sIndex == 0) ^ (septDir < 0); in endsIntersect()
/external/skqp/src/pathops/
DSkPathWriter.cpp285 int sIndex = sLink[rIndex]; in assemble() local
286 SkASSERT(sIndex != SK_MaxS32); in assemble()
289 if (sIndex < 0) { in assemble()
290 eIndex = sLink[~sIndex]; in assemble()
291 sLink[~sIndex] = SK_MaxS32; in assemble()
293 eIndex = eLink[sIndex]; in assemble()
294 eLink[sIndex] = SK_MaxS32; in assemble()
298 SkDebugf("%s sIndex=%c%d eIndex=%c%d\n", __FUNCTION__, sIndex < 0 ? 's' : 'e', in assemble()
299 sIndex < 0 ? ~sIndex : sIndex, eIndex < 0 ? 's' : 'e', in assemble()
317 sIndex == ((rIndex != eIndex) ^ forward ? eIndex : ~eIndex)); in assemble()
[all …]
DSkOpAngle.cpp466 int sIndex = -1; in endsIntersect() local
496 sIndex = index; in endsIntersect()
517 sIndex = index; in endsIntersect()
521 const SkDCurve& curve = sIndex ? rh->fPart.fCurve : this->fPart.fCurve; in endsIntersect()
522 const SkOpSegment& segment = sIndex ? *rh->segment() : *this->segment(); in endsIntersect()
523 double tStart = sIndex ? rh->fStart->t() : fStart->t(); in endsIntersect()
529 return sRayLonger ^ (sIndex == 0) ^ (septDir < 0); in endsIntersect()
/external/clang/test/Analysis/
DCFContainers.mm149 CFIndex sIndex;
150 for (sIndex = 0 ; sIndex <= 5 ; sIndex += 3 ) {
151 const void *s = CFArrayGetValueAtIndex(array, sIndex);
162 void TestGetCount(CFArrayRef A, CFIndex sIndex) {
164 if (sCount > sIndex)
165 const void *s1 = CFArrayGetValueAtIndex(A, sIndex);
188 void TestUndef(CFArrayRef A, CFIndex sIndex, void* x[]) {
197 void TestConst(CFArrayRef A, CFIndex sIndex, void* x[]) {
/external/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);
/external/icu/android_icu4j/src/main/java/android/icu/util/
DBytesTrie.java252 public Result next(byte[] s, int sIndex, int sLimit) { in next() argument
253 if(sIndex>=sLimit) { in next()
267 if(sIndex==sLimit) { in next()
274 inByte=s[sIndex++]; in next()
294 if(sIndex==sLimit) { in next()
302 inByte=s[sIndex++]; in next()
DCharsTrie.java220 public Result next(CharSequence s, int sIndex, int sLimit) { in next() argument
221 if(sIndex>=sLimit) { in next()
235 if(sIndex==sLimit) { in next()
242 inUnit=s.charAt(sIndex++); in next()
262 if(sIndex==sLimit) { in next()
270 inUnit=s.charAt(sIndex++); in next()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrie.java270 public Result next(byte[] s, int sIndex, int sLimit) { in next() argument
271 if(sIndex>=sLimit) { in next()
285 if(sIndex==sLimit) { in next()
292 inByte=s[sIndex++]; in next()
312 if(sIndex==sLimit) { in next()
320 inByte=s[sIndex++]; in next()
DCharsTrie.java232 public Result next(CharSequence s, int sIndex, int sLimit) { in next() argument
233 if(sIndex>=sLimit) { in next()
247 if(sIndex==sLimit) { in next()
254 inUnit=s.charAt(sIndex++); in next()
274 if(sIndex==sLimit) { in next()
282 inUnit=s.charAt(sIndex++); in next()
/external/skqp/tests/
DPathOpsAngleIdeas.cpp529 int sIndex = (int) (smallestTs[1] < 1); in testQuadAngles() local
530 REPORTER_ASSERT(reporter, smallestTs[sIndex ^ 1] == 1); in testQuadAngles()
531 double t = smallestTs[sIndex]; in testQuadAngles()
532 const SkDQuad& q = *quads[sIndex]; in testQuadAngles()
534 SkDVector end = rays[sIndex][1] - origin; in testQuadAngles()
541 rayDist > endDist, sIndex == 0, vDir[sIndex] < 0, midXray < 0); in testQuadAngles()
544 == SkScalarSignAsInt(SkDoubleToScalar(vDir[sIndex]))); in testQuadAngles()
545 firstInside = (rayDist > endDist) ^ (sIndex == 0) ^ (vDir[sIndex] < 0); in testQuadAngles()
/external/skia/tests/
DPathOpsAngleIdeas.cpp529 int sIndex = (int) (smallestTs[1] < 1); in testQuadAngles() local
530 REPORTER_ASSERT(reporter, smallestTs[sIndex ^ 1] == 1); in testQuadAngles()
531 double t = smallestTs[sIndex]; in testQuadAngles()
532 const SkDQuad& q = *quads[sIndex]; in testQuadAngles()
534 SkDVector end = rays[sIndex][1] - origin; in testQuadAngles()
541 rayDist > endDist, sIndex == 0, vDir[sIndex] < 0, midXray < 0); in testQuadAngles()
544 == SkScalarSignAsInt(SkDoubleToScalar(vDir[sIndex]))); in testQuadAngles()
545 firstInside = (rayDist > endDist) ^ (sIndex == 0) ^ (vDir[sIndex] < 0); in testQuadAngles()
/external/skqp/samplecode/
DSamplePathFuzz.cpp367 for (uint32_t sIndex = 0; sIndex < segments; ++sIndex) { in makePath() local
/external/skia/samplecode/
DSamplePathFuzz.cpp367 for (uint32_t sIndex = 0; sIndex < segments; ++sIndex) { in makePath() local
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationFastLatin.java689 private static long nextPair(char[] table, int c, int ce, CharSequence s16, int sIndex) { in nextPair() argument
700 if(sIndex != s16.length()) { in nextPair()
703 int nextIndex = sIndex; in nextPair()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationFastLatin.java685 private static long nextPair(char[] table, int c, int ce, CharSequence s16, int sIndex) { in nextPair() argument
696 if(sIndex != s16.length()) { in nextPair()
699 int nextIndex = sIndex; in nextPair()
/external/icu/icu4c/source/test/cintltst/
Dtrie2test.c280 int32_t i, length, sIndex, countValues; in testTrieUTF16() local
305 sIndex=(int32_t)(p-s); in testTrieUTF16()
306 U16_NEXT(s, sIndex, length, c2); in testTrieUTF16()
330 sIndex=(int32_t)(p-s); in testTrieUTF16()
331 U16_PREV(s, 0, sIndex, c2); in testTrieUTF16()
Dcnumtst.c2493 int32_t i, sIndex; in TestCurrencyIsoPluralFormat() local
2499 for (sIndex = 0; sIndex < UPRV_LENGTHOF(currencyStyles); ++sIndex) { in TestCurrencyIsoPluralFormat()
2500 UNumberFormatStyle style = currencyStyles[sIndex]; in TestCurrencyIsoPluralFormat()
2521 int32_t ulenExp = u_unescape(DATA[i][3 + sIndex], ubufExpected, kUBufMax); in TestCurrencyIsoPluralFormat()
2524 localeString, currencyISOCode, DATA[i][3 + sIndex]); in TestCurrencyIsoPluralFormat()
/external/icu/icu4c/source/common/
Duresbund.cpp1425 static const UChar* ures_getStringWithAlias(const UResourceBundle *resB, Resource r, int32_t sIndex in ures_getStringWithAlias() argument
1428 UResourceBundle *tempRes = ures_getByIndex(resB, sIndex, NULL, status); in ures_getStringWithAlias()