Home
last modified time | relevance | path

Searched refs:byteOffset (Results 1 – 25 of 41) 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.cpp649 StringBaseResource::handlePreWrite(uint32_t *byteOffset) { in handlePreWrite() argument
651 fRes = URES_MAKE_RESOURCE(fType, *byteOffset >> 2); in handlePreWrite()
652 *byteOffset += 4 + (length() + 1) * U_SIZEOF_UCHAR; in handlePreWrite()
656 IntVectorResource::handlePreWrite(uint32_t *byteOffset) { in handlePreWrite() argument
661 fRes = URES_MAKE_RESOURCE(URES_INT_VECTOR, *byteOffset >> 2); in handlePreWrite()
662 *byteOffset += (1 + fCount) * 4; in handlePreWrite()
667 BinaryResource::handlePreWrite(uint32_t *byteOffset) { in handlePreWrite() argument
669 uint32_t dataStart = *byteOffset + sizeof(fLength); in handlePreWrite()
673 *byteOffset += pad; /* pad == 4 or 8 or 12 */ in handlePreWrite()
675 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/v8/src/builtins/
Dtyped-array-createtypedarray.tq24 byteOffset: uintptr, byteLength: uintptr, length: uintptr): JSTypedArray {
31 // The max byteOffset is 8 * MaxSmi on the particular platform. 32 bit
43 (backingStore + byteOffset) >= backingStore);
53 typedArray.byte_offset = byteOffset;
58 typed_array::SetJSTypedArrayOnHeapDataPtr(typedArray, elements, byteOffset);
61 typedArray, buffer.backing_store_ptr, byteOffset);
64 (buffer.backing_store_ptr + Convert<intptr>(byteOffset)));
78 const byteOffset: uintptr = 0;
92 isOnHeap, map, buffer, byteOffset, byteLength, length);
111 isOnHeap, map, buffer, byteOffset, byteLength, length);
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DArrayBoundCheckerV2.cpp47 SVal byteOffset; member in __anon833fa8af0111::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/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLBIOSource.java88 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read() argument
91 source.get(buffer, byteOffset, toRead); in read()
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLBIOSource.java87 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read() argument
90 source.get(buffer, byteOffset, toRead); 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/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/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/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/brotli/java/org/brotli/dec/
DBitReader.java83 int byteOffset = (s.halfOffset << LOG_HALF_SIZE) + ((s.bitOffset + 7) >> 3) - BYTENESS; in checkHealth() local
84 if (byteOffset > s.tailBytes) { in checkHealth()
87 if ((endOfStream != 0) && (byteOffset != s.tailBytes)) { in checkHealth()
/external/skia/modules/canvaskit/
Dparagraph.js25 CanvasKit._free(floatArray.byteOffset);
/external/skia/include/private/
DSkTemplates.h44 template <typename D, typename S> static D* SkTAddOffset(S* ptr, size_t byteOffset) { in SkTAddOffset() argument
47 return reinterpret_cast<D*>(reinterpret_cast<sknonstd::same_cv_t<char, D>*>(ptr) + byteOffset); in SkTAddOffset()
/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/libchrome/base/android/jni_generator/
DtestInputStream.javap37 const #31 = Asciz byteOffset;
185 0 10 2 byteOffset I
/external/flatbuffers/tests/
Dmonster_test_generated.ts894 …return offset ? new Uint8Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__v…
1042 …return offset ? new Uint8Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__v…
1283 …return offset ? new Int8Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__ve…
1415 …return offset ? new Uint8Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__v…
1475 …return offset ? new Float64Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!._…
1729 …return offset ? new Int8Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__ve…
2805 …return offset ? new Int8Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!.__ve…
2830 …return offset ? new Float64Array(this.bb!.bytes().buffer, this.bb!.bytes().byteOffset + this.bb!._…
Dmonster_test_generated.js1026 …return offset ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vect…
1172 …return offset ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vect…
1413 …return offset ? new Int8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vecto…
1543 …return offset ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vect…
1603 …return offset ? new Float64Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__ve…
1857 …return offset ? new Int8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vecto…
2990 …return offset ? new Int8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vecto…
3015 …return offset ? new Float64Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__ve…

12