/external/fsverity-utils/ |
D | util.h | 123 struct filedes { struct 130 bool open_file(struct filedes *file, const char *filename, int flags, int mode); argument 131 bool open_tempfile(struct filedes *file); 132 bool get_file_size(struct filedes *file, u64 *size_ret); 133 bool filedes_seek(struct filedes *file, u64 pos, int whence); 134 bool full_read(struct filedes *file, void *buf, size_t count); 135 bool full_pread(struct filedes *file, void *buf, size_t count, u64 offset); 136 bool full_write(struct filedes *file, const void *buf, size_t count); 137 bool full_pwrite(struct filedes *file, const void *buf, size_t count, 139 bool copy_file_data(struct filedes *src, struct filedes *dst, u64 length); [all …]
|
D | util.c | 114 bool open_file(struct filedes *file, const char *filename, int flags, int mode) in open_file() 130 bool open_tempfile(struct filedes *file) in open_tempfile() 147 bool get_file_size(struct filedes *file, u64 *size_ret) in get_file_size() 159 bool filedes_seek(struct filedes *file, u64 pos, int whence) in filedes_seek() 172 bool full_read(struct filedes *file, void *buf, size_t count) in full_read() 192 bool full_pread(struct filedes *file, void *buf, size_t count, u64 offset) in full_pread() 212 bool full_write(struct filedes *file, const void *buf, size_t count) in full_write() 228 bool full_pwrite(struct filedes *file, const void *buf, size_t count, in full_pwrite() 246 bool copy_file_data(struct filedes *src, struct filedes *dst, u64 count) in copy_file_data() 263 bool write_zeroes(struct filedes *file, u64 count) in write_zeroes() [all …]
|
D | cmd_setup.c | 115 struct filedes *data_file, u64 data_size, in build_merkle_tree() 116 struct filedes *tree_file, u64 tree_offset, in build_merkle_tree() 148 struct filedes *file; in build_merkle_tree() 237 struct filedes *out, in append_fsverity_descriptor() 296 append_unauthenticated_extensions(struct filedes *out, in append_unauthenticated_extensions() 323 static int append_footer(struct filedes *out, u64 desc_offset) in append_footer() 339 struct filedes _in = { .fd = -1 }; in fsveritysetup() 340 struct filedes _out = { .fd = -1 }; in fsveritysetup() 341 struct filedes _tmp = { .fd = -1 }; in fsveritysetup() 343 struct filedes *in = &_in, *out = &_out, *src; in fsveritysetup()
|
D | fsveritysetup.h | 33 struct filedes *in, u64 in_length, 34 struct filedes *out_ret, u64 *out_length_ret); 39 int append_signed_measurement(struct filedes *out,
|
D | elide_patch.c | 70 struct filedes patchfile = { .fd = -1 }; in parse_patch_option() 200 struct filedes *in, u64 in_length, in apply_elisions_and_patches() 201 struct filedes *out_ret, u64 *out_length_ret) in apply_elisions_and_patches() 204 struct filedes *out = out_ret; in apply_elisions_and_patches()
|
D | cmd_enable.c | 19 struct filedes file; in fsverity_cmd_enable()
|
D | sign.c | 426 struct filedes file = { .fd = -1 }; in read_signature() 471 struct filedes file; in write_signature() 490 int append_signed_measurement(struct filedes *out, in append_signed_measurement()
|
D | cmd_measure.c | 22 struct filedes file; in fsverity_cmd_measure()
|
/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/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/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/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 | 3162 int filedes; in write_one_file() 3165 filedes = mkstemp(tmpfile); in write_one_file() 3166 if (filedes < 0) in write_one_file() 3170 f = fdopen(filedes,"w+"); in write_one_file()
|
/external/libusb/libusb/os/ |
D | poll_windows.c | 261 int usbi_pipe(int filedes[2]) in usbi_pipe() 289 filedes[0] = poll_fd[i].fd; in usbi_pipe() 291 filedes[1] = filedes[0]; in usbi_pipe()
|
/external/curl/tests/server/ |
D | sockfilt.c | 358 static ssize_t fullread(int filedes, void *buffer, size_t nbytes) in fullread() argument 364 ssize_t rc = read(filedes, in fullread() 376 logmsg("reading from file descriptor: %d,", filedes); in fullread() 404 static ssize_t fullwrite(int filedes, const void *buffer, size_t nbytes) in fullwrite() argument 410 ssize_t wc = write(filedes, (const unsigned char *)buffer + nwrite, in fullwrite() 422 logmsg("writing to file descriptor: %d,", filedes); in fullwrite()
|
/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 | 1191 int filedes[2]; in select_have_broken_poll() local 1196 if (pipe(filedes) < 0) { in select_have_broken_poll() 1199 poll_struct.fd = filedes[0]; in select_have_broken_poll() 1200 close(filedes[0]); in select_have_broken_poll() 1201 close(filedes[1]); in select_have_broken_poll()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/ |
D | Process.inc | 323 extern "C" int setupterm(char *term, int filedes, int *errret);
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
D | Process.inc | 334 extern "C" int setupterm(char *term, int filedes, int *errret);
|
/external/llvm/lib/Support/Unix/ |
D | Process.inc | 343 extern "C" int setupterm(char *term, int filedes, int *errret);
|
/external/llvm/include/llvm/Analysis/ |
D | TargetLibraryInfo.def | 578 /// int fstat64(int filedes, struct stat64 *buf)
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | TargetLibraryInfo.def | 763 /// int fstat64(int filedes, struct stat64 *buf)
|
/external/v8/tools/profviz/ |
D | gnuplot-4.6.3-emscripten.js | 2335 var flush = function(filedes) { argument 2337 if (FS.streams[filedes] && FS.streams[filedes].object.output) { 2338 …if (!FS.streams[filedes].isTerminal) { // don't flush terminals, it would cause a \n to also appear 2339 FS.streams[filedes].object.output(null);
|