Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcrt/
Dextension.h146 FX_SAFE_SIZE_T newPos = size; in ReadBlock() local
147 newPos += offset; in ReadBlock()
148 if (!newPos.IsValid() || newPos.ValueOrDefault(0) == 0 || in ReadBlock()
149 newPos.ValueOrDie() > m_nCurSize) { in ReadBlock()
153 m_nCurPos = newPos.ValueOrDie(); in ReadBlock()
190 FX_SAFE_SIZE_T newPos = size; in WriteBlock() local
191 newPos += offset; in WriteBlock()
192 if (!newPos.IsValid()) in WriteBlock()
195 m_nCurPos = newPos.ValueOrDie(); in WriteBlock()
217 FX_SAFE_SIZE_T newPos = size; in WriteBlock() local
[all …]
Dfxcrt_windows.cpp96 LARGE_INTEGER newPos = {}; in GetPosition() local
97 if (!::SetFilePointerEx(m_hFile, dist, &newPos, FILE_CURRENT)) { in GetPosition()
100 return (FX_FILESIZE)newPos.QuadPart; in GetPosition()
108 LARGE_INTEGER newPos = {}; in SetPosition() local
109 if (!::SetFilePointerEx(m_hFile, dist, &newPos, FILE_BEGIN)) { in SetPosition()
112 return (FX_FILESIZE)newPos.QuadPart; in SetPosition()
/external/lzma/CPP/7zip/Common/
DLimitedStreams.cpp38 UInt64 newPos = _startOffset + _virtPos; in Read() local
39 if (newPos != _physPos) in Read()
41 _physPos = newPos; in Read()
94 UInt64 newPos = StartOffset + ((UInt64)phyBlock << BlockSizeLog) + offsetInBlock; in Read() local
95 if (newPos != _physPos) in Read()
97 _physPos = newPos; in Read()
276 UInt64 newPos = _startOffset + _virtPos; in Read() local
277 UInt64 offsetInCache = newPos - _cachePhyPos; in Read()
279 if (newPos >= _cachePhyPos && in Read()
285 if (newPos != _physPos) in Read()
[all …]
/external/javassist/src/main/javassist/expr/
DNewExpr.java28 int newPos; field in NewExpr
37 newPos = np; in NewExpr()
141 int op = iterator.byteAt(newPos + 3); in canReplace()
145 && iterator.byteAt(newPos + 4) == Opcode.SWAP) in canReplace()
165 int pos = newPos; in replace()
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/
DSkinning.glsllib15 vec4 newPos = vec4(0.0);
20 newPos += weight.x * (skinMat * position);
26 position = newPos;
/external/zlib/src/contrib/minizip/
Diowin32.c240 static BOOL MySetFilePointerEx(HANDLE hFile, LARGE_INTEGER pos, LARGE_INTEGER *newPos, DWORD dwMov… in MySetFilePointerEx() argument
243 return SetFilePointerEx(hFile, pos, newPos, dwMoveMethod); in MySetFilePointerEx()
251 if ((newPos != NULL) && (fOk)) in MySetFilePointerEx()
253 newPos->LowPart = dwNewPos; in MySetFilePointerEx()
254 newPos->HighPart = lHigh; in MySetFilePointerEx()
/external/fonttools/Lib/fontTools/ttLib/tables/
DttProgram.py198 newPos = m.regs[0][1]
199 assert newPos >= pos
200 return newPos
/external/pdfium/fpdfsdk/src/
Dfpdfview.cpp190 FX_SAFE_FILESIZE newPos = in ReadBlock() local
192 newPos += offset; in ReadBlock()
193 if (!newPos.IsValid() || newPos.ValueOrDie() > m_FileAccess.m_FileLen) { in ReadBlock()
379 FX_SAFE_FILESIZE newPos = in ReadBlock() local
381 newPos += offset; in ReadBlock()
382 if (!newPos.IsValid() || newPos.ValueOrDie() > (FX_DWORD)m_size) { in ReadBlock()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeUnitFormat.java264 int newPos = -1; in parseObject() local
307 newPos = pos.getIndex(); in parseObject()
337 pos.setIndex(newPos); in parseObject()
DSimpleDateFormat.java2596 int newPos = originalPos; in matchLiteral() local
2598 char ich = text.charAt(newPos); in matchLiteral()
2602 ++newPos; in matchLiteral()
2604 complete[0] = newPos > originalPos; in matchLiteral()
2605 pos = newPos; in matchLiteral()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeUnitFormat.java266 int newPos = -1; in parseObject() local
309 newPos = pos.getIndex(); in parseObject()
339 pos.setIndex(newPos); in parseObject()
DSimpleDateFormat.java2583 int newPos = originalPos; in matchLiteral() local
2585 char ich = text.charAt(newPos); in matchLiteral()
2589 ++newPos; in matchLiteral()
2591 complete[0] = newPos > originalPos; in matchLiteral()
2592 pos = newPos; in matchLiteral()
/external/chromium-trace/catapult/third_party/mocha/
Dmocha.js78 return { newPos: path.newPos, components: path.components.slice(0) };
120 var bestPath = [{ newPos: -1, components: [] }]; property
124 if (bestPath[0].newPos+1 >= newLen && oldPos+1 >= oldLen) {
133 oldPos = (removePath ? removePath.newPos : 0) - diagonalPath;
139 var canAdd = addPath && addPath.newPos+1 < newLen;
149 if (!canAdd || (canRemove && addPath.newPos < removePath.newPos)) {
154 basePath.newPos++;
155 this.pushComponent(basePath.components, newString[basePath.newPos], true, undefined);
160 if (basePath.newPos+1 >= newLen && oldPos+1 >= oldLen) {
183 newPos = basePath.newPos,
[all …]
/external/chromium-trace/catapult/tracing/third_party/mocha/
Dmocha.js78 return { newPos: path.newPos, components: path.components.slice(0) };
120 var bestPath = [{ newPos: -1, components: [] }]; property
124 if (bestPath[0].newPos+1 >= newLen && oldPos+1 >= oldLen) {
133 oldPos = (removePath ? removePath.newPos : 0) - diagonalPath;
139 var canAdd = addPath && addPath.newPos+1 < newLen;
149 if (!canAdd || (canRemove && addPath.newPos < removePath.newPos)) {
154 basePath.newPos++;
155 this.pushComponent(basePath.components, newString[basePath.newPos], true, undefined);
160 if (basePath.newPos+1 >= newLen && oldPos+1 >= oldLen) {
183 newPos = basePath.newPos,
[all …]
/external/icu/icu4c/source/i18n/
Dtmutfmt.cpp178 int32_t newPos = -1; in parseObject() local
243 newPos = pos.getIndex(); in parseObject()
277 pos.setIndex(newPos); in parseObject()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowParcel.java805 int newPos = dataPosition(); in writeBundle() local
809 int N = newPos - oldPos; in writeBundle()
811 setDataPosition(newPos); in writeBundle()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DMesh.java274 VertexBuffer newPos = oldPos.clone(); in cloneForAnim() local
276 clone.setBuffer(newPos); in cloneForAnim()