Searched refs:lengthBytes (Results 1 – 4 of 4) sorted by relevance
/external/ukey2/src/main/javatest/com/google/security/cryptauth/lib/securegcm/ |
D | Ukey2ShellCppWrapper.java | 260 byte[] lengthBytes = new byte[4]; in readFrame() 261 if (inputStream.read(lengthBytes) != lengthBytes.length) { in readFrame() 265 int length = ByteBuffer.wrap(lengthBytes).order(ByteOrder.BIG_ENDIAN).getInt(); in readFrame() 267 throw new IOException("Length too large: " + Arrays.toString(lengthBytes)); in readFrame() 300 byte[] lengthBytes = new byte[4]; in writeFrame() 301 lengthBytes[0] = (byte) (length >> 32 & 0xFF); in writeFrame() 302 lengthBytes[1] = (byte) (length >> 16 & 0xFF); in writeFrame() 303 lengthBytes[2] = (byte) (length >> 8 & 0xFF); in writeFrame() 304 lengthBytes[3] = (byte) (length >> 0 & 0xFF); in writeFrame() 307 outputStream.write(lengthBytes); in writeFrame()
|
/external/webrtc/modules/audio_coding/test/ |
D | RTPFile.cc | 189 uint16_t lengthBytes = htons(static_cast<u_short>(12 + payloadSize + 8)); in Write() local 195 EXPECT_EQ(1u, fwrite(&lengthBytes, 2, 1, _rtpFile)); in Write() 206 uint16_t lengthBytes; in Read() local 209 size_t read_len = fread(&lengthBytes, 2, 1, _rtpFile); in Read() 217 lengthBytes = ntohs(lengthBytes); in Read() 224 EXPECT_EQ(lengthBytes, plen + 8); in Read() 229 if (lengthBytes < 20) { in Read() 232 if (payloadSize < static_cast<size_t>((lengthBytes - 20))) { in Read() 235 lengthBytes -= 20; in Read() 236 EXPECT_EQ(lengthBytes, fread(payloadData, 1, lengthBytes, _rtpFile)); in Read() [all …]
|
/external/boringssl/src/util/fipstools/inject_hash/ |
D | inject_hash.go | 226 var lengthBytes [8]byte 227 binary.LittleEndian.PutUint64(lengthBytes[:], uint64(len(moduleText))) 228 mac.Write(lengthBytes[:]) 231 binary.LittleEndian.PutUint64(lengthBytes[:], uint64(len(moduleROData))) 232 mac.Write(lengthBytes[:])
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowPackageInstaller.java | 169 protected OutputStream openWrite(@NonNull String name, long offsetBytes, long lengthBytes) in openWrite() argument
|