/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/ |
D | TestReferenceStringSearch.java | 102 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/ |
D | cfx_fileaccess_windows.cpp | 63 LARGE_INTEGER newPos = {}; in GetPosition() local 64 if (!::SetFilePointerEx(m_hFile, dist, &newPos, FILE_CURRENT)) in GetPosition() 67 return (FX_FILESIZE)newPos.QuadPart; in GetPosition() 76 LARGE_INTEGER newPos = {}; in SetPosition() local 77 if (!::SetFilePointerEx(m_hFile, dist, &newPos, FILE_BEGIN)) in SetPosition() 80 return (FX_FILESIZE)newPos.QuadPart; in SetPosition()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | FormattedValueFieldPositionIteratorImpl.java | 104 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/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | FormattedValueFieldPositionIteratorImpl.java | 106 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/lzma/CPP/7zip/Common/ |
D | LimitedStreams.cpp | 45 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/javassist/src/main/javassist/expr/ |
D | NewExpr.java | 45 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/mockito/src/main/java/org/mockito/internal/util/reflection/ |
D | SuperTypesLastSorter.java | 38 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/apache-commons-io/src/main/java/org/apache/commons/io/input/ |
D | RandomAccessFileInputStream.java | 145 final long newPos = targetPos > fileLength ? fileLength - 1 : targetPos; in skip() local 146 if (newPos > 0) { in skip() 147 seek(newPos); in skip()
|
/external/libwebsockets/lib/plat/windows/ |
D | windows-file.c | 108 LARGE_INTEGER newPos; in _lws_plat_file_seek_cur() local 109 if (!SetFilePointerEx((HANDLE)fop_fd->filesystem_priv, zero, &newPos, FILE_CURRENT)) in _lws_plat_file_seek_cur() 114 fop_fd->pos = newPos.QuadPart; in _lws_plat_file_seek_cur() 116 return newPos.QuadPart; in _lws_plat_file_seek_cur()
|
/external/skia/modules/svg/src/ |
D | SkSVGAttributeParser.cpp | 56 bool SkSVGAttributeParser::matchStringToken(const char* token, const char** newPos) const { in matchStringToken() 68 if (newPos) { in matchStringToken() 69 *newPos = c; in matchStringToken() 94 const char* newPos; in parseExpectedStringToken() local 95 if (!matchStringToken(expected, &newPos)) { in parseExpectedStringToken() 99 fCurPos = newPos; in parseExpectedStringToken() 119 bool SkSVGAttributeParser::matchHexToken(const char** newPos) const { in matchHexToken() 120 *newPos = fCurPos; in matchHexToken() 121 while (*newPos < fEndPos && is_hex(**newPos)) { ++*newPos; } in matchHexToken() 122 return *newPos != fCurPos; in matchHexToken()
|
/external/ktfmt/core/src/test/java/com/facebook/ktfmt/kdoc/ |
D | UtilitiesTest.kt | 35 val newPos = findSamePosition(old, oldCaretIndex, new) in testFindSamePosition() constant 37 val actual = new.substring(0, newPos) + "|" + new.substring(newPos) in testFindSamePosition()
|
/external/tflite-support/third_party/zlib/contrib/minizip/ |
D | iowin32.c | 246 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/rust/crates/libz-sys/src/zlib/contrib/minizip/ |
D | iowin32.c | 241 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/ |
D | iowin32.c | 246 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/include/ |
D | SkSVGAttributeParser.h | 104 bool matchStringToken(const char* token, const char** newPos = nullptr) const; 105 bool matchHexToken(const char** newPos) const;
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | ttProgram.py | 202 newPos = m.regs[0][1] 203 assert newPos >= pos 204 return newPos
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | TimeUnitFormat.java | 255 int newPos = -1; in parseObject() local 298 newPos = pos.getIndex(); in parseObject() 328 pos.setIndex(newPos); in parseObject()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | TimeUnitFormat.java | 253 int newPos = -1; in parseObject() local 296 newPos = pos.getIndex(); in parseObject() 326 pos.setIndex(newPos); in parseObject()
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | ParsingPrimitives.cs | 501 int newPos = 0; in ReadRawBytesSlow() 504 Buffer.BlockCopy(chunk, 0, bytes, newPos, chunk.Length); in ReadRawBytesSlow() 505 newPos += chunk.Length; in ReadRawBytesSlow()
|
/external/cronet/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | ParsingPrimitives.cs | 501 int newPos = 0; in ReadRawBytesSlow() 504 Buffer.BlockCopy(chunk, 0, bytes, newPos, chunk.Length); in ReadRawBytesSlow() 505 newPos += chunk.Length; in ReadRawBytesSlow()
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | ConscryptEngineTest.java | 517 int newPos = decryptedBuffer.position(); in unwrap() local 519 assertEquals(bytesProduced, newPos - prevPos); in unwrap() 527 decryptedBuffer.limit(newPos); in unwrap()
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | ConscryptEngineTest.java | 526 int newPos = decryptedBuffer.position(); in unwrap() local 528 assertEquals(bytesProduced, newPos - prevPos); in unwrap() 536 decryptedBuffer.limit(newPos); in unwrap()
|
/external/OpenCL-CTS/test_conformance/buffers/ |
D | test_sub_buffers.cpp | 356 … size_t newPos = subBuffers[ sbThatFailed ].mOrigin + subBuffers[ sbThatFailed ].mSize - 1; in test_sub_buffers_read_write_core() local 357 i = newPos & ~65535; in test_sub_buffers_read_write_core() 358 j = newPos - i; in test_sub_buffers_read_write_core()
|
/external/icu/icu4c/source/i18n/ |
D | tmutfmt.cpp | 181 int32_t newPos = -1; in parseObject() local 246 newPos = pos.getIndex(); in parseObject() 280 pos.setIndex(newPos); in parseObject()
|
/external/cronet/third_party/icu/source/i18n/ |
D | tmutfmt.cpp | 181 int32_t newPos = -1; in parseObject() local 246 newPos = pos.getIndex(); in parseObject() 280 pos.setIndex(newPos); in parseObject()
|