Searched refs:startPos (Results 1 - 25 of 89) sorted by relevance

1234

/external/lzma/CPP/7zip/Common/
H A DLockedStream.h17 HRESULT Read(UInt64 startPos, void *data, UInt32 size, UInt32 *processedSize);
27 void Init(CLockedInStream *lockedInStream, UInt64 startPos) argument
30 _pos = startPos;
H A DLockedStream.cpp7 HRESULT CLockedInStream::Read(UInt64 startPos, void *data, UInt32 size, argument
11 RINOK(_stream->Seek(startPos, STREAM_SEEK_SET, NULL));
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DLanguageBreakEngine.java27 * @param startPos The index of the beginning of our range
37 int findBreaks(CharacterIterator text, int startPos, int endPos, argument
H A DCjkBreakEngine.java81 public int divideUpDictionaryRange(CharacterIterator inText, int startPos, int endPos, argument
83 if (startPos >= endPos) {
87 inText.setIndex(startPos);
89 int inputLength = endPos - startPos;
92 inText.setIndex(startPos);
214 if (foundBreaks.size() == 0 || foundBreaks.peek() < startPos) {
220 int pos = charPositions[t_boundary[i]] + startPos;
221 if (!(foundBreaks.contains(pos) || pos == startPos)) {
222 foundBreaks.push(charPositions[t_boundary[i]] + startPos);
H A DDictionaryBreakEngine.java171 public int findBreaks(CharacterIterator text, int startPos, int endPos, argument
186 while ((current = text.getIndex()) > startPos && isDict) {
190 rangeStart = (current < startPos) ? startPos :
H A DRuleBasedBreakIterator.java411 int startPos = current();
415 result = checkDictionary(startPos, result, false);
426 private int checkDictionary(int startPos, int endPos, boolean reverse) { argument
432 // startPos-endPos range
434 if ((endPos - startPos) <= 1) {
435 return (reverse ? startPos : endPos);
441 fText.setIndex(reverse ? endPos : startPos);
446 int rangeStart = startPos;
546 if (startPos < breaks.peekLast()) {
547 breaks.offer(startPos);
[all...]
H A DUnhandledBreakEngine.java31 public int findBreaks(CharacterIterator text, int startPos, int endPos, argument
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
H A DWireFormatNano.java114 int startPos = input.getPosition();
120 input.rewindToPosition(startPos);
H A DExtendableMessageNano.java140 int startPos = input.getPosition();
146 byte[] bytes = input.getData(startPos, endPos - startPos);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
H A DUTF16Test.java1018 for (int startPos = 0; startPos != -1 && startPos < test1.length();)
1020 startPos = UTF16.indexOf(test1, test2, startPos);
1021 if (startPos >= 0) {
1023 startPos += 4;
1032 for (int startPos = 10; startPos != -1 && startPos < test
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dustrtest.cpp716 int32_t startPos = 0; local
718 startPos != -1 && startPos < test1.length();
719 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0)
724 for ( occurrences = 0, startPos = 10;
725 startPos != -1 && startPos < test1.length();
726 (startPos
[all...]
/external/lzma/CPP/7zip/Archive/7z/
H A D7zDecode.h52 UInt64 startPos,
/external/javassist/src/main/javassist/bytecode/
H A DClassFileWriter.java319 private int startPos; field in class:ClassFileWriter.MethodWriter
387 startPos = output.getPos();
449 output.writeShort(startPos + 6, maxStack);
450 output.writeShort(startPos + 8, maxLocals);
451 output.writeInt(startPos + 10, output.getPos() - startPos - 14); // code_length
502 output.writeInt(startPos + 2, output.getPos() - startPos - 6);
522 protected int startPos; field in class:ClassFileWriter.ConstPoolWriter
527 startPos
[all...]
/external/icu/icu4c/source/common/
H A Dbrkeng.h66 * @param startPos The start of the run within the supplied text.
75 int32_t startPos,
191 * @param startPos The start of the run within the supplied text.
200 int32_t startPos,
H A Drbbi.cpp594 int32_t startPos = current(); local
598 result = checkDictionary(startPos, result, FALSE);
609 int32_t startPos; local
631 if (fText == NULL || (startPos = current()) == 0) {
640 result = checkDictionary(result, startPos, TRUE);
1576 int32_t RuleBasedBreakIterator::checkDictionary(int32_t startPos, argument
1583 // startPos-endPos range
1585 if ((endPos - startPos) <= 1) {
1586 return (reverse ? startPos : endPos);
1592 utext_setNativeIndex(fText, reverse ? endPos : startPos);
[all...]
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
H A DTabber.java136 int startPos = getStop(count-1);
143 startPos = endPos - piece.length();
146 startPos = (startPos + endPos - piece.length() + 1)/2;
150 int gap = startPos - output.length();
/external/icu/icu4c/source/i18n/
H A Drematch.cpp642 int64_t startPos = fMatchEnd; local
643 if (startPos==0) {
644 startPos = fActiveStart;
654 if (startPos >= fActiveLimit) {
659 UTEXT_SETNATIVEINDEX(fInputText, startPos);
661 startPos = UTEXT_GETNATIVEINDEX(fInputText);
681 if (startPos > testStartLimit) {
693 U_ASSERT(startPos >= 0);
700 MatchAt(startPos, FALSE, status);
707 if (startPos >
925 int32_t startPos = (int32_t)fMatchEnd; local
[all...]
/external/aac/libSBRenc/src/
H A Dnf_est.cpp308 INT nNoiseEnvelopes, startPos[2], stopPos[2], env, band; local
317 startPos[0] = startIndex;
321 startPos[0] = startIndex;
325 startPos[0] = startIndex;
327 startPos[1] = startIndex + 1;
340 startPos[env],
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
H A DPython.g73 this.startPos = -1;
540 {if ( this.startPos==0 || this.implicitLineJoiningLevel>0 )
545 WS : {this.startPos>0}?=> (' '|'\t')+ {$channel=HIDDEN;}
558 : {this.startPos==0}?=>
599 : {this.startPos==0}?=> (' '|'\t')* '#' (~'\n')* '\n'+
600 | {this.startPos>0}?=> '#' (~'\n')* // let NEWLINE handle \n unless char pos==0 for '#'
H A Drhino-python.prog45 this.startPos = this.getCharPositionInLine();
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
H A DChunkedIntArray.java132 // of the node at index "startPos". IF IT IS, DO NOT ACCEPT IT AND
137 int specialFind(int startPos, int position) argument
141 int ancestor = startPos;
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/
H A DIsoFile.java181 long startPos = ((FileChannel) os).position();
183 long size = ((FileChannel) os).position() - startPos;
/external/pdfium/fpdfsdk/src/
H A Dfpdfdoc.cpp208 DLLEXPORT FPDF_BOOL STDCALL FPDFLink_Enumerate(FPDF_PAGE page, int* startPos, FPDF_LINK* linkAnnot) argument
210 if(!page || !startPos || !linkAnnot)
218 for (int i = *startPos; i < (int)pAnnots->GetCount(); i++) {
223 *startPos = i + 1;
/external/pdfium/public/
H A Dfpdf_doc.h185 // startPos[in,out] - The start position to enumerate the link annotations, which should be specified to start from
191 DLLEXPORT FPDF_BOOL STDCALL FPDFLink_Enumerate(FPDF_PAGE page, int* startPos, FPDF_LINK* linkAnnot);
/external/icu/icu4c/source/samples/ugrep/
H A Dugrep.cpp374 void nextLine(int startPos) { argument
375 if (startPos == 0) {
380 lineStart = lineEnd = startPos;

Completed in 2921 milliseconds

1234