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

1234567891011>>

/frameworks/base/tools/aapt2/unflatten/
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) {
61 } else if (offset + util::deviceToHost32(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:__anon500
/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/base/packages/Osu/src/com/android/hotspot2/asn1/
H A DDecodeException.java8 public DecodeException(String message, int offset) { argument
10 mOffset = offset;
/frameworks/base/tools/layoutlib/bridge/src/android/text/
H A DHyphenator_Delegate.java43 static long loadHyphenator(ByteBuffer buffer, int offset) { 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/minikin/libs/minikin/
H A DLayoutUtils.cpp41 * Return offset of previous word break. It is either < offset or == 0.
44 const uint16_t* chars, size_t offset, size_t len) {
45 if (offset == 0) return 0;
46 if (offset > len) offset = len;
47 if (isWordBreakBefore(chars[offset - 1])) {
48 return offset - 1;
50 for (size_t i = offset - 1; i > 0; i--) {
59 * Return offset o
43 getPrevWordBreakForCache( const uint16_t* chars, size_t offset, size_t len) argument
61 getNextWordBreakForCache( const uint16_t* chars, size_t offset, size_t len) argument
[all...]
/frameworks/minikin/tests/
H A DGraphemeBreakTests.cpp26 size_t offset; local
28 ParseUnicode(buf, BUF_SIZE, src, &size, &offset);
29 return GraphemeBreak::isGraphemeBreak(buf, 0, size, 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/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/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;
69 int MidiIoWrapper::readAt(void *buffer, int offset, int size) {
70 ALOGV("readAt(%p, %d, %d)", buffer, offset, size);
73 return mDataSource->readAt(offset, buffer, size);
79 lseek(mFd, mBase + offset, SEEK_SET);
80 if (offset + size > mLength) {
81 size = mLength - offset;
/frameworks/av/media/libstagefright/
H A DDataURISource.cpp88 ssize_t DataURISource::readAt(off64_t offset, void *data, size_t size) { argument
89 if ((offset < 0) || (offset >= (off64_t)mBuffer->size())) {
93 size_t copy = mBuffer->size() - offset;
98 memcpy(data, mBuffer->data() + offset, copy);

Completed in 1297 milliseconds

1234567891011>>