Searched refs:sIndex (Results 1 - 21 of 21) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/preprocessor/
H A DInput.cpp44 while ((nRead < maxSize) && (mReadLoc.sIndex < mCount))
46 int size = mLength[mReadLoc.sIndex] - mReadLoc.cIndex;
48 memcpy(buf + nRead, mString[mReadLoc.sIndex] + mReadLoc.cIndex, size);
53 if (mReadLoc.cIndex == mLength[mReadLoc.sIndex])
55 ++mReadLoc.sIndex;
H A DInput.h38 int sIndex; // String index; member in struct:pp::Input::Location
41 Location() : sIndex(0), cIndex(0) { }
H A DTokenizer.l71 while ((scanLoc->sIndex < input->count()) && \
72 (scanLoc->cIndex >= input->length(scanLoc->sIndex))) \
74 scanLoc->cIndex -= input->length(scanLoc->sIndex++); \
261 if (scanLoc->sIndex != sIndexMax)
265 scanLoc->sIndex = sIndexMax; scanLoc->cIndex = 0;
H A DTokenizer.cpp593 while ((scanLoc->sIndex < input->count()) && \
594 (scanLoc->cIndex >= input->length(scanLoc->sIndex))) \
596 scanLoc->cIndex -= input->length(scanLoc->sIndex++); \
1189 if (scanLoc->sIndex != sIndexMax)
1193 scanLoc->sIndex = sIndexMax; scanLoc->cIndex = 0;
/external/skia/src/pathops/
H A DSkPathWriter.cpp285 int sIndex = sLink[rIndex]; local
286 SkASSERT(sIndex != SK_MaxS32);
289 if (sIndex < 0) {
290 eIndex = sLink[~sIndex];
291 sLink[~sIndex] = SK_MaxS32;
293 eIndex = eLink[sIndex];
294 eLink[sIndex] = SK_MaxS32;
298 SkDebugf("%s sIndex=%c%d eIndex=%c%d\n", __FUNCTION__, sIndex < 0 ? 's' : 'e',
299 sIndex <
[all...]
H A DSkOpAngle.cpp466 int sIndex = -1; local
496 sIndex = index;
517 sIndex = index;
521 const SkDCurve& curve = sIndex ? rh->fPart.fCurve : this->fPart.fCurve;
522 const SkOpSegment& segment = sIndex ? *rh->segment() : *this->segment();
523 double tStart = sIndex ? rh->fStart->t() : fStart->t();
529 return sRayLonger ^ (sIndex == 0) ^ (septDir < 0);
/external/icu/icu4c/source/i18n/
H A Dcollationfastlatin.cpp814 const uint8_t *s8, int32_t &sIndex, int32_t sLength) {
817 int32_t i2 = sIndex + 1;
819 uint8_t t1 = s8[sIndex];
821 sIndex += 2;
837 const uint8_t *s8, int32_t &sIndex) {
842 return table[((c - 0xc2) << 6) + s8[sIndex++]]; // 0080..017F
844 uint8_t t2 = s8[sIndex + 1];
845 sIndex += 2;
857 const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength) {
865 sLength = sIndex
813 lookupUTF8(const uint16_t *table, UChar32 c, const uint8_t *s8, int32_t &sIndex, int32_t sLength) argument
836 lookupUTF8Unsafe(const uint16_t *table, UChar32 c, const uint8_t *s8, int32_t &sIndex) argument
856 nextPair(const uint16_t *table, UChar32 c, uint32_t ce, const UChar *s16, const uint8_t *s8, int32_t &sIndex, int32_t &sLength) argument
[all...]
H A 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/
H A DBytesTrie.java248 * @param sIndex The start index of the byte sequence in s.
252 public Result next(byte[] s, int sIndex, int sLimit) { argument
253 if(sIndex>=sLimit) {
267 if(sIndex==sLimit) {
274 inByte=s[sIndex++];
294 if(sIndex==sLimit) {
302 inByte=s[sIndex++];
H A DCharsTrie.java216 * @param sIndex The start index of the string in s.
220 public Result next(CharSequence s, int sIndex, int sLimit) { argument
221 if(sIndex>=sLimit) {
235 if(sIndex==sLimit) {
242 inUnit=s.charAt(sIndex++);
262 if(sIndex==sLimit) {
270 inUnit=s.charAt(sIndex++);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DBytesTrie.java265 * @param sIndex The start index of the byte sequence in s.
270 public Result next(byte[] s, int sIndex, int sLimit) { argument
271 if(sIndex>=sLimit) {
285 if(sIndex==sLimit) {
292 inByte=s[sIndex++];
312 if(sIndex==sLimit) {
320 inByte=s[sIndex++];
H A DCharsTrie.java227 * @param sIndex The start index of the string in s.
232 public Result next(CharSequence s, int sIndex, int sLimit) { argument
233 if(sIndex>=sLimit) {
247 if(sIndex==sLimit) {
254 inUnit=s.charAt(sIndex++);
274 if(sIndex==sLimit) {
282 inUnit=s.charAt(sIndex++);
/external/skia/tests/
H A DPathOpsAngleIdeas.cpp529 int sIndex = (int) (smallestTs[1] < 1);
530 REPORTER_ASSERT(reporter, smallestTs[sIndex ^ 1] == 1);
531 double t = smallestTs[sIndex];
532 const SkDQuad& q = *quads[sIndex];
534 SkDVector end = rays[sIndex][1] - origin;
540 SkDebugf("rayDist>endDist:%d sIndex==0:%d vDir[sIndex]<0:%d midXray<0:%d\n",
541 rayDist > endDist, sIndex == 0, vDir[sIndex] < 0, midXray < 0);
544 == SkScalarSignAsInt(SkDoubleToScalar(vDir[sIndex])));
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
H A DCollationFastLatin.java686 * Java returns a negative result (use the '~' operator) if sIndex is to be incremented.
687 * C++ modifies sIndex.
689 private static long nextPair(char[] table, int c, int ce, CharSequence s16, int sIndex) { argument
700 if(sIndex != s16.length()) {
703 int nextIndex = sIndex;
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
H A DCollationFastLatin.java682 * Java returns a negative result (use the '~' operator) if sIndex is to be incremented.
683 * C++ modifies sIndex.
685 private static long nextPair(char[] table, int c, int ce, CharSequence s16, int sIndex) { argument
696 if(sIndex != s16.length()) {
699 int nextIndex = sIndex;
/external/skia/samplecode/
H A DSamplePathFuzz.cpp367 for (uint32_t sIndex = 0; sIndex < segments; ++sIndex) {
/external/icu/icu4c/source/test/cintltst/
H A Dtrie2test.c279 int32_t i, length, sIndex, countValues; local
304 sIndex=(int32_t)(p-s);
305 U16_NEXT(s, sIndex, length, c2);
329 sIndex=(int32_t)(p-s);
330 U16_PREV(s, 0, sIndex, c2);
H A Dcnumtst.c2445 int32_t i, sIndex; local
2451 for (sIndex = 0; sIndex < UPRV_LENGTHOF(currencyStyles); ++sIndex) {
2452 UNumberFormatStyle style = currencyStyles[sIndex];
2473 int32_t ulenExp = u_unescape(DATA[i][3 + sIndex], ubufExpected, kUBufMax);
2476 localeString, currencyISOCode, DATA[i][3 + sIndex]);
/external/icu/icu4c/source/common/
H A Duresbund.cpp1424 static const UChar* ures_getStringWithAlias(const UResourceBundle *resB, Resource r, int32_t sIndex, int32_t *len, UErrorCode *status) { argument
1427 UResourceBundle *tempRes = ures_getByIndex(resB, sIndex, NULL, status);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 591 milliseconds