Searched defs:offset (Results 1 - 25 of 611) sorted by relevance

1234567891011>>

/frameworks/base/tools/aapt2/
H A DResChunkPullParser.cpp41 const size_t offset = static_cast<const size_t>(diff); local
43 if (offset == mLen) {
46 } else if (offset + sizeof(ResChunk_header) > mLen) {
60 } else if (offset + mCurrentChunk->size > mLen) {
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglBindVertexBuffer.java1 // C function void glBindVertexBuffer ( GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride )
6 long offset,
3 glBindVertexBuffer( int bindingindex, int buffer, long offset, int stride ) argument
H A DglMapBufferRange.java1 // C function GLvoid * glMapBufferRange ( GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access )
5 int offset,
3 glMapBufferRange( int target, int offset, int length, int access ) argument
H A DglBindVertexBuffer.cpp1 /* void glBindVertexBuffer ( GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride ) */
4 (JNIEnv *_env, jobject _this, jint bindingindex, jint buffer, jlong offset, jint stride) {
5 if (sizeof(GLintptr) != sizeof(jlong) && (offset < LONG_MIN || offset > LONG_MAX)) {
6 jniThrowException(_env, "java/lang/IllegalArgumentException", "offset too large");
12 (GLintptr)offset,
3 android_glBindVertexBuffer__IIJI(JNIEnv *_env, jobject _this, jint bindingindex, jint buffer, jlong offset, jint stride) argument
H A DglGetBooleanv.cpp4 (JNIEnv *_env, jobject _this, jint pname, jbooleanArray params_ref, jint offset) {
6 _env, _this, pname, params_ref, offset);
3 android_glGetBooleanv__I_3ZI(JNIEnv *_env, jobject _this, jint pname, jbooleanArray params_ref, jint offset) argument
H A DglGetFloatv.cpp4 (JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) {
6 _env, _this, pname, params_ref, offset);
3 android_glGetFloatv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument
H A DglGetIntegerv.cpp4 (JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) {
6 _env, _this, pname, params_ref, offset);
3 android_glGetIntegerv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument
H A DglMapBufferRange.cpp1 /* GLvoid * glMapBufferRange ( GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access ) */
4 (JNIEnv *_env, jobject _this, jint target, jint offset, jint length, jint access) {
6 (GLintptr)offset, (GLsizeiptr)length, (GLbitfield)access);
3 android_glMapBufferRange__IIII(JNIEnv *_env, jobject _this, jint target, jint offset, jint length, jint access) argument
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Ds_mp3bits.h94 uint32 offset; member in struct:__anon476
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Disp_isf.cpp154 int16 i, ind, offset; local
166 offset = (isp[i] & 0x007f); /* offset = b0-b6 of isf[i] */
168 /* isp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 128 */
170 L_tmp = mul_16by16_to_int32(table[ind + 1] - table[ind], offset);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Disp_isf.c67 Word16 offset; local
79 offset = (Word16) (isp[i] & 0x007f); /* offset = b0-b6 of isf[i] */
81 /* isp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 128 */
82 L_tmp = vo_L_mult(vo_sub(table[ind + 1], table[ind]), offset);
/frameworks/base/drm/java/android/drm/
H A DDrmConvertedStatus.java21 * offset for appending the header and body signature to the converted data.
25 * An valid offset value is provided only from a success call to
58 public final int offset; field in class:DrmConvertedStatus
66 * @param offset Offset value for appending the header and body signature.
68 public DrmConvertedStatus(int statusCode, byte[] convertedData, int offset) { argument
75 this.offset = offset;
/frameworks/base/media/java/android/media/
H A DMediaDataSource.java46 * @param offset the offset within buffer to read the data into.
51 public abstract int readAt(long position, byte[] buffer, int offset, int size) argument
/frameworks/compile/mclinker/lib/Target/
H A DGOT.cpp32 uint32_t offset = 0; local
35 frag->setOffset(offset);
36 offset += frag->size();
39 m_Section.setSize(offset);
/frameworks/native/libs/binder/
H A DMemoryBase.cpp29 ssize_t offset, size_t size)
30 : mSize(size), mOffset(offset), mHeap(heap)
34 sp<IMemoryHeap> MemoryBase::getMemory(ssize_t* offset, size_t* size) const argument
36 if (offset) *offset = mOffset;
28 MemoryBase(const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument
/frameworks/av/drm/libdrmframework/plugins/common/include/
H A DDrmEngineBase.h84 int fd, off64_t offset, off64_t length, const char* mime);
104 void* buffer, ssize_t numBytes, off64_t offset);
340 * the output converted data and offset. In this case the
341 * application will ignore the offset information.
357 * the application on which offset these signature data
378 * @param[in] offset Start position of the content
385 int fd, off64_t offset, off64_t length) = 0;
393 * @param[in] offset Start position of the content
402 int fd, off64_t offset, off64_t length,
516 * @param[in] offset Offse
400 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument
[all...]
/frameworks/av/include/drm/
H A DDrmConvertedStatus.h26 * data/checksum data and the offset. Offset is going to be used in the case of close
61 int offset; member in class:android::DrmConvertedStatus
/frameworks/av/include/ndk/
H A DNdkMediaCodec.h45 int32_t offset; member in struct:AMediaCodecBufferInfo
134 size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags);
140 size_t idx, off_t offset, AMediaCodecCryptoInfo*, uint64_t time, uint32_t flags);
/frameworks/av/media/img_utils/src/
H A DByteArrayOutput.cpp32 status_t ByteArrayOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument
33 if (mByteArray.appendArray(buf + offset, count) < 0) {
H A DFileInput.cpp48 ssize_t FileInput::read(uint8_t* buf, size_t offset, size_t count) { argument
54 size_t bytesRead = ::fread(buf + offset, sizeof(uint8_t), count, mFp);
H A DFileOutput.cpp47 status_t FileOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument
53 ::fwrite(buf + offset, sizeof(uint8_t), count, mFp);
/frameworks/av/media/libmedia/
H A DMidiIoWrapper.cpp43 MidiIoWrapper::MidiIoWrapper(int fd, off64_t offset, int64_t size) { argument
46 mBase = offset;
67 int MidiIoWrapper::readAt(void *buffer, int offset, int size) { argument
68 ALOGV("readAt(%p, %d, %d)", buffer, offset, size);
71 return mDataSource->readAt(offset, buffer, size);
73 lseek(mFd, mBase + offset, SEEK_SET);
74 if (offset + size > mLength) {
75 size = mLength - offset;
/frameworks/av/media/libstagefright/
H A DDataURISource.cpp87 ssize_t DataURISource::readAt(off64_t offset, void *data, size_t size) { argument
88 if ((offset < 0) || (offset >= (off64_t)mBuffer->size())) {
92 size_t copy = mBuffer->size() - offset;
97 memcpy(data, mBuffer->data() + offset, copy);
H A DThrottledSource.cpp34 ssize_t ThrottledSource::readAt(off64_t offset, void *data, size_t size) { argument
37 ssize_t n = mSource->readAt(offset, data, size);
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dline_pe.h48 Word16 offset; member in struct:__anon330

Completed in 470 milliseconds

1234567891011>>