Home
last modified time | relevance | path

Searched refs:lastPos (Results 1 – 25 of 25) sorted by relevance

/external/webrtc/webrtc/system_wrappers/source/spreadsortlib/
Dspreadsort.hpp193 RandomAccessIter lastPos = first; in spread_sort_rec() local
194 for(unsigned u = cache_offset; u < cache_end; lastPos = bin_cache[u], ++u) { in spread_sort_rec()
195 size_t count = bin_cache[u] - lastPos; in spread_sort_rec()
201 std::sort(lastPos, bin_cache[u]); in spread_sort_rec()
203 …spread_sort_rec<RandomAccessIter, div_type, data_type>(lastPos, bin_cache[u], bin_cache, cache_end… in spread_sort_rec()
280 RandomAccessIter lastPos = first; in spread_sort_rec() local
281 for(unsigned u = cache_offset; u < cache_end; lastPos = bin_cache[u], ++u) { in spread_sort_rec()
282 size_t count = bin_cache[u] - lastPos; in spread_sort_rec()
286 std::sort(lastPos, bin_cache[u], comp); in spread_sort_rec()
288 …spread_sort_rec<RandomAccessIter, div_type, data_type, right_shift, compare>(lastPos, bin_cache[u]… in spread_sort_rec()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DTabber.java38 int lastPos = 0; in process() local
39 for (int count = 0; lastPos < source.length(); ++count) { in process()
40 int pos = source.indexOf('\t', lastPos); in process()
42 process_field(count, source, lastPos, pos, result); in process()
43 lastPos = pos + 1; in process()
/external/tinyxml/
Dtinyxml.cpp1029 const char* lastPos = buf; in LoadFile() local
1038 data.append( lastPos, p-lastPos+1 ); // append, include the newline in LoadFile()
1040 lastPos = p; // and point to the new buffer (may be 0) in LoadFile()
1046 if ( (p-lastPos) > 0 ) { in LoadFile()
1047 data.append( lastPos, p-lastPos ); // do not add the CR in LoadFile()
1054 lastPos = p; in LoadFile()
1060 lastPos = p; in LoadFile()
1069 if ( p-lastPos ) { in LoadFile()
1070 data.append( lastPos, p-lastPos ); in LoadFile()
/external/cldr/tools/java/org/unicode/cldr/draft/
DExemplarInfo.java265 int lastPos = 0; in flatten() local
275 if (i > lastPos) { in flatten()
276 result.add(s.substring(lastPos, i)); in flatten()
278 lastPos = i; in flatten()
281 result.add(s.substring(lastPos, s.length())); in flatten()
/external/llvm/tools/bugpoint/
DToolRunner.cpp397 std::string::size_type lastPos = CommandLine.find_first_not_of(delimiters, 0); in lexCommand() local
398 std::string::size_type pos = CommandLine.find_first_of(delimiters, lastPos); in lexCommand()
400 while (std::string::npos != pos || std::string::npos != lastPos) { in lexCommand()
401 std::string token = CommandLine.substr(lastPos, pos - lastPos); in lexCommand()
407 lastPos = CommandLine.find_first_not_of(delimiters, pos); in lexCommand()
409 pos = CommandLine.find_first_of(delimiters, lastPos); in lexCommand()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationRegressionTest.java1007 int lastPos = 0; in Test4179216() local
1013 nextElements[count++] = testText.substring(lastPos, iter.getOffset()); in Test4179216()
1014 lastPos = iter.getOffset(); in Test4179216()
1020 lastPos = iter.getOffset(); in Test4179216()
1022 setOffsetElements[count++] = testText.substring(lastPos, iter.getOffset()); in Test4179216()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationRegressionTest.java1004 int lastPos = 0; in Test4179216() local
1010 nextElements[count++] = testText.substring(lastPos, iter.getOffset()); in Test4179216()
1011 lastPos = iter.getOffset(); in Test4179216()
1017 lastPos = iter.getOffset(); in Test4179216()
1019 setOffsetElements[count++] = testText.substring(lastPos, iter.getOffset()); in Test4179216()
/external/cldr/tools/java/org/unicode/cldr/icu/
DSupplementalMapper.java469 int lastPos = 0; in countHyphens() local
471 while ((lastPos = str.indexOf('-', lastPos + 1)) > -1) { in countHyphens()
/external/icu/icu4c/source/test/intltest/
Dregcoll.cpp1146 int32_t lastPos = 0; in Test4179216() local
1152 nextElements[count++] = testText.tempSubStringBetween(lastPos, iter->getOffset()); in Test4179216()
1153 lastPos = iter->getOffset(); in Test4179216()
1160 lastPos = iter->getOffset(); in Test4179216()
1162 setOffsetElements[count++] = testText.tempSubStringBetween(lastPos, iter->getOffset()); in Test4179216()
Drbbitst.cpp4439 int32_t lastPos = -1; in TestBug12918() local
4441 if (pos <= lastPos) { in TestBug12918()
4442 errln("%s:%d (pos, lastPos) = (%d, %d)", __FILE__, __LINE__, pos, lastPos); in TestBug12918()
/external/angle/third_party/spirv-tools/src/utils/vscode/src/parser/
Dparser.go357 lastPos := Position{}
360 if l.pos == lastPos {
363 lastPos = l.pos
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/parser/
Dparser.go357 lastPos := Position{}
360 if l.pos == lastPos {
363 lastPos = l.pos
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/parser/
Dparser.go357 lastPos := Position{}
360 if l.pos == lastPos {
363 lastPos = l.pos
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckForExemplars.java719 int lastPos = 0; in containsAllCountingParens() local
721 int start = START_PAREN.findIn(value, lastPos, false); in containsAllCountingParens()
722 String outside = value.substring(lastPos, start); in containsAllCountingParens()
735 lastPos = end + 1; in containsAllCountingParens()
/external/icu/icu4c/source/common/
Dushape.cpp1203 int32_t lastPos,Nx, Nw; in shapeUnicode() local
1244 lastPos = i; in shapeUnicode()
1270 … dest[lastPos] =wLamalef; /* it by LAMALEF_SPACE_SUB which is the last character in the */ in shapeUnicode()
1271 … i=lastPos; /* unicode private use area, this is done to make */ in shapeUnicode()
1340 lastPos = i; in shapeUnicode()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DArabicShaping.java1690 int lastPos = i; in shapeUnicode() local
1719 dest[lastPos] = wLamalef; in shapeUnicode()
1720 i = lastPos; in shapeUnicode()
1792 lastPos = i; in shapeUnicode()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DArabicShaping.java1648 int lastPos = i; in shapeUnicode() local
1677 dest[lastPos] = wLamalef; in shapeUnicode()
1678 i = lastPos; in shapeUnicode()
1750 lastPos = i; in shapeUnicode()
/external/clang/lib/AST/
DDeclPrinter.cpp1066 std::string::size_type pos, lastPos = 0; in VisitObjCMethodDecl() local
1069 pos = name.find_first_of(':', lastPos); in VisitObjCMethodDecl()
1070 Out << " " << name.substr(lastPos, pos - lastPos) << ':'; in VisitObjCMethodDecl()
1075 lastPos = pos + 1; in VisitObjCMethodDecl()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedInputStream.java2183 private int lastPos = pos; field in CodedInputStream.StreamDecoder.SkippedDataSink
2191 byteArrayStream.write(buffer, lastPos, pos - lastPos); in onRefill()
2192 lastPos = 0; in onRefill()
2198 return ByteBuffer.wrap(buffer, lastPos, pos - lastPos); in getSkippedData()
2200 byteArrayStream.write(buffer, lastPos, pos); in getSkippedData()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITest.java471 int lastPos = -1; in TestBug12918() local
473 assertTrue("", pos > lastPos); in TestBug12918()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITest.java474 int lastPos = -1; in TestBug12918() local
476 assertTrue("", pos > lastPos); in TestBug12918()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DDemo.java537 int lastPos = 0; in printBreaks() local
541 result += testSource.substring(lastPos, pos) + "&"; in printBreaks()
542 lastPos = pos; in printBreaks()
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DBlockRealMatrix.java645 int lastPos = 0; in getData() local
654 System.arraycopy(blocks[blockIndex], lastPos, dataP, dataPos, lastColumns); in getData()
656 lastPos += lastColumns; in getData()
DBlockFieldMatrix.java658 int lastPos = 0; in getData() local
667 System.arraycopy(blocks[blockIndex], lastPos, dataP, dataPos, lastColumns); in getData()
669 lastPos += lastColumns; in getData()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc5828 int lastPos = -1; in get_X509Type_ext_oids() local
5830 while ((lastPos = get_ext_by_critical_func(x509, critical, lastPos)) != -1) { in get_X509Type_ext_oids()
5843 lastPos = -1; in get_X509Type_ext_oids()
5845 while ((lastPos = get_ext_by_critical_func(x509, critical, lastPos)) != -1) { in get_X509Type_ext_oids()
5846 X509_EXTENSION* ext = get_ext_func(x509, lastPos); in get_X509Type_ext_oids()