/external/pdfium/core/fxcrt/ |
D | cfx_memorystream.cpp | 66 FX_SAFE_SIZE_T newPos = size; in ReadBlock() local 67 newPos += offset; in ReadBlock() 68 if (!newPos.IsValid() || newPos.ValueOrDefault(0) == 0 || in ReadBlock() 69 newPos.ValueOrDie() > m_nCurSize) { in ReadBlock() 73 m_nCurPos = newPos.ValueOrDie(); in ReadBlock() 110 FX_SAFE_SIZE_T newPos = size; in WriteBlock() local 111 newPos += offset; in WriteBlock() 112 if (!newPos.IsValid()) in WriteBlock() 115 m_nCurPos = newPos.ValueOrDie(); in WriteBlock() 130 FX_SAFE_SIZE_T newPos = size; in WriteBlock() local [all …]
|
D | cfx_fileaccess_windows.cpp | 112 LARGE_INTEGER newPos = {}; in GetPosition() local 113 if (!::SetFilePointerEx(m_hFile, dist, &newPos, FILE_CURRENT)) in GetPosition() 116 return (FX_FILESIZE)newPos.QuadPart; in GetPosition() 125 LARGE_INTEGER newPos = {}; in SetPosition() local 126 if (!::SetFilePointerEx(m_hFile, dist, &newPos, FILE_BEGIN)) in SetPosition() 129 return (FX_FILESIZE)newPos.QuadPart; in SetPosition()
|
/external/cldr/tools/cldr-unittest/src/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/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/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/zlib/src/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/protobuf/csharp/src/Google.Protobuf/ |
D | CodedInputStream.cs | 1181 int newPos = originalBufferSize - originalBufferPos; in ReadRawBytes() 1182 ByteArray.Copy(buffer, originalBufferPos, bytes, 0, newPos); in ReadRawBytes() 1187 Buffer.BlockCopy(chunk, 0, bytes, newPos, chunk.Length); in ReadRawBytes() 1188 newPos += chunk.Length; in ReadRawBytes()
|
/external/pdfium/fpdfsdk/ |
D | fpdfview.cpp | 162 FX_SAFE_FILESIZE newPos = pdfium::base::checked_cast<FX_FILESIZE>(size); in ReadBlock() local 163 newPos += offset; in ReadBlock() 164 if (!newPos.IsValid() || in ReadBlock() 165 newPos.ValueOrDie() > static_cast<FX_FILESIZE>(m_FileAccess.m_FileLen)) { in ReadBlock() 617 FX_SAFE_FILESIZE newPos = pdfium::base::checked_cast<FX_FILESIZE>(size); in ReadBlock() local 618 newPos += offset; in ReadBlock() 619 if (!newPos.IsValid() || newPos.ValueOrDie() > m_size) in ReadBlock()
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | ttProgram.py | 203 newPos = m.regs[0][1] 204 assert newPos >= pos 205 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()
|
D | SimpleDateFormat.java | 2834 int newPos = originalPos; in matchLiteral() local 2835 while (newPos < tlen) { in matchLiteral() 2836 char ich = text.charAt(newPos); in matchLiteral() 2840 ++newPos; in matchLiteral() 2842 complete[0] = newPos > originalPos; in matchLiteral() 2843 pos = newPos; in matchLiteral()
|
/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()
|
D | SimpleDateFormat.java | 2847 int newPos = originalPos; in matchLiteral() local 2848 while (newPos < tlen) { in matchLiteral() 2849 char ich = text.charAt(newPos); in matchLiteral() 2853 ++newPos; in matchLiteral() 2855 complete[0] = newPos > originalPos; in matchLiteral() 2856 pos = newPos; in matchLiteral()
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | ConscryptEngineTest.java | 474 int newPos = decryptedBuffer.position(); in unwrap() local 476 assertEquals(bytesProduced, newPos - prevPos); in unwrap() 484 decryptedBuffer.limit(newPos); in unwrap()
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | ConscryptEngineTest.java | 481 int newPos = decryptedBuffer.position(); in unwrap() local 483 assertEquals(bytesProduced, newPos - prevPos); in unwrap() 491 decryptedBuffer.limit(newPos); in unwrap()
|
/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/skia/platform_tools/android/apps/arcore/src/main/cpp/ |
D | hello_ar_application.cc | 725 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()
|
/external/skqp/platform_tools/android/apps/arcore/src/main/cpp/ |
D | hello_ar_application.cc | 725 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()
|