/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-key/ |
D | main.c | 16 static int fdin = 0, fdout = 1; variable 74 write(fdout, dump, l); in cose_key_dump() 78 write(fdout, dump, l); in cose_key_dump() 82 write(fdout, hex, strlen(hex)); in cose_key_dump() 83 write(fdout, "\n", 1); in cose_key_dump() 95 write(fdout, dump, l); in cose_key_dump() 99 write(fdout, dump, l); in cose_key_dump() 103 write(fdout, hex, strlen(hex)); in cose_key_dump() 104 write(fdout, "\n", 1); in cose_key_dump() 151 fdout = open(p, LWS_O_WRONLY | LWS_O_CREAT | LWS_O_TRUNC, 0600); in main() [all …]
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
D | cp.c | 112 int fdout = -1, cfd = try->parent ? try->parent->extra : AT_FDCWD, in cp_node() local 122 fdout = try->extra; in cp_node() 214 fdout = AT_FDCWD; in cp_node() 232 fdout = AT_FDCWD; in cp_node() 246 fdout = openat(cfd, catch, O_RDWR|O_CREAT|O_TRUNC, try->st.st_mode); in cp_node() 247 if (fdout >= 0) { in cp_node() 248 xsendfile(fdin, fdout); in cp_node() 267 if (xattr_fset(fdout, name, value, len, 0)) in cp_node() 282 if (fdout != -1) { in cp_node() 292 if (fdout == AT_FDCWD) in cp_node() [all …]
|
/third_party/toybox/toys/posix/ |
D | cp.c | 128 int fdout = -1, cfd = try->parent ? try->parent->extra : AT_FDCWD, in cp_node() local 138 fdout = try->extra; in cp_node() 241 fdout = AT_FDCWD; in cp_node() 259 fdout = AT_FDCWD; in cp_node() 273 fdout = openat(cfd, catch, O_RDWR|O_CREAT|O_TRUNC, try->st.st_mode); in cp_node() 274 if (fdout >= 0) { in cp_node() 275 xsendfile(fdin, fdout); in cp_node() 294 if (xattr_fset(fdout, name, value, len, 0)) in cp_node() 309 if (fdout != -1) { in cp_node() 319 if (fdout == AT_FDCWD) in cp_node() [all …]
|
D | sed.c | 185 int fdout, noeol; 212 if (TT.noeol && !writeall(TT.fdout, "\n", 1)) return 1; in emit() 216 l = writeall(TT.fdout, line, len); in emit() 219 if (TT.fdout != 1) perror_msg("short write"); in emit() 586 fd = TT.fdout; in sed_line() 591 memcpy(&TT.fdout, name, 4); in sed_line() 600 TT.fdout = fd; in sed_line() 639 if (TT.noeol) xwrite(TT.fdout, "\n", 1); in sed_line() 641 xsendfile(fd, TT.fdout); in sed_line() 661 TT.fdout = copy_tempfile(fd, name, &tmp); in do_sed_file() [all …]
|
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-sign/ |
D | main.c | 14 static int fdin = 0, fdout = 1; variable 87 write(fdout, paychunk, paychunk_len); in pay_cb() 140 fdout = open(p, LWS_O_WRONLY | LWS_O_CREAT | LWS_O_TRUNC, 0600); in main() 141 if (fdout < 0) { in main() 291 write(fdout, sbuf, lec.used); in main() 300 write(fdout, sbuf, lec.used); in main() 354 write(fdout, buf, (size_t)os); in main() 377 write(fdout, buf, (size_t)os); in main() 402 if (fdout != 1 && fdout >= 0) in main() 403 close(fdout); in main()
|
/third_party/musl/libc-test/src/regression/ |
D | daemon-failure.c | 20 int r, pid, fd[2], fdout, s; in main() local 28 fdout = dup(1); in main() 29 if (fdout == -1) { in main() 45 if (dup2(fdout,1) == -1) { in main() 46 write(fdout, "ERROR:\n", 7); in main()
|
/third_party/gstreamer/gstplugins_bad/tests/examples/ipcpipeline/ |
D | ipcpipeline1.c | 99 start_source (int fdin, int fdout) in start_source() argument 119 g_object_set (ipcpipelinesink, "fdin", fdin, "fdout", fdout, NULL); in start_source() 131 start_sink (int fdin, int fdout) in start_sink() argument 141 g_object_set (ipcpipelinesrc, "fdin", fdin, "fdout", fdout, NULL); in start_sink()
|
/third_party/gstreamer/gstplugins_bad/sys/ipcpipeline/ |
D | gstipcpipelinesink.c | 218 sink->comm.fdout = -1; in gst_ipc_pipeline_sink_init() 270 sink->comm.fdout = g_value_get_int (value); in gst_ipc_pipeline_sink_set_property() 295 g_value_set_int (value, sink->comm.fdout); in gst_ipc_pipeline_sink_get_property() 582 sink->comm.fdout = -1; in gst_ipc_pipeline_sink_disconnect() 607 if (sink->comm.fdout < 0) { in gst_ipc_pipeline_sink_change_state() 608 GST_ERROR_OBJECT (element, "Invalid fdout: %d", sink->comm.fdout); in gst_ipc_pipeline_sink_change_state() 654 if (sink->comm.fdout >= 0) { in gst_ipc_pipeline_sink_change_state() 666 sink->comm.fdout); in gst_ipc_pipeline_sink_change_state() 670 sink->comm.fdout); in gst_ipc_pipeline_sink_change_state() 709 if (peer_ret != GST_STATE_CHANGE_FAILURE && sink->comm.fdout >= 0) { in gst_ipc_pipeline_sink_change_state()
|
D | gstipcpipelinesrc.c | 244 src->comm.fdout = g_value_get_int (value); in gst_ipc_pipeline_src_set_property() 271 g_value_set_int (value, src->comm.fdout); in gst_ipc_pipeline_src_get_property() 924 src->comm.fdout = -1; in gst_ipc_pipeline_src_disconnect() 941 if (src->comm.fdout < 0) { in gst_ipc_pipeline_src_change_state() 942 GST_ERROR_OBJECT (element, "Invalid fdout: %d", src->comm.fdout); in gst_ipc_pipeline_src_change_state()
|
D | gstipcpipelinecomm.h | 62 int fdout; member
|
D | gstipcpipelinecomm.c | 234 send (comm->fdout, (const unsigned char *) data + offset, size, 0); in write_to_fd_raw() 247 write (comm->fdout, (const unsigned char *) data + offset, size); in write_to_fd_raw() 1625 comm->fdin = comm->fdout = -1; in gst_ipc_pipeline_comm_init()
|
/third_party/cups-filters/filter/foomatic-rip/ |
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 …st 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()
|
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/toybox/toys/pending/ |
D | crontab.c | 234 int fdin, fdout; in update_crontab() local 237 fdout = xcreate(toybuf, O_WRONLY|O_CREAT|O_TRUNC, 0600); in update_crontab() 239 xsendfile(fdin, fdout); in update_crontab() 242 fchown(fdout, getuid(), geteuid()); in update_crontab() 243 xclose(fdout); in update_crontab()
|
/third_party/ltp/testcases/kernel/syscalls/tee/ |
D | tee02.c | 37 int *fdout; member 56 TEST(tee(*(tc->fdin), *(tc->fdout), TEE_TEST_LEN, 0)); in tee_verify()
|
/third_party/ltp/testcases/kernel/syscalls/splice/ |
D | splice03.c | 52 int *fdout; member 83 TEST(splice(*(tc->fdin), tc->offin, *(tc->fdout), in splice_verify()
|
/third_party/libfuse/example/ |
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/lib/ |
D | lib.c | 785 void delete_tempfile(int fdin, int fdout, char **tempname) in delete_tempfile() argument 788 close(fdout); in delete_tempfile() 796 void replace_tempfile(int fdin, int fdout, char **tempname) in replace_tempfile() argument 802 xsendfile(fdin, fdout); in replace_tempfile() 805 xclose(fdout); in replace_tempfile()
|
D | lib.h | 257 void delete_tempfile(int fdin, int fdout, char **tempname); 258 void replace_tempfile(int fdin, int fdout, char **tempname);
|
/third_party/libfuse/include/ |
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,
|
/third_party/toybox/porting/liteos_a/lib/ |
D | lib.h | 249 void delete_tempfile(int fdin, int fdout, char **tempname); 250 void replace_tempfile(int fdin, int fdout, char **tempname);
|
/third_party/gstreamer/gstplugins_bad/tests/check/pipelines/ |
D | ipcpipeline.c | 581 int fdin, int fdout, const char *filter_caps) in create_sink() argument 592 g_object_set (ipcpipelinesrc, "fdin", fdin, "fdout", fdout, NULL); in create_sink() 3495 GHashTable *fdin, *fdout; member 3540 int fdin, fdout; in step_state_changes() local 3623 d->fdout = g_hash_table_new (g_direct_hash, g_direct_equal); in step_state_changes() 3625 g_object_get (l->data, "fdin", &fdin, "fdout", &fdout, NULL); in step_state_changes() 3628 g_hash_table_insert (d->fdout, (gpointer) l->data, in step_state_changes() 3629 GINT_TO_POINTER (fdout)); in step_state_changes() 3635 g_hash_table_foreach (d->fdout, set_fdout, NULL); in step_state_changes() 3637 g_hash_table_destroy (d->fdout); in step_state_changes()
|
/third_party/toybox/generated/ |
D | globals.h | 1355 int fdout, noeol; member
|
/third_party/libabigail/tests/data/test-read-dwarf/ |
D | test15-pr18892.so.abi | 12171 …<parameter type-id='type-id-41' name='fdout' filepath='../../.././libsanitizer/sanitizer_common/sa… 12179 …<parameter type-id='type-id-41' name='fdout' filepath='../../.././libsanitizer/sanitizer_common/sa…
|
/third_party/libabigail/tests/data/test-annotate/ |
D | test15-pr18892.so.abi | 21636 …<parameter type-id='type-id-41' name='fdout' filepath='../../.././libsanitizer/sanitizer_common/sa… 21651 …<parameter type-id='type-id-41' name='fdout' filepath='../../.././libsanitizer/sanitizer_common/sa…
|