/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-key/ |
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/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-sign/ |
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/toybox/toys/pending/ |
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/ |
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()
|
/third_party/toybox/toys/posix/ |
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()
|
/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/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/ltp/testcases/kernel/syscalls/tee/ |
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/ |
D | splice03.c | 50 int *fdin; member 83 TEST(splice(*(tc->fdin), tc->offin, *(tc->fdout), in splice_verify()
|
/third_party/gstreamer/gstplugins_bad/sys/ipcpipeline/ |
D | gstipcpipelinesink.c | 217 sink->comm.fdin = -1; in gst_ipc_pipeline_sink_init() 267 sink->comm.fdin = g_value_get_int (value); in gst_ipc_pipeline_sink_set_property() 292 g_value_set_int (value, sink->comm.fdin); in gst_ipc_pipeline_sink_get_property() 581 sink->comm.fdin = -1; in gst_ipc_pipeline_sink_disconnect() 603 if (sink->comm.fdin < 0) { in gst_ipc_pipeline_sink_change_state() 604 GST_ERROR_OBJECT (element, "Invalid fdin: %d", sink->comm.fdin); in gst_ipc_pipeline_sink_change_state()
|
D | gstipcpipelinesrc.c | 241 src->comm.fdin = g_value_get_int (value); in gst_ipc_pipeline_src_set_property() 268 g_value_set_int (value, src->comm.fdin); in gst_ipc_pipeline_src_get_property() 923 src->comm.fdin = -1; in gst_ipc_pipeline_src_disconnect() 937 if (src->comm.fdin < 0) { in gst_ipc_pipeline_src_change_state() 938 GST_ERROR_OBJECT (element, "Invalid fdin: %d", src->comm.fdin); in gst_ipc_pipeline_src_change_state()
|
D | gstipcpipelinecomm.h | 61 int fdin; member
|
D | gstipcpipelinecomm.c | 1625 comm->fdin = comm->fdout = -1; in gst_ipc_pipeline_comm_init() 1740 if (comm->pollFDin.fd != comm->fdin || !GST_OBJECT_PARENT (comm->element)) { in update_adapter() 1747 if (comm->fdin != -1 && GST_OBJECT_PARENT (comm->element)) { in update_adapter() 1748 GST_DEBUG_OBJECT (comm->element, "Start watching fd %d", comm->fdin); in update_adapter() 1749 comm->pollFDin.fd = comm->fdin; in update_adapter()
|
/third_party/toybox/lib/ |
D | lib.c | 739 int copy_tempfile(int fdin, char *name, char **tempname) in copy_tempfile() argument 749 if (!fstat(fdin, &statbuf)) fchmod(fd, statbuf.st_mode); in copy_tempfile() 762 void delete_tempfile(int fdin, int fdout, char **tempname) in delete_tempfile() argument 764 close(fdin); in delete_tempfile() 773 void replace_tempfile(int fdin, int fdout, char **tempname) in replace_tempfile() argument 778 if (fdin != -1) { in replace_tempfile() 779 xsendfile(fdin, fdout); in replace_tempfile() 780 xclose(fdin); in replace_tempfile()
|
D | lib.h | 254 int copy_tempfile(int fdin, char *name, char **tempname); 255 void delete_tempfile(int fdin, int fdout, char **tempname); 256 void replace_tempfile(int fdin, int fdout, char **tempname);
|
/third_party/toybox/porting/liteos_a/lib/ |
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/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 3622 d->fdin = 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() 3626 g_hash_table_insert (d->fdin, (gpointer) l->data, in step_state_changes() 3627 GINT_TO_POINTER (fdin)); in step_state_changes() 3634 g_hash_table_foreach (d->fdin, set_fdin, NULL); in step_state_changes() 3636 g_hash_table_destroy (d->fdin); in step_state_changes()
|
/third_party/libabigail/tests/data/test-read-dwarf/ |
D | test15-pr18892.so.abi | 12170 …<parameter type-id='type-id-41' name='fdin' filepath='../../.././libsanitizer/sanitizer_common/san… 12178 …<parameter type-id='type-id-41' name='fdin' filepath='../../.././libsanitizer/sanitizer_common/san…
|
/third_party/libabigail/tests/data/test-annotate/ |
D | test15-pr18892.so.abi | 21634 …<parameter type-id='type-id-41' name='fdin' filepath='../../.././libsanitizer/sanitizer_common/san… 21649 …<parameter type-id='type-id-41' name='fdin' filepath='../../.././libsanitizer/sanitizer_common/san…
|