Home
last modified time | relevance | path

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

12

/external/llvm-project/lld/MachO/
DExportTrie.cpp173 TrieNode *node, size_t lastPos, size_t pos) { in sortAndBuild() argument
197 if (lastPos != pos && (isTerminal || prefixesDiverge)) { in sortAndBuild()
199 node->edges.emplace_back(pivotSymbol->getName().slice(lastPos, pos), in sortAndBuild()
202 lastPos = pos; in sortAndBuild()
205 sortAndBuild(vec.slice(0, i), node, lastPos, pos); in sortAndBuild()
206 sortAndBuild(vec.slice(j), node, lastPos, pos); in sortAndBuild()
DExportTrie.h34 size_t lastPos, size_t pos);
/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/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DDimensionHelpers.java83 int lastPos = -1; in reorderBySourcePosition() local
88 if (pos < lastPos) { in reorderBySourcePosition()
93 lastPos = pos; in reorderBySourcePosition()
/external/javassist/src/main/javassist/bytecode/analysis/
DExecutor.java39 private int lastPos; field in Executor
68 this.lastPos = pos; in execute()
654 throw new BadBytecode("Not an array! [pos = " + lastPos + "]: " + component); in evalArrayLoad()
676 throw new BadBytecode("Not an array! [pos = " + lastPos + "]: " + component); in evalArrayStore()
790 throw new BadBytecode("bad LDC [pos = " + lastPos + "]: " + tag); in evalLDC()
944 throw new BadBytecode("Could not find class [pos = " + lastPos + "]: " + name); in getType()
953 …throw new BadBytecode("Could not find class in descriptor [pos = " + lastPos + "]: " + e.getMessag… in paramTypesFromDesc()
957 …throw new BadBytecode("Could not obtain parameters for descriptor [pos = " + lastPos + "]: " + des… in paramTypesFromDesc()
971 …throw new BadBytecode("Could not find class in descriptor [pos = " + lastPos + "]: " + e.getMessag… in returnTypeFromDesc()
975 …throw new BadBytecode("Could not obtain return type for descriptor [pos = " + lastPos + "]: " + de… in returnTypeFromDesc()
[all …]
/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/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()
/external/angle/third_party/vulkan-deps/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.java726 int lastPos = 0; in containsAllCountingParens() local
728 int start = START_PAREN.findIn(value, lastPos, false); in containsAllCountingParens()
729 String outside = value.substring(lastPos, start); in containsAllCountingParens()
742 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/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/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/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/llvm-project/clang/lib/AST/
DDeclPrinter.cpp1250 std::string::size_type pos, lastPos = 0; in VisitObjCMethodDecl() local
1253 pos = name.find_first_of(':', lastPos); in VisitObjCMethodDecl()
1254 if (lastPos != 0) in VisitObjCMethodDecl()
1256 Out << name.substr(lastPos, pos - lastPos) << ':'; in VisitObjCMethodDecl()
1261 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.java473 int lastPos = -1; in TestBug12918() local
475 assertTrue("", pos > lastPos); in TestBug12918()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITest.java476 int lastPos = -1; in TestBug12918() local
478 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()

12