Home
last modified time | relevance | path

Searched refs:writeBytes (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Support/
H A DBinaryStreamWriter.cpp27 Error BinaryStreamWriter::writeBytes(ArrayRef<uint8_t> Buffer) { in writeBytes() function in BinaryStreamWriter
28 if (auto EC = Stream.writeBytes(Offset, Buffer)) in writeBytes()
37 return writeBytes({EncodedBytes, Size}); in writeULEB128()
43 return writeBytes({EncodedBytes, Size}); in writeSLEB128()
57 return writeBytes(arrayRefFromStringRef(Str)); in writeFixedString()
75 if (auto EC = writeBytes(Chunk)) in writeStreamRef()
H A DBinaryStreamRef.cpp57 Error writeBytes(uint64_t Offset, ArrayRef<uint8_t> Data) override { in writeBytes() function in __anon5a058c9a0111::MutableArrayRefImpl
58 return BBS.writeBytes(Offset, Data); in writeBytes()
116 Error WritableBinaryStreamRef::writeBytes(uint64_t Offset, in writeBytes() function in WritableBinaryStreamRef
121 return BorrowedImpl->writeBytes(ViewOffset + Offset, Data); in writeBytes()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DBinaryStreamWriter.h50 Error writeBytes(ArrayRef<uint8_t> Buffer);
64 return writeBytes(Buffer); in writeInteger()
134 return writeBytes( in writeObject()
152 return writeBytes( in writeArray()
H A DBinaryByteStream.h111 Error writeBytes(uint64_t Offset, ArrayRef<uint8_t> Buffer) override { in writeBytes() function
171 Error writeBytes(uint64_t Offset, ArrayRef<uint8_t> Buffer) override { in writeBytes() function
252 Error writeBytes(uint64_t Offset, ArrayRef<uint8_t> Data) override { in writeBytes() function
253 return Impl.writeBytes(Offset, Data); in writeBytes()
H A DBinaryStream.h80 virtual Error writeBytes(uint64_t Offset, ArrayRef<uint8_t> Data) = 0;
H A DBinaryStreamRef.h261 Error writeBytes(uint64_t Offset, ArrayRef<uint8_t> Data) const;
/llvm-project-15.0.7/llvm/unittests/DebugInfo/MSF/
H A DMappedBlockStreamTest.cpp57 Error writeBytes(uint64_t Offset, ArrayRef<uint8_t> SrcData) override { in writeBytes() function in __anon8ef2c6610111::DiscontiguousStream
253 EXPECT_THAT_ERROR(S->writeBytes(0, ArrayRef<uint8_t>(LargeBuffer)), Failed()); in TEST()
254 EXPECT_THAT_ERROR(S->writeBytes(0, ArrayRef<uint8_t>(SmallBuffer)), in TEST()
256 EXPECT_THAT_ERROR(S->writeBytes(7, ArrayRef<uint8_t>(SmallBuffer)), in TEST()
258 EXPECT_THAT_ERROR(S->writeBytes(8, ArrayRef<uint8_t>(SmallBuffer)), Failed()); in TEST()
273 EXPECT_THAT_ERROR(S->writeBytes(0, ArrayRef<uint8_t>('J')), Succeeded()); in TEST()
274 EXPECT_THAT_ERROR(S->writeBytes(9, ArrayRef<uint8_t>('A')), Succeeded()); in TEST()
281 EXPECT_THAT_ERROR(S->writeBytes(0, ArrayRef<uint8_t>('A')), Succeeded()); in TEST()
282 EXPECT_THAT_ERROR(S->writeBytes(9, ArrayRef<uint8_t>('J')), Succeeded()); in TEST()
301 EXPECT_THAT_ERROR(S->writeBytes(0, TestData), Succeeded()); in TEST()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/Shared/
H A DSimpleRemoteEPCUtils.cpp104 if (int ErrNo = writeBytes(HeaderBuffer, FDMsgHeader::Size)) in sendMessage()
106 if (int ErrNo = writeBytes(ArgBytes.data(), ArgBytes.size())) in sendMessage()
169 int FDSimpleRemoteEPCTransport::writeBytes(const char *Src, size_t Size) { in writeBytes() function in llvm::orc::FDSimpleRemoteEPCTransport
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DDebugSymbolsSubsection.cpp25 if (auto EC = Writer.writeBytes(Record.RecordData)) in commit()
H A DCodeViewRecordIO.cpp109 if (auto EC = Writer->writeBytes(Bytes)) in mapByteVectorTail()
243 if (auto EC = Writer->writeBytes(Guid.Guid)) in mapGuid()
/llvm-project-15.0.7/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp368 cantFail(Initializer.writeBytes(InitData)); in createFpmStream()
386 Error WritableMappedBlockStream::writeBytes(uint64_t Offset, in writeBytes() function in WritableMappedBlockStream
406 if (auto EC = WriteInterface.writeBytes(MsfOffset, ChunkData)) in writeBytes()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DBinaryStreamTest.cpp64 Error writeBytes(uint64_t Offset, ArrayRef<uint8_t> SrcData) override { in writeBytes() function in __anone0c2a0990111::BrokenStream
379 ASSERT_THAT_ERROR(Stream.Output->writeBytes(0, Data), Succeeded()); in TEST_F()
391 EXPECT_THAT_ERROR(Stream.Output->writeBytes(3, BigData), Failed()); in TEST_F()
402 EXPECT_THAT_ERROR(Stream.writeBytes(4, Test), Failed()); in TEST_F()
405 EXPECT_THAT_ERROR(Stream.writeBytes(0, Test), Succeeded()); in TEST_F()
410 EXPECT_THAT_ERROR(Stream.writeBytes(4, Test), Succeeded()); in TEST_F()
/llvm-project-15.0.7/lld/wasm/
H A DWriterUtils.h29 void writeBytes(raw_ostream &os, const char *bytes, size_t count,
H A DWriterUtils.cpp93 void writeBytes(raw_ostream &os, const char *bytes, size_t count, in writeBytes() function
H A DWriter.cpp1694 writeBytes(os, WasmMagic, sizeof(WasmMagic), "wasm magic"); in createHeader()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DPDBFileBuilder.cpp264 cantFail(SourceWriter.writeBytes( in commitInjectedSources()
298 if (auto EC = NSW.writeBytes(arrayRefFromStringRef(NSE.second))) in commit()
H A DDbiModuleDescriptorBuilder.cpp182 if (auto EC = SymbolWriter.writeBytes(Sym.asArray())) in commitSymbolStream()
H A DTpiStreamBuilder.cpp190 if (auto EC = Writer.writeBytes(Rec)) in commit()
H A DGSIStreamBuilder.cpp388 if (Error E = Writer.writeBytes(Storage)) in writePublics()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/MSF/
H A DMappedBlockStream.h134 Error writeBytes(uint64_t Offset, ArrayRef<uint8_t> Buffer) override;
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DSimpleRemoteEPCUtils.h131 int writeBytes(const char *Src, size_t Size);
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp112 void writeBytes(const char *Bytes, int Size) { os->write(Bytes, Size); } in writeBytes() function in __anon434f465a0211::GCOVProfiler
231 void writeBytes(const char *Bytes, int Size) { P->writeBytes(Bytes, Size); } in writeBytes() function in __anon434f465a0311::GCOVRecord
/llvm-project-15.0.7/lld/COFF/
H A DPDB.cpp701 if (Error e = writer.writeBytes(storage)) in writeAllModuleSymbolRecords()
879 return writer.writeBytes(relocatedBytes); in commit()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DCodeViewYAMLTypes.cpp821 Err(Writer.writeBytes(R)); in toDebugT()