/frameworks/av/media/libstagefright/ |
H A D | MPEG4Extractor.cpp | 119 status_t parseChunk(off64_t *offset); 120 status_t parseTrackFragmentHeader(off64_t offset, off64_t size); 121 status_t parseTrackFragmentRun(off64_t offset, off64_t size); 122 status_t parseSampleAuxiliaryInformationSizes(off64_t offset, off64_t size); 123 status_t parseSampleAuxiliaryInformationOffsets(off64_t offset, off64_t size); 148 off64_t offset; member in struct:android::MPEG4Source::Sample 173 virtual ssize_t readAt(off64_t offset, void *data, size_t size); 177 status_t setCachedRange(off64_t offset, size_t size); 221 ssize_t MPEG4DataSource::readAt(off64_t offset, void *data, size_t size) { argument 224 if (offset > 241 setCachedRange(off64_t offset, size_t size) argument 270 size_t offset = 0; local 489 off64_t offset = 0; local 573 readSize(off64_t offset, const sp<DataSource> DataSource, uint8_t *numOfBytes) argument 762 parseChunk(off64_t *offset, int depth) argument 2002 parseSegmentIndex(off64_t offset, size_t size) argument 2210 parseITunesMetaData(off64_t offset, size_t size) argument 2400 parse3GPPMetaData(off64_t offset, size_t size, int depth) argument 2511 parseID3v2MetaData(off64_t offset) argument 3033 off64_t offset = mFirstMoofOffset; local 3099 parseChunk(off64_t *offset) argument 3215 parseSampleAuxiliaryInformationSizes( off64_t offset, off64_t ) argument 3278 parseSampleAuxiliaryInformationOffsets( off64_t offset, off64_t ) argument 3377 parseTrackFragmentHeader(off64_t offset, off64_t size) argument 3476 parseTrackFragmentRun(off64_t offset, off64_t size) argument 3757 off64_t offset; local 4002 off64_t offset = 0; local 4299 off64_t offset = 0ll; local [all...] |
H A D | SkipCutBuffer.cpp | 42 int32_t offset = buffer->range_offset(); local 49 offset += to_drop; 51 buffer->set_range(offset, buflen); 57 char *src = ((char*) buffer->data()) + offset; 69 int32_t offset = buffer->offset(); local 76 offset += to_drop; 78 buffer->setRange(offset, buflen);
|
H A D | ThrottledSource.cpp | 34 ssize_t ThrottledSource::readAt(off64_t offset, void *data, size_t size) { argument 37 ssize_t n = mSource->readAt(offset, data, size);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
H A D | FwdLockEngine.h | 288 * the output converted data and offset. In this case the 289 * application will ignore the offset information. 298 * the entire data used over a conversion session. This signature must be copied to the offset 305 * the application about the file offset at which this 326 * @param offset Start position of the content 334 int fd, off64_t offset, off64_t length); 338 int fd, int offset, int length); 457 * @param offset Offset with which to update the file position. 467 off64_t offset, 472 off_t offset, 535 off_t offset; member in class:android::FwdLockEngine::DecodeSession [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | LimitedLengthInputStreamTest.java | 74 fail("Should fail when offset + length is > Long.MAX_VALUE"); 80 private void checkReadBytesWithOffsetAndLength_WithString1(int offset, int length) argument 86 System.arraycopy(TEST_STRING1, offset, expected, 0, length); 88 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); 131 private void checkReadBytes_WithString1(int offset, int length) throws Exception { argument 136 System.arraycopy(TEST_STRING1, offset, expected, 0, length); 138 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); 167 private void checkSingleByteRead_WithString1(int offset, int length) throws Exception { argument 168 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); 171 assertEquals(TEST_STRING1[offset [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifOutputStream.java | 106 , int offset, int length) { 109 mBuffer.put(buffer, offset, byteToRead); 118 public void write(byte[] buffer, int offset, int length) throws IOException { argument 125 offset += byteToProcess; 129 out.write(buffer, offset, byteToProcess); 132 offset += byteToProcess; 139 int byteRead = requestByteToBuffer(2, buffer, offset, length); 140 offset += byteRead; 157 byteRead = requestByteToBuffer(4, buffer, offset, length); 158 offset 105 requestByteToBuffer(int requestByteCount, byte[] buffer , int offset, int length) argument 309 calculateOffsetOfIfd(IfdData ifd, int offset) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | StringPool.h | 45 entry() : offset(0) { } 46 entry(const String16& _value) : value(_value), offset(0), hasStyles(false) { } 47 entry(const entry& o) : value(o.value), offset(o.offset), 52 size_t offset; member in struct:StringPool::entry 76 entry_style() : offset(0) { } 78 entry_style(const entry_style& o) : offset(o.offset), spans(o.spans) { } 80 size_t offset; member in struct:StringPool::entry_style 126 * Find out an offset i [all...] |
/frameworks/ex/common/java/com/android/common/widget/ |
H A D | CompositeCursorAdapter.java | 256 * Given a list position, return the offset of the corresponding item in its 257 * partition. The header, if any, will have offset -1. 265 int offset = position - start; 267 offset--; 269 return offset; 317 int offset = position - start; 319 offset--; 321 if (offset == -1) { 324 return getItemViewType(i, offset); 339 int offset [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | DataSource.h | 61 virtual ssize_t readAt(off64_t offset, void *data, size_t size) = 0; 64 bool getUInt16(off64_t offset, uint16_t *x); 65 bool getUInt24(off64_t offset, uint32_t *x); // 3 byte int, returned as a 32-bit int 66 bool getUInt32(off64_t offset, uint32_t *x); 67 bool getUInt64(off64_t offset, uint64_t *x); 76 virtual status_t reconnectAtOffset(off64_t offset) { argument
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | FocusFinderTest.java | 51 dest.offset(0, -src.height()); 114 rect2.offset(0, rect1.height() - 1); 119 rect2.offset(0, 1); 124 rect2.offset(0, 1); 130 rect2.offset(0, -(rect1.height() - 1)); 135 rect2.offset(0, -1); 140 rect2.offset(0, -1); 151 rect2.offset(rect1.width() - 1, 0); 156 rect2.offset(1, 0); 161 rect2.offset( [all...] |
/frameworks/rs/driver/ |
H A D | rsdVertexArray.cpp | 45 offset = 0; 55 bool normalized, size_t offset, 60 this->offset = offset; 70 ALOGV("va %i: slot=%i name=%s buf=%i ptr=%p size=%i type=0x%x stride=0x%x norm=%i offset=0x%p", 79 (void*)mAttribs[idx].offset); 115 mAttribs[ct].ptr + mAttribs[ct].offset); 54 set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, size_t offset, const char *name) argument
|
/frameworks/wilhelm/src/android/ |
H A D | BufferQueueSource.cpp | 57 ssize_t BufferQueueSource::readAt(off64_t offset, void *data, size_t size) { argument 58 SL_LOGD("BufferQueueSource::readAt(offset=%lld, data=%p, size=%d)", offset, data, size); 96 //assert(mStreamToBqOffset <= offset); 97 CHECK_LE(mStreamToBqOffset, offset); 99 if (offset + size <= mStreamToBqOffset + oldFront->mDataSize) { 100 pSrc = ((char*)oldFront->mDataBuffer) + (offset - mStreamToBqOffset); 102 if (offset - mStreamToBqOffset + size == oldFront->mDataSize) {
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | EGL14.java | 223 int offset 233 int offset 241 int offset 248 int offset 263 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset); 266 win, attrib_list, offset); 282 int offset 292 int offset 309 int offset 341 int offset [all...] |
H A D | GLES30.java | 355 // C function void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLsizei offset ) 363 int offset 381 // C function void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei offset ) 393 int offset 412 // C function void glTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei offset ) 425 int offset 456 // C function void glCompressedTexImage3D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLsizei offset ) 467 int offset 486 // C function void glCompressedTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLsizei offset ) 499 int offset 764 glMapBufferRange( int target, int offset, int length, int access ) argument 773 glFlushMappedBufferRange( int target, int offset, int length ) argument 851 glBindBufferRange( int target, int index, int buffer, int offset, int size ) argument 1729 glInvalidateSubFramebuffer( int target, int numAttachments, int[] attachments, int offset, int x, int y, int width, int height ) argument [all...] |
/frameworks/compile/mclinker/lib/Object/ |
H A D | ObjectBuilder.cpp | 121 uint64_t offset = pTo.getSection().size(); local 130 align->setOffset(offset); 133 offset += align->size(); 142 frag->setOffset(offset); 143 offset += frag->size(); 148 pTo.getSection().setSize(offset); 173 // get initial offset. 174 uint64_t offset = 0; local 176 offset = pSD.back().getOffset() + pSD.back().size(); 186 align->setOffset(offset); [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | CmapCoverage.cpp | 31 static uint32_t readU16(const uint8_t* data, size_t offset) { argument 32 return data[offset] << 8 | data[offset + 1]; 35 static uint32_t readU32(const uint8_t* data, size_t offset) { argument 36 return data[offset] << 24 | data[offset + 1] << 16 | data[offset + 2] << 8 | data[offset + 3]; 155 uint32_t offset = readU32(cmap_data, kHeaderSize + bestTable * kTableSize + kOffsetOffset); local 156 if (offset [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveDataSource.cpp | 58 off64_t offset, void *data, size_t size) { 61 if (offset != mOffset) { 82 return readAt_l(offset, data, size); 85 ssize_t LiveDataSource::readAt(off64_t offset, void *data, size_t size) { argument 87 return readAt_l(offset, data, size); 90 ssize_t LiveDataSource::readAt_l(off64_t offset, void *data, size_t size) { argument 91 if (offset != mOffset) { 124 buffer->setRange(buffer->offset() + copy, buffer->size() - copy); 57 readAtNonBlocking( off64_t offset, void *data, size_t size) argument
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupDataInputStream.java | 69 * {@code offset} within the array. 72 * @param offset The data will be stored in {@code b} beginning at this index 80 public int read(byte[] b, int offset, int size) throws IOException { argument 81 return mData.readEntityData(b, offset, size);
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | ColorSpaceTransform.java | 50 /** Numerator offset inside a rational (pair). */ 53 /** Denominator offset inside a rational (pair). */ 153 * {@code offset} 154 * @param offset 155 * a non-negative offset into the array 160 * offset. 162 public void copyElements(Rational[] destination, int offset) { argument 163 checkArgumentNonnegative(offset, "offset must not be negative"); 165 if (destination.length - offset < COUN 197 copyElements(int[] destination, int offset) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | LogWriter.java | 64 @Override public void write(char[] buf, int offset, int count) { argument 66 char c = buf[offset + i];
|
/frameworks/base/include/androidfw/ |
H A D | Asset.h | 67 * Read data from the current offset. Returns the actual number of 73 * Seek to the specified offset. "whence" uses the same values as 77 virtual off64_t seek(off64_t offset, int whence) = 0; 125 off64_t handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn); 154 * if "offset" and "length" don't fit within the bounds of the file. 158 static Asset* createFromFileSegment(int fd, off64_t offset, size_t length, 171 static Asset* createFromCompressedData(int fd, off64_t offset, 226 status_t openChunk(const char* fileName, int fd, off64_t offset, size_t length); 239 virtual off64_t seek(off64_t offset, int whence); 248 off64_t mStart; // absolute file offset o [all...] |
/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | hid.c | 52 int id, ret, offset; local 94 for (offset = 0; offset < desc_length; ) { 95 int count = desc_length - offset; 98 fprintf(stderr, "sending ACCESSORY_SET_HID_REPORT_DESC offset: %d count: %d desc_length: %d\n", 99 offset, count, desc_length); 101 ACCESSORY_SET_HID_REPORT_DESC, id, offset, &desc.value[offset], count, 1000); 103 offset += count;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | pixelutils.cpp | 24 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset, 28 uint32* pOutRow = pOutput + offset; 23 nativeCopyPixels( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset, jint pixStride, jint rowStride) argument
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64GOT.cpp | 62 uint32_t offset = 0; local 64 // setup GOT0 offset 67 frag->setOffset(offset); 68 offset += frag->size(); 71 // push GOTPLT into the SectionData and setup the offset 79 entry->setOffset(offset); 80 offset += entry->size(); 86 // push GOT into the SectionData and setup the offset 94 entry->setOffset(offset); 95 offset [all...] |
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMGOT.cpp | 58 uint32_t offset = 0; local 60 // setup GOT0 offset 63 frag->setOffset(offset); 64 offset += frag->size(); 67 // push GOTPLT into the SectionData and setup the offset 75 entry->setOffset(offset); 76 offset += entry->size(); 81 // push GOT into the SectionData and setup the offset 89 entry->setOffset(offset); 90 offset [all...] |