Lines Matching refs:from_cs
379 int to_cs[2], from_cs[2]; in run_cscope() local
386 to_cs[0] = to_cs[1] = from_cs[0] = from_cs[1] = -1; in run_cscope()
387 if (pipe(to_cs) < 0 || pipe(from_cs) < 0) { in run_cscope()
399 if (from_cs[0] != -1) in run_cscope()
400 (void)close(from_cs[0]); in run_cscope()
401 if (from_cs[1] != -1) in run_cscope()
402 (void)close(from_cs[1]); in run_cscope()
406 (void)dup2(from_cs[1], STDOUT_FILENO); in run_cscope()
407 (void)dup2(from_cs[1], STDERR_FILENO); in run_cscope()
411 (void)close(from_cs[0]); in run_cscope()
437 (void)close(from_cs[1]); in run_cscope()
445 csc->from_fd = from_cs[0]; in run_cscope()
446 csc->from_fp = fdopen(from_cs[0], "r"); in run_cscope()