Home
last modified time | relevance | path

Searched refs:readBytes (Results 1 - 25 of 72) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DBinaryStream_unittest.cpp36 stream.readBytes(outputData.data(), dataSize); in TEST()
45 stream.readBytes(outputData.data(), dataSize / 2); in TEST()
47 stream.readBytes(outputData.data() + dataSize / 2, dataSize / 2); in TEST()
56 stream.readBytes(outputData.data(), dataSize + 1); in TEST()
63 stream.readBytes(outputData.data(), dataSize - 1); in TEST()
65 stream.readBytes(outputData.data(), std::numeric_limits<size_t>::max() - dataSize - 2); in TEST()
/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/
H A DEagerStreamTest.java351 int readBytes; field in EagerStreamTest.ProxyStream
361 readBytes += result; in read()
374 int normalReadBytes = ps.readBytes; in testEagerStream()
381 int eagerReadBytes = ps.readBytes; in testEagerStream()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DBinaryStreamRef.cpp24 Error readBytes(uint32_t Offset, uint32_t Size,
26 return BBS.readBytes(Offset, Size, Buffer);
47 Error readBytes(uint32_t Offset, uint32_t Size,
49 return BBS.readBytes(Offset, Size, Buffer);
79 Error BinaryStreamRef::readBytes(uint32_t Offset, uint32_t Size, in readBytes() function in BinaryStreamRef
83 return BorrowedImpl->readBytes(ViewOffset + Offset, Size, Buffer); in readBytes()
H A DBinaryStreamReader.cpp37 Error BinaryStreamReader::readBytes(ArrayRef<uint8_t> &Buffer, uint32_t Size) { in readBytes() function in BinaryStreamReader
38 if (auto EC = Stream.readBytes(Offset, Size, Buffer)) in readBytes()
50 if (auto Err = readBytes(NextByte, 1)) in readULEB128()
65 if (auto Err = readBytes(NextByte, 1)) in readSLEB128()
124 if (auto EC = readBytes(Bytes, Length)) in readFixedString()
162 auto EC = Stream.readBytes(Offset, 1, Buffer); in peek()
/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/common/
H A DBrotliCommon.java96 int readBytes; in setDictionaryData()
97 while ((readBytes = src.read(buffer)) != -1) { in setDictionaryData()
98 if (copy.remaining() < readBytes) { in setDictionaryData()
101 copy.put(buffer, 0, readBytes); in setDictionaryData()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DBinaryByteStream.h41 Error readBytes(uint32_t Offset, uint32_t Size,
100 Error readBytes(uint32_t Offset, uint32_t Size,
102 return ImmutableStream.readBytes(Offset, Size, Buffer);
148 Error readBytes(uint32_t Offset, uint32_t Size,
243 Error readBytes(uint32_t Offset, uint32_t Size,
245 return Impl.readBytes(Offset, Size, Buffer);
H A DBinaryStreamReader.h66 Error readBytes(ArrayRef<uint8_t> &Buffer, uint32_t Size);
80 if (auto EC = readBytes(Bytes, sizeof(T))) in readInteger()
171 if (auto EC = readBytes(Buffer, sizeof(T))) in readObject()
198 if (auto EC = readBytes(Bytes, NumElements * sizeof(T))) in readArray()
H A DBinaryStream.h44 virtual Error readBytes(uint32_t Offset, uint32_t Size,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp88 Error MappedBlockStream::readBytes(uint32_t Offset, uint32_t Size, in readBytes() function in MappedBlockStream
152 if (auto EC = readBytes(Offset, MutableArrayRef<uint8_t>(WriteBuffer, Size))) in readBytes()
188 if (auto EC = MsfData.readBytes(MsfOffset, BlockSize, BlockData)) in readLongestContiguousChunk()
230 if (auto EC = MsfData.readBytes(MsfOffset, BlockSize, BlockData)) { in tryReadContiguously()
239 Error MappedBlockStream::readBytes(uint32_t Offset, in readBytes() function in MappedBlockStream
256 if (auto EC = MsfData.readBytes(Offset, BlockSize, BlockData)) in readBytes()
373 Error WritableMappedBlockStream::readBytes(uint32_t Offset, uint32_t Size, in readBytes() function in WritableMappedBlockStream
375 return ReadInterface.readBytes(Offset, Size, Buffer); in readBytes()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/
H A DStreamingMemoryObject.cpp26 uint64_t readBytes(uint8_t *Buf, uint64_t Size,
47 uint64_t RawMemoryObject::readBytes(uint8_t *Buf, uint64_t Size, in readBytes() function in __anon25446::RawMemoryObject
88 uint64_t StreamingMemoryObject::readBytes(uint8_t *Buf, uint64_t Size, in readBytes() function in llvm::StreamingMemoryObject
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/RPC/
H A DRawByteChannel.h31 virtual Error readBytes(char *Dst, unsigned Size) = 0;
104 if (auto Err = C.readBytes(reinterpret_cast<char *>(&V), sizeof(T))) in deserialize()
126 if (auto Err = C.readBytes(reinterpret_cast<char *>(&Tmp), 1)) in deserialize()
176 return C.readBytes(&S[0], Count); in deserialize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/MSF/
H A DMappedBlockStream.h63 Error readBytes(uint32_t Offset, uint32_t Size,
86 Error readBytes(uint32_t Offset, MutableArrayRef<uint8_t> Buffer);
130 Error readBytes(uint32_t Offset, uint32_t Size,
/third_party/protobuf/js/experimental/runtime/kernel/
H A Dbuffer_decoder.js249 for (let readBytes = 5; ((b & 0x80) !== 0) && readBytes < 10; readBytes++) {
H A Dreader.js35 function readBytes(bufferDecoder, start) { function
342 readBytes,
/third_party/backends/backend/
H A Depsonds-cmd.c718 int readBytes = 0; in capa_cb() local
720 while (readBytes < count) { in capa_cb()
725 readBytes+=4; in capa_cb()
755 int readBytes = 0; in capa_cb() local
757 while (readBytes < count) { in capa_cb()
762 readBytes += 8; in capa_cb()
767 readBytes +=4; in capa_cb()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/data/
H A DFontDataTests.java206 int bytesRead = rfd.readBytes(index, buffer, 0, buffer.length); in readFontDataWithBuffer()
219 int bytesRead = rfd.readBytes(index, b, index, windowSize); in readFontDataWithSlidingWindow()
240 int bytesRead = rfd.readBytes(index, buffer, 0, buffer.length); in writeFontDataWithBuffer()
253 int bytesRead = rfd.readBytes(index, b, index, windowSize); in writeFontDataWithSlidingWindow()
/third_party/vk-gl-cts/execserver/tools/
H A DxsClient.cpp85 void readBytes (de::Socket& socket, vector<deUint8>& dst, size_t numBytes) in readBytes() function
106 readBytes(socket, header, MESSAGE_HEADER_SIZE); in readMessage()
122 readBytes(socket, messageBuf, messageSize-MESSAGE_HEADER_SIZE); in readMessage()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DWireFormat.java207 return input.readBytes();
245 return input.readBytes(); in readPrimitiveField()
H A DLazyFieldLite.java299 setByteString(input.readBytes(), extensionRegistry); in mergeFrom()
315 setByteString(this.delayedBytes.concat(input.readBytes()), this.extensionRegistry); in mergeFrom()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DMemoryObject.h19 /// when the request is made. This just means that readByte/readBytes might have
26 /// of the stream. Finally, getPointer can be used instead of readBytes to avoid
47 virtual uint64_t readBytes(uint8_t *Buf, uint64_t Size,
51 /// More efficient than using readBytes if the data is already in memory. May
H A DStreamingMemoryObject.h29 uint64_t readBytes(uint8_t *Buf, uint64_t Size,
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Support/
H A DMemoryObject.h19 /// when the request is made. This just means that readByte/readBytes might have
26 /// of the stream. Finally, getPointer can be used instead of readBytes to avoid
47 virtual uint64_t readBytes(uint8_t *Buf, uint64_t Size,
51 /// More efficient than using readBytes if the data is already in memory. May
H A DStreamingMemoryObject.h29 uint64_t readBytes(uint8_t *Buf, uint64_t Size,
/third_party/protobuf/objectivec/
H A DGPBCodedInputStream.h177 - (NSData *)readBytes;
/third_party/pulseaudio/sonic/
H A Dwave.c86 static int readBytes( in readBytes() function
338 bytesRead = readBytes(file, bytes, maxSamples*file->numChannels*2); in readFromWaveFile()

Completed in 13 milliseconds

123