Home
last modified time | relevance | path

Searched refs:ReadBytes (Results 1 – 25 of 46) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DMemoryBuffer.cpp217 Expected<size_t> ReadBytes = sys::fs::readNativeFile( in getMemoryBufferForStream() local
219 if (!ReadBytes) in getMemoryBufferForStream()
220 return errorToErrorCode(ReadBytes.takeError()); in getMemoryBufferForStream()
221 if (*ReadBytes == 0) in getMemoryBufferForStream()
223 Buffer.set_size(Buffer.size() + *ReadBytes); in getMemoryBufferForStream()
466 Expected<size_t> ReadBytes = in getOpenFileImpl() local
468 if (!ReadBytes) in getOpenFileImpl()
469 return errorToErrorCode(ReadBytes.takeError()); in getOpenFileImpl()
470 if (*ReadBytes == 0) { in getOpenFileImpl()
474 ToRead = ToRead.drop_front(*ReadBytes); in getOpenFileImpl()
[all …]
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dfont_parsing_test.cc67 wfd->ReadBytes(0, &(b[0]), 0, TTF_LENGTH[SAMPLE_TTF_FEAT]); in TestFontParsing()
93 wfd1->ReadBytes(0, &(b1[0]), 0, TTF_LENGTH[i]); in TestFontParsing()
94 wfd2->ReadBytes(0, &(b2[0]), 0, TTF_LENGTH[i]); in TestFontParsing()
Dfont_data_test.cc158 int32_t bytes_read = rfd->ReadBytes(index, &(buffer[0]), 0, buffer.size()); in ReadFontDataWithBuffer()
173 rfd->ReadBytes(index, &((*b)[0]), index, actual_window_size); in ReadFontDataWithSlidingWindow()
192 int32_t bytesRead = rfd->ReadBytes(index, &(buffer[0]), 0, buffer.size()); in WriteFontDataWithBuffer()
205 int32_t bytes_read = rfd->ReadBytes(index, &(b[0]), index, sliding_size); in WriteFontDataWithSlidingWindow()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DMemoryBuffer.cpp239 ssize_t ReadBytes; in getMemoryBufferForStream() local
243 ReadBytes = read(FD, Buffer.end(), ChunkSize); in getMemoryBufferForStream()
244 if (ReadBytes == -1) { in getMemoryBufferForStream()
248 Buffer.set_size(Buffer.size() + ReadBytes); in getMemoryBufferForStream()
249 } while (ReadBytes != 0); in getMemoryBufferForStream()
/third_party/protobuf/csharp/src/Google.Protobuf.Conformance/
DProgram.cs70 byte[] inputData = input.ReadBytes(size.Value); in RunTest()
165 byte[] bytes = input.ReadBytes(4); in ReadInt32()
DConformance.cs709 ProtobufPayload = input.ReadBytes(); in MergeFrom()
762 ProtobufPayload = input.ReadBytes(); in IBufferMessage.InternalMergeFrom()
1245 ProtobufPayload = input.ReadBytes(); in MergeFrom()
1291 ProtobufPayload = input.ReadBytes(); in IBufferMessage.InternalMergeFrom()
/third_party/lzma/CPP/7zip/Archive/7z/
D7zIn.h323 void ReadBytes(Byte *data, size_t size);
379 void ReadBytes(Byte *data, size_t size) { _inByteBack->ReadBytes(data, size); } in ReadBytes() function
D7zIn.cpp144 void CInByte2::ReadBytes(Byte *data, size_t size) in ReadBytes() function in NArchive::N7z::CInByte2
421 ReadBytes((Byte *)coder.Props, (size_t)propsSize); in ParseFolder()
1260 ReadBytes(db.NamesBuf, rem); in ReadHeader()
/third_party/node/deps/v8/src/wasm/
Dstreaming-decoder.cc126 virtual size_t ReadBytes(AsyncStreamingDecoder* streaming,
240 state_->ReadBytes(this, bytes.SubVector(current, bytes.size())); in OnBytesReceived()
253 size_t AsyncStreamingDecoder::DecodingState::ReadBytes( in ReadBytes() function in v8::internal::wasm::AsyncStreamingDecoder::DecodingState
381 size_t ReadBytes(AsyncStreamingDecoder* streaming,
529 size_t AsyncStreamingDecoder::DecodeVarInt32::ReadBytes( in ReadBytes() function in v8::internal::wasm::AsyncStreamingDecoder::DecodeVarInt32
/third_party/protobuf/csharp/src/Google.Protobuf/
DParseContext.cs247 public ByteString ReadBytes() in ReadBytes() method
249 return ParsingPrimitives.ReadBytes(ref buffer, ref state); in ReadBytes()
DCodedInputStream.cs469 public ByteString ReadBytes() in ReadBytes() method in Google.Protobuf.CodedInputStream
472 return ParsingPrimitives.ReadBytes(ref span, ref state); in ReadBytes()
DUnknownFieldSet.cs230 ByteString bytes = ctx.ReadBytes(); in MergeFieldFrom()
/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DParseRawPrimitivesBenchmark.cs333 sum += cis.ReadBytes().Length; in ParseBytes_CodedInputStream()
346 sum += ctx.ReadBytes().Length; in ParseBytes_ParseContext()
359 sum += ctx.ReadBytes().Length; in ParseBytes_ParseContext_MultipleSegments()
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DAny.cs330 Value = input.ReadBytes(); in MergeFrom()
352 Value = input.ReadBytes(); in IBufferMessage.InternalMergeFrom()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DCodedInputStreamTest.cs383 Assert.Throws<InvalidProtocolBufferException>(() => input.ReadBytes()); in ReadMaliciouslyLargeBlob()
403 Assert.Throws<InvalidProtocolBufferException>(() => input.ReadBytes()); in ReadBlobGreaterThanCurrentLimit()
411 ctx.ReadBytes(); in ReadBlobGreaterThanCurrentLimit()
632 Assert.Throws<InvalidProtocolBufferException>(() => input.ReadBytes()); in ReadNegativeSizedBytesThrowsInvalidProtocolBufferException()
683 Assert.AreEqual(100, input.ReadBytes().Length); in TestSlowPathAvoidance()
687 Assert.AreEqual(100, input.ReadBytes().Length); in TestSlowPathAvoidance()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/core/
Dos2_table.cc173 data_->ReadBytes(Offset::kPanose, &((*value)[0]), 0, 10); in Panose()
196 data_->ReadBytes(Offset::kAchVendId, &((*b)[0]), 0, 4); in AchVendId()
422 InternalReadData()->ReadBytes(Offset::kPanose, in Panose()
475 InternalReadData()->ReadBytes(Offset::kAchVendId, &((*b)[0]), 0, 4); in AchVendId()
/third_party/lzma/CPP/7zip/Common/
DInBuffer.h97 size_t ReadBytes(Byte *buf, size_t size);
DInBuffer.cpp99 size_t CInBufferBase::ReadBytes(Byte *buf, size_t size) in ReadBytes() function in CInBufferBase
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DCodedInputStreamTest.cs284 Assert.Throws<InvalidProtocolBufferException>(() => input.ReadBytes()); in ReadMaliciouslyLargeBlob()
410 Assert.AreEqual(100, input.ReadBytes().Length); in TestSlowPathAvoidance()
414 Assert.AreEqual(100, input.ReadBytes().Length); in TestSlowPathAvoidance()
/third_party/node/deps/v8/tools/v8windbg/src/
Dcur-isolate.cc22 RETURN_IF_FAIL(sp_debug_host_memory->ReadBytes( in GetIsolateKey()
Dv8-debug-helper-interop.cc36 HRESULT hr = sp_debug_host_memory->ReadBytes(context_, loc, destination, in Read()
Dobject-inspection.cc61 HRESULT hr = sp_debug_host_memory->ReadBytes( in GetCachedV8HeapObject()
246 HRESULT hr = sp_debug_host_memory->ReadBytes(sp_ctx.Get(), address, in GetModelForBitField()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/data/
Dreadable_font_data.h96 virtual int32_t ReadBytes(int32_t index,
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/
Dfont_factory.cc208 rfd->ReadBytes(0, &(tag[0]), 0, tag.size()); in IsCollection()
/third_party/protobuf/src/google/protobuf/
Dwire_format_lite.cc558 bool WireFormatLite::ReadBytes(io::CodedInputStream* input, in ReadBytes() function in google::protobuf::internal::WireFormatLite
563 bool WireFormatLite::ReadBytes(io::CodedInputStream* input, std::string** p) { in ReadBytes() function in google::protobuf::internal::WireFormatLite

12