Home
last modified time | relevance | path

Searched refs:byteOffset (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmSmsTest.java362 int byteOffset = bitOffset / 8; in decodeSingle() local
365 septets[byteOffset] |= v << shift; in decodeSingle()
368 septets[byteOffset + 1] = (byte) (v >> (8 - shift)); in decodeSingle()
427 int byteOffset = bitOffset / 8; in testDecodeExtended() local
430 septets[byteOffset] |= GSM_ESCAPE_CHARACTER << shift; in testDecodeExtended()
433 septets[byteOffset + 1] = (byte) (GSM_ESCAPE_CHARACTER >> (8 - shift)); in testDecodeExtended()
439 byteOffset = bitOffset / 8; in testDecodeExtended()
442 septets[byteOffset] |= v << shift; in testDecodeExtended()
445 septets[byteOffset + 1] = (byte) (v >> (8 - shift)); in testDecodeExtended()
490 int byteOffset = bitOffset / 8; in testDecodeExtendedFallback() local
[all …]
/frameworks/native/opengl/libs/EGL/
DBlobCache.cpp193 off_t byteOffset = align4(sizeof(Header) + header->mBuildIdLength); in flatten() local
202 if (byteOffset + totalSize > size) { in flatten()
207 EntryHeader* eheader = reinterpret_cast<EntryHeader*>(&byteBuffer[byteOffset]); in flatten()
220 byteOffset += totalSize; in flatten()
252 off_t byteOffset = align4(sizeof(Header) + header->mBuildIdLength); in unflatten() local
255 if (byteOffset + sizeof(EntryHeader) > size) { in unflatten()
262 &byteBuffer[byteOffset]); in unflatten()
268 if (byteOffset + totalSize > size) { in unflatten()
277 byteOffset += totalSize; in unflatten()
/frameworks/base/core/java/android/util/jar/
DStrictJarFile.java347 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read() argument
352 int r = super.read(buffer, byteOffset, byteCount); in read()
358 entry.write(buffer, byteOffset, size); in read()
399 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read() argument
402 i = super.read(buffer, byteOffset, byteCount); in read()
458 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read() argument
469 int count = IoBridge.read(fd, buffer, byteOffset, byteCount); in read()
/frameworks/ml/nn/driver/cache/BlobCache/
DBlobCache.cpp248 off_t byteOffset = align4(sizeof(Header) + header->mBuildIdLength); in flatten() local
257 if (byteOffset + totalSize > size) { in flatten()
262 EntryHeader* eheader = reinterpret_cast<EntryHeader*>(&byteBuffer[byteOffset]); in flatten()
275 byteOffset += totalSize; in flatten()
307 off_t byteOffset = align4(sizeof(Header) + header->mBuildIdLength); in unflatten() local
310 if (byteOffset + sizeof(EntryHeader) > size) { in unflatten()
317 &byteBuffer[byteOffset]); in unflatten()
323 if (byteOffset + totalSize > size) { in unflatten()
332 byteOffset += totalSize; in unflatten()
/frameworks/base/core/java/com/android/internal/util/
DSizedInputStream.java49 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read() argument
56 final int n = mWrapped.read(buffer, byteOffset, byteCount); in read()
/frameworks/base/core/java/android/os/
DFileBridge.java180 public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException { in write() argument
181 Arrays.checkOffsetAndCount(buffer.length, byteOffset, byteCount); in write()
185 IoBridge.write(mClient, buffer, byteOffset, byteCount); in write()
/frameworks/base/telephony/java/com/android/internal/telephony/
DGsmAlphabet.java433 int byteOffset = bitOffset / 8; in packSmsChar() local
436 packedChars[++byteOffset] |= value << shift; in packSmsChar()
439 packedChars[++byteOffset] = (byte)(value >> (8 - shift)); in packSmsChar()
505 int byteOffset = bitOffset / 8; in gsm7BitPackedToString() local
509 gsmVal = (0x7f & (pdu[offset + byteOffset] >> shift)); in gsm7BitPackedToString()
516 gsmVal |= 0x7f & (pdu[offset + byteOffset + 1] << (8 - shift)); in gsm7BitPackedToString()
/frameworks/base/opengl/java/android/opengl/
DGLLogWrapper.java1081 int byteOffset = stride * index; in doArrayElement() local
1088 byte d = byteBuffer.get(byteOffset); in doArrayElement()
1093 byte d = byteBuffer.get(byteOffset); in doArrayElement()
1099 short d = shortBuffer.get(byteOffset / 2); in doArrayElement()
1105 int d = intBuffer.get(byteOffset / 4); in doArrayElement()
1111 float d = intBuffer.get(byteOffset / 4); in doArrayElement()
1119 byteOffset += sizeofType; in doArrayElement()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp697 jbyteArray javaBytes, jint byteOffset, jint sizeInBytes, in android_media_AudioTrack_write_native_bytes() argument
714 jint written = writeToTrack(lpTrack, javaAudioFormat, bytes.get(), byteOffset, in android_media_AudioTrack_write_native_bytes()
/frameworks/base/config/
Dboot-image-profile.txt46981 HSPLjava/util/concurrent/atomic/AtomicReferenceArray;->byteOffset(I)J