Home
last modified time | relevance | path

Searched refs:pwrite (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Support/
H A Draw_pwrite_stream_test.cpp36 OS.pwrite(Test.data(), Test.size(), 0); in TEST()
41 EXPECT_DEATH(OS.pwrite("12345", 5, 0), in TEST()
72 OS.pwrite(Test.data(), Test.size(), 0); in TEST()
73 OS.pwrite(Test.data(), Test.size(), 0); in TEST()
77 EXPECT_DEATH(OS.pwrite("12345", 5, 0), in TEST()
90 OS.pwrite(Test.data(), Test.size(), 0); in TEST()
91 OS.pwrite(Test.data(), Test.size(), 0); in TEST()
/llvm-project-15.0.7/compiler-rt/test/profile/ContinuousSyncMode/
H A Ddarwin-proof-of-concept.c48 if (data_len != pwrite(fd, &data, data_len, 0x4000)) { in create_tmpfile()
/llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/
H A DFileWriter.cpp54 OS.pwrite(reinterpret_cast<const char *>(&Swapped), sizeof(Swapped), in fixup32()
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinarySection.cpp136 OS.pwrite(Patch.Bytes.data(), Patch.Bytes.size(), in flushPendingRelocations()
147 OS.pwrite(reinterpret_cast<const char *>(&Value), in flushPendingRelocations()
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DMachORewriteInstance.cpp558 OS.pwrite(reinterpret_cast<char *>(Section->getAllocAddress()), in writeInstrumentationSection()
579 OS.pwrite(reinterpret_cast<char *>(Function.getImageAddress()), in rewriteFile()
584 OS.pwrite(reinterpret_cast<char *>(Function->getImageAddress()), in rewriteFile()
H A DRewriteInstance.cpp713 OS.pwrite(&LastIDByte, 1, FileOffset + IDOffset + BuildID.size() - 1); in patchBuildID()
4443 OS.pwrite(reinterpret_cast<const char *>(&NewEhdr), sizeof(NewEhdr), 0); in patchELFSectionHeaderTable()
4835 Out->os().pwrite(reinterpret_cast<const char *>(&Sym), in patchELFSymTabs()
4931 OS.pwrite(reinterpret_cast<const char *>(RelA), sizeof(*RelA), Offset); in patchELFAllocatableRelaSections()
5037 OS.pwrite(reinterpret_cast<const char *>(&NewAddress), sizeof(NewAddress), in patchELFGOT()
5122 OS.pwrite(reinterpret_cast<const char *>(&NewDE), sizeof(NewDE), in patchELFDynamic()
5288 OS.pwrite(reinterpret_cast<char *>(Function->getImageAddress()), in rewriteFile()
5316 OS.pwrite(reinterpret_cast<char *>(Function->cold().getImageAddress()), in rewriteFile()
5364 OS.pwrite(reinterpret_cast<const char *>(Section.getOutputData()), in rewriteFile()
/llvm-project-15.0.7/llvm/tools/llvm-rc/
H A DResourceFileWriter.h193 FS->pwrite((const char *)&Value, sizeof(T), Position); in writeObjectAt()
/llvm-project-15.0.7/lldb/docs/
H A Dlldb-platform-packets.txt415 // vFile:pwrite:
422 // receive: vFile:pwrite:8,0,\cf\fa\ed\fe\0c\00\00
/llvm-project-15.0.7/flang/runtime/
H A Dfile.cpp304 auto chunk{::pwrite(fd_, buffer + put, bytes - put, at)}; in WriteAsynchronously()
/llvm-project-15.0.7/llvm/lib/MC/
H A DWasmObjectWriter.cpp147 Stream.pwrite((char *)Buffer, SizeLen, Offset); in writePatchableULEB()
157 Stream.pwrite((char *)Buffer, SizeLen, Offset); in writePatchableSLEB()
185 Stream.pwrite((char *)Buffer, sizeof(Buffer), Offset); in patchI32()
192 Stream.pwrite((char *)Buffer, sizeof(Buffer), Offset); in patchI64()
H A DELFObjectWriter.cpp1189 Stream.pwrite(reinterpret_cast<char *>(&Val), sizeof(Val), in writeObject()
1195 Stream.pwrite(reinterpret_cast<char *>(&Val), sizeof(Val), in writeObject()
1199 Stream.pwrite(reinterpret_cast<char *>(&NumSections), sizeof(NumSections), in writeObject()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A Draw_ostream.h426 void pwrite(const char *Ptr, size_t Size, uint64_t Offset) { in pwrite() function
/llvm-project-15.0.7/llvm/test/Transforms/InferFunctionAttrs/
H A Dno-proto.ll690 ; CHECK: declare void @pwrite(...)
691 declare void @pwrite(...)
H A Dannotate.ll775 ; CHECK: declare noundef i64 @pwrite(i32 noundef, i8* nocapture noundef readonly, i64 noundef, i64 …
776 declare i64 @pwrite(i32, i8*, i64, i64)
/llvm-project-15.0.7/lldb/source/Host/common/
H A DFile.cpp703 llvm::sys::RetryAfterSignal(-1, ::pwrite, m_descriptor, buf, num_bytes, offset); in Write()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DTargetLibraryInfo.def1139 /// ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset);
1140 TLI_DEFINE_ENUM_INTERNAL(pwrite)
1141 TLI_DEFINE_STRING_INTERNAL("pwrite")
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_syscalls_netbsd.inc1418 PRE_SYSCALL(pwrite)
1425 POST_SYSCALL(pwrite)
H A Dsanitizer_common_interceptors.inc1238 INTERCEPTOR(SSIZE_T, pwrite, int fd, void *ptr, SIZE_T count, OFF_T offset) {
1240 COMMON_INTERCEPTOR_ENTER(ctx, pwrite, fd, ptr, count, offset);
1243 SSIZE_T res = REAL(pwrite)(fd, ptr, count, offset);
1247 #define INIT_PWRITE COMMON_INTERCEPT_FUNCTION(pwrite)
/llvm-project-15.0.7/compiler-rt/lib/dfsan/
H A Dlibc_ubuntu1404_abilist.txt2679 fun:pwrite=uninstrumented