Home
last modified time | relevance | path

Searched refs:InFD (Results 1 – 10 of 10) sorted by relevance

/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/
DRemoteJITUtils.h30 FDRPCChannel(int InFD, int OutFD) : InFD(InFD), OutFD(OutFD) {} in FDRPCChannel() argument
36 ssize_t Read = ::read(InFD, Dst + Completed, Size - Completed); in readBytes()
71 int InFD, OutFD;
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/RPC/
DFDRawByteChannel.h34 FDRawByteChannel(int InFD, int OutFD) : InFD(InFD), OutFD(OutFD) {} in FDRawByteChannel() argument
41 ssize_t Read = ::read(InFD, Dst + Completed, Size - Completed); in readBytes()
85 int InFD, OutFD;
/external/llvm-project/llvm/tools/lli/ChildTarget/
DChildTarget.cpp32 int InFD; in main() local
36 InFDStream >> InFD; in main()
57 rpc::FDRawByteChannel Channel(InFD, OutFD); in main()
65 close(InFD); in main()
/external/llvm/tools/lli/ChildTarget/
DChildTarget.cpp31 int InFD; in main() local
35 InFDStream >> InFD; in main()
56 FDRPCChannel Channel(InFD, OutFD); in main()
74 close(InFD); in main()
/external/llvm-project/llvm/tools/llvm-jitlink/llvm-jitlink-executor/
Dllvm-jitlink-executor.cpp84 int InFD = 0; in main() local
96 if (FD1Str.getAsInteger(10, InFD)) in main()
108 InFD = OutFD = openListener(Host.str(), Port); in main()
120 rpc::FDRawByteChannel C(InFD, OutFD); in main()
/external/llvm/tools/lli/
DRemoteJITUtils.h30 FDRPCChannel(int InFD, int OutFD) : InFD(InFD), OutFD(OutFD) {} in FDRPCChannel() argument
36 ssize_t Read = ::read(InFD, Dst + Completed, Size - Completed); in readBytes()
71 int InFD, OutFD;
/external/llvm/lib/Support/Unix/
DProgram.inc110 int InFD = open(File.c_str(), FD == 0 ? O_RDONLY : O_WRONLY|O_CREAT, 0666);
111 if (InFD == -1) {
118 if (dup2(InFD, FD) == -1) {
120 close(InFD);
123 close(InFD); // Close the original FD
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DProgram.inc110 int InFD = open(File.c_str(), FD == 0 ? O_RDONLY : O_WRONLY|O_CREAT, 0666);
111 if (InFD == -1) {
118 if (dup2(InFD, FD) == -1) {
120 close(InFD);
123 close(InFD); // Close the original FD
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DProgram.inc107 int InFD = open(File.c_str(), FD == 0 ? O_RDONLY : O_WRONLY|O_CREAT, 0666);
108 if (InFD == -1) {
115 if (dup2(InFD, FD) == -1) {
117 close(InFD);
120 close(InFD); // Close the original FD
/external/llvm-project/llvm/lib/Support/Unix/
DProgram.inc107 int InFD = open(File.c_str(), FD == 0 ? O_RDONLY : O_WRONLY|O_CREAT, 0666);
108 if (InFD == -1) {
115 if (dup2(InFD, FD) == -1) {
117 close(InFD);
120 close(InFD); // Close the original FD