Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmSmsTest.java374 int byteOffset = bitOffset / 8; in decodeSingle() local
377 septets[byteOffset] |= v << shift; in decodeSingle()
380 septets[byteOffset + 1] = (byte) (v >> (8 - shift)); in decodeSingle()
439 int byteOffset = bitOffset / 8; in testDecodeExtended() local
442 septets[byteOffset] |= GSM_ESCAPE_CHARACTER << shift; in testDecodeExtended()
445 septets[byteOffset + 1] = (byte) (GSM_ESCAPE_CHARACTER >> (8 - shift)); in testDecodeExtended()
451 byteOffset = bitOffset / 8; in testDecodeExtended()
454 septets[byteOffset] |= v << shift; in testDecodeExtended()
457 septets[byteOffset + 1] = (byte) (v >> (8 - shift)); in testDecodeExtended()
502 int byteOffset = bitOffset / 8; in testDecodeExtendedFallback() local
[all …]
/frameworks/native/opengl/libs/EGL/
DBlobCache.cpp194 off_t byteOffset = align4(sizeof(Header) + header->mBuildIdLength); in flatten() local
203 if (byteOffset + totalSize > size) { in flatten()
208 EntryHeader* eheader = reinterpret_cast<EntryHeader*>(&byteBuffer[byteOffset]); in flatten()
221 byteOffset += totalSize; in flatten()
253 off_t byteOffset = align4(sizeof(Header) + header->mBuildIdLength); in unflatten() local
256 if (byteOffset + sizeof(EntryHeader) > size) { in unflatten()
263 &byteBuffer[byteOffset]); in unflatten()
269 if (byteOffset + totalSize > size) { in unflatten()
278 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()
400 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read() argument
403 i = super.read(buffer, byteOffset, byteCount); in read()
465 @Override public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read() argument
476 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/jni/
Dandroid_nio_utils.cpp33 jint byteOffset = jniGetNioBufferBaseArrayOffset(fEnv, nioBuffer); in AutoBufferPointer() local
36 fPointer = reinterpret_cast<void*>(reinterpret_cast<char*>(fElements) + byteOffset); in AutoBufferPointer()
Dandroid_media_AudioTrack.cpp706 jobject javaByteBuffer, jint byteOffset, jint sizeInBytes, in android_media_AudioTrack_write_native_bytes() argument
724 jint written = writeToTrack(lpTrack, javaAudioFormat, bytes, byteOffset, in android_media_AudioTrack_write_native_bytes()
/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 ArrayUtils.throwsIfOutOfBounds(buffer.length, byteOffset, byteCount); in write()
185 IoBridge.write(mClient, buffer, byteOffset, byteCount); in write()
/frameworks/base/telephony/java/com/android/internal/telephony/
DGsmAlphabet.java447 int byteOffset = bitOffset / 8; in packSmsChar() local
450 packedChars[++byteOffset] |= value << shift; in packSmsChar()
453 packedChars[++byteOffset] = (byte)(value >> (8 - shift)); in packSmsChar()
521 int byteOffset = bitOffset / 8; in gsm7BitPackedToString() local
525 gsmVal = (0x7f & (pdu[offset + byteOffset] >> shift)); in gsm7BitPackedToString()
532 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/config/
Dhiddenapi-greylist-max-o.txt115016 Ljava/util/concurrent/atomic/AtomicIntegerArray;->byteOffset(I)J
115037 Ljava/util/concurrent/atomic/AtomicLongArray;->byteOffset(I)J
115074 Ljava/util/concurrent/atomic/AtomicReferenceArray;->byteOffset(I)J