HomeSort by: relevance | last modified time | path
    Searched refs:pipes (Results 1 - 25 of 58) sorted by relevancy

1 2 3

  /src/external/ibm-public/postfix/dist/src/master/
master_monitor.c 63 int pipes[2]; local
75 if (pipe(pipes) < 0)
77 close_on_exec(pipes[0], CLOSE_ON_EXEC);
78 close_on_exec(pipes[1], CLOSE_ON_EXEC);
89 close(pipes[0]);
90 return (pipes[1]);
93 close(pipes[1]);
94 switch (timed_read(pipes[0], buf, 1, time_limit, (void *) 0)) {
  /src/external/bsd/ntp/dist/sntp/libevent/test/
bench_cascade.c 65 static evutil_socket_t *pipes; variable
90 pipes = (evutil_socket_t *)calloc(num_pipes * 2, sizeof(evutil_socket_t));
92 if (events == NULL || pipes == NULL) {
97 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) {
111 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) {
121 if (send(pipes[1], "e", 1, 0) < 0)
129 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) {
135 free(pipes);
bench.c 72 static evutil_socket_t *pipes; variable
93 n = send(pipes[2 * widx + 1], "e", 1, 0);
108 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) {
121 (void) send(pipes[i * space + 1], "e", 1, 0);
200 pipes = calloc(num_pipes * 2, sizeof(evutil_socket_t));
201 if (events == NULL || pipes == NULL) {
217 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) {
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn20/
amdgpu_dcn20_resource.c 1601 /* The number of DSCs can be less than the number of pipes */
1833 struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes)
1844 pipes[pipe_cnt].dout.wb_enable = (wb_info->wb_enabled == true) ? 1 : 0;
1845 pipes[pipe_cnt].dout.num_active_wb++;
1846 pipes[pipe_cnt].dout.wb.wb_src_height = wb_info->dwb_params.cnv_params.crop_height;
1847 pipes[pipe_cnt].dout.wb.wb_src_width = wb_info->dwb_params.cnv_params.crop_width;
1848 pipes[pipe_cnt].dout.wb.wb_dst_width = wb_info->dwb_params.dest_width;
1849 pipes[pipe_cnt].dout.wb.wb_dst_height = wb_info->dwb_params.dest_height;
1850 pipes[pipe_cnt].dout.wb.wb_htaps_luma = 1;
1851 pipes[pipe_cnt].dout.wb.wb_vtaps_luma = 1
2889 display_e2e_pipe_params_st *pipes = kzalloc(dc->res_pool->pipe_count * sizeof(display_e2e_pipe_params_st), GFP_KERNEL); local
    [all...]
dcn20_resource.h 55 struct dc *dc, struct dc_state *context, display_e2e_pipe_params_st *pipes);
61 struct dc *dc, struct resource_context *res_ctx, display_e2e_pipe_params_st *pipes);
121 display_e2e_pipe_params_st *pipes,
150 display_e2e_pipe_params_st *pipes,
156 display_e2e_pipe_params_st *pipes,
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/
amdgpu_dc_link_hwss.c 106 struct pipe_ctx *pipes = local
116 if (pipes[i].stream != NULL &&
117 pipes[i].stream->link == link) {
118 if (pipes[i].clock_source != NULL &&
119 pipes[i].clock_source->id != CLOCK_SOURCE_ID_DP_DTO) {
120 pipes[i].clock_source = dp_cs;
121 pipes[i].stream_res.pix_clk_params.requested_pix_clk_100hz =
122 pipes[i].stream->timing.pix_clk_100hz;
123 pipes[i].clock_source->funcs->program_pix_clk(
124 pipes[i].clock_source
315 struct pipe_ctx *pipes = local
    [all...]
  /src/external/bsd/libevent/dist/test/
bench_cascade.c 66 static evutil_socket_t *pipes; variable
91 pipes = (evutil_socket_t *)calloc(num_pipes * 2, sizeof(evutil_socket_t));
93 if (events == NULL || pipes == NULL) {
98 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) {
112 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) {
122 if (send(pipes[1], "e", 1, 0) < 0)
130 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) {
136 free(pipes);
bench.c 73 static evutil_socket_t *pipes; variable
94 n = send(pipes[2 * widx + 1], "e", 1, 0);
109 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) {
122 (void) send(pipes[i * space + 1], "e", 1, 0);
201 pipes = calloc(num_pipes * 2, sizeof(evutil_socket_t));
202 if (events == NULL || pipes == NULL) {
218 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) {
  /src/external/mit/libuv/dist/src/unix/
process.c 289 int (*pipes)[2],
325 use_fd = pipes[fd][1];
329 pipes[fd][1] = fcntl(use_fd, F_DUPFD_CLOEXEC, stdio_count);
331 pipes[fd][1] = fcntl(use_fd, F_DUPFD, stdio_count);
333 if (pipes[fd][1] == -1)
336 n = uv__cloexec(pipes[fd][1], 1);
344 use_fd = pipes[fd][1];
546 int (*pipes)[2]) {
570 /* Do not return ENOSYS after this point, as we may mutate pipes. */
577 use_fd = pipes[fd][1]
    [all...]
  /src/external/gpl2/xcvs/dist/src/
rsh-client.c 47 int pipes[2]; local
121 child_pid = popenRW (rsh_argv, pipes);
126 make_bufs_from_fds (pipes[0], pipes[1], child_pid, to_server_p,
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dml/
amdgpu_display_mode_vba.c 51 const display_e2e_pipe_params_st *pipes,
58 const display_e2e_pipe_params_st *pipes,
64 || memcmp(pipes, mode_lib->vba.cache_pipes,
69 memcpy(mode_lib->vba.cache_pipes, pipes, sizeof(*pipes) * num_pipes);
72 if (need_recalculate && pipes[0].clks_cfg.dppclk_mhz != 0)
85 #define dml_get_attr_func(attr, var) double get_##attr(struct display_mode_lib *mode_lib, const display_e2e_pipe_params_st *pipes, unsigned int num_pipes) \
87 recalculate_params(mode_lib, pipes, num_pipes); \
115 #define dml_get_pipe_attr_func(attr, var) double get_##attr(struct display_mode_lib *mode_lib, const display_e2e_pipe_params_st *pipes, unsigned int num_pipes, unsigned int which_pipe) \
118 recalculate_params(mode_lib, pipes, num_pipes);
360 display_e2e_pipe_params_st *pipes = mode_lib->vba.cache_pipes; local
    [all...]
  /src/external/bsd/flex/dist/src/
filter.c 133 int pid, pipes[2]; local
152 if (pipe (pipes) == -1)
167 close (pipes[1]);
169 if (dup2 (pipes[0], fileno (stdin)) == -1)
170 flexfatal (_("dup2(pipes[0],0)"));
171 close (pipes[0]);
195 close (pipes[0]);
196 if (dup2 (pipes[1], fileno (stdout)) == -1)
197 flexfatal (_("dup2(pipes[1],1)"));
198 close (pipes[1])
    [all...]
  /src/crypto/external/bsd/openssl/dist/ssl/record/
ssl3_buffer.c 168 size_t pipes; local
170 pipes = s->rlayer.numwpipes;
171 while (pipes > 0) {
172 wb = &RECORD_LAYER_get_wbuf(&s->rlayer)[pipes - 1];
179 pipes--;
  /src/crypto/external/bsd/openssl.old/dist/ssl/record/
ssl3_buffer.c 161 size_t pipes; local
163 pipes = s->rlayer.numwpipes;
164 while (pipes > 0) {
165 wb = &RECORD_LAYER_get_wbuf(&s->rlayer)[pipes - 1];
169 pipes--;
  /src/tests/fs/common/
fstest_nfs.c 84 int pipes[2]; local
109 if (pipe(pipes) == -1)
116 close(pipes[0]);
117 if (dup2(pipes[1], 3) == -1)
124 close(pipes[1]);
135 if (read(pipes[0], &devnull, 4) == -1)
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn21/
amdgpu_dcn21_resource.c 673 struct dc *dc, struct dc_state *context, display_e2e_pipe_params_st *pipes);
983 display_e2e_pipe_params_st *pipes,
990 pipes[0].clks_cfg.voltage = vlevel;
991 pipes[0].clks_cfg.dcfclk_mhz = dml->soc.clock_limits[vlevel].dcfclk_mhz;
992 pipes[0].clks_cfg.socclk_mhz = dml->soc.clock_limits[vlevel].socclk_mhz;
998 wm_set->urgent_ns = get_wm_urgent(dml, pipes, pipe_cnt) * 1000;
999 wm_set->cstate_pstate.cstate_enter_plus_exit_ns = get_wm_stutter_enter_exit(dml, pipes, pipe_cnt) * 1000;
1000 wm_set->cstate_pstate.cstate_exit_ns = get_wm_stutter_exit(dml, pipes, pipe_cnt) * 1000;
1001 wm_set->cstate_pstate.pstate_change_ns = get_wm_dram_clock_change(dml, pipes, pipe_cnt) * 1000;
1002 wm_set->pte_meta_urgent_ns = get_wm_memory_trip(dml, pipes, pipe_cnt) * 1000
1139 display_e2e_pipe_params_st *pipes = kzalloc(dc->res_pool->pipe_count * sizeof(display_e2e_pipe_params_st), GFP_KERNEL); local
    [all...]
  /src/external/gpl3/gcc.old/dist/libiberty/
pex-unix.c 1 /* Utilities to execute a program in a subprocess (possibly linked by pipes
581 volatile int pipes[2]; /* [0]:reader,[1]:writer. */ local
588 if (pipe2 ((int *)pipes, O_CLOEXEC))
591 if (pipe ((int *)pipes))
595 if (fcntl (pipes[1], F_SETFD, FD_CLOEXEC) == -1)
597 close (pipes[0]);
598 close (pipes[1]);
632 close (pipes[0]);
633 close (pipes[1]);
646 close (pipes[0])
    [all...]
  /src/external/gpl2/diffutils/dist/src/
util.c 204 int pipes[2];
206 if (pipe (pipes) != 0)
215 close (pipes[1]);
216 if (pipes[0] != STDIN_FILENO)
218 if (dup2 (pipes[0], STDIN_FILENO) < 0)
220 close (pipes[0]);
228 close (pipes[0]);
229 outfile = fdopen (pipes[1], "w");
201 int pipes[2]; local
  /src/external/gpl2/gmake/dist/w32/include/
sub_proc.h 58 EXTERN_DECL(void process_pipes, (HANDLE proc, int pipes[3]));
  /src/external/gpl3/binutils/dist/libiberty/
pex-unix.c 1 /* Utilities to execute a program in a subprocess (possibly linked by pipes
751 volatile int pipes[2]; /* [0]:reader,[1]:writer. */ local
758 if (pipe2 ((int *)pipes, O_CLOEXEC))
761 if (pipe ((int *)pipes))
765 if (fcntl (pipes[1], F_SETFD, FD_CLOEXEC) == -1)
767 close (pipes[0]);
768 close (pipes[1]);
802 close (pipes[0]);
803 close (pipes[1]);
816 close (pipes[0])
    [all...]
  /src/external/gpl3/binutils.old/dist/libiberty/
pex-unix.c 1 /* Utilities to execute a program in a subprocess (possibly linked by pipes
751 volatile int pipes[2]; /* [0]:reader,[1]:writer. */ local
758 if (pipe2 ((int *)pipes, O_CLOEXEC))
761 if (pipe ((int *)pipes))
765 if (fcntl (pipes[1], F_SETFD, FD_CLOEXEC) == -1)
767 close (pipes[0]);
768 close (pipes[1]);
802 close (pipes[0]);
803 close (pipes[1]);
816 close (pipes[0])
    [all...]
  /src/external/gpl3/gcc/dist/libiberty/
pex-unix.c 1 /* Utilities to execute a program in a subprocess (possibly linked by pipes
751 volatile int pipes[2]; /* [0]:reader,[1]:writer. */ local
758 if (pipe2 ((int *)pipes, O_CLOEXEC))
761 if (pipe ((int *)pipes))
765 if (fcntl (pipes[1], F_SETFD, FD_CLOEXEC) == -1)
767 close (pipes[0]);
768 close (pipes[1]);
802 close (pipes[0]);
803 close (pipes[1]);
816 close (pipes[0])
    [all...]
  /src/external/gpl3/gdb.old/dist/libiberty/
pex-unix.c 1 /* Utilities to execute a program in a subprocess (possibly linked by pipes
751 volatile int pipes[2]; /* [0]:reader,[1]:writer. */ local
758 if (pipe2 ((int *)pipes, O_CLOEXEC))
761 if (pipe ((int *)pipes))
765 if (fcntl (pipes[1], F_SETFD, FD_CLOEXEC) == -1)
767 close (pipes[0]);
768 close (pipes[1]);
802 close (pipes[0]);
803 close (pipes[1]);
816 close (pipes[0])
    [all...]
  /src/external/gpl3/gdb/dist/libiberty/
pex-unix.c 1 /* Utilities to execute a program in a subprocess (possibly linked by pipes
751 volatile int pipes[2]; /* [0]:reader,[1]:writer. */ local
758 if (pipe2 ((int *)pipes, O_CLOEXEC))
761 if (pipe ((int *)pipes))
765 if (fcntl (pipes[1], F_SETFD, FD_CLOEXEC) == -1)
767 close (pipes[0]);
768 close (pipes[1]);
802 close (pipes[0]);
803 close (pipes[1]);
816 close (pipes[0])
    [all...]
  /src/external/gpl2/texinfo/dist/info/
man.c 281 int pipes[2]; local
302 in FORMATTED_PAGE. The reader end of the pipe is pipes[0]; the
303 writer end is pipes[1]. */
305 pipe (pipes);
317 close (pipes[1]);
318 formatted_page = read_from_fd (pipes[0]);
319 close (pipes[0]);
325 close (pipes[0]);
328 dup2 (pipes[1], fileno (stdout));
334 close (pipes[1])
    [all...]

Completed in 34 milliseconds

1 2 3