Home
last modified time | relevance | path

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

12

/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DParsableNalUnitBitArray.java30 private int byteOffset; field in ParsableNalUnitBitArray
52 byteOffset = offset; in reset()
64 byteOffset += shouldSkipByte(byteOffset + 1) ? 2 : 1; in skipBit()
75 int oldByteOffset = byteOffset; in skipBits()
77 byteOffset += numBytes; in skipBits()
80 byteOffset++; in skipBits()
83 for (int i = oldByteOffset + 1; i <= byteOffset; i++) { in skipBits()
86 byteOffset++; in skipBits()
101 int oldByteOffset = byteOffset; in canReadBits()
103 int newByteOffset = byteOffset + numBytes; in canReadBits()
[all …]
DParsableBitArray.java30 private int byteOffset; field in ParsableBitArray
87 byteOffset = 0; in reset()
96 return (byteLimit - byteOffset) * 8 - bitOffset; in bitsLeft()
103 return byteOffset * 8 + bitOffset; in getPosition()
113 return byteOffset; in getBytePosition()
122 byteOffset = position / 8; in setPosition()
123 bitOffset = position - (byteOffset * 8); in setPosition()
133 byteOffset++; in skipBit()
145 byteOffset += numBytes; in skipBits()
148 byteOffset++; in skipBits()
[all …]
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DVorbisBitArray.java31 private int byteOffset; field in VorbisBitArray
48 byteOffset = 0; in reset()
58 boolean returnValue = (((data[byteOffset] & 0xFF) >> bitOffset) & 0x01) == 1; in readBit()
70 int tempByteOffset = byteOffset; in readBits()
89 byteOffset += numBytes; in skipBits()
92 byteOffset++; in skipBits()
102 return byteOffset * 8 + bitOffset; in getPosition()
111 byteOffset = position / 8; in setPosition()
112 bitOffset = position - (byteOffset * 8); in setPosition()
120 return (byteLimit - byteOffset) * 8 - bitOffset; in bitsLeft()
[all …]
/external/aac/libFDK/src/
DFDK_bitbuffer.cpp158 UINT byteOffset = hBitBuf->BitNdx >> 3; in FDK_get() local
166 UINT tx = (hBitBuf->Buffer[byteOffset & byteMask] << 24) | in FDK_get()
167 (hBitBuf->Buffer[(byteOffset + 1) & byteMask] << 16) | in FDK_get()
168 (hBitBuf->Buffer[(byteOffset + 2) & byteMask] << 8) | in FDK_get()
169 hBitBuf->Buffer[(byteOffset + 3) & byteMask]; in FDK_get()
173 tx |= hBitBuf->Buffer[(byteOffset + 4) & byteMask] >> (8 - bitOffset); in FDK_get()
186 UINT byteOffset = (BitNdx - 1) >> 3; in FDK_get32() local
188 UINT cache = (hBitBuf->Buffer[(byteOffset - 3)] << 24) | in FDK_get32()
189 (hBitBuf->Buffer[(byteOffset - 2)] << 16) | in FDK_get32()
190 (hBitBuf->Buffer[(byteOffset - 1)] << 8) | in FDK_get32()
[all …]
/external/icu/icu4c/source/tools/genrb/
Dreslist.cpp650 StringBaseResource::handlePreWrite(uint32_t *byteOffset) { in handlePreWrite() argument
652 fRes = URES_MAKE_RESOURCE(fType, *byteOffset >> 2); in handlePreWrite()
653 *byteOffset += 4 + (length() + 1) * U_SIZEOF_UCHAR; in handlePreWrite()
657 IntVectorResource::handlePreWrite(uint32_t *byteOffset) { in handlePreWrite() argument
662 fRes = URES_MAKE_RESOURCE(URES_INT_VECTOR, *byteOffset >> 2); in handlePreWrite()
663 *byteOffset += (1 + fCount) * 4; in handlePreWrite()
668 BinaryResource::handlePreWrite(uint32_t *byteOffset) { in handlePreWrite() argument
670 uint32_t dataStart = *byteOffset + sizeof(fLength); in handlePreWrite()
674 *byteOffset += pad; /* pad == 4 or 8 or 12 */ in handlePreWrite()
676 fRes = URES_MAKE_RESOURCE(URES_BINARY, *byteOffset >> 2); in handlePreWrite()
[all …]
Dreslist.h209 void preWrite(uint32_t *byteOffset);
210 virtual void handlePreWrite(uint32_t *byteOffset);
216 void write(UNewDataMemory *mem, uint32_t *byteOffset);
217 virtual void handleWrite(UNewDataMemory *mem, uint32_t *byteOffset);
257 void preWriteAllRes(uint32_t *byteOffset);
258 void writeAllRes(UNewDataMemory *mem, uint32_t *byteOffset);
259 void writeAllRes32(UNewDataMemory *mem, uint32_t *byteOffset);
278 void handlePreWrite(uint32_t *byteOffset) override;
279 void handleWrite(UNewDataMemory *mem, uint32_t *byteOffset) override;
298 virtual void handlePreWrite(uint32_t *byteOffset);
[all …]
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/internal/
DParcelCallSender.java179 int byteOffset = 1; in fetchResponseParcel() local
190 byteOffset = 0; in fetchResponseParcel()
194 returnBytes, /* offset= */ byteOffset, /* length= */ returnBytes.length - byteOffset); in fetchResponseParcel()
/external/clang/lib/StaticAnalyzer/Checkers/
DArrayBoundCheckerV2.cpp47 SVal byteOffset; member in __anon110b9c0b0111::RegionRawOffsetV2
50 : baseRegion(nullptr), byteOffset(UnknownVal()) {} in RegionRawOffsetV2()
54 : baseRegion(base), byteOffset(offset) {} in RegionRawOffsetV2()
56 NonLoc getByteOffset() const { return byteOffset.castAs<NonLoc>(); } in getByteOffset()
/external/exoplayer/tree/testutils/src/test/java/com/google/android/exoplayer2/testutil/
DFakeDataSetTest.java100 long byteOffset, in assertSegment() argument
110 assertThat(segment.byteOffset).isEqualTo(byteOffset); in assertSegment()
/external/deqp/framework/opengl/
DgluDefs.hpp46 DE_INLINE void* BufferOffsetAsPointer (uintptr_t byteOffset) in BufferOffsetAsPointer() argument
48 return reinterpret_cast<void*>(byteOffset); in BufferOffsetAsPointer()
/external/glide/library/src/main/java/com/bumptech/glide/util/
DExceptionCatchingInputStream.java83 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read() argument
86 read = wrapped.read(buffer, byteOffset, byteCount); in read()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeDataSet.java85 public final long byteOffset; field in FakeDataSet.FakeData.Segment
118 this.byteOffset = previousSegment == null ? 0 in Segment()
119 : previousSegment.byteOffset + previousSegment.length; in Segment()
DFakeAdaptiveDataSet.java97 return new DataSpec(Uri.parse(uri), fakeDataChunk.byteOffset, fakeDataChunk.length); in getDataSpec()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/upstream/cache/
DCachedRegionTracker.java78 public synchronized int getRegionEndTimeMs(long byteOffset) { in getRegionEndTimeMs() argument
79 lookupRegion.startOffset = byteOffset; in getRegionEndTimeMs()
81 if (floorRegion == null || byteOffset > floorRegion.endOffset in getRegionEndTimeMs()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DArrayBoundCheckerV2.cpp50 SVal byteOffset; member in __anonb6fb90790111::RegionRawOffsetV2
53 : baseRegion(nullptr), byteOffset(UnknownVal()) {} in RegionRawOffsetV2()
57 : baseRegion(base), byteOffset(offset) {} in RegionRawOffsetV2()
59 NonLoc getByteOffset() const { return byteOffset.castAs<NonLoc>(); } in getByteOffset()
/external/brotli/csharp/org/brotli/dec/
DBitReader.cs103 int byteOffset = (br.intOffset << 2) + ((br.bitOffset + 7) >> 3) - 8; in CheckHealth()
104 if (byteOffset > br.tailBytes) in CheckHealth()
108 if (endOfStream && (byteOffset != br.tailBytes)) in CheckHealth()
/external/brotli/java/org/brotli/dec/
DBitReader.java88 int byteOffset = (s.halfOffset << LOG_HALF_SIZE) + ((s.bitOffset + 7) >> 3) - BYTENESS; in checkHealth() local
89 if (byteOffset > s.tailBytes) { in checkHealth()
92 if ((endOfStream != 0) && (byteOffset != s.tailBytes)) { in checkHealth()
/external/deqp/framework/referencerenderer/
DrrVertexAttrib.cpp500 const int byteOffset = elementNdx*stride; in readVertexAttrib() local
503 …loat(dst, vertexAttrib.type, vertexAttrib.size, (const deUint8*)vertexAttrib.pointer + byteOffset); in readVertexAttrib()
520 const int byteOffset = elementNdx*stride; in readVertexAttrib() local
523 …dInt(dst, vertexAttrib.type, vertexAttrib.size, (const deUint8*)vertexAttrib.pointer + byteOffset); in readVertexAttrib()
540 const int byteOffset = elementNdx*stride; in readVertexAttrib() local
543 …Uint(dst, vertexAttrib.type, vertexAttrib.size, (const deUint8*)vertexAttrib.pointer + byteOffset); in readVertexAttrib()
/external/angle/third_party/abseil-cpp/absl/base/internal/
Dsysinfo.cc98 DWORD byteOffset = 0; in Win32NumCPUs() local
99 while (byteOffset + sizeof(Info) <= info_size) { in Win32NumCPUs()
115 byteOffset += sizeof(Info); in Win32NumCPUs()
/external/downloader/src/main/java/com/google/android/downloader/
DDownloadDestination.java61 WritableByteChannel openByteChannel(long byteOffset, DownloadMetadata metadata) in openByteChannel() argument
/external/skia/experimental/skottiekit/
Dhelper.js12 return arr.byteOffset;
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/
DZoneInfoDb.java174 int byteOffset = byteOffsets[index]; in getBufferIterator() local
176 it.skip(byteOffset); in getBufferIterator()
/external/libchrome/base/android/jni_generator/
DtestInputStream.javap37 const #31 = Asciz byteOffset;
185 0 10 2 byteOffset I
/external/skqp/include/private/
DSkTemplates.h43 template <typename D, typename S> static D* SkTAddOffset(S* ptr, size_t byteOffset) { in SkTAddOffset() argument
46 return reinterpret_cast<D*>(reinterpret_cast<sknonstd::same_cv_t<char, D>*>(ptr) + byteOffset); in SkTAddOffset()
/external/skia/include/private/
DSkTemplates.h45 template <typename D, typename S> static D* SkTAddOffset(S* ptr, size_t byteOffset) { in SkTAddOffset() argument
48 return reinterpret_cast<D*>(reinterpret_cast<sknonstd::same_cv_t<char, D>*>(ptr) + byteOffset); in SkTAddOffset()

12