Home
last modified time | relevance | path

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

12

/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestReferenceStringSearch.java102 int[] newPos = new int[count * 2]; in checkAgainstStringSearch() local
106 int newCount = checkNew("lazy", bigText, newPos, newTimer, icuTimer); in checkAgainstStringSearch()
110 int diff = findDifference(icuPos, newPos, oldCount, newCount); in checkAgainstStringSearch()
113 + icuPos[diff] + ", " + newPos[diff]); in checkAgainstStringSearch()
130 private static int checkNew(String key, String bigText, int[] newPos, in checkNew() argument
141 newPos[count++] = range.start; in checkNew()
142 newPos[count++] = range.limit; in checkNew()
147 newPos[count++] = range.start; in checkNew()
148 newPos[count++] = range.limit; in checkNew()
161 private static int checkDirect(String key, String bigText, int[] newPos, in checkDirect() argument
[all …]
/external/pdfium/core/fxcrt/
Dcfx_memorystream.cpp45 FX_SAFE_SIZE_T newPos = size; in ReadBlockAtOffset() local
46 newPos += offset; in ReadBlockAtOffset()
47 if (!newPos.IsValid() || newPos.ValueOrDefault(0) == 0 || in ReadBlockAtOffset()
48 newPos.ValueOrDie() > m_nCurSize) { in ReadBlockAtOffset()
52 m_nCurPos = newPos.ValueOrDie(); in ReadBlockAtOffset()
Dcfx_fileaccess_windows.cpp97 LARGE_INTEGER newPos = {}; in GetPosition() local
98 if (!::SetFilePointerEx(m_hFile, dist, &newPos, FILE_CURRENT)) in GetPosition()
101 return (FX_FILESIZE)newPos.QuadPart; in GetPosition()
110 LARGE_INTEGER newPos = {}; in SetPosition() local
111 if (!::SetFilePointerEx(m_hFile, dist, &newPos, FILE_BEGIN)) in SetPosition()
114 return (FX_FILESIZE)newPos.QuadPart; in SetPosition()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DFormattedValueFieldPositionIteratorImpl.java106 FieldPosition newPos = new FieldPosition(new FieldWithValue(spanField, firstIndex)); in addOverlapSpans() local
107 newPos.setBeginIndex(s1a); in addOverlapSpans()
108 newPos.setEndIndex(s1b); in addOverlapSpans()
109 attributes.add(newPos); in addOverlapSpans()
110 newPos = new FieldPosition(new FieldWithValue(spanField, 1 - firstIndex)); in addOverlapSpans()
111 newPos.setBeginIndex(s2a); in addOverlapSpans()
112 newPos.setEndIndex(s2b); in addOverlapSpans()
113 attributes.add(newPos); in addOverlapSpans()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DFormattedValueFieldPositionIteratorImpl.java104 FieldPosition newPos = new FieldPosition(new FieldWithValue(spanField, firstIndex)); in addOverlapSpans() local
105 newPos.setBeginIndex(s1a); in addOverlapSpans()
106 newPos.setEndIndex(s1b); in addOverlapSpans()
107 attributes.add(newPos); in addOverlapSpans()
108 newPos = new FieldPosition(new FieldWithValue(spanField, 1 - firstIndex)); in addOverlapSpans()
109 newPos.setBeginIndex(s2a); in addOverlapSpans()
110 newPos.setEndIndex(s2b); in addOverlapSpans()
111 attributes.add(newPos); in addOverlapSpans()
/external/lzma/CPP/7zip/Common/
DLimitedStreams.cpp45 UInt64 newPos = _startOffset + _virtPos; in Read() local
46 if (newPos != _physPos) in Read()
48 _physPos = newPos; in Read()
109 UInt64 newPos = StartOffset + ((UInt64)phyBlock << BlockSizeLog) + offsetInBlock; in Read() local
110 if (newPos != _physPos) in Read()
112 _physPos = newPos; in Read()
291 UInt64 newPos = _startOffset + _virtPos; in Read() local
292 UInt64 offsetInCache = newPos - _cachePhyPos; in Read()
294 if (newPos >= _cachePhyPos && in Read()
303 if (newPos != _physPos) in Read()
[all …]
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DSuperTypesLastSorter.java38 int newPos = i; in sortSuperTypesLast() local
43 newPos = j; in sortSuperTypesLast()
47 if (newPos == i) { in sortSuperTypesLast()
51 fields.add(newPos, f); in sortSuperTypesLast()
/external/javassist/src/main/javassist/expr/
DNewExpr.java45 int newPos; field in NewExpr
54 newPos = np; in NewExpr()
162 int op = iterator.byteAt(newPos + 3); in canReplace()
164 return ((iterator.byteAt(newPos + 4) == Opcode.DUP2_X2 in canReplace()
165 && iterator.byteAt(newPos + 5) == Opcode.POP2)) ? 6 : 4; in canReplace()
167 && iterator.byteAt(newPos + 4) == Opcode.SWAP) in canReplace()
188 int pos = newPos; in replace()
/external/rust/crates/libz-sys/src/zlib/contrib/minizip/
Diowin32.c241 static BOOL MySetFilePointerEx(HANDLE hFile, LARGE_INTEGER pos, LARGE_INTEGER *newPos, DWORD dwMov… in MySetFilePointerEx() argument
244 return SetFilePointerEx(hFile, pos, newPos, dwMoveMethod); in MySetFilePointerEx()
252 if ((newPos != NULL) && (fOk)) in MySetFilePointerEx()
254 newPos->LowPart = dwNewPos; in MySetFilePointerEx()
255 newPos->HighPart = lHigh; in MySetFilePointerEx()
/external/zlib/contrib/minizip/
Diowin32.c246 static BOOL MySetFilePointerEx(HANDLE hFile, LARGE_INTEGER pos, LARGE_INTEGER *newPos, DWORD dwMov… in MySetFilePointerEx() argument
249 return SetFilePointerEx(hFile, pos, newPos, dwMoveMethod); in MySetFilePointerEx()
257 if ((newPos != NULL) && (fOk)) in MySetFilePointerEx()
259 newPos->LowPart = dwNewPos; in MySetFilePointerEx()
260 newPos->HighPart = lHigh; in MySetFilePointerEx()
/external/skia/modules/svg/src/
DSkSVGAttributeParser.cpp48 bool SkSVGAttributeParser::matchStringToken(const char* token, const char** newPos) const { in matchStringToken()
60 if (newPos) { in matchStringToken()
61 *newPos = c; in matchStringToken()
86 const char* newPos; in parseExpectedStringToken() local
87 if (!matchStringToken(expected, &newPos)) { in parseExpectedStringToken()
91 fCurPos = newPos; in parseExpectedStringToken()
/external/protobuf/csharp/src/Google.Protobuf/
DCodedInputStream.cs1211 int newPos = originalBufferSize - originalBufferPos; in ReadRawBytes()
1212 ByteArray.Copy(buffer, originalBufferPos, bytes, 0, newPos); in ReadRawBytes()
1217 Buffer.BlockCopy(chunk, 0, bytes, newPos, chunk.Length); in ReadRawBytes()
1218 newPos += chunk.Length; in ReadRawBytes()
/external/fonttools/Lib/fontTools/ttLib/tables/
DttProgram.py203 newPos = m.regs[0][1]
204 assert newPos >= pos
205 return newPos
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeUnitFormat.java255 int newPos = -1; in parseObject() local
298 newPos = pos.getIndex(); in parseObject()
328 pos.setIndex(newPos); in parseObject()
DSimpleDateFormat.java2871 int newPos = originalPos; in matchLiteral() local
2872 while (newPos < tlen) { in matchLiteral()
2873 char ich = text.charAt(newPos); in matchLiteral()
2877 ++newPos; in matchLiteral()
2879 complete[0] = newPos > originalPos; in matchLiteral()
2880 pos = newPos; in matchLiteral()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java253 int newPos = -1; in parseObject() local
296 newPos = pos.getIndex(); in parseObject()
326 pos.setIndex(newPos); in parseObject()
DSimpleDateFormat.java2886 int newPos = originalPos; in matchLiteral() local
2887 while (newPos < tlen) { in matchLiteral()
2888 char ich = text.charAt(newPos); in matchLiteral()
2892 ++newPos; in matchLiteral()
2894 complete[0] = newPos > originalPos; in matchLiteral()
2895 pos = newPos; in matchLiteral()
/external/skia/modules/svg/include/
DSkSVGAttributeParser.h84 bool matchStringToken(const char* token, const char** newPos = nullptr) const;
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DConscryptEngineTest.java526 int newPos = decryptedBuffer.position(); in unwrap() local
528 assertEquals(bytesProduced, newPos - prevPos); in unwrap()
536 decryptedBuffer.limit(newPos); in unwrap()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DConscryptEngineTest.java517 int newPos = decryptedBuffer.position(); in unwrap() local
519 assertEquals(bytesProduced, newPos - prevPos); in unwrap()
527 decryptedBuffer.limit(newPos); in unwrap()
/external/OpenCL-CTS/test_conformance/buffers/
Dtest_sub_buffers.cpp355 … size_t newPos = subBuffers[ sbThatFailed ].mOrigin + subBuffers[ sbThatFailed ].mSize - 1; in test_sub_buffers_read_write_core() local
356 i = newPos & ~65535; in test_sub_buffers_read_write_core()
357 j = newPos - i; in test_sub_buffers_read_write_core()
/external/cldr/tools/java/libs/
Dmyanmar-tools-1.1.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/icu/icu4c/source/i18n/
Dtmutfmt.cpp181 int32_t newPos = -1; in parseObject() local
246 newPos = pos.getIndex(); in parseObject()
280 pos.setIndex(newPos); in parseObject()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DFusionOnTensors.cpp516 for (unsigned newPos : in fuseWithReshapeByExpansion() local
518 newExprs.push_back(rewriter.getAffineDimExpr(newPos)); in fuseWithReshapeByExpansion()
/external/skqp/platform_tools/android/apps/arcore/src/main/cpp/
Dhello_ar_application.cc725 glm::vec4 newPos(out_hit_raw[4], out_hit_raw[5], out_hit_raw[6], 1); in OnTouchTranslate() local
727 glm::vec3 movement = glm::vec3(newPos - oldPos); in OnTouchTranslate()

12