| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | raw_pwrite_stream_test.cpp | 36 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 D | darwin-proof-of-concept.c | 48 if (data_len != pwrite(fd, &data, data_len, 0x4000)) { in create_tmpfile()
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/GSYM/ |
| H A D | FileWriter.cpp | 54 OS.pwrite(reinterpret_cast<const char *>(&Swapped), sizeof(Swapped), in fixup32()
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | BinarySection.cpp | 136 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 D | MachORewriteInstance.cpp | 558 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 D | RewriteInstance.cpp | 713 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 D | ResourceFileWriter.h | 193 FS->pwrite((const char *)&Value, sizeof(T), Position); in writeObjectAt()
|
| /llvm-project-15.0.7/lldb/docs/ |
| H A D | lldb-platform-packets.txt | 415 // vFile:pwrite: 422 // receive: vFile:pwrite:8,0,\cf\fa\ed\fe\0c\00\00
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | file.cpp | 304 auto chunk{::pwrite(fd_, buffer + put, bytes - put, at)}; in WriteAsynchronously()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | WasmObjectWriter.cpp | 147 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 D | ELFObjectWriter.cpp | 1189 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 D | raw_ostream.h | 426 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 D | no-proto.ll | 690 ; CHECK: declare void @pwrite(...) 691 declare void @pwrite(...)
|
| H A D | annotate.ll | 775 ; 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 D | File.cpp | 703 llvm::sys::RetryAfterSignal(-1, ::pwrite, m_descriptor, buf, num_bytes, offset); in Write()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | TargetLibraryInfo.def | 1139 /// 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 D | sanitizer_syscalls_netbsd.inc | 1418 PRE_SYSCALL(pwrite) 1425 POST_SYSCALL(pwrite)
|
| H A D | sanitizer_common_interceptors.inc | 1238 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 D | libc_ubuntu1404_abilist.txt | 2679 fun:pwrite=uninstrumented
|