/frameworks/base/tools/aapt/ |
H A D | CrunchCache.cpp | 42 // and offset our beginning pointer to the length of the sourcePath 48 int offset = 0; local 50 offset = 1; 51 relativePath = String8(rPathPtr + offset);
|
/frameworks/compile/mclinker/lib/Target/X86/ |
H A D | X86PLT.cpp | 33 0x68, 0, 0, 0, 0, // pushl $offset 45 0x68, 0, 0, 0, 0, // pushl $offset 168 uint32_t *offset = reinterpret_cast<uint32_t*>(data + 2); local 169 *offset = got_base + 4; 170 offset = reinterpret_cast<uint32_t*>(data + 8); 171 *offset = got_base + 8; 213 uint32_t* offset; local 215 offset = reinterpret_cast<uint32_t*>(data + 2); 217 *offset = GOTEntryOffset; 220 *offset [all...] |
/frameworks/native/include/binder/ |
H A D | IMemory.h | 75 virtual sp<IMemoryHeap> getMemory(ssize_t* offset=0, size_t* size=0) const = 0; 78 void* fastPointer(const sp<IBinder>& heap, ssize_t offset) const; 81 ssize_t offset() const;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccServiceTable.java | 39 * @param service the service number as a zero-based offset (the enum ordinal) 43 int offset = service / 8; 44 if (offset >= mServiceTable.length) { 51 return (mServiceTable[offset] & (1 << bit)) != 0;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmSmsAddress.java | 35 * @param offset the offset of the Address-Length byte 41 public GsmSmsAddress(byte[] data, int offset, int length) throws ParseException { argument 43 System.arraycopy(data, offset, origBytes, 0, length); 54 offset + OFFSET_TOA);
|
H A D | GsmSmsCbMessage.java | 199 int offset = SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) * i; 200 int length = pdu[offset + PDU_BODY_PAGE_LENGTH]; 207 Pair<String, String> p = unpackBody(pdu, encoding, offset, length, 215 int offset = SmsCbHeader.PDU_HEADER_LENGTH; 216 int length = pdu.length - offset; 218 return unpackBody(pdu, encoding, offset, length, hasLanguageIndicator, language); 228 * @param offset Position of the first byte to unpack 236 private static Pair<String, String> unpackBody(byte[] pdu, int encoding, int offset, int length, argument 242 body = GsmAlphabet.gsm7BitPackedToString(pdu, offset, length * 8 / 7); 246 // The actual body text is offset b [all...] |
H A D | SimTlv.java | 38 public SimTlv(byte[] record, int offset, int length) { argument 41 this.tlvOffset = offset; 43 curOffset = offset;
|
/frameworks/av/media/libstagefright/ |
H A D | avc_utils.cpp | 150 size_t offset = 0; local 151 while (offset < size && data[offset] == 0x00) { 152 ++offset; 155 if (offset == size) { 161 if (offset < 2 || data[offset] != 0x01) { 165 ++offset; 167 size_t startOffset = offset; 170 while (offset < siz [all...] |
H A D | NuCachedSource2.cpp | 146 size_t offset = 0; local 148 while (from >= offset + (*it)->mSize) { 149 offset += (*it)->mSize; 153 size_t delta = from - offset; 407 int64_t offset; local 408 CHECK(msg->findInt64("offset", &offset)); 416 ssize_t result = readInternal(offset, data, size); 464 ssize_t NuCachedSource2::readAt(off64_t offset, void *data, size_t size) { argument 467 ALOGV("readAt offset 532 readInternal(off64_t offset, void *data, size_t size) argument 588 seekInternal_l(off64_t offset) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES11.cpp | 73 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument 93 *offset = _env->CallStaticIntMethod(nioAccessClass, 173 /* void glBufferSubData ( GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data ) */ 176 (JNIEnv *_env, jobject _this, jint target, jint offset, jint size, jobject data_buf) { 198 (GLintptr)offset, 215 (JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) { 229 if (offset < 0) { 232 _exceptionMessage = "offset < 0"; 235 _remaining = _env->GetArrayLength(equation_ref) - offset; 238 equation = equation_base + offset; 175 android_glBufferSubData__IIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint target, jint offset, jint size, jobject data_buf) argument 214 android_glClipPlanef__I_3FI(JNIEnv *_env, jobject _this, jint plane, jfloatArray equation_ref, jint offset) argument 286 android_glClipPlanex__I_3II(JNIEnv *_env, jobject _this, jint plane, jintArray equation_ref, jint offset) argument 370 android_glColorPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument 382 android_glDeleteBuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray buffers_ref, jint offset) argument 468 android_glDrawElements__IIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) argument 486 android_glGenBuffers__I_3II(JNIEnv *_env, jobject _this, jint n, jintArray buffers_ref, jint offset) argument 572 android_glGetBooleanv__I_3ZI(JNIEnv *_env, jobject _this, jint pname, jbooleanArray params_ref, jint offset) argument 638 android_glGetBufferParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument 726 android_glGetClipPlanef__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray eqn_ref, jint offset) argument 792 android_glGetClipPlanex__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray eqn_ref, jint offset) argument 858 android_glGetFixedv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument 924 android_glGetFloatv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument 990 android_glGetLightfv__II_3FI(JNIEnv *_env, jobject _this, jint light, jint pname, jfloatArray params_ref, jint offset) argument 1162 android_glGetLightxv__II_3II(JNIEnv *_env, jobject _this, jint light, jint pname, jintArray params_ref, jint offset) argument 1334 android_glGetMaterialfv__II_3FI(JNIEnv *_env, jobject _this, jint face, jint pname, jfloatArray params_ref, jint offset) argument 1478 android_glGetMaterialxv__II_3II(JNIEnv *_env, jobject _this, jint face, jint pname, jintArray params_ref, jint offset) argument 1622 android_glGetTexEnvfv__II_3FI(JNIEnv *_env, jobject _this, jint env, jint pname, jfloatArray params_ref, jint offset) argument 1754 android_glGetTexEnviv__II_3II(JNIEnv *_env, jobject _this, jint env, jint pname, jintArray params_ref, jint offset) argument 1886 android_glGetTexEnvxv__II_3II(JNIEnv *_env, jobject _this, jint env, jint pname, jintArray params_ref, jint offset) argument 2018 android_glGetTexParameterfv__II_3FI(JNIEnv *_env, jobject _this, jint target, jint pname, jfloatArray params_ref, jint offset) argument 2106 android_glGetTexParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument 2194 android_glGetTexParameterxv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument 2315 android_glNormalPointer__III(JNIEnv *_env, jobject _this, jint type, jint stride, jint offset) argument 2336 android_glPointParameterfv__I_3FI(JNIEnv *_env, jobject _this, jint pname, jfloatArray params_ref, jint offset) argument 2432 android_glPointParameterxv__I_3II(JNIEnv *_env, jobject _this, jint pname, jintArray params_ref, jint offset) argument 2541 android_glTexCoordPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument 2564 android_glTexEnviv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument 2696 android_glTexParameterfv__II_3FI(JNIEnv *_env, jobject _this, jint target, jint pname, jfloatArray params_ref, jint offset) argument 2795 android_glTexParameteriv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument 2883 android_glTexParameterxv__II_3II(JNIEnv *_env, jobject _this, jint target, jint pname, jintArray params_ref, jint offset) argument 2971 android_glVertexPointer__IIII(JNIEnv *_env, jobject _this, jint size, jint type, jint stride, jint offset) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | me_utils.cpp | 23 #define VOP_OFFSET ((lx<<4)+16) /* for offset to image area */ 39 Int offset = (lx >> 2) - 4; local 54 pint += offset; 61 pint += offset; 68 offset = lx - 16; 87 p += (offset - temp); 116 Int offset = lx - 17; local 137 p1 += offset; 138 p2 += offset; 139 p3 += offset; 172 Int offset = lx - 9; local [all...] |
/frameworks/av/media/libstagefright/include/ |
H A D | AVIExtractor.h | 88 ssize_t parseChunk(off64_t offset, off64_t size, int depth = 0); 89 status_t parseStreamHeader(off64_t offset, size_t size); 90 status_t parseStreamFormat(off64_t offset, size_t size); 91 status_t parseIndex(off64_t offset, size_t size); 97 off64_t *offset, size_t *size, bool *isKey,
|
/frameworks/av/media/libstagefright/mp4/ |
H A D | TrackFragment.h | 79 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size); 82 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size); 85 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size); 88 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size); 91 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size);
|
/frameworks/base/core/java/android/speech/srec/ |
H A D | UlawEncoderInputStream.java | 116 * @param offset offset of start of 16 bit pcm data. 120 public static int maxAbsPcm(byte[] pcmBuf, int offset, int length) { argument 123 int pcm = (0xff & pcmBuf[offset++]) + (pcmBuf[offset++] << 8); 141 public int read(byte[] buf, int offset, int length) throws IOException { argument 153 encode(mBuf, 0, buf, offset, n, mMax);
|
/frameworks/base/core/java/android/webkit/ |
H A D | QuadF.java | 38 public void offset(float dx, float dy) { method in class:QuadF 39 p1.offset(dx, dy); 40 p2.offset(dx, dy); 41 p3.offset(dx, dy); 42 p4.offset(dx, dy);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapRegionDecoder.java | 48 * @param offset offset into data for where the decoder should begin 50 * @param length the number of bytes, beginning at offset, to parse 62 int offset, int length, boolean isShareable) throws IOException { 63 if ((offset | length) < 0 || data.length < offset + length) { 66 return nativeNewInstance(data, offset, length, isShareable); 267 byte[] data, int offset, int length, boolean isShareable); 61 newInstance(byte[] data, int offset, int length, boolean isShareable) argument 266 nativeNewInstance( byte[] data, int offset, int length, boolean isShareable) argument
|
/frameworks/base/media/java/android/drm/mobile1/ |
H A D | DrmRawContent.java | 254 * The offset of this DRM content to be reset. 256 private int offset; field in class:DrmRawContent.DrmInputStream 275 offset = 0; 293 int availableLen = len - offset; 335 len = nativeReadContent(b, off, len, offset); 342 offset += len; 420 * @param bufOff the offset of the buffer to start to save data. 422 * @param mediaOff the offset of the media content data to start to read.
|
/frameworks/av/media/libstagefright/chromium_http/ |
H A D | ChromiumHTTPDataSource.cpp | 61 off64_t offset) { 73 return connect_l(uri, headers, offset); 79 off64_t offset) { 86 "connect to <URL suppressed> @%lld", offset); 100 mCurrentOffset = offset; 102 mDelegate->initiateConnection(mURI.c_str(), &mHeaders, offset); 165 ssize_t ChromiumHTTPDataSource::readAt(off64_t offset, void *data, size_t size) { argument 182 if (offset != mCurrentOffset) { 188 status_t err = connect_l(tmp.c_str(), &tmpHeaders, offset); 327 status_t ChromiumHTTPDataSource::reconnectAtOffset(off64_t offset) { argument 58 connect( const char *uri, const KeyedVector<String8, String8> *headers, off64_t offset) argument 76 connect_l( const char *uri, const KeyedVector<String8, String8> *headers, off64_t offset) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | UEventObserver.java | 131 int offset = 0; 134 while (offset < length) { 135 int equals = message.indexOf('=', offset); 136 int at = message.indexOf('\0', offset); 139 if (equals > offset && equals < at) { 141 mMap.put(message.substring(offset, equals), 145 offset = at + 1;
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES20.java | 428 // C function void glBufferSubData ( GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data ) 432 int offset, 560 int offset 575 int offset 596 int offset 617 int offset 673 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset ) 679 int offset 743 int offset 764 int offset 430 glBufferSubData( int target, int offset, int size, java.nio.Buffer data ) argument 1399 glShaderBinary( int n, int[] shaders, int offset, int binaryformat, java.nio.Buffer binary, int length ) argument [all...] |
/frameworks/native/libs/binder/ |
H A D | IMemory.cpp | 127 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...] |
/frameworks/rs/ |
H A D | rsType.cpp | 91 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 D | rsType.cpp | 91 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/base/core/java/android/util/ |
H A D | Base64.java | 88 public abstract boolean process(byte[] input, int offset, int len, boolean finish); argument 147 * @param offset the position within the input array at which to start 155 public static byte[] decode(byte[] input, int offset, int len, int flags) { argument 160 if (!decoder.process(input, offset, len, true)) { 263 public boolean process(byte[] input, int offset, int len, boolean finish) { argument 266 int p = offset; 267 len += offset; 468 * @param offset the position within the input array at which to 475 public static String encodeToString(byte[] input, int offset, int len, int flags) { argument 477 return new String(encode(input, offset, le 509 encode(byte[] input, int offset, int len, int flags) argument 603 process(byte[] input, int offset, int len, boolean finish) argument [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | grp_data.c | 55 Word32 offset; local 82 offset = 0; 85 groupedSfbOffset[i] = offset + sfbOffset[sfb] * groupLen[grp]; 88 offset += groupLen[grp] * FRAME_LEN_SHORT; 95 offset = 0; 101 offset += groupLen[grp] * FRAME_LEN_SHORT;
|