Searched defs:offset (Results 276 - 300 of 448) sorted by relevance

<<1112131415161718

/frameworks/base/media/libdrm/mobile1/src/xml/
H A Dxml_tinyparser.c667 void WBXML_DOM_Seek(WBXML * pWbxml, int32_t offset) argument
669 pWbxml->curPtr += offset;
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFrame.java106 public abstract void setData(ByteBuffer buffer, int offset, int length); argument
112 public void setData(byte[] bytes, int offset, int length) { argument
113 setData(ByteBuffer.wrap(bytes, offset, length));
/frameworks/base/media/mca/filterfw/jni/
H A Djni_shader_program.cpp302 jint offset,
320 offset,
294 Java_android_filterfw_core_ShaderProgram_setShaderAttributeVertexFrame( JNIEnv* env, jobject thiz, jstring attr_name, jobject vertex_frame, jint type, jint component_count, jint stride, jint offset, jboolean normalize) argument
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaAudioEffectTest.java1498 protected int byteArrayToInt(byte[] valueBuf, int offset) { argument
1501 return converter.getInt(offset);
1516 protected short byteArrayToShort(byte[] valueBuf, int offset) { argument
1519 return converter.getShort(offset);
/frameworks/base/opengl/java/android/opengl/
H A DEGLLogWrapper.java495 private String toString(int n, int[] arr, int offset) { argument
500 int index = offset + i;
513 private String toString(int n, Object[] arr, int offset) { argument
518 int index = offset + i;
H A DMatrix.java26 * m[offset + 0] m[offset + 4] m[offset + 8] m[offset + 12]
27 * m[offset + 1] m[offset + 5] m[offset + 9] m[offset + 13]
28 * m[offset + 2] m[offset
315 frustumM(float[] m, int offset, float left, float right, float bottom, float top, float near, float far) argument
371 perspectiveM(float[] m, int offset, float fovy, float aspect, float zNear, float zFar) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DGsmAlphabet.java427 * @param bitOffset the bit offset that the septet should be packed at
450 * @param offset the byte offset of
454 public static String gsm7BitPackedToString(byte[] pdu, int offset, argument
456 return gsm7BitPackedToString(pdu, offset, lengthSeptets, 0, 0, 0);
466 * @param offset the byte offset of
475 public static String gsm7BitPackedToString(byte[] pdu, int offset, argument
509 gsmVal = (0x7f & (pdu[offset + byteOffset] >> shift));
516 gsmVal |= 0x7f & (pdu[offset
559 gsm8BitUnpackedToString(byte[] data, int offset, int length) argument
574 gsm8BitUnpackedToString(byte[] data, int offset, int length, String characterset) argument
668 stringToGsm8BitUnpackedField(String s, byte dest[], int offset, int length) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java200 /*package*/ static Bitmap nativeCreate(int[] colors, int offset, int stride, int width, argument
208 image.setRGB(0, 0, width, height, colors, offset, stride);
350 /*package*/ static void nativeGetPixels(int nativeBitmap, int[] pixels, int offset, argument
357 delegate.getImage().getRGB(x, y, width, height, pixels, offset, stride);
372 /*package*/ static void nativeSetPixels(int nativeBitmap, int[] colors, int offset, argument
379 delegate.getImage().setRGB(x, y, width, height, colors, offset, stride);
/frameworks/compile/libbcc/include/bcc/Renderscript/
H A DRSInfo.h48 // The offset from the beginning of the file of data
49 uint32_t offset; member in struct:bcc::rsinfo::ListHeader
200 // layout() assigns value of offset in each ListHeader (i.e., it decides where
201 // data should go in the file.) It also updates fields other than offset to
/frameworks/compile/libbcc/lib/Renderscript/runtime/
H A Drs_sample.c14 const uint32_t offset = type->mHal.state.lodOffset[lod]; local
17 return &p[offset + eSize * x];
27 const uint32_t offset = type->mHal.state.lodOffset[lod]; local
35 return &p[offset + (eSize * x) + (y * stride)];
/frameworks/native/libs/binder/
H A DIMemory.cpp127 virtual sp<IMemoryHeap> getMemory(ssize_t* offset=0, size_t* size=0) const;
137 void* IMemory::fastPointer(const sp<IBinder>& binder, ssize_t offset) const
143 return static_cast<char*>(base) + offset;
147 ssize_t offset; local
148 sp<IMemoryHeap> heap = getMemory(&offset);
152 return static_cast<char*>(base) + offset;
161 ssize_t IMemory::offset() const { function in class:android::IMemory
162 ssize_t offset; local
163 getMemory(&offset);
164 return offset;
178 getMemory(ssize_t* offset, size_t* size) const argument
217 ssize_t offset; local
299 uint32_t offset = reply.readInt32(); local
[all...]
H A DMemoryDealer.cpp115 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size);
133 status_t deallocate(size_t offset);
166 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size)
167 : MemoryBase(heap, offset, size), mDealer(dealer)
170 void* const start_ptr = (void*)(intptr_t(heap->base()) + offset);
182 * and could alias some real allocation (their offset is zero). */
242 const ssize_t offset = allocator()->allocate(size); local
243 if (offset >= 0) {
244 memory = new Allocation(this, heap(), offset, size);
249 void MemoryDealer::deallocate(size_t offset) argument
164 Allocation( const sp<MemoryDealer>& dealer, const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument
296 ssize_t offset = alloc(size, flags); local
300 deallocate(size_t offset) argument
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_context.cpp241 void GLTraceContext::updateBufferSubData(GLuint bufferId, GLintptr offset, GLvoid *data, argument
245 buffer->updateSubBuffer(offset, data, size);
275 void ElementArrayBuffer::updateSubBuffer(GLintptr offset, const GLvoid* data, GLsizeiptr size) { argument
276 if (offset + size <= mSize) {
277 memcpy((char*)mBuf + offset, data, size);
/frameworks/native/opengl/tools/glgen/stubs/jsr239/
H A DGLCHeader.cpp116 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
139 *offset = _env->CallStaticIntMethod(nioAccessClass,
180 jint offset; local
181 buf = getPointer(_env, buffer, &array, &remaining, &offset);
185 buf = buf + offset;
/frameworks/rs/driver/
H A DrsdBcc.cpp400 uint32_t offset = mtls->fep.dimY * mtls->fep.dimZ * p.ar[0] + local
402 p.out = mtls->fep.ptrOut + (mtls->fep.yStrideOut * offset) +
404 p.in = mtls->fep.ptrIn + (mtls->fep.yStrideIn * offset) +
H A DrsdShader.cpp534 uint32_t offset = e->mHal.state.fieldOffsetBytes[field]; local
535 const float *fd = reinterpret_cast<const float *>(&data[offset]);
547 ALOGV("Uniform slot=%i, offset=%i, constant=%i, field=%i, uidx=%i, name=%s",
548 slot, offset, ct, field, uidx, fieldName);
/frameworks/rs/
H A DrsType.cpp91 size_t offset = 0; local
96 mHal.state.lodOffset[lod] = offset;
97 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes();
103 // At this point the offset is the size of a mipmap chain;
104 mMipChainSizeBytes = offset;
107 offset *= 6;
109 mTotalSizeBytes = offset;
114 uint32_t offset = mHal.state.lodOffset[lod]; local
115 offset += x * mElement->getSizeBytes();
116 return offset;
120 uint32_t offset = mHal.state.lodOffset[lod]; local
126 uint32_t offset = mHal.state.lodOffset[lod]; local
135 uint32_t offset = mHal.state.lodOffset[lod]; local
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A DrsType.cpp91 size_t offset = 0; local
96 mHal.state.lodOffset[lod] = offset;
97 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes();
103 // At this point the offset is the size of a mipmap chain;
104 mMipChainSizeBytes = offset;
107 offset *= 6;
109 mTotalSizeBytes = offset;
114 uint32_t offset = mHal.state.lodOffset[lod]; local
115 offset += x * mElement->getSizeBytes();
116 return offset;
120 uint32_t offset = mHal.state.lodOffset[lod]; local
126 uint32_t offset = mHal.state.lodOffset[lod]; local
135 uint32_t offset = mHal.state.lodOffset[lod]; local
[all...]
/frameworks/wilhelm/include/SLES/
H A DOpenSLES_Android.h307 SLAint64 offset; member in struct:SLDataLocator_AndroidFD_
/frameworks/wilhelm/src/android/
H A Dandroid_GenericPlayer.cpp100 void GenericPlayer::setDataSource(int fd, int64_t offset, int64_t length, bool closeAfterUse) { argument
101 SL_LOGV("GenericPlayer::setDataSource(fd=%d, offset=%lld, length=%lld, closeAfterUse=%s)", fd,
102 offset, length, closeAfterUse ? "true" : "false");
114 if (offset >= sb.st_size) {
115 SL_LOGE("SfPlayer::setDataSource: invalid offset");
118 mDataLocator.fdi.offset = offset;
122 } else if (offset + length > sb.st_size) {
123 mDataLocator.fdi.length = sb.st_size - offset;
H A Dandroid_defs.h194 int64_t offset; member in struct:android::FdInfo
/frameworks/av/drm/common/
H A DIDrmManagerService.cpp528 const off64_t offset = reply.readInt64(); local
540 drmConvertedStatus = new DrmConvertedStatus(statusCode, convertedData, offset);
560 const off64_t offset = reply.readInt64(); local
572 drmConvertedStatus = new DrmConvertedStatus(statusCode, convertedData, offset);
614 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) {
621 data.writeInt64(offset);
779 ssize_t numBytes, off64_t offset) {
790 data.writeInt64(offset);
1238 reply->writeInt64(drmConvertedStatus->offset);
1269 reply->writeInt64(drmConvertedStatus->offset);
613 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
777 pread( int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
1328 const off64_t offset = data.readInt64(); local
1504 const off64_t offset = data.readInt64(); local
[all...]
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp430 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) {
443 result = rDrmEngine.openDecryptSession(uniqueId, handle, fd, offset, length, mime);
566 void* buffer, ssize_t numBytes, off64_t offset) {
572 result = drmEngine->pread(uniqueId, decryptHandle, buffer, numBytes, offset);
429 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
565 pread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClientImpl.cpp258 int uniqueId, int fd, off64_t offset,
262 uniqueId, fd, offset, length, mime);
326 void* buffer, ssize_t numBytes, off64_t offset) {
330 uniqueId, decryptHandle.get(), buffer, numBytes, offset);
257 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
325 pread(int uniqueId, sp<DecryptHandle> &decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp403 int offset = -1; local
427 offset = convSession->output.fromConvertData.errorPos;
431 return new DrmConvertedStatus(getConvertedStatus(retStatus), convResult, offset);
438 int offset = -1; local
449 offset = convSession->output.fromCloseSession.fileOffset;
462 return new DrmConvertedStatus(getConvertedStatus(retStatus), convResult, offset);
469 off64_t offset,
475 int offset,
493 -1 < ::lseek(fileDesc, offset, SEEK_SET) &&
541 // offset i
466 onOpenDecryptSession(int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument
642 onLseek(int uniqueId, DecryptHandle* decryptHandle, off64_t offset, int whence) argument
662 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
[all...]

Completed in 551 milliseconds

<<1112131415161718