Home
last modified time | relevance | path

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

/external/chromium_org/third_party/skia/src/pathops/
DSkOpContour.h101 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in alignMultiples() local
102 SkOpSegment& segment = fSegments[sIndex]; in alignMultiples()
122 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in checkDuplicates() local
123 SkOpSegment& segment = fSegments[sIndex]; in checkDuplicates()
135 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in checkEnds() local
136 SkOpSegment* segment = &fSegments[sIndex]; in checkEnds()
149 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in checkMultiples() local
150 SkOpSegment& segment = fSegments[sIndex]; in checkMultiples()
160 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in checkSmall() local
161 SkOpSegment& segment = fSegments[sIndex]; in checkSmall()
[all …]
DSkPathOpsCommon.cpp616 int sIndex = sLink[rIndex]; in Assemble() local
617 SkASSERT(sIndex != SK_MaxS32); in Assemble()
620 if (sIndex < 0) { in Assemble()
621 eIndex = sLink[~sIndex]; in Assemble()
622 sLink[~sIndex] = SK_MaxS32; in Assemble()
624 eIndex = eLink[sIndex]; in Assemble()
625 eLink[sIndex] = SK_MaxS32; in Assemble()
629 SkDebugf("%s sIndex=%c%d eIndex=%c%d\n", __FUNCTION__, sIndex < 0 ? 's' : 'e', in Assemble()
630 sIndex < 0 ? ~sIndex : sIndex, eIndex < 0 ? 's' : 'e', in Assemble()
649 sIndex == ((rIndex != eIndex) ^ forward ? eIndex : ~eIndex)); in Assemble()
[all …]
DSkOpAngle.cpp462 int sIndex = -1; in endsIntersect() local
492 sIndex = index; in endsIntersect()
513 sIndex = index; in endsIntersect()
517 const SkDCubic& curve = sIndex ? rh.fCurvePart : fCurvePart; in endsIntersect()
518 const SkOpSegment& segment = sIndex ? *rh.fSegment : *fSegment; in endsIntersect()
519 double tStart = segment.t(sIndex ? rh.fStart : fStart); in endsIntersect()
525 return sRayLonger ^ (sIndex == 0) ^ (septDir < 0); in endsIntersect()
/external/skia/src/pathops/
DSkOpContour.h101 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in alignMultiples() local
102 SkOpSegment& segment = fSegments[sIndex]; in alignMultiples()
122 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in checkDuplicates() local
123 SkOpSegment& segment = fSegments[sIndex]; in checkDuplicates()
135 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in checkEnds() local
136 SkOpSegment* segment = &fSegments[sIndex]; in checkEnds()
149 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in checkMultiples() local
150 SkOpSegment& segment = fSegments[sIndex]; in checkMultiples()
160 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in checkSmall() local
161 SkOpSegment& segment = fSegments[sIndex]; in checkSmall()
[all …]
DSkPathOpsCommon.cpp616 int sIndex = sLink[rIndex]; in Assemble() local
617 SkASSERT(sIndex != SK_MaxS32); in Assemble()
620 if (sIndex < 0) { in Assemble()
621 eIndex = sLink[~sIndex]; in Assemble()
622 sLink[~sIndex] = SK_MaxS32; in Assemble()
624 eIndex = eLink[sIndex]; in Assemble()
625 eLink[sIndex] = SK_MaxS32; in Assemble()
629 SkDebugf("%s sIndex=%c%d eIndex=%c%d\n", __FUNCTION__, sIndex < 0 ? 's' : 'e', in Assemble()
630 sIndex < 0 ? ~sIndex : sIndex, eIndex < 0 ? 's' : 'e', in Assemble()
649 sIndex == ((rIndex != eIndex) ^ forward ? eIndex : ~eIndex)); in Assemble()
[all …]
DSkOpAngle.cpp462 int sIndex = -1; in endsIntersect() local
492 sIndex = index; in endsIntersect()
513 sIndex = index; in endsIntersect()
517 const SkDCubic& curve = sIndex ? rh.fCurvePart : fCurvePart; in endsIntersect()
518 const SkOpSegment& segment = sIndex ? *rh.fSegment : *fSegment; in endsIntersect()
519 double tStart = segment.t(sIndex ? rh.fStart : fStart); in endsIntersect()
525 return sRayLonger ^ (sIndex == 0) ^ (septDir < 0); in endsIntersect()
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
DInput.cpp35 while ((nRead < maxSize) && (mReadLoc.sIndex < mCount)) in read()
37 size_t size = mLength[mReadLoc.sIndex] - mReadLoc.cIndex; in read()
39 std::memcpy(buf + nRead, mString[mReadLoc.sIndex] + mReadLoc.cIndex, size); in read()
44 if (mReadLoc.cIndex == mLength[mReadLoc.sIndex]) in read()
46 ++mReadLoc.sIndex; in read()
DInput.h40 size_t sIndex; // String index; member
44 : sIndex(0), in Location()
DTokenizer.l55 while ((scanLoc->sIndex < input->count()) && \
56 (scanLoc->cIndex >= input->length(scanLoc->sIndex))) \
58 scanLoc->cIndex -= input->length(scanLoc->sIndex++); \
245 if (scanLoc->sIndex != sIndexMax)
249 scanLoc->sIndex = sIndexMax; scanLoc->cIndex = 0;
DTokenizer.cpp571 while ((scanLoc->sIndex < input->count()) && \
572 (scanLoc->cIndex >= input->length(scanLoc->sIndex))) \
574 scanLoc->cIndex -= input->length(scanLoc->sIndex++); \
1156 if (scanLoc->sIndex != sIndexMax)
1160 scanLoc->sIndex = sIndexMax; scanLoc->cIndex = 0;
/external/clang/test/Analysis/
DCFContainers.mm148 CFIndex sIndex;
149 for (sIndex = 0 ; sIndex <= 5 ; sIndex += 3 ) {
150 const void *s = CFArrayGetValueAtIndex(array, sIndex);
161 void TestGetCount(CFArrayRef A, CFIndex sIndex) {
163 if (sCount > sIndex)
164 const void *s1 = CFArrayGetValueAtIndex(A, sIndex);
187 void TestUndef(CFArrayRef A, CFIndex sIndex, void* x[]) {
196 void TestConst(CFArrayRef A, CFIndex sIndex, void* x[]) {
/external/icu/icu4c/source/layout/
DHangulLayoutEngine.cpp134 le_int32 sIndex = syllable - HSYL_FIRST; in decompose() local
136 if (sIndex < 0 || sIndex >= HSYL_COUNT) { in decompose()
140 lead = LJMO_FIRST + (sIndex / HSYL_LVCNT); in decompose()
141 vowel = VJMO_FIRST + (sIndex % HSYL_LVCNT) / TJMO_COUNT; in decompose()
142 trail = TJMO_FIRST + (sIndex % TJMO_COUNT); in decompose()
/external/icu/icu4c/source/i18n/
Dcollationfastlatin.cpp798 const uint8_t *s8, int32_t &sIndex, int32_t sLength) { in lookupUTF8() argument
801 int32_t i2 = sIndex + 1; in lookupUTF8()
803 uint8_t t1 = s8[sIndex]; in lookupUTF8()
805 sIndex += 2; in lookupUTF8()
821 const uint8_t *s8, int32_t &sIndex) { in lookupUTF8Unsafe() argument
826 return table[((c - 0xc2) << 6) + s8[sIndex++]]; // 0080..017F in lookupUTF8Unsafe()
828 uint8_t t2 = s8[sIndex + 1]; in lookupUTF8Unsafe()
829 sIndex += 2; in lookupUTF8Unsafe()
841 … const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength) { in nextPair() argument
849 sLength = sIndex - 1; in nextPair()
[all …]
Dcollationfastlatin.h222 const uint8_t *s8, int32_t &sIndex, int32_t sLength);
224 const uint8_t *s8, int32_t &sIndex);
227 … const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength);
/external/chromium_org/third_party/skia/tests/
DPathOpsAngleIdeas.cpp524 int sIndex = (int) (smallestTs[1] < 1); in testQuadAngles() local
525 REPORTER_ASSERT(reporter, smallestTs[sIndex ^ 1] == 1); in testQuadAngles()
526 double t = smallestTs[sIndex]; in testQuadAngles()
527 const SkDQuad& q = *quads[sIndex]; in testQuadAngles()
529 SkDVector end = rays[sIndex][1] - origin; in testQuadAngles()
536 rayDist > endDist, sIndex == 0, vDir[sIndex] < 0, midXray < 0); in testQuadAngles()
539 == SkScalarSignAsInt(SkDoubleToScalar(vDir[sIndex]))); in testQuadAngles()
540 firstInside = (rayDist > endDist) ^ (sIndex == 0) ^ (vDir[sIndex] < 0); in testQuadAngles()
/external/skia/tests/
DPathOpsAngleIdeas.cpp524 int sIndex = (int) (smallestTs[1] < 1); in testQuadAngles() local
525 REPORTER_ASSERT(reporter, smallestTs[sIndex ^ 1] == 1); in testQuadAngles()
526 double t = smallestTs[sIndex]; in testQuadAngles()
527 const SkDQuad& q = *quads[sIndex]; in testQuadAngles()
529 SkDVector end = rays[sIndex][1] - origin; in testQuadAngles()
536 rayDist > endDist, sIndex == 0, vDir[sIndex] < 0, midXray < 0); in testQuadAngles()
539 == SkScalarSignAsInt(SkDoubleToScalar(vDir[sIndex]))); in testQuadAngles()
540 firstInside = (rayDist > endDist) ^ (sIndex == 0) ^ (vDir[sIndex] < 0); in testQuadAngles()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dtrie2test.c279 int32_t i, length, sIndex, countValues; in testTrieUTF16() local
304 sIndex=(int32_t)(p-s); in testTrieUTF16()
305 U16_NEXT(s, sIndex, length, c2); in testTrieUTF16()
329 sIndex=(int32_t)(p-s); in testTrieUTF16()
330 U16_PREV(s, 0, sIndex, c2); in testTrieUTF16()
/external/icu/icu4c/source/test/cintltst/
Dtrie2test.c279 int32_t i, length, sIndex, countValues; in testTrieUTF16() local
304 sIndex=(int32_t)(p-s); in testTrieUTF16()
305 U16_NEXT(s, sIndex, length, c2); in testTrieUTF16()
329 sIndex=(int32_t)(p-s); in testTrieUTF16()
330 U16_PREV(s, 0, sIndex, c2); in testTrieUTF16()
Dcnumtst.c2420 int32_t i, sIndex; in TestCurrencyIsoPluralFormat() local
2426 for (sIndex = 0; sIndex < LENGTH(currencyStyles); ++sIndex) { in TestCurrencyIsoPluralFormat()
2427 UNumberFormatStyle style = currencyStyles[sIndex]; in TestCurrencyIsoPluralFormat()
2448 int32_t ulenExp = u_unescape(DATA[i][3 + sIndex], ubufExpected, kUBufMax); in TestCurrencyIsoPluralFormat()
2451 localeString, currencyISOCode, DATA[i][3 + sIndex]); in TestCurrencyIsoPluralFormat()
/external/skia/experimental/Intersection/
DSimplify.cpp4604 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in findTooCloseToCall() local
4605 fSegments[sIndex].findTooCloseToCall(); in findTooCloseToCall()
4611 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in fixOtherTIndex() local
4612 fSegments[sIndex].fixOtherTIndex(); in fixOtherTIndex()
6477 int sIndex = sLink[rIndex]; in assemble() local
6478 SkASSERT(sIndex != SK_MaxS32); in assemble()
6481 if (sIndex < 0) { in assemble()
6482 eIndex = sLink[~sIndex]; in assemble()
6483 sLink[~sIndex] = SK_MaxS32; in assemble()
6485 eIndex = eLink[sIndex]; in assemble()
[all …]
/external/chromium_org/third_party/skia/experimental/Intersection/
DSimplify.cpp4604 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in findTooCloseToCall() local
4605 fSegments[sIndex].findTooCloseToCall(); in findTooCloseToCall()
4611 for (int sIndex = 0; sIndex < segmentCount; ++sIndex) { in fixOtherTIndex() local
4612 fSegments[sIndex].fixOtherTIndex(); in fixOtherTIndex()
6477 int sIndex = sLink[rIndex]; in assemble() local
6478 SkASSERT(sIndex != SK_MaxS32); in assemble()
6481 if (sIndex < 0) { in assemble()
6482 eIndex = sLink[~sIndex]; in assemble()
6483 sLink[~sIndex] = SK_MaxS32; in assemble()
6485 eIndex = eLink[sIndex]; in assemble()
[all …]
/external/chromium_org/third_party/icu/source/i18n/
Ducol.cpp8051 int32_t sIndex = 0, tIndex = 0; in ucol_strcollUseLatin1() local
8067 sChar=source[sIndex++]; in ucol_strcollUseLatin1()
8073 if(sIndex==sLen) { in ucol_strcollUseLatin1()
8077 sChar=source[sIndex++]; in ucol_strcollUseLatin1()
8088 … sOrder = ucol_getLatinOneContraction(coll, UCOL_PRIMARY, sOrder, source, &sIndex, sLen); in ucol_strcollUseLatin1()
8171 sLen = sIndex; tLen = tIndex; in ucol_strcollUseLatin1()
8182 sIndex = 0; tIndex = 0; in ucol_strcollUseLatin1()
8185 if(sIndex==sLen) { in ucol_strcollUseLatin1()
8189 sChar=source[sIndex++]; in ucol_strcollUseLatin1()
8192 … sOrder = ucol_getLatinOneContraction(coll, UCOL_SECONDARY, sOrder, source, &sIndex, sLen); in ucol_strcollUseLatin1()
[all …]
/external/chromium_org/third_party/icu/source/common/
Duresbund.c1334 static const UChar* ures_getStringWithAlias(const UResourceBundle *resB, Resource r, int32_t sIndex in ures_getStringWithAlias() argument
1337 UResourceBundle *tempRes = ures_getByIndex(resB, sIndex, NULL, status); in ures_getStringWithAlias()
/external/icu/icu4c/source/common/
Duresbund.cpp1335 static const UChar* ures_getStringWithAlias(const UResourceBundle *resB, Resource r, int32_t sIndex in ures_getStringWithAlias() argument
1338 UResourceBundle *tempRes = ures_getByIndex(resB, sIndex, NULL, status); in ures_getStringWithAlias()