/external/v8/test/intl/break-iterator/ |
en-break.js | 39 var nextPos = iterator.next(); 40 if (nextPos === -1) break; 42 slices.push(textToSegment.slice(pos, nextPos)); 45 pos = nextPos;
|
zh-break.js | 40 var nextPos = iterator.next(); 41 if (nextPos === -1) break; 43 slices.push(textToSegment.slice(pos, nextPos)); 46 pos = nextPos;
|
/build/blueprint/parser/ |
sort.go | 47 nextPos := value.EndPos 49 nextPos = value.ListValue[j].Pos 51 sortSubList(value.ListValue[i:j], nextPos, file) 100 func sortSubList(values []Value, nextPos scanner.Position, file *File) { 106 n := nextPos 123 if c.Pos.Offset > e.pos.Offset && c.Pos.Offset < e.nextPos.Offset { 129 curPos.Offset += e.nextPos.Offset - e.pos.Offset 153 nextPos scanner.Position
|
/external/fonttools/Lib/fontTools/misc/ |
psLib.py | 53 _, nextpos = whitematch(self.buf, self.pos).span() 54 self.pos = nextpos 66 _, nextpos = commentmatch(buf, pos).span() 67 token = buf[pos:nextpos] 73 _, nextpos = m.span() 74 token = buf[pos:nextpos] 80 _, nextpos = m.span() 81 token = buf[pos:nextpos] 93 _, nextpos = m.span() 94 token = buf[pos:nextpos] [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsMessageBase.java | 363 int nextPos = Math.min(currentPosition + byteLimit / 2, msgBody.length()); 367 if (nextPos < msgBody.length()) { 370 if (!breakIterator.isBoundary(nextPos)) { 371 int breakPos = breakIterator.preceding(nextPos); 372 while (breakPos + 4 <= nextPos 381 nextPos = breakPos; 382 } else if (Character.isHighSurrogate(msgBody.charAt(nextPos - 1))) { 384 nextPos -= 1; 388 return nextPos; 416 int nextPos = findNextUnicodePosition(pos, maxUserDataBytesWithHeader [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Gradient_Delegate.java | 106 int nextPos = 1; 110 while (currentPos > mPositions[nextPos]) { 111 prevPos = nextPos++; 115 (mPositions[nextPos] - mPositions[prevPos]); 117 mGradient[i] = computeColor(mColors[prevPos], mColors[nextPos], percent);
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/syncadapter/ |
SyncAdapter.java | 125 long nextPos = insertionStartTimeSec; 126 for (int i = 0; nextPos < insertionEndSec; ++i) { 127 long programStartSec = nextPos; 154 nextPos = insertionStartTimeSec + i * durationSumSec;
|
/frameworks/base/tools/aapt/ |
pseudolocalize.cpp | 66 size_t nextpos = pos; local 68 nextpos++; 70 size_t size = nextpos - lastpos; 76 str[nextpos - 1] == k_arg_end) { 86 lastpos = nextpos;
|
/frameworks/base/tools/aapt2/compile/ |
Pseudolocalizer.cpp | 108 size_t nextpos = pos; local 110 nextpos++; 112 size_t size = nextpos - lastpos; 117 } else if (str[lastpos] == k_arg_start && str[nextpos - 1] == k_arg_end) { 127 lastpos = nextpos;
|
/external/javassist/src/main/javassist/bytecode/ |
Descriptor.java | 841 int nextPos = index; 842 char c = desc.charAt(nextPos); 845 c = desc.charAt(++nextPos); 851 c = desc.charAt(++nextPos); 856 c = desc.charAt(++nextPos); 859 nextPos = desc.indexOf(';', nextPos) + 1; 860 if (nextPos <= 0) 864 ++nextPos; 867 index = nextPos; [all...] |
CodeIterator.java | 857 int nextPos; 860 for (; i < endPos; i = nextPos) { 867 nextPos = nextOpcode(code, i); [all...] |
/frameworks/opt/telephony/src/java/android/telephony/ |
SmsMessage.java | 398 int nextPos = 0; // Counts code units. 402 nextPos = pos + Math.min(limit, textLen - pos); 405 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(newMsgBody, pos, limit, 409 nextPos = SmsMessageBase.findNextUnicodePosition(pos, limit, newMsgBody); 411 if ((nextPos <= pos) || (nextPos > textLen)) { 412 Rlog.e(LOG_TAG, "fragmentText failed (" + pos + " >= " + nextPos + " or " + 413 nextPos + " >= " + textLen + ")"); 416 result.add(newMsgBody.substring(pos, nextPos)); 417 pos = nextPos; [all...] |
/frameworks/rs/ |
rsScriptC.cpp | 88 int nextPos = cacheDirString.find(OS_PATH_SEPARATOR_STR, currPos + 1); 90 if (nextPos > 0) { 92 currentDir += cacheDirString.substr(currPos, nextPos - currPos); 98 currPos = nextPos;
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
patricia_trie_policy.cpp | 38 int nextPos = dicNode->getChildrenPtNodeArrayPos(); 39 if (!isValidPos(nextPos)) { 41 nextPos, mBuffer.size()); 47 mBuffer.data(), &nextPos); 49 if (!isValidPos(nextPos)) { 51 nextPos, mBuffer.size(), i, childCount); 56 nextPos = createAndGetLeavingChildNode(dicNode, nextPos, childDicNodes);
|
/external/deqp/modules/gles3/functional/ |
es3fImplementationLimitTests.cpp | 334 const size_t nextPos = extensionStr.find(' ', pos); 335 const size_t len = nextPos == string::npos ? extensionStr.length()-pos : nextPos-pos; 340 if (nextPos == string::npos) 343 pos = nextPos+1;
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaByDayAdapter.java | 659 int nextPos = listPos + 1; 660 if (nextPos < mRowInfo.size()) { 661 nextPos = getCursorPosition(nextPos); 662 if (nextPos >= 0) { 663 return -nextPos;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/cldr/ |
TestCLDRVsICU.java | 338 int nextPos = value.indexOf('\n', pos); 339 if (nextPos < 0) 340 nextPos = value.length(); 341 String line = value.substring(pos, nextPos); 355 pos = nextPos + 1;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/cldr/ |
TestCLDRVsICU.java | 334 int nextPos = value.indexOf('\n', pos); 335 if (nextPos < 0) 336 nextPos = value.length(); 337 String line = value.substring(pos, nextPos); 351 pos = nextPos + 1;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
RBBITestMonkey.java | 703 int nextPos; // Index of the next character following pos. 719 nextPos = startPos; 732 pos = nextPos; 733 nextPos = moveIndex32(fText, pos, 1); 749 // result is "nextPos" for the following loop iteration. 754 if (nextPos == fText.length()) { 757 int nextChar = UTF16.charAt(fText, nextPos); 761 nextPos = moveIndex32(fText, nextPos, 1); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
RBBITestMonkey.java | 699 int nextPos; // Index of the next character following pos. 715 nextPos = startPos; 728 pos = nextPos; 729 nextPos = moveIndex32(fText, pos, 1); 745 // result is "nextPos" for the following loop iteration. 750 if (nextPos == fText.length()) { 753 int nextChar = UTF16.charAt(fText, nextPos); 757 nextPos = moveIndex32(fText, nextPos, 1); [all...] |
/prebuilts/go/darwin-x86/src/regexp/ |
exec.go | 205 // which starts at position pos and ends at nextPos. 207 func (m *machine) step(runq, nextq *queue, pos, nextPos int, c rune, nextCond syntax.EmptyOp) { 253 t = m.add(nextq, i.Out, nextPos, t.cap, nextCond, t)
|
/prebuilts/go/linux-x86/src/regexp/ |
exec.go | 205 // which starts at position pos and ends at nextPos. 207 func (m *machine) step(runq, nextq *queue, pos, nextPos int, c rune, nextCond syntax.EmptyOp) { 253 t = m.add(nextq, i.Out, nextPos, t.cap, nextCond, t)
|
/external/llvm/lib/CodeGen/ |
LiveInterval.cpp | 894 SlotIndex NextPos = Last; 919 Pos <= I->start && I->start <= NextPos) { 921 if (I->start == NextPos && Event == BEGIN_SEGMENT) { 924 } else if (I->start < NextPos || Event != END_SEGMENT) { 926 NextPos = I->start; 932 Pos <= I->end && I->end <= NextPos) { 934 if (I->end == NextPos && Event == END_SEGMENT) 938 NextPos = I->end; 945 Pos = NextPos; [all...] |
/frameworks/native/cmds/installd/ |
utils.cpp | 571 int8_t* nextPos = res + len; 572 if (cache->memBlocks == NULL || nextPos > cache->curMemBlockEnd) { 582 nextPos = res + len; 584 CACHE_NOISY(ALOGI("cache_malloc: ret %p size %zu, block=%p, nextPos=%p", 585 res, len, cache->memBlocks, nextPos)); 586 cache->curMemBlockAvail = nextPos; [all...] |
/external/v8/benchmarks/ |
navier-stokes.js | 263 var nextPos = j * rowSize + 1; 269 u[++currentPos] -= wScale * (p[++nextPos] - p[++prevPos]);
|