/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-sign/ |
H A D | main.c | 14 static int fdin = 0, fdout = 1; variable 132 fdin = open(p, LWS_O_RDONLY, 0); in main() 133 if (fdin < 0) { in main() 208 if (!fdin) { in main() 218 if (select(fdin + 1, &fds, NULL, NULL, &timeout) < 0 || in main() 254 n = (int)read(fdin, temp, sizeof(temp)); in main() 325 n = (int)read(fdin, temp, sizeof(temp)); in main() 400 if (fdin > 0) in main() 401 close(fdin); in main()
|
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-key/ |
H A D | main.c | 16 static int fdin = 0, fdout = 1; variable 143 fdin = open(p, LWS_O_RDONLY, 0); in main() 144 if (fdin < 0) { in main() 174 if (!fdin) { in main() 184 if (select(fdin + 1, &fds, NULL, NULL, &timeout) < 0) in main() 192 int n = (int)read(fdin, temp, sizeof(temp)); in main() 307 if (fdin > 0) in main() 308 close(fdin); in main()
|
/third_party/toybox/toys/pending/ |
H A D | crontab.c | 217 int fdin; in do_list() local 220 fdin = xopenro(toybuf); in do_list() 221 xsendfile(fdin, 1); in do_list() 222 xclose(fdin); in do_list() 234 int fdin, fdout; in update_crontab() local 238 fdin = xopenro(src); in update_crontab() 239 xsendfile(fdin, fdout); in update_crontab() 240 xclose(fdin); in update_crontab()
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
H A D | cp.c | 237 int fdin; in cp_node() local 239 fdin = openat(tfd, try->name, O_RDONLY); in cp_node() 240 if (fdin < 0) { in cp_node() 245 if (S_ISLNK(try->st.st_mode)) fstat(fdin, &try->st); in cp_node() 248 xsendfile(fdin, fdout); in cp_node() 254 ssize_t listlen = xattr_flist(fdin, 0, 0), len; in cp_node() 259 xattr_flist(fdin, list, listlen); in cp_node() 264 if ((len = xattr_fget(fdin, name, 0, 0))>0) { in cp_node() 266 if (len == xattr_fget(fdin, name, value, len)) in cp_node() 276 close(fdin); in cp_node() [all...] |
/third_party/toybox/toys/posix/ |
H A D | cp.c | 264 int fdin; in cp_node() local 266 fdin = openat(tfd, try->name, O_RDONLY); in cp_node() 267 if (fdin < 0) { in cp_node() 272 if (S_ISLNK(try->st.st_mode)) fstat(fdin, &try->st); in cp_node() 275 xsendfile(fdin, fdout); in cp_node() 281 ssize_t listlen = xattr_flist(fdin, 0, 0), len; in cp_node() 286 xattr_flist(fdin, list, listlen); in cp_node() 291 if ((len = xattr_fget(fdin, name, 0, 0))>0) { in cp_node() 293 if (len == xattr_fget(fdin, name, value, len)) in cp_node() 303 close(fdin); in cp_node() [all...] |
/third_party/cups-filters/filter/foomatic-rip/ |
H A D | process.c | 192 pid_t start_system_process(const char *name, const char *command, FILE **fdin, FILE **fdout) in start_system_process() argument 194 return _start_process(name, exec_command, (void*)command, fdin, fdout, 1); in start_system_process() 197 pid_t start_process(const char *name, int (*proc_func)(FILE *, FILE *, void *), void *user_arg, FILE **fdin, FILE **fdout) in start_process() argument 199 return _start_process(name, proc_func, user_arg, fdin, fdout, 0); in start_process()
|
H A D | process.h | 31 pid_t start_process(const char *name, int (*proc_func)(), void *user_arg, FILE **fdin, FILE **fdout); 32 pid_t start_system_process(const char *name, const char *command, FILE **fdin, FILE **fdout);
|
/third_party/ltp/testcases/kernel/syscalls/tee/ |
H A D | tee02.c | 36 int *fdin; member 56 TEST(tee(*(tc->fdin), *(tc->fdout), TEE_TEST_LEN, 0)); in tee_verify()
|
/third_party/ltp/testcases/kernel/syscalls/splice/ |
H A D | splice03.c | 50 int *fdin; member 83 TEST(splice(*(tc->fdin), tc->offin, *(tc->fdout), in splice_verify()
|
/third_party/toybox/lib/ |
H A D | lib.c | 782 int copy_tempfile(int fdin, char *name, char **tempname) in copy_tempfile() argument 792 if (!fstat(fdin, &statbuf)) fchmod(fd, statbuf.st_mode); in copy_tempfile() 805 void delete_tempfile(int fdin, int fdout, char **tempname) in delete_tempfile() argument 807 close(fdin); in delete_tempfile() 816 void replace_tempfile(int fdin, int fdout, char **tempname) in replace_tempfile() argument 821 if (fdin != -1) { in replace_tempfile() 822 xsendfile(fdin, fdout); in replace_tempfile() 823 xclose(fdin); in replace_tempfile()
|
H A D | lib.h | 257 int copy_tempfile(int fdin, char *name, char **tempname); 258 void delete_tempfile(int fdin, int fdout, char **tempname); 259 void replace_tempfile(int fdin, int fdout, char **tempname);
|
/third_party/libfuse/example/ |
H A D | hello_ll_uds.c | 280 static ssize_t stream_splice_send(int fdin, off_t *offin, int fdout, in stream_splice_send() argument 287 int i = splice(fdin, offin, fdout, offout, len - count, flags); in stream_splice_send()
|
/third_party/toybox/porting/liteos_a/lib/ |
H A D | lib.h | 248 int copy_tempfile(int fdin, char *name, char **tempname); 249 void delete_tempfile(int fdin, int fdout, char **tempname); 250 void replace_tempfile(int fdin, int fdout, char **tempname);
|
/third_party/libfuse/include/ |
H A D | fuse_lowlevel.h | 133 ssize_t (*splice_receive)(int fdin, off_t *offin, int fdout, 136 ssize_t (*splice_send)(int fdin, off_t *offin, int fdout,
|