/external/fsverity-utils/programs/ |
D | utils.h | 36 struct filedes { struct 41 bool open_file(struct filedes *file, const char *filename, int flags, int mode); argument 42 bool get_file_size(struct filedes *file, u64 *size_ret); 43 bool full_read(struct filedes *file, void *buf, size_t count); 44 bool full_write(struct filedes *file, const void *buf, size_t count); 45 bool filedes_close(struct filedes *file);
|
D | utils.c | 103 bool open_file(struct filedes *file, const char *filename, int flags, int mode) in open_file() 117 bool get_file_size(struct filedes *file, u64 *size_ret) in get_file_size() 129 bool full_read(struct filedes *file, void *buf, size_t count) in full_read() 148 bool full_write(struct filedes *file, const void *buf, size_t count) in full_write() 163 bool filedes_close(struct filedes *file) in filedes_close()
|
D | cmd_enable.c | 21 struct filedes file = { .fd = -1 }; in read_signature() 66 struct filedes file; in fsverity_cmd_enable()
|
D | cmd_sign.c | 19 struct filedes file; in write_signature() 42 struct filedes file = { .fd = -1 }; in fsverity_cmd_sign()
|
D | test_sign_digest.c | 27 struct filedes file; in main()
|
D | cmd_measure.c | 22 struct filedes file; in fsverity_cmd_measure()
|
D | cmd_digest.c | 32 struct filedes file = { .fd = -1 }; in fsverity_cmd_digest()
|
/external/ltp/testcases/network/nfs/nfs_stress/ |
D | nfs01_open_files.c | 21 int filedes[25500]; in main() local 42 filedes[n] = mkstemp(filename); in main() 43 if (filedes[n] == -1) { in main() 56 (filedes[i])) in main() 66 close(filedes[i]); in main() 75 if (!write_something(filedes[i])) in main()
|
/external/e2fsprogs/lib/ss/ |
D | pager.c | 78 int filedes[2]; in ss_pager_create() local 80 if (pipe(filedes) != 0) in ss_pager_create() 90 if (dup2(filedes[0], 0) == -1) in ss_pager_create() 98 (void) close(filedes[0]); in ss_pager_create() 99 return(filedes[1]); in ss_pager_create()
|
/external/curl/tests/ |
D | memanalyze.pl | 261 $filedes{$1}=1; 267 $filedes{$1}=1; 270 $filedes{$2}=1; 275 $filedes{$1}=1; 280 if($filedes{$1} != 1) { 284 $filedes{$1}=0; # closed now 386 for(keys %filedes) { 387 if($filedes{$_} == 1) {
|
/external/libpng/contrib/libtests/ |
D | timepng.c | 441 int filedes; in main() 443 filedes = mkstemp(tmpfile); in main() 444 if (filedes < 0) in main() 448 fp = fdopen(filedes,"w+"); in main()
|
D | pngstest.c | 3161 int filedes; in write_one_file() 3164 filedes = mkstemp(tmpfile); in write_one_file() 3165 if (filedes < 0) in write_one_file() 3169 f = fdopen(filedes,"w+"); in write_one_file()
|
/external/python/pyfakefs/pyfakefs/ |
D | fake_filesystem.py | 3575 dir_wrapper.filedes = file_des 3653 read_wrapper.filedes = file_des 3656 write_wrapper.filedes = file_des 3657 return read_wrapper.filedes, write_wrapper.filedes 4518 self.filedes = None 4540 return self.filedes 4554 self._filesystem._close_open_file(self.filedes) 4556 self._filesystem.open_files[self.filedes].remove(self) 4824 return (self.filedes < len(self._filesystem.open_files) and 4825 self._filesystem.open_files[self.filedes] is not None and [all …]
|
/external/curl/lib/ |
D | memdebug.c | 408 FILE *curl_dbg_fdopen(int filedes, const char *mode, in curl_dbg_fdopen() argument 411 FILE *res = fdopen(filedes, mode); in curl_dbg_fdopen() 414 source, line, filedes, mode, (void *)res); in curl_dbg_fdopen()
|
D | memdebug.h | 82 CURL_EXTERN FILE *curl_dbg_fdopen(int filedes, const char *mode,
|
/external/llvm-project/lldb/test/API/api/multithreaded/ |
D | test_stop-hook.cpp.template | 83 Cleanup(SBDebugger dbg, int filedes[2]) : m_dbg(dbg) { 85 m_filedes[0] = filedes[0]; 86 m_filedes[1] = filedes[1];
|
/external/curl/tests/server/ |
D | sockfilt.c | 226 static ssize_t fullread(int filedes, void *buffer, size_t nbytes) in fullread() argument 232 ssize_t rc = read(filedes, in fullread() 244 logmsg("reading from file descriptor: %d,", filedes); in fullread() 272 static ssize_t fullwrite(int filedes, const void *buffer, size_t nbytes) in fullwrite() argument 278 ssize_t wc = write(filedes, (const unsigned char *)buffer + nwrite, in fullwrite() 290 logmsg("writing to file descriptor: %d,", filedes); in fullwrite()
|
/external/llvm-project/compiler-rt/include/sanitizer/ |
D | netbsd_syscall_hooks.h | 2797 #define __sanitizer_syscall_pre___acl_get_fd(filedes, type, aclp) \ argument 2799 (long long)(filedes), (long long)(type), (long long)(aclp)) 2800 #define __sanitizer_syscall_post___acl_get_fd(res, filedes, type, aclp) \ argument 2802 res, (long long)(filedes), (long long)(type), (long long)(aclp)) 2803 #define __sanitizer_syscall_pre___acl_set_fd(filedes, type, aclp) \ argument 2805 (long long)(filedes), (long long)(type), (long long)(aclp)) 2806 #define __sanitizer_syscall_post___acl_set_fd(res, filedes, type, aclp) \ argument 2808 res, (long long)(filedes), (long long)(type), (long long)(aclp)) 2815 #define __sanitizer_syscall_pre___acl_delete_fd(filedes, type) \ argument 2816 __sanitizer_syscall_pre_impl___acl_delete_fd((long long)(filedes), \ [all …]
|
/external/python/cpython2/Modules/ |
D | selectmodule.c | 704 int filedes[2]; in select_have_broken_poll() local 709 if (pipe(filedes) < 0) { in select_have_broken_poll() 712 poll_struct.fd = filedes[0]; in select_have_broken_poll() 713 close(filedes[0]); in select_have_broken_poll() 714 close(filedes[1]); in select_have_broken_poll()
|
/external/python/cpython3/Modules/ |
D | selectmodule.c | 1217 int filedes[2]; in select_have_broken_poll() local 1222 if (pipe(filedes) < 0) { in select_have_broken_poll() 1225 poll_struct.fd = filedes[0]; in select_have_broken_poll() 1226 close(filedes[0]); in select_have_broken_poll() 1227 close(filedes[1]); in select_have_broken_poll()
|
/external/rust/crates/libc/src/unix/linux_like/android/ |
D | mod.rs | 2447 filedes: ::c_int, in fgetxattr() 2467 filedes: ::c_int, in fsetxattr() 2475 pub fn flistxattr(filedes: ::c_int, list: *mut c_char, size: ::size_t) -> ::ssize_t; in flistxattr() 2478 pub fn fremovexattr(filedes: ::c_int, name: *const c_char) -> ::c_int; in fremovexattr()
|
/external/rust/crates/libc/src/unix/linux_like/linux/ |
D | mod.rs | 3098 filedes: ::c_int, in fgetxattr() 3118 filedes: ::c_int, in fsetxattr() 3126 pub fn flistxattr(filedes: ::c_int, list: *mut c_char, size: ::size_t) -> ::ssize_t; in flistxattr() 3129 pub fn fremovexattr(filedes: ::c_int, name: *const c_char) -> ::c_int; in fremovexattr()
|
/external/rust/crates/libc/src/unix/bsd/apple/ |
D | mod.rs | 3665 filedes: ::c_int, in fgetxattr() 3681 filedes: ::c_int, in fsetxattr() 3695 filedes: ::c_int, in flistxattr() 3709 pub fn fremovexattr(filedes: ::c_int, name: *const ::c_char, flags: ::c_int) -> ::c_int; in fremovexattr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/ |
D | Process.inc | 322 extern "C" int setupterm(char *term, int filedes, int *errret);
|
/external/llvm-project/llvm/lib/Support/Unix/ |
D | Process.inc | 320 extern "C" int setupterm(char *term, int filedes, int *errret);
|