Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkPathOpsCommon.cpp309 int sIndex = sLink[rIndex]; in Assemble() local
310 SkASSERT(sIndex != SK_MaxS32); in Assemble()
313 if (sIndex < 0) { in Assemble()
314 eIndex = sLink[~sIndex]; in Assemble()
315 sLink[~sIndex] = SK_MaxS32; in Assemble()
317 eIndex = eLink[sIndex]; in Assemble()
318 eLink[sIndex] = SK_MaxS32; in Assemble()
322 SkDebugf("%s sIndex=%c%d eIndex=%c%d\n", __FUNCTION__, sIndex < 0 ? 's' : 'e', in Assemble()
323 sIndex < 0 ? ~sIndex : sIndex, eIndex < 0 ? 's' : 'e', in Assemble()
341 sIndex == ((rIndex != eIndex) ^ forward ? eIndex : ~eIndex)); in Assemble()
[all …]
DSkOpAngle.cpp482 int sIndex = -1; in endsIntersect() local
512 sIndex = index; in endsIntersect()
533 sIndex = index; in endsIntersect()
537 const SkDCurve& curve = sIndex ? rh->fCurvePart : this->fCurvePart; in endsIntersect()
538 const SkOpSegment& segment = sIndex ? *rh->segment() : *this->segment(); in endsIntersect()
539 double tStart = sIndex ? rh->fStart->t() : fStart->t(); in endsIntersect()
545 return sRayLonger ^ (sIndex == 0) ^ (septDir < 0); in endsIntersect()
/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.cpp815 const uint8_t *s8, int32_t &sIndex, int32_t sLength) { in lookupUTF8() argument
818 int32_t i2 = sIndex + 1; in lookupUTF8()
820 uint8_t t1 = s8[sIndex]; in lookupUTF8()
822 sIndex += 2; in lookupUTF8()
838 const uint8_t *s8, int32_t &sIndex) { in lookupUTF8Unsafe() argument
843 return table[((c - 0xc2) << 6) + s8[sIndex++]]; // 0080..017F in lookupUTF8Unsafe()
845 uint8_t t2 = s8[sIndex + 1]; in lookupUTF8Unsafe()
846 sIndex += 2; in lookupUTF8Unsafe()
858 … const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength) { in nextPair() argument
866 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/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DBytesTrie.java268 public Result next(byte[] s, int sIndex, int sLimit) { in next() argument
269 if(sIndex>=sLimit) { in next()
283 if(sIndex==sLimit) { in next()
290 inByte=s[sIndex++]; in next()
310 if(sIndex==sLimit) { in next()
318 inByte=s[sIndex++]; in next()
DCharsTrie.java230 public Result next(CharSequence s, int sIndex, int sLimit) { in next() argument
231 if(sIndex>=sLimit) { in next()
245 if(sIndex==sLimit) { in next()
252 inUnit=s.charAt(sIndex++); in next()
272 if(sIndex==sLimit) { in next()
280 inUnit=s.charAt(sIndex++); in next()
/external/skia/tests/
DPathOpsAngleIdeas.cpp525 int sIndex = (int) (smallestTs[1] < 1); in testQuadAngles() local
526 REPORTER_ASSERT(reporter, smallestTs[sIndex ^ 1] == 1); in testQuadAngles()
527 double t = smallestTs[sIndex]; in testQuadAngles()
528 const SkDQuad& q = *quads[sIndex]; in testQuadAngles()
530 SkDVector end = rays[sIndex][1] - origin; in testQuadAngles()
537 rayDist > endDist, sIndex == 0, vDir[sIndex] < 0, midXray < 0); in testQuadAngles()
540 == SkScalarSignAsInt(SkDoubleToScalar(vDir[sIndex]))); in testQuadAngles()
541 firstInside = (rayDist > endDist) ^ (sIndex == 0) ^ (vDir[sIndex] < 0); in testQuadAngles()
/external/icu/icu4c/source/test/cintltst/
Dtrie2test.c277 int32_t i, length, sIndex, countValues; in testTrieUTF16() local
302 sIndex=(int32_t)(p-s); in testTrieUTF16()
303 U16_NEXT(s, sIndex, length, c2); in testTrieUTF16()
327 sIndex=(int32_t)(p-s); in testTrieUTF16()
328 U16_PREV(s, 0, sIndex, c2); in testTrieUTF16()
Dcnumtst.c2424 int32_t i, sIndex; in TestCurrencyIsoPluralFormat() local
2430 for (sIndex = 0; sIndex < LENGTH(currencyStyles); ++sIndex) { in TestCurrencyIsoPluralFormat()
2431 UNumberFormatStyle style = currencyStyles[sIndex]; in TestCurrencyIsoPluralFormat()
2452 int32_t ulenExp = u_unescape(DATA[i][3 + sIndex], ubufExpected, kUBufMax); in TestCurrencyIsoPluralFormat()
2455 localeString, currencyISOCode, DATA[i][3 + sIndex]); in TestCurrencyIsoPluralFormat()
/external/skia/samplecode/
DSamplePathFuzz.cpp366 for (uint32_t sIndex = 0; sIndex < segments; ++sIndex) { in makePath() local
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationFastLatin.java681 private static long nextPair(char[] table, int c, int ce, CharSequence s16, int sIndex) { in nextPair() argument
692 if(sIndex != s16.length()) { in nextPair()
695 int nextIndex = sIndex; in nextPair()
/external/icu/icu4c/source/common/
Duresbund.cpp1421 static const UChar* ures_getStringWithAlias(const UResourceBundle *resB, Resource r, int32_t sIndex in ures_getStringWithAlias() argument
1424 UResourceBundle *tempRes = ures_getByIndex(resB, sIndex, NULL, status); in ures_getStringWithAlias()