Home
last modified time | relevance | path

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

12345678910

/external/llvm/lib/Support/
DDataStream.cpp55 int Fd; member in __anone508ac6f0111::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/swiftshader/third_party/subzero/pnacl-llvm/
DDataStream.cpp55 int Fd; member in __anonb00bed3d0111::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.c59 int Fd = -1; variable
109 if ((Fd = open(FILENAME, O_CREAT | O_RDWR, 0777)) == -1) in setup()
114 FD_SET(Fd, &Readfds); in setup()
119 if (Fd >= 0) { in cleanup()
120 if (close(Fd) == -1) in cleanup()
122 Fd = -1; in cleanup()
Dselect03.c61 int Fd; variable
119 if ((Fd = open(FILENAME, O_RDWR)) == -1) { in setup()
126 FD_SET(Fd, &saved_Readfds); in setup()
127 FD_SET(Fd, &saved_Writefds); in setup()
132 close(Fd); in cleanup()
Dselect02.c57 int Fd[2]; variable
108 SAFE_PIPE(NULL, Fd); in setup()
112 FD_SET(Fd[0], &saved_Readfds); in setup()
113 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/crosvm/devices/src/utils/
Devent_loop.rs40 struct Fd(pub RawFd); struct
41 impl AsRawFd for Fd { implementation
47 impl PollToken for Fd { implementation
53 Fd(data as RawFd) in from_raw_token()
61 poll_ctx: Arc<EpollContext<Fd>>,
83 let poll_ctx: EpollContext<Fd> = EpollContext::new() in start()
84 .and_then(|pc| pc.add(&stop_evt, Fd(stop_evt.as_raw_fd())).and(Ok(pc))) in start()
140 let _ = poll_ctx.delete(&Fd(fd)); in start()
173 .add_fd_with_events(fd, events, Fd(fd.as_raw_fd())) in add_event()
/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()
/external/crosvm/sys_util/src/
Draw_fd.rs11 pub struct Fd(pub RawFd); struct
12 impl AsRawFd for Fd { implementation
/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/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/llvm/bindings/go/llvm/
Dbitwriter.go27 fail := C.LLVMWriteBitcodeToFD(m.C, C.int(file.Fd()), C.int(0), C.int(0))
/external/python/cryptography/vectors/cryptography_vectors/asymmetric/PKCS8/
Dpkcs12_s2k_pem-X_9927.pem12 rf6HFlOcYPV+5V8gI/DM2Fw/V+YgCzv380Z6HouZ4K1nwvEf53renettQmKxK/Fd
/external/python/cryptography/vectors/cryptography_vectors/x509/PKITS_data/smime/
DSignedInvalidcAFalseTest2.eml50 Fd+NIKLY29R2weO/Zd6WgNEN19l+gHGUZ2R44NxwqSXFMkTvbKVXAgMBAAGjazBp
DSignedValidNameChainingCapitalizationTest5.eml48 Fd/KQKvftXfPAJs+yYbJUnQwu3Auz9DcKrHOWna4ih4VBHh7Yf4hJ9CD4unV4iok
/external/toolchain-utils/compiler_wrapper/
Dcompile_with_fallback.go63 err := syscall.Flock(int(f.Fd()), syscall.LOCK_EX|syscall.LOCK_NB)
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/tests/yui/
Ddataurl-nonbase64-singlequotes.css6 …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…
Ddataurl-nonbase64-noquotes.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…
/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-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…
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-noquotes.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…

12345678910