/frameworks/base/include/androidfw/ |
H A D | CursorWindow.h | 44 * an offset to the next chunk in a linked-list of additional chunk of RowSlots in case 46 * FieldSlot per column, which has the size, offset, and type of the data for that field. 73 uint32_t offset; member in struct:android::CursorWindow::FieldSlot::__anon892::__anon893 131 return static_cast<char*>(offsetToPtr(fieldSlot->data.buffer.offset)); 136 return offsetToPtr(fieldSlot->data.buffer.offset); 154 uint32_t offset; member in struct:android::CursorWindow::RowSlot 169 inline void* offsetToPtr(uint32_t offset) { argument 170 return static_cast<uint8_t*>(mData) + offset; 178 * Allocate a portion of the window. Returns the offset
|
/frameworks/base/libs/androidfw/ |
H A D | Asset.cpp | 184 long offset; local 210 offset = ftell(fp); 219 result = pAsset->openChunk(fd, offset, method, uncompressedLen, 235 /*static*/ Asset* Asset::createFromFileSegment(int fd, off64_t offset, 242 result = pAsset->openChunk(NULL, fd, offset, length); 253 /*static*/ Asset* Asset::createFromCompressedData(int fd, off64_t offset, 261 result = pAsset->openChunk(fd, offset, compressionMethod, 309 * Do generic seek() housekeeping. Pass in the offset/whence values from 310 * the seek request, along with the current chunk offset and the chunk 313 * Returns the new chunk offset, o 315 handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn) argument 373 openChunk(const char* fileName, int fd, off64_t offset, size_t length) argument 502 seek(off64_t offset, int whence) argument 698 openChunk(int fd, off64_t offset, int compressionMethod, size_t uncompressedLen, size_t compressedLen) argument 802 seek(off64_t offset, int whence) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | PixelBuffer.cpp | 44 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset); 74 void CpuPixelBuffer::upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) { argument 76 mFormat, GL_UNSIGNED_BYTE, mBuffer + offset); 93 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset); 149 void GpuPixelBuffer::upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) { argument 154 GL_UNSIGNED_BYTE, reinterpret_cast<void*>(offset));
|
H A D | PatchCache.h | 148 BufferBlock(uint32_t offset, uint32_t size): offset(offset), size(size), next(NULL) { argument 151 uint32_t offset; member in struct:android::uirenderer::PatchCache::BufferBlock
|
/frameworks/compile/mclinker/lib/Fragment/ |
H A D | FragmentRef.cpp | 48 /// @param pOffset - the offset, can be larger than the fragment, but can not 50 /// @return if the offset is legal, return the fragment reference. Otherwise, 54 int64_t offset = pOffset; local 58 offset -= frag->size(); 59 if (offset <= 0) 64 if (offset == 0) 67 offset += frag->size(); 74 new (result) FragmentRef(*frag, offset); 128 // check if the offset is still in a legal range.
|
H A D | Stub.cpp | 39 assert(pFixup.offset() < size());
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | VertexFrame.java | 88 public void setData(ByteBuffer buffer, int offset, int length) { argument 93 } else if (!setNativeData(bytes, offset, length)) { 136 private native boolean setNativeData(byte[] data, int offset, int length); argument
|
/frameworks/multidex/library/src/android/support/multidex/ |
H A D | ZipUtil.java | 34 long offset; field in class:ZipUtil.CentralDirectory 101 dir.offset = Integer.reverseBytes(raf.readInt()) & 0xFFFFFFFFL; 110 raf.seek(dir.offset);
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES11.spec | 3 void glBufferSubData ( GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data ) 7 void glColorPointer ( GLint size, GLenum type, GLsizei stride, GLint offset ) 9 void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset ) 31 void glNormalPointer ( GLenum type, GLsizei stride, GLint offset ) 37 void glTexCoordPointer ( GLint size, GLenum type, GLsizei stride, GLint offset ) 44 void glVertexPointer ( GLint size, GLenum type, GLsizei stride, GLint offset )
|
/frameworks/av/include/media/ |
H A D | IMediaHTTPConnection.h | 38 virtual ssize_t readAt(off64_t offset, void *data, size_t size) = 0;
|
/frameworks/av/include/media/stagefright/ |
H A D | DataURISource.h | 32 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | ByteArrayOutput.h | 51 * at the index given in the offset argument. 55 virtual status_t write(const uint8_t* buf, size_t offset, size_t count);
|
H A D | FileInput.h | 53 * into the given buffer starting at the index given in the offset argument. 58 virtual ssize_t read(uint8_t* buf, size_t offset, size_t count);
|
H A D | FileOutput.h | 35 virtual status_t write(const uint8_t* buf, size_t offset, size_t count);
|
H A D | TiffWritable.h | 42 * Write the data to the output. The given offset is used to calculate 43 * the header offset for values written. The offset is defined 48 virtual status_t writeData(uint32_t offset, /*out*/EndianOutput* out) const = 0;
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerFactory.cpp | 124 int64_t offset, 126 GET_PLAYER_TYPE_IMPL(client, fd, offset, length); 184 int64_t offset, 188 sp<DataSource> source = new FileSource(dup(fd), offset, length); 198 lseek(fd, offset, SEEK_SET); 200 lseek(fd, offset, SEEK_SET); 317 int64_t offset, 331 locator.offset = offset; 122 getPlayerType(const sp<IMediaPlayer>& client, int fd, int64_t offset, int64_t length) argument 182 scoreFactory(const sp<IMediaPlayer>& , int fd, int64_t offset, int64_t length, float ) argument 315 scoreFactory(const sp<IMediaPlayer>& , int fd, int64_t offset, int64_t length, float curScore) argument
|
H A D | MidiMetadataRetriever.h | 39 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
|
/frameworks/base/core/java/android/hardware/hdmi/ |
H A D | HdmiTvClient.java | 356 void onReceived(int portId, int offset, int length, byte[] data); argument 379 public void onReceived(int portId, int offset, int length, byte[] data) { 380 listener.onReceived(portId, offset, length, data); 389 * @param offset offset in the in given data 390 * @param length length of data. offset + length should be bound to length of data. 394 public void sendMhlVendorCommand(int portId, int offset, int length, byte[] data) { argument 398 if (offset < 0 || offset >= VENDOR_DATA_SIZE) { 399 throw new IllegalArgumentException("Invalid offset [all...] |
/frameworks/base/core/java/android/util/ |
H A D | EventLog.java | 102 int offset = mBuffer.getShort(HEADER_SIZE_OFFSET); 103 if (offset == 0) { 104 offset = V1_PAYLOAD_START; 106 return mBuffer.getInt(offset); 112 int offset = mBuffer.getShort(HEADER_SIZE_OFFSET); 113 if (offset == 0) { 114 offset = V1_PAYLOAD_START; 116 mBuffer.limit(offset + mBuffer.getShort(LENGTH_OFFSET)); 117 mBuffer.position(offset + DATA_OFFSET); // Just after the tag.
|
H A D | MonthDisplayHelper.java | 101 * @return The offset from displaying everything starting on the very first 103 * the week as Sunday, and the month starts on a Wednesday, the offset is 3. 207 int offset = firstDayOfMonth - mWeekStartDay; 208 if (offset < 0) { 209 offset += 7; 211 mOffset = offset;
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmOutputStream.java | 72 Os.lseek(mFd, status.offset, SEEK_SET); 93 public void write(byte[] buffer, int offset, int count) throws IOException { argument 94 Arrays.checkOffsetAndCount(buffer.length, offset, count); 101 System.arraycopy(buffer, offset, exactBuffer, 0, count);
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | native_frame.h | 38 // Write the specified data of the given size to the frame at the specified offset. The 40 bool WriteData(const uint8_t* data, int offset, int size);
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | BranchIslandFactory.cpp | 85 if ((pFragment.getOffset() < (*it).offset()) && 86 ((pFragment.getOffset() + m_MaxFwdBranchRange) >= (*it).offset())) { 92 if ((pFragment.getOffset() > (*prev).offset()) && 93 (bwd_off <= (int64_t) (*prev).offset())) {
|
/frameworks/wilhelm/src/android/ |
H A D | BufferQueueSource.h | 40 virtual ssize_t readAt(off64_t offset, void *data, size_t size); 50 // a monotonically increasing offset used to translate an offset from the beginning 51 // of the stream, to an offset in each buffer from the buffer queue source
|
/frameworks/wilhelm/src/android/util/ |
H A D | AacAdtsExtractor.cpp | 48 static size_t getFrameSize(const sp<DataSource> &source, off64_t offset) { argument 55 ssize_t readSize = source->readAt(offset, &syncHeader, ADTS_HEADER_SIZE_UP_TO_FRAMESIZE); 133 off64_t offset = 0, numFrames = 0; local 134 while (offset < streamSize) { 136 if ((frameSize = getFrameSize(mDataSource, offset)) == 0) { 140 SL_LOGE("AacAdtsExtractor() failed querying framesize at offset=%lld", offset); 144 offset += frameSize; 145 if (offset > streamSize) { 146 SL_LOGE("AacAdtsExtractor() frame of size %zu at offset [all...] |