Home
last modified time | relevance | path

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

123456

/external/flatbuffers/lua/flatbuffers/
Dbinaryarray.lua31 function mt:Slice(startPos, endPos)
32 startPos = startPos or 0
46 while startPos < endPos do
47 local v = d[startPos] or '/0'
49 startPos = startPos + #v
58 return self.str:sub(startPos+1, endPos)
88 function mt:Pad(n, startPos)
99 self.data[startPos] = s
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUTF16Test.java1037 for (int startPos = 0; startPos != -1 && startPos < test1.length();) in TestIndexOf()
1039 startPos = UTF16.indexOf(test1, test2, startPos); in TestIndexOf()
1040 if (startPos >= 0) { in TestIndexOf()
1042 startPos += 4; in TestIndexOf()
1051 for (int startPos = 10; startPos != -1 && startPos < test1.length();) in TestIndexOf()
1053 startPos = UTF16.indexOf(test1, test2, startPos); in TestIndexOf()
1054 if (startPos >= 0) { in TestIndexOf()
1056 startPos += 4; in TestIndexOf()
1065 for (int startPos = 0; in TestIndexOf()
1066 startPos != -1 && startPos < test3.length();) { in TestIndexOf()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUTF16Test.java1040 for (int startPos = 0; startPos != -1 && startPos < test1.length();) in TestIndexOf()
1042 startPos = UTF16.indexOf(test1, test2, startPos); in TestIndexOf()
1043 if (startPos >= 0) { in TestIndexOf()
1045 startPos += 4; in TestIndexOf()
1054 for (int startPos = 10; startPos != -1 && startPos < test1.length();) in TestIndexOf()
1056 startPos = UTF16.indexOf(test1, test2, startPos); in TestIndexOf()
1057 if (startPos >= 0) { in TestIndexOf()
1059 startPos += 4; in TestIndexOf()
1068 for (int startPos = 0; in TestIndexOf()
1069 startPos != -1 && startPos < test3.length();) { in TestIndexOf()
[all …]
/external/pdfium/core/fpdftext/
Dcpdf_textpagefind.cpp39 size_t startPos, in IsMatchWholeWord() argument
41 if (startPos > endPos) in IsMatchWholeWord()
45 size_t char_count = endPos - startPos + 1; in IsMatchWholeWord()
48 if (char_count == 1 && csPageText[startPos] > 255) in IsMatchWholeWord()
50 if (startPos >= 1) in IsMatchWholeWord()
51 char_left = csPageText[startPos - 1]; in IsMatchWholeWord()
52 if (startPos + char_count < csPageText.GetLength()) in IsMatchWholeWord()
53 char_right = csPageText[startPos + char_count]; in IsMatchWholeWord()
72 FXSYS_IsDecimalDigit(csPageText[startPos])) { in IsMatchWholeWord()
177 Optional<size_t> startPos) { in Create() argument
[all …]
Dcpdf_textpagefind.h33 Optional<size_t> startPos);
46 Optional<size_t> startPos);
/external/icu/icu4c/source/test/intltest/
Dustrtest.cpp720 int32_t startPos = 0; in TestSearching() local
722 startPos != -1 && startPos < test1.length(); in TestSearching()
723 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching()
728 for ( occurrences = 0, startPos = 10; in TestSearching()
729 startPos != -1 && startPos < test1.length(); in TestSearching()
730 (startPos = test1.indexOf(test2, startPos)) != -1 ? (++occurrences, startPos += 4) : 0) in TestSearching()
737 for ( occurrences = 0, startPos = 5; in TestSearching()
738 startPos != -1 && startPos < test1.length(); in TestSearching()
739 …(startPos = test1.indexOf(test2, startPos, endPos - startPos)) != -1 ? (++occurrences, startPos +=… in TestSearching()
746 for ( startPos=0, occurrences=0; in TestSearching()
[all …]
/external/llvm-project/mlir/tools/mlir-tblgen/
DLLVMIRConversionGen.cpp53 size_t startPos = str.find('$'); in findNextVariable() local
54 if (startPos == std::string::npos) in findNextVariable()
55 return {startPos, 0}; in findNextVariable()
58 if (startPos != str.size() - 1 && str[startPos + 1] == '$') in findNextVariable()
59 return {startPos, 2}; in findNextVariable()
64 startPos + 1); in findNextVariable()
68 return {startPos, endPos - startPos}; in findNextVariable()
/external/pdfium/fxbarcode/datamatrix/
DBC_EdifactEncoder.cpp35 WideString EncodeToEdifactCodewords(const WideString& sb, int32_t startPos) { in EncodeToEdifactCodewords() argument
36 int32_t len = sb.GetLength() - startPos; in EncodeToEdifactCodewords()
40 wchar_t c1 = sb[startPos]; in EncodeToEdifactCodewords()
41 wchar_t c2 = len >= 2 ? sb[startPos + 1] : 0; in EncodeToEdifactCodewords()
42 wchar_t c3 = len >= 3 ? sb[startPos + 2] : 0; in EncodeToEdifactCodewords()
43 wchar_t c4 = len >= 4 ? sb[startPos + 3] : 0; in EncodeToEdifactCodewords()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCjkBreakEngine.java84 public int divideUpDictionaryRange(CharacterIterator inText, int startPos, int endPos, in divideUpDictionaryRange() argument
86 if (startPos >= endPos) { in divideUpDictionaryRange()
90 inText.setIndex(startPos); in divideUpDictionaryRange()
92 int inputLength = endPos - startPos; in divideUpDictionaryRange()
95 inText.setIndex(startPos); in divideUpDictionaryRange()
223 if (foundBreaks.size() == 0 || foundBreaks.peek() < startPos) { in divideUpDictionaryRange()
229 int pos = charPositions[t_boundary[i]] + startPos; in divideUpDictionaryRange()
230 if (!(foundBreaks.contains(pos) || pos == startPos)) { in divideUpDictionaryRange()
231 foundBreaks.push(charPositions[t_boundary[i]] + startPos); in divideUpDictionaryRange()
DRuleBasedBreakIterator.java456 public int following(int startPos) { in following() argument
459 if (startPos < fText.getBeginIndex()) { in following()
465 startPos = CISetIndex32(fText, startPos); in following()
466 fBreakCache.following(startPos); in following()
1148 void populateDictionary(int startPos, int endPos, in populateDictionary() argument
1150 if ((endPos - startPos) <= 1) { in populateDictionary()
1158 int rangeStart = startPos; in populateDictionary()
1205 if (startPos < fBreaks.elementAt(0)) { in populateDictionary()
1210 fBreaks.offer(startPos); in populateDictionary()
1333 void following(int startPos) { in following() argument
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCjkBreakEngine.java85 public int divideUpDictionaryRange(CharacterIterator inText, int startPos, int endPos, in divideUpDictionaryRange() argument
87 if (startPos >= endPos) { in divideUpDictionaryRange()
91 inText.setIndex(startPos); in divideUpDictionaryRange()
93 int inputLength = endPos - startPos; in divideUpDictionaryRange()
96 inText.setIndex(startPos); in divideUpDictionaryRange()
224 if (foundBreaks.size() == 0 || foundBreaks.peek() < startPos) { in divideUpDictionaryRange()
230 int pos = charPositions[t_boundary[i]] + startPos; in divideUpDictionaryRange()
231 if (!(foundBreaks.contains(pos) || pos == startPos)) { in divideUpDictionaryRange()
232 foundBreaks.push(charPositions[t_boundary[i]] + startPos); in divideUpDictionaryRange()
DRuleBasedBreakIterator.java444 public int following(int startPos) { in following() argument
447 if (startPos < fText.getBeginIndex()) { in following()
453 startPos = CISetIndex32(fText, startPos); in following()
454 fBreakCache.following(startPos); in following()
1127 void populateDictionary(int startPos, int endPos, in populateDictionary() argument
1129 if ((endPos - startPos) <= 1) { in populateDictionary()
1137 int rangeStart = startPos; in populateDictionary()
1184 if (startPos < fBreaks.elementAt(0)) { in populateDictionary()
1189 fBreaks.offer(startPos); in populateDictionary()
1312 void following(int startPos) { in following() argument
[all …]
/external/icu/icu4c/source/common/
Drbbi_cache.cpp120 void RuleBasedBreakIterator::DictionaryCache::populateDictionary(int32_t startPos, int32_t endPos, in populateDictionary() argument
122 if ((endPos - startPos) <= 1) { in populateDictionary()
130 int32_t rangeStart = startPos; in populateDictionary()
181 if (startPos < fBreaks.elementAti(0)) { in populateDictionary()
186 fBreaks.insertElementAt(startPos, 0, status); in populateDictionary()
235 void RuleBasedBreakIterator::BreakCache::following(int32_t startPos, UErrorCode &status) { in following() argument
239 if (startPos == fTextIdx || seek(startPos) || populateNear(startPos, status)) { in following()
252 void RuleBasedBreakIterator::BreakCache::preceding(int32_t startPos, UErrorCode &status) { in preceding() argument
256 if (startPos == fTextIdx || seek(startPos) || populateNear(startPos, status)) { in preceding()
257 if (startPos == fTextIdx) { in preceding()
[all …]
/external/javassist/src/main/javassist/bytecode/
DClassFileWriter.java319 private int startPos; field in ClassFileWriter.MethodWriter
387 startPos = output.getPos(); in begin()
449 output.writeShort(startPos + 6, maxStack); in codeEnd()
450 output.writeShort(startPos + 8, maxLocals); in codeEnd()
451 output.writeInt(startPos + 10, output.getPos() - startPos - 14); // code_length in codeEnd()
502 output.writeInt(startPos + 2, output.getPos() - startPos - 6); in end()
511 public int size() { return output.getPos() - startPos - 14; } in size()
530 protected int startPos; field in ClassFileWriter.ConstPoolWriter
535 startPos = out.getPos(); in ConstPoolWriter()
787 output.writeShort(startPos, num); in end()
/external/icu/icu4c/source/i18n/
Drematch.cpp644 int64_t startPos = fMatchEnd; in find() local
645 if (startPos==0) { in find()
646 startPos = fActiveStart; in find()
656 if (startPos >= fActiveLimit) { in find()
661 UTEXT_SETNATIVEINDEX(fInputText, startPos); in find()
663 startPos = UTEXT_GETNATIVEINDEX(fInputText); in find()
683 if (startPos > testStartLimit) { in find()
695 U_ASSERT(startPos >= 0); in find()
702 MatchAt(startPos, FALSE, status); in find()
709 if (startPos >= testStartLimit) { in find()
[all …]
/external/tpm2-tss/src/tss2-fapi/
Difapi_config.c217 size_t startPos = 0; in ifapi_config_initialize_finish() local
219 startPos = 1; in ifapi_config_initialize_finish()
221 startPos = 5; in ifapi_config_initialize_finish()
226 if (startPos != 0) { in ifapi_config_initialize_finish()
233 &config->user_dir[startPos]); in ifapi_config_initialize_finish()
/external/deqp/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryBuiltinTests.cpp1946 tcu::UVec2 startPos = tcu::UVec2(0, 0); in initAccelerationStructures() local
1967 const deUint32 n = width * startPos.y() + startPos.x(); in initAccelerationStructures()
1969 const float x0 = float(startPos.x() + 0) / float(width); in initAccelerationStructures()
1970 const float y0 = float(startPos.y() + 0) / float(height); in initAccelerationStructures()
1971 const float x1 = float(startPos.x() + 1) / float(width); in initAccelerationStructures()
1972 const float y1 = float(startPos.y() + 1) / float(height); in initAccelerationStructures()
1989 startPos.y() = m / width; in initAccelerationStructures()
1990 startPos.x() = m % width; in initAccelerationStructures()
2103 tcu::UVec2 startPos = tcu::UVec2(0, 0); in initAccelerationStructures() local
2126 const deUint32 n = width * startPos.y() + startPos.x(); in initAccelerationStructures()
[all …]
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/qps/
DAbstractConfigurationBuilder.java212 private static String wordWrap(String text, int startPos, int maxPos) { in wordWrap() argument
214 int pos = startPos; in wordWrap()
218 int lineStart = startPos; in wordWrap()
238 lineStart = isBulleted ? startPos + 2 : startPos; in wordWrap()
/external/lzma/CPP/7zip/Compress/
DPpmdDecoder.cpp110 const UInt64 startPos = _processedSize; in Code() local
112 size_t processed = (size_t)(_processedSize - startPos); in Code()
161 const UInt64 startPos = _processedSize; in Read() local
164 *processedSize = (UInt32)(_processedSize - startPos); in Read()
/external/cldr/tools/java/org/unicode/cldr/util/
DTabber.java121 int startPos = getStop(count - 1); in process_field() local
129 startPos = endPos - pieceLength; in process_field()
132 startPos = (startPos + endPos - pieceLength + 1) / 2; in process_field()
136 int gap = startPos - getMonospaceWidth(output); in process_field()
DRegexLogger.java622 int startPos = (st.length > 2) ? 2 : 0; in findClassName() local
623 int endPos = (startPos + depth > st.length) ? st.length : startPos + depth; in findClassName()
624 for (int i = startPos; i < endPos; i++) { in findClassName()
649 int startPos; in processStackTrace() local
651 startPos = depth + st.length; in processStackTrace()
654 startPos = (st.length > 2) ? 2 : 0; in processStackTrace()
658 for (pos = startPos; pos < st.length; pos++) { in processStackTrace()
667 int endPos = (pos + depth > st.length) ? st.length : startPos + depth; in processStackTrace()
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingBuiltinTests.cpp220 tcu::UVec2& startPos);
1262 tcu::UVec2& startPos) in initBottomAccelerationStructure() argument
1294 const deUint32 n = m_data.width * startPos.y() + startPos.x(); in initBottomAccelerationStructure()
1295 const float x0 = float(startPos.x() + 0) / float(m_data.width); in initBottomAccelerationStructure()
1296 const float y0 = float(startPos.y() + 0) / float(m_data.height); in initBottomAccelerationStructure()
1297 const float x1 = float(startPos.x() + 1) / float(m_data.width); in initBottomAccelerationStructure()
1298 const float y1 = float(startPos.y() + 1) / float(m_data.height); in initBottomAccelerationStructure()
1316 startPos.y() = m / m_data.width; in initBottomAccelerationStructure()
1317 startPos.x() = m % m_data.width; in initBottomAccelerationStructure()
1345 const deUint32 n = m_data.width * startPos.y() + startPos.x(); in initBottomAccelerationStructure()
[all …]
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DExtendableMessageNano.java140 int startPos = input.getPosition(); in storeUnknownField() local
146 byte[] bytes = input.getData(startPos, endPos - startPos); in storeUnknownField()
DWireFormatNano.java114 int startPos = input.getPosition(); in getRepeatedFieldArrayLength() local
120 input.rewindToPosition(startPos); in getRepeatedFieldArrayLength()
/external/xz-java/src/org/tukaani/xz/simple/
DARM.java17 public ARM(boolean isEncoder, int startPos) { in ARM() argument
19 pos = startPos + 8; in ARM()

123456