| /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...] |
| amdgpu_dc.c | 444 struct pipe_ctx *pipes = NULL; local 450 pipes = &link->dc->current_state->res_ctx.pipe_ctx[i]; 455 if (!pipes) 466 if (pipes->plane_res.xfm && 467 pipes->plane_res.xfm->funcs->transform_set_pixel_storage_depth) { 468 pipes->plane_res.xfm->funcs->transform_set_pixel_storage_depth( 469 pipes->plane_res.xfm, 470 pipes->plane_res.scl_data.lb_params.depth, 474 pipes->stream_res.opp->funcs-> 475 opp_program_bit_depth_reduction(pipes->stream_res.opp, ¶ms) 482 struct pipe_ctx *pipes; local 499 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/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...] |
| display_mode_vba.h | 38 #define dml_get_attr_decl(attr) double get_##attr(struct display_mode_lib *mode_lib, const display_e2e_pipe_params_st *pipes, unsigned int num_pipes) 62 #define dml_get_pipe_attr_decl(attr) double get_##attr(struct display_mode_lib *mode_lib, const display_e2e_pipe_params_st *pipes, unsigned int num_pipes, unsigned int which_pipe) 88 const display_e2e_pipe_params_st *pipes, 94 const display_e2e_pipe_params_st *pipes, 98 const display_e2e_pipe_params_st *pipes, 102 const display_e2e_pipe_params_st *pipes, 106 const display_e2e_pipe_params_st *pipes,
|
| /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/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/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...] |
| /src/external/gpl2/xcvs/dist/diff/ |
| util.c | 220 int pipes[2]; 222 if (pipe (pipes) != 0) 233 close (pipes[1]); 234 if (pipes[0] != STDIN_FILENO) 236 if (dup2 (pipes[0], STDIN_FILENO) < 0) 238 close (pipes[0]); 246 close (pipes[0]); 247 outfile = fdopen (pipes[1], "w"); 217 int pipes[2]; local
|
| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/ |
| core_types.h | 107 display_e2e_pipe_params_st *pipes); 139 display_e2e_pipe_params_st *pipes); 144 display_e2e_pipe_params_st *pipes,
|
| /src/sys/external/bsd/drm2/dist/drm/i915/gvt/ |
| fb_decoder.h | 163 struct intel_vgpu_pipe_format pipes[I915_MAX_PIPES]; member in struct:intel_vgpu_fb_format
|
| /src/external/apache2/llvm/dist/clang/utils/ |
| creduce-clang-crash.py | 17 import pipes 60 return ' '.join(pipes.quote(arg) for arg in cmd) 202 output += 'grep -F %s t.log || exit 1\n' % pipes.quote(msg)
|
| /src/external/apache2/llvm/dist/libcxx/utils/ |
| ssh.py | 30 from pipes import quote as cmd_quote
|