Home
last modified time | relevance | path

Searched refs:Fd (Results 1 – 25 of 255) sorted by relevance

1234567891011

/external/swiftshader/third_party/subzero/pnacl-llvm/
DDataStream.cpp55 int Fd; member in __anon13aaf37b0111::DataFileStreamer
57 DataFileStreamer() : Fd(0) {} in DataFileStreamer()
58 ~DataFileStreamer() override { close(Fd); } in ~DataFileStreamer()
61 return read(Fd, buf, len); in GetBytes()
66 Fd = 0; in OpenFile()
71 return sys::fs::openFileForRead(Filename, Fd); in OpenFile()
/external/llvm/lib/Support/
DDataStream.cpp55 int Fd; member in __anon047b712d0111::DataFileStreamer
57 DataFileStreamer() : Fd(0) {} in DataFileStreamer()
58 ~DataFileStreamer() override { close(Fd); } in ~DataFileStreamer()
61 return read(Fd, buf, len); in GetBytes()
66 Fd = 0; in OpenFile()
71 return sys::fs::openFileForRead(Filename, Fd); in OpenFile()
/external/ltp/testcases/kernel/syscalls/select/
Dselect01.c58 int Fd = -1; variable
108 if ((Fd = open(FILENAME, O_CREAT | O_RDWR, 0777)) == -1) in setup()
113 FD_SET(Fd, &Readfds); in setup()
118 if (Fd >= 0) { in cleanup()
119 if (close(Fd) == -1) in cleanup()
121 Fd = -1; in cleanup()
Dselect03.c60 int Fd; variable
118 if ((Fd = open(FILENAME, O_RDWR)) == -1) { in setup()
125 FD_SET(Fd, &saved_Readfds); in setup()
126 FD_SET(Fd, &saved_Writefds); in setup()
131 close(Fd); in cleanup()
Dselect02.c56 int Fd[2]; variable
107 SAFE_PIPE(NULL, Fd); in setup()
111 FD_SET(Fd[0], &saved_Readfds); in setup()
112 FD_SET(Fd[1], &saved_Writefds); in setup()
/external/compiler-rt/lib/scudo/
Dscudo_utils.cpp104 static ssize_t readRetry(int Fd, u8 *Buffer, size_t Count) { in readRetry() argument
107 ssize_t Result = read(Fd, Buffer + AmountRead, Count - AmountRead); in readRetry()
122 int Fd = open("/dev/urandom", O_RDONLY); in Xorshift128Plus() local
123 bool Success = readRetry(Fd, reinterpret_cast<u8 *>(&State_0_), in Xorshift128Plus()
125 Success &= readRetry(Fd, reinterpret_cast<u8 *>(&State_1_), in Xorshift128Plus()
127 close(Fd); in Xorshift128Plus()
/external/swiftshader/third_party/subzero/runtime/
Dwasm-runtime.cpp300 int Fd = VarArgs[0]; in env$$__syscall3() local
304 return trace(read(Fd, WASM_REF(char *, Buffer), Length)); in env$$__syscall3()
310 int Fd = VarArgs[0]; in env$$__syscall4() local
314 return trace(write(Fd, WASM_REF(char *, Buffer), Length)); in env$$__syscall4()
331 int Fd = VarArgs[0]; in env$$__syscall6() local
333 return trace(close(Fd)); in env$$__syscall6()
366 int Fd = VarArgs[0]; in env$$__syscall54() local
374 return trace(ioctl(Fd, TCGETS, TermIOS)); in env$$__syscall54()
390 int Fd = VarArgs[0]; in env$$__syscall145() local
397 int Curr = read(Fd, Iov[I].Ptr.asPtr(), Iov[I].Length); in env$$__syscall145()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DRandomNumberGenerator.cpp74 int Fd = open("/dev/urandom", O_RDONLY); in getRandomBytes()
75 if (Fd != -1) { in getRandomBytes()
77 ssize_t BytesRead = read(Fd, Buffer, Size); in getRandomBytes()
82 if (close(Fd) == -1) in getRandomBytes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/XRay/
DInstrumentationMap.cpp134 loadYAML(int Fd, size_t FileSize, StringRef Filename, in loadYAML() argument
140 Fd, sys::fs::mapped_file_region::mapmode::readonly, FileSize, 0, EC); in loadYAML()
176 int Fd; in loadInstrumentationMap() local
177 if (sys::fs::openFileForRead(Filename, Fd)) in loadInstrumentationMap()
191 if (auto E = loadYAML(Fd, FileSize, Filename, Map.Sleds, in loadInstrumentationMap()
DTrace.cpp681 int Fd; in loadTraceFile() local
682 if (auto EC = sys::fs::openFileForRead(Filename, Fd)) { in loadTraceFile()
701 Fd, sys::fs::mapped_file_region::mapmode::readonly, FileSize, 0, EC); in loadTraceFile()
/external/ltp/testcases/kernel/io/disktest/
DMakefile.windows75 …LE" /D"_MBCS" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\disktest.pch" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
144 …"_MBCS" /FR"$(INTDIR)\\" /Fp"$(INTDIR)\disktest.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ…
/external/llvm/bindings/go/llvm/
Dbitwriter.go27 fail := C.LLVMWriteBitcodeToFD(m.C, C.int(file.Fd()), C.int(0), C.int(0))
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/go/llvm/
Dbitwriter.go27 fail := C.LLVMWriteBitcodeToFD(m.C, C.int(file.Fd()), C.int(0), C.int(0))
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dztypes_linux_sparc64.go650 Fd int32 member
662 Fd int32 member
/external/syzkaller/pkg/osutil/
Dosutil_linux.go120 syscall.Syscall(syscall.SYS_FCNTL, w.Fd(), syscall.F_SETPIPE_SZ, uintptr(sz))
Dosutil_unix.go115 …mem, err = syscall.Mmap(int(f.Fd()), 0, size, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_SH…
/external/swiftshader/third_party/subzero/src/
DIceAssemblerMIPS32.cpp312 const IValueT Fd = encodeFPRegister(OpFd, "Fd", InsnName); in emitCOP1FmtFsFd() local
315 Opcode |= Fd << 6; in emitCOP1FmtFsFd()
327 const IValueT Fd = encodeFPRegister(OpFd, "Fd", InsnName); in emitCOP1FmtFtFsFd() local
331 Opcode |= Fd << 6; in emitCOP1FmtFtFsFd()
344 const IValueT Fd = encodeFPRegister(OpFd, "Fd", InsnName); in emitCOP1FmtRtFsFd() local
348 Opcode |= Fd << 6; in emitCOP1FmtRtFsFd()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/tests/yui/out/
Ddataurl-nonbase64-singlequotes.out1 …8FN1%00%00%00iIDAT%08%D7E%C7E%16%02Q%10%C5%D0j%C3%DD%BDqw%5E%F6%BF5%06%D4%3Fd%94kx%BDf%DE6%FFIA%AB…
Ddataurl-nonbase64-doublequotes.out.b1 …8FN1%00%00%00iIDAT%08%D7E%C7E%16%02Q%10%C5%D0j%C3%DD%BDqw%5E%F6%BF5%06%D4%3Fd%94kx%BDf%DE6%FFIA%AB…
Ddataurl-nonbase64-noquotes.out1 …8FN1%00%00%00iIDAT%08%D7E%C7E%16%02Q%10%C5%D0j%C3%DD%BDqw%5E%F6%BF5%06%D4%3Fd%94kx%BDf%DE6%FFIA%AB…
Ddataurl-nonbase64-singlequotes.out.b1 …8FN1%00%00%00iIDAT%08%D7E%C7E%16%02Q%10%C5%D0j%C3%DD%BDqw%5E%F6%BF5%06%D4%3Fd%94kx%BDf%DE6%FFIA%AB…
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/tests/yui/
Ddataurl-nonbase64-singlequotes.css.min1 …8FN1%00%00%00iIDAT%08%D7E%C7E%16%02Q%10%C5%D0j%C3%DD%BDqw%5E%F6%BF5%06%D4%3Fd%94kx%BDf%DE6%FFIA%AB…
Ddataurl-nonbase64-doublequotes.css5 …8FN1%00%00%00iIDAT%08%D7E%C7E%16%02Q%10%C5%D0j%C3%DD%BDqw%5E%F6%BF5%06%D4%3Fd%94kx%BDf%DE6%FFIA%AB…
Ddataurl-nonbase64-doublequotes.css.min1 …8FN1%00%00%00iIDAT%08%D7E%C7E%16%02Q%10%C5%D0j%C3%DD%BDqw%5E%F6%BF5%06%D4%3Fd%94kx%BDf%DE6%FFIA%AB…
Ddataurl-nonbase64-noquotes.css4 …8FN1%00%00%00iIDAT%08%D7E%C7E%16%02Q%10%C5%D0j%C3%DD%BDqw%5E%F6%BF5%06%D4%3Fd%94kx%BDf%DE6%FFIA%AB…

1234567891011