Searched refs:offset (Results 201 - 225 of 980) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/include/
H A DMPEG4Extractor.h111 status_t parseChunk(off64_t *offset, int depth);
112 status_t parseITunesMetaData(off64_t offset, size_t size);
113 status_t parseColorInfo(off64_t offset, size_t size);
114 status_t parse3GPPMetaData(off64_t offset, size_t size, int depth);
115 void parseID3v2MetaData(off64_t offset);
135 status_t parseDrmSINF(off64_t *offset, off64_t data_offset);
/frameworks/av/media/libstagefright/rtsp/
H A DARTPAssembler.cpp85 size_t offset = 0; local
89 uint8_t *dst = accessUnit->data() + offset;
113 offset += nal->size() + 7;
131 size_t offset = 0; local
135 memcpy(accessUnit->data() + offset, nal->data(), nal->size());
136 offset += nal->size();
/frameworks/base/include/androidfw/
H A DCursorWindow.h44 * 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::__anon974::__anon975
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 DAsset.cpp196 long offset; local
222 offset = ftell(fp);
231 result = pAsset->openChunk(fd, offset, method, uncompressedLen,
247 /*static*/ Asset* Asset::createFromFileSegment(int fd, off64_t offset,
254 result = pAsset->openChunk(NULL, fd, offset, length);
265 /*static*/ Asset* Asset::createFromCompressedData(int fd, off64_t offset,
273 result = pAsset->openChunk(fd, offset, compressionMethod,
321 * Do generic seek() housekeeping. Pass in the offset/whence values from
322 * the seek request, along with the current chunk offset and the chunk
325 * Returns the new chunk offset, o
327 handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn) argument
392 openChunk(const char* fileName, int fd, off64_t offset, size_t length) argument
521 seek(off64_t offset, int whence) argument
724 openChunk(int fd, off64_t offset, int compressionMethod, size_t uncompressedLen, size_t compressedLen) argument
822 seek(off64_t offset, int whence) argument
[all...]
/frameworks/base/libs/hwui/
H A DPixelBuffer.cpp42 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) override;
71 void CpuPixelBuffer::upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) { argument
73 mFormat, GL_UNSIGNED_BYTE, &mBuffer[offset]);
89 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) override;
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 DPatchCache.h149 BufferBlock(uint32_t offset, uint32_t size): offset(offset), size(size), next(nullptr) { argument
152 uint32_t offset; member in struct:android::uirenderer::PatchCache::BufferBlock
/frameworks/base/media/java/android/mtp/
H A DMtpDevice.java184 * @param offset Start index of reading range. It must be a non-negative value at most
191 public long getPartialObject(int objectHandle, long offset, long size, byte[] buffer) argument
193 return native_get_partial_object(objectHandle, offset, size, buffer);
202 * unsigned 64-bit offset. Check if the MTP device supports the operation by using
206 * @param offset Start index of reading range. It must be a non-negative value.
212 public long getPartialObject64(int objectHandle, long offset, long size, byte[] buffer) argument
214 return native_get_partial_object_64(objectHandle, offset, size, buffer);
395 int objectHandle, long offset, long objectSize, byte[] buffer) throws IOException;
397 int objectHandle, long offset, long objectSize, byte[] buffer) throws IOException;
394 native_get_partial_object( int objectHandle, long offset, long objectSize, byte[] buffer) argument
396 native_get_partial_object_64( int objectHandle, long offset, long objectSize, byte[] buffer) argument
/frameworks/compile/mclinker/lib/Fragment/
H A DFragmentRef.cpp46 /// @param pOffset - the offset, can be larger than the fragment, but can not
48 /// @return if the offset is legal, return the fragment reference. Otherwise,
51 int64_t offset = pOffset; local
55 offset -= frag->size();
56 if (offset <= 0)
61 if (offset == 0)
64 offset += frag->size();
71 new (result) FragmentRef(*frag, offset);
119 // check if the offset is still in a legal range.
/frameworks/av/media/libstagefright/
H A DAACExtractor.cpp90 // Returns the frame length in bytes as described in an ADTS header starting at the given offset,
95 static size_t getAdtsFrameLength(const sp<DataSource> &source, off64_t offset, size_t* headerSize) { argument
103 if (source->readAt(offset, &syncword, 2) != 2) {
111 if (source->readAt(offset + 1, &protectionAbsent, 1) < 1) {
117 if (source->readAt(offset + 3, &header, 3) < 3) {
152 int64_t offset; local
153 CHECK(meta->findInt64("offset", &offset));
156 if (mDataSource->readAt(offset + 2, &header, 2) < 2) {
175 while (offset < streamSiz
[all...]
/frameworks/base/core/jni/
H A Dandroid_nio_utils.cpp35 jint offset; local
47 offset = _env->CallStaticIntMethod(gNioJNI.nioAccessClass,
51 return (void *) ((char *) data + offset);
H A Dandroid_opengl_GLES30.cpp103 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
123 *offset = _env->CallStaticIntMethod(nioAccessClass,
346 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) {
361 if (offset < 0) {
364 _exceptionMessage = "offset < 0";
367 _remaining = _env->GetArrayLength(params_ref) - offset;
375 _exceptionMessage = "length - offset < needed";
380 params = params_base + offset;
481 /* void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLsizei offset ) */
484 (JNIEnv *_env, jobject _this, jint mode, jint start, jint end, jint count, jint type, jint offset) {
345 get(JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) argument
483 android_glDrawRangeElements__IIIIII(JNIEnv *_env, jobject _this, jint mode, jint start, jint end, jint count, jint type, jint offset) argument
530 android_glTexImage3D__IIIIIIIIII(JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint width, jint height, jint depth, jint border, jint format, jint type, jint offset) argument
580 android_glTexSubImage3D__IIIIIIIIIII(JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jint offset) argument
646 android_glCompressedTexImage3D__IIIIIIIII(JNIEnv *_env, jobject _this, jint target, jint level, jint internalformat, jint width, jint height, jint depth, jint border, jint imageSize, jint offset) argument
695 android_glCompressedTexSubImage3D__IIIIIIIIIII(JNIEnv *_env, jobject _this, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint imageSize, jint offset) argument
714 android_glGenQueries__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray ids_ref, jint offset) argument
780 android_glDeleteQueries__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray ids_ref, jint offset) argument
876 android_glGetQueryiv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument
944 android_glGetQueryObjectuiv__II_3II(JNIEnv *_env, jobject _this, jint id, jint pname, jintArray params_ref, jint offset) argument
1034 android_glDrawBuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray bufs_ref, jint offset) argument
1100 android_glUniformMatrix2x3fv__IIZ_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
1170 android_glUniformMatrix3x2fv__IIZ_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
1240 android_glUniformMatrix2x4fv__IIZ_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
1310 android_glUniformMatrix4x2fv__IIZ_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
1380 android_glUniformMatrix3x4fv__IIZ_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
1450 android_glUniformMatrix4x3fv__IIZ_3FI(JNIEnv *_env, jobject _this, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
1564 android_glMapBufferRange__IIII(JNIEnv *_env, jobject _this, jint target, jint offset, jint length, jint access) argument
1577 android_glFlushMappedBufferRange__III(JNIEnv *_env, jobject _this, jint target, jint offset, jint length) argument
1597 android_glDeleteVertexArrays__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray arrays_ref, jint offset) argument
1663 android_glGenVertexArrays__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray arrays_ref, jint offset) argument
1740 android_glGetIntegeri_v__II_3II(JNIEnv *_env, jobject _this, jint target, jint index, jintArray data_ref, jint offset) argument
1824 android_glBindBufferRange__IIIII(JNIEnv *_env, jobject _this, jint target, jint index, jint buffer, jint offset, jint size) argument
2266 android_glVertexAttribIPointer__IIIII(JNIEnv *_env, jobject _this, jint index, jint size, jint type, jint stride, jint offset) argument
2279 android_glGetVertexAttribIiv__II_3II(JNIEnv *_env, jobject _this, jint index, jint pname, jintArray params_ref, jint offset) argument
2347 android_glGetVertexAttribIuiv__II_3II(JNIEnv *_env, jobject _this, jint index, jint pname, jintArray params_ref, jint offset) argument
2441 android_glVertexAttribI4iv__I_3II(JNIEnv *_env, jobject _this, jint index, jintArray v_ref, jint offset) argument
2507 android_glVertexAttribI4uiv__I_3II(JNIEnv *_env, jobject _this, jint index, jintArray v_ref, jint offset) argument
2573 android_glGetUniformuiv__II_3II(JNIEnv *_env, jobject _this, jint program, jint location, jintArray params_ref, jint offset) argument
2721 android_glUniform1uiv__II_3II(JNIEnv *_env, jobject _this, jint location, jint count, jintArray value_ref, jint offset) argument
2789 android_glUniform2uiv__II_3II(JNIEnv *_env, jobject _this, jint location, jint count, jintArray value_ref, jint offset) argument
2857 android_glUniform3uiv__II_3II(JNIEnv *_env, jobject _this, jint location, jint count, jintArray value_ref, jint offset) argument
2925 android_glUniform4uiv__II_3II(JNIEnv *_env, jobject _this, jint location, jint count, jintArray value_ref, jint offset) argument
2993 android_glClearBufferiv__II_3II(JNIEnv *_env, jobject _this, jint buffer, jint drawbuffer, jintArray value_ref, jint offset) argument
3061 android_glClearBufferuiv__II_3II(JNIEnv *_env, jobject _this, jint buffer, jint drawbuffer, jintArray value_ref, jint offset) argument
3129 android_glClearBufferfv__II_3FI(JNIEnv *_env, jobject _this, jint buffer, jint drawbuffer, jfloatArray value_ref, jint offset) argument
3526 android_glGetActiveUniformBlockiv__III_3II(JNIEnv *_env, jobject _this, jint program, jint uniformBlockIndex, jint pname, jintArray params_ref, jint offset) argument
3835 android_glGetInteger64v__I_3JI(JNIEnv *_env, jobject _this, jint pname, jlongArray params_ref, jint offset) argument
4007 android_glGetInteger64i_v__II_3JI(JNIEnv *_env, jobject _this, jint target, jint index, jlongArray data_ref, jint offset) argument
4075 android_glGetBufferParameteri64v__II_3JI(JNIEnv *_env, jobject _this, jint target, jint pname, jlongArray params_ref, jint offset) argument
4143 android_glGenSamplers__I_3II(JNIEnv *_env, jobject _this, jint count, jintArray samplers_ref, jint offset) argument
4209 android_glDeleteSamplers__I_3II(JNIEnv *_env, jobject _this, jint count, jintArray samplers_ref, jint offset) argument
4307 android_glSamplerParameteriv__II_3II(JNIEnv *_env, jobject _this, jint sampler, jint pname, jintArray param_ref, jint offset) argument
4386 android_glSamplerParameterfv__II_3FI(JNIEnv *_env, jobject _this, jint sampler, jint pname, jfloatArray param_ref, jint offset) argument
4454 android_glGetSamplerParameteriv__II_3II(JNIEnv *_env, jobject _this, jint sampler, jint pname, jintArray params_ref, jint offset) argument
4522 android_glGetSamplerParameterfv__II_3FI(JNIEnv *_env, jobject _this, jint sampler, jint pname, jfloatArray params_ref, jint offset) argument
4610 android_glDeleteTransformFeedbacks__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray ids_ref, jint offset) argument
4676 android_glGenTransformFeedbacks__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray ids_ref, jint offset) argument
4933 android_glInvalidateFramebuffer__II_3II(JNIEnv *_env, jobject _this, jint target, jint numAttachments, jintArray attachments_ref, jint offset) argument
5001 android_glInvalidateSubFramebuffer__II_3IIIIII(JNIEnv *_env, jobject _this, jint target, jint numAttachments, jintArray attachments_ref, jint offset, jint x, jint y, jint width, jint height) argument
5104 android_glGetInternalformativ__IIII_3II(JNIEnv *_env, jobject _this, jint target, jint internalformat, jint pname, jint bufSize, jintArray params_ref, jint offset) argument
5176 android_glReadPixels__IIIIIII(JNIEnv *_env, jobject _this, jint x, jint y, jint width, jint height, jint format, jint type, jint offset) argument
[all...]
/frameworks/base/keystore/java/android/security/keystore/
H A DArrayUtils.java58 public static byte[] subarray(byte[] arr, int offset, int len) { argument
62 if ((offset == 0) && (len == arr.length)) {
66 System.arraycopy(arr, offset, result, 0, len);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DVertexFrame.java88 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/compile/mclinker/lib/LD/
H A DRelocator.cpp37 // 1. update the relocation target offset
39 uint64_t offset = input_sym->fragRef()->getOutputOffset(); local
40 pReloc.target() += offset;
56 FragmentRef::Offset undef_sym_pos = pReloc.targetRef().offset();
/frameworks/multidex/library/src/android/support/multidex/
H A DZipUtil.java34 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 DGLES11.spec3 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 DIMediaHTTPConnection.h38 virtual ssize_t readAt(off64_t offset, void *data, size_t size) = 0;
/frameworks/av/include/media/stagefright/
H A DDataURISource.h32 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
/frameworks/av/media/img_utils/include/img_utils/
H A DByteArrayOutput.h51 * 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 DFileInput.h53 * 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 DFileOutput.h35 virtual status_t write(const uint8_t* buf, size_t offset, size_t count);
H A DTiffWritable.h42 * 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/base/core/java/android/util/
H A DMonthDisplayHelper.java101 * @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/core/java/com/android/internal/util/
H A DIndentingPrintWriter.java101 public void write(char[] buf, int offset, int count) { argument
103 final int bufferEnd = offset + count;
104 int lineStart = offset;
105 int lineEnd = offset;
/frameworks/base/drm/java/android/drm/
H A DDrmOutputStream.java72 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);

Completed in 1042 milliseconds

1234567891011>>