Home
last modified time | relevance | path

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

/external/exoplayer/tree/extensions/opus/src/main/java/com/google/android/exoplayer2/ext/opus/
DOpusDecoder.java85 byte[] headerBytes = initializationData.get(0); in OpusDecoder()
86 if (headerBytes.length < 19) { in OpusDecoder()
89 channelCount = headerBytes[9] & 0xFF; in OpusDecoder()
93 int preskip = readUnsignedLittleEndian16(headerBytes, 10); in OpusDecoder()
94 int gain = readSignedLittleEndian16(headerBytes, 16); in OpusDecoder()
99 if (headerBytes[18] == 0) { // Channel mapping in OpusDecoder()
109 if (headerBytes.length < 21 + channelCount) { in OpusDecoder()
113 numStreams = headerBytes[19] & 0xFF; in OpusDecoder()
114 numCoupled = headerBytes[20] & 0xFF; in OpusDecoder()
115 System.arraycopy(headerBytes, 21, streamMap, 0, channelCount); in OpusDecoder()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/dump/
DDumpArchiveInputStream.java111 final byte[] headerBytes = raw.readRecord(); in DumpArchiveInputStream()
113 if (!DumpArchiveUtil.verify(headerBytes)) { in DumpArchiveInputStream()
118 summary = new DumpArchiveSummary(headerBytes, this.zipEncoding); in DumpArchiveInputStream()
257 byte[] headerBytes = raw.readRecord(); in getNextEntry()
259 if (!DumpArchiveUtil.verify(headerBytes)) { in getNextEntry()
263 active = DumpArchiveEntry.parse(headerBytes); in getNextEntry()
274 headerBytes = raw.readRecord(); in getNextEntry()
276 if (!DumpArchiveUtil.verify(headerBytes)) { in getNextEntry()
280 active = DumpArchiveEntry.parse(headerBytes); in getNextEntry()
498 final byte[] headerBytes = raw.readRecord(); in read()
[all …]
/external/llvm-project/flang/runtime/
Dunit.cpp583 auto headerBytes{static_cast<std::int64_t>(sizeof header)}; in BackspaceVariableUnformattedRecord() local
586 if (frameOffsetInFile_ <= headerBytes) { in BackspaceVariableUnformattedRecord()
594 ReadFrame(frameOffsetInFile_ - headerBytes, headerBytes, handler)}; in BackspaceVariableUnformattedRecord()
598 RUNTIME_CHECK(handler, frameOffsetInFile_ >= *recordLength + 2 * headerBytes); in BackspaceVariableUnformattedRecord()
599 frameOffsetInFile_ -= *recordLength + 2 * headerBytes; in BackspaceVariableUnformattedRecord()
600 if (frameOffsetInFile_ >= headerBytes) { in BackspaceVariableUnformattedRecord()
601 frameOffsetInFile_ -= headerBytes; in BackspaceVariableUnformattedRecord()
602 recordOffsetInFrame_ = headerBytes; in BackspaceVariableUnformattedRecord()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/
DPlayReadyHeader.java176 byte[] headerBytes; in getValue()
178 headerBytes = header.getBytes("UTF-16LE"); in getValue()
182 return ByteBuffer.wrap(headerBytes); in getValue()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttp2Test.java60 Buffer headerBytes = literalHeaders(sentHeaders); in onlyOneLiteralHeadersFrame() local
61 writeMedium(frame, (int) headerBytes.size()); in onlyOneLiteralHeadersFrame()
65 frame.writeAll(headerBytes); in onlyOneLiteralHeadersFrame()
86 Buffer headerBytes = literalHeaders(sentHeaders); in headersWithPriority() local
87 writeMedium(frame, (int) (headerBytes.size() + 5)); in headersWithPriority()
93 frame.writeAll(headerBytes); in headersWithPriority()
163 Buffer headerBytes = literalHeaders(pushPromise); in pushPromise() local
164 writeMedium(frame, (int) (headerBytes.size() + 4)); in pushPromise()
169 frame.writeAll(headerBytes); in pushPromise()
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securemessage/
DSecureMessageParser.java200 byte[] headerBytes; in parseSignCryptedMessage()
202 headerBytes = in parseSignCryptedMessage()
209 byte[] expectedTag = CryptoOps.digest(CryptoOps.concat(headerBytes, associatedData)); in parseSignCryptedMessage()
/external/boringssl/src/util/fipstools/acvp/acvptool/
Dacvp.go216 headerBytes, err := json.MarshalIndent(header, "", " ")
220 result.Write(headerBytes)
508 headerBytes, err := json.Marshal(acvp.Vectors{
520 resultBuf.Write(headerBytes[:len(headerBytes)-1])
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DSevenZOutputFile.java262 final byte[] headerBytes = headerBaos.toByteArray(); in finish()
263 channel.write(ByteBuffer.wrap(headerBytes)); in finish()
266 crc32.update(headerBytes); in finish()
286 .putLong(0xffffFFFFL & headerBytes.length) in finish()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/text/ssa/
DSsaDecoderTest.java85 byte[] headerBytes = in decodeTypicalWithInitializationData()
91 initializationData.add(headerBytes); in decodeTypicalWithInitializationData()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DGzipInflatingBufferTest.java756 private byte[] getHeaderCrc16Bytes(byte[] headerBytes) { in getHeaderCrc16Bytes() argument
758 crc.update(headerBytes); in getHeaderCrc16Bytes()