Home
last modified time | relevance | path

Searched refs:newPosition (Results 1 – 25 of 38) sorted by relevance

12

/external/archive-patcher/generator/src/main/java/com/google/archivepatcher/generator/bsdiff/
DBsDiffPatchWriter.java54 int newPosition, in writeEntry() argument
66 newData.seek(newPosition); in writeEntry()
78 newData.seek(newPosition + diffLength); in writeEntry()
108 int newPosition = 0; in generatePatchWithMatcher() local
110 while (newPosition < newData.length()) { in generatePatchWithMatcher()
116 newPosition = nextMatch.newPosition; in generatePatchWithMatcher()
119 newPosition = (int) newData.length(); in generatePatchWithMatcher()
126 if (newPosition < newData.length()) { in generatePatchWithMatcher()
129 for (int i = 1; newPosition - i >= lastNewPosition && oldPosition >= i; ++i) { in generatePatchWithMatcher()
131 newData.seek(newPosition - i); in generatePatchWithMatcher()
[all …]
DMatcher.java37 final int newPosition; field in Matcher.NextMatch
39 static NextMatch of(boolean didFindMatch, int oldPosition, int newPosition) { in of() argument
40 return new NextMatch(didFindMatch, oldPosition, newPosition); in of()
43 private NextMatch(boolean didFindMatch, int oldPosition, int newPosition) { in NextMatch() argument
46 this.newPosition = newPosition; in NextMatch()
/external/lzma/CPP/7zip/Common/
DLimitedStreams.cpp59 STDMETHODIMP CLimitedInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
71 if (newPosition) in Seek()
72 *newPosition = _virtPos; in Seek()
133 STDMETHODIMP CClusterInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
147 if (newPosition) in Seek()
148 *newPosition = offset; in Seek()
195 STDMETHODIMP CExtentsStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
207 if (newPosition) in Seek()
208 *newPosition = _virtPos; in Seek()
250 STDMETHODIMP CTailInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
[all …]
DFileStreams.cpp241 STDMETHODIMP CInFileStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
261 if (newPosition) in Seek()
262 *newPosition = offset; in Seek()
274 if (newPosition) in Seek()
275 *newPosition = realNewPosition; in Seek()
283 if (newPosition) in Seek()
284 *newPosition = (UInt64)res; in Seek()
367 STDMETHODIMP COutFileStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
376 if (newPosition) in Seek()
377 *newPosition = realNewPosition; in Seek()
[all …]
DStreamObjects.cpp29 STDMETHODIMP CBufferInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
41 if (newPosition) in Seek()
42 *newPosition = offset; in Seek()
64 STDMETHODIMP CBufInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
76 if (newPosition) in Seek()
77 *newPosition = offset; in Seek()
270 STDMETHODIMP CCachedInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
282 if (newPosition) in Seek()
283 *newPosition = offset; in Seek()
DOffsetStream.cpp21 STDMETHODIMP COffsetOutStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
31 if (newPosition) in Seek()
32 *newPosition = absoluteNewPosition - _offset; in Seek()
DLimitedStreams.h62 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
101 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
126 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
178 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
222 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
248 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
DStreamObjects.h24 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
55 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
154 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
DCWrappers.cpp141 UInt64 newPosition; in InStreamWrap_Seek() local
142 p->Res = p->Stream->Seek(*offset, moveMethod, &newPosition); in InStreamWrap_Seek()
143 *offset = (Int64)newPosition; in InStreamWrap_Seek()
DFileStreams.h88 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
146 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
DOffsetStream.h22 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
/external/lzma/CPP/Windows/
DFileIO.cpp118 bool CFileBase::Seek(Int64 distanceToMove, DWORD moveMethod, UInt64 &newPosition) const throw() in Seek()
133 newPosition = (((UInt64)(UInt32)high) << 32) + low; in Seek()
137 bool CFileBase::Seek(UInt64 position, UInt64 &newPosition) const throw() in Seek()
139 return Seek(position, FILE_BEGIN, newPosition); in Seek()
144 UInt64 newPosition; in SeekToBegin() local
145 return Seek(0, newPosition); in SeekToBegin()
148 bool CFileBase::SeekToEnd(UInt64 &newPosition) const throw() in SeekToEnd()
150 return Seek(0, FILE_END, newPosition); in SeekToEnd()
424 UInt64 newPosition; in SetLength() local
425 if (!Seek(length, newPosition)) in SetLength()
[all …]
DFileIO.h111 bool Seek(Int64 distanceToMove, DWORD moveMethod, UInt64 &newPosition) const throw();
112 bool Seek(UInt64 position, UInt64 &newPosition) const throw();
114 bool SeekToEnd(UInt64 &newPosition) const throw();
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DSeekableInMemoryByteChannel.java83 public SeekableByteChannel position(long newPosition) throws IOException { in position() argument
85 if (newPosition < 0L || newPosition > Integer.MAX_VALUE) { in position()
88 position = (int) newPosition; in position()
/external/lzma/CPP/7zip/Archive/Common/
DMultiStream.cpp52 STDMETHODIMP CMultiStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
64 if (newPosition) in Seek()
65 *newPosition = offset; in Seek()
DInStreamWithCRC.cpp39 STDMETHODIMP CInStreamWithCRC::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
45 return _stream->Seek(offset, seekOrigin, newPosition); in Seek()
DMultiStream.h52 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
DInStreamWithCRC.h47 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
/external/lzma/CPP/7zip/
DIStream.h84 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) PURE;
89 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) PURE;
/external/testng/src/main/resources/
Dtestng-reports.js104 var newPosition = $(document).scrollTop() - 65;
105 $(document).scrollTop(newPosition);
/external/autotest/frontend/client/src/autotest/common/ui/
DMultiListSelectPresenter.java501 int newPosition = selectedItems.indexOf(item) + positionDelta;
502 newPosition = Math.max(0, Math.min(selectedItems.size() - 1, newPosition));
504 selectedItems.add(newPosition, item);
/external/swiftshader/third_party/SPIRV-Tools/source/
Dtext_handler.h177 void setPosition(const spv_position_t& newPosition) { in setPosition() argument
178 current_position_ = newPosition; in setPosition()
/external/deqp-deps/SPIRV-Tools/source/
Dtext_handler.h177 void setPosition(const spv_position_t& newPosition) { in setPosition() argument
178 current_position_ = newPosition; in setPosition()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java1414 int newPosition = Utf8.encode(value, buffer, position, spaceLeft()); in writeStringNoTag() local
1418 int length = newPosition - oldPosition - minLengthVarIntSize; in writeStringNoTag()
1420 position = newPosition; in writeStringNoTag()
2175 int newPosition = Utf8.encode(value, buffer, position, limit - position); in writeStringNoTag() local
2179 int length = newPosition - oldPosition - minLengthVarIntSize; in writeStringNoTag()
2181 position = newPosition; in writeStringNoTag()
2479 int newPosition = Utf8.encode(value, buffer, position, limit - position); in writeStringNoTag() local
2483 length = newPosition - oldPosition - minLengthVarIntSize; in writeStringNoTag()
2485 position = newPosition; in writeStringNoTag()
/external/lzma/CPP/7zip/Archive/
DXzHandler.cpp720 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
892 STDMETHODIMP CInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
904 if (newPosition) in Seek()
905 *newPosition = offset; in Seek()

12