Home
last modified time | relevance | path

Searched refs:WriteFile (Results 1 – 25 of 28) sorted by relevance

12

/llvm-project/clang/unittests/libclang/
H A DLibclangTest.cpp436 WriteFile(Main, "\nint main() {}"); in CountPreamblesInPreambleDir()
549 WriteFile(Header, in TEST_F()
553 WriteFile(Main, in TEST_F()
586 WriteFile(Main, "#define kFOO @\"foo\"\n" in TEST_F()
652 WriteFile(CppName, "int main() {}"); in TEST_F()
673 WriteFile(CppName, CppFile); in TEST_F()
674 WriteFile(HeaderName, std::string(HeaderTop) + HeaderBottom); in TEST_F()
687 WriteFile(HeaderName, NewHeaderContents); in TEST_F()
703 WriteFile(MName, MFile); in TEST_F()
704 WriteFile(HeaderName, std::string(HeaderTop) + HeaderBottom); in TEST_F()
[all …]
H A DTestUtils.h58 void WriteFile(std::string &Filename, const std::string &Contents) { in WriteFile() function
/llvm-project/clang/unittests/libclang/CrashTests/
H A DLibclangCrashTest.cpp19 WriteFile(Main, "#pragma clang __debug llvm_fatal_error"); in TEST_F()
32 WriteFile(Main, "#pragma clang __debug llvm_fatal_error"); in TEST_F()
/llvm-project/llvm/lib/TableGen/
H A DMain.cpp159 bool WriteFile = true; in TableGenMain()
167 WriteFile = false; in TableGenMain()
169 if (WriteFile) { in TableGenMain()
155 bool WriteFile = true; TableGenMain() local
/llvm-project/openmp/runtime/src/
H A Dkmp_io.cpp150 WriteFile(stream, __kmp_console_buf.str, __kmp_console_buf.used, &count, in __kmp_vprintf()
173 WriteFile(stream, __kmp_console_buf.str, __kmp_console_buf.used, &count, in __kmp_vprintf()
/llvm-project/lldb/source/Target/
H A DRemoteAwarePlatform.cpp123 uint64_t RemoteAwarePlatform::WriteFile(lldb::user_id_t fd, uint64_t offset, in WriteFile()
127 return m_remote_platform_sp->WriteFile(fd, offset, src, src_len, error);
128 return Platform::WriteFile(fd, offset, src, src_len, error); in GetFileSize()
120 uint64_t RemoteAwarePlatform::WriteFile(lldb::user_id_t fd, uint64_t offset, WriteFile() function in RemoteAwarePlatform
H A DPlatform.cpp676 uint64_t Platform::WriteFile(lldb::user_id_t fd, uint64_t offset, in WriteFile()
679 return FileCache::GetInstance().WriteFile(fd, offset, src, src_len, error); in WriteFile()
681 "Platform::WriteFile() is not supported in the {0} platform",
1185 WriteFile(dest_file, offset, buffer_sp->GetBytes(), bytes_read, error); in PutFile()
672 uint64_t Platform::WriteFile(lldb::user_id_t fd, uint64_t offset, WriteFile() function in Platform
/llvm-project/compiler-rt/test/asan/TestCases/Windows/msvc/
H A Dtls_init.cpp31 WriteFile(out, &str[0], sizeof(str), &written, NULL); in my_thread_callback()
/llvm-project/lldb/include/lldb/Host/
H A DFileCache.h35 uint64_t WriteFile(lldb::user_id_t fd, uint64_t offset, const void *src,
/llvm-project/lldb/source/Host/common/
H A DFileCache.cpp64 uint64_t FileCache::WriteFile(lldb::user_id_t fd, uint64_t offset, in WriteFile()
63 uint64_t FileCache::WriteFile(lldb::user_id_t fd, uint64_t offset, WriteFile() function in FileCache
/llvm-project/lldb/include/lldb/Target/
H A DRemoteAwarePlatform.h39 uint64_t WriteFile(lldb::user_id_t fd, uint64_t offset, const void *src,
H A DPlatform.h589 virtual uint64_t WriteFile(lldb::user_id_t fd, uint64_t offset,
/llvm-project/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.h119 uint64_t WriteFile(lldb::user_id_t fd, uint64_t offset, const void *data,
H A DPlatformRemoteGDBServer.cpp622 uint64_t PlatformRemoteGDBServer::WriteFile(lldb::user_id_t fd, uint64_t offset, in ReadFile()
626 return m_gdb_client_up->WriteFile(fd, offset, src, src_len, error); in WriteFile()
624 uint64_t PlatformRemoteGDBServer::WriteFile(lldb::user_id_t fd, uint64_t offset, WriteFile() function in PlatformRemoteGDBServer
/llvm-project/lldb/source/Host/windows/
H A DConnectionGenericFileWindows.cpp276 result = ::WriteFile(m_file, src, src_len, NULL, &m_overlapped); in Write()
H A DPipeWindows.cpp331 ::WriteFile(m_write, buf, size, &sys_bytes_write, &m_write_overlapped); in Write()
/llvm-project/llvm/unittests/TextAPI/
H A DTextStubV2Tests.cpp165 TEST(TBDv2, WriteFile) { in TEST() argument
H A DTextStubV1Tests.cpp146 TEST(TBDv1, WriteFile) { in TEST() argument
H A DTextStubV3Tests.cpp234 TEST(TBDv3, WriteFile) { in TEST() argument
H A DTextStubV4Tests.cpp316 TEST(TBDv4, WriteFile) { in TEST() argument
/llvm-project/llvm/unittests/Support/
H A DMemoryBufferTest.cpp189 ASSERT_TRUE(::WriteFile(pipes[1], "foo", 3, &Written, nullptr)) in TEST_F()
/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationClient.h373 uint64_t WriteFile(lldb::user_id_t fd, uint64_t offset, const void *src,
/llvm-project/flang/lib/Semantics/
H A Dmod-file.cpp63 static std::error_code WriteFile(const std::string &, const std::string &,
163 WriteFile(path, asStr, checkSum, context_.debugModuleWriter())}) { in WriteClosure()
1214 static std::error_code WriteFile(const std::string &path, in WriteFile()
1193 static std::error_code WriteFile(const std::string &path, WriteFile() function
/llvm-project/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp247 if (FileCache::GetInstance().WriteFile(fd_dst, offset, in GetFile()
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_win.cpp839 if (!WriteFile(fd, buff, buff_size, &bytes_written_32, 0)) { in internal__exit()

12