Lines Matching refs:PIPE_READ
59 #define PIPE_READ 0 macro
796 retval = dup2(input_fd[PIPE_READ], STDIN_FILENO); in semanage_pipe_data()
817 retval = close(output_fd[PIPE_READ]); in semanage_pipe_data()
822 retval = close(err_fd[PIPE_READ]); in semanage_pipe_data()
833 retval = close(input_fd[PIPE_READ]); in semanage_pipe_data()
834 input_fd[PIPE_READ] = -1; in semanage_pipe_data()
867 …retval = read_from_pipe_to_data(sh, initial_len, output_fd[PIPE_READ], &data_read, &data_read_len); in semanage_pipe_data()
871 retval = close(output_fd[PIPE_READ]); in semanage_pipe_data()
872 output_fd[PIPE_READ] = -1; in semanage_pipe_data()
879 …retval = read_from_pipe_to_data(sh, initial_len, err_fd[PIPE_READ], &err_data_read, &err_data_read… in semanage_pipe_data()
883 retval = close(err_fd[PIPE_READ]); in semanage_pipe_data()
884 err_fd[PIPE_READ] = -1; in semanage_pipe_data()
917 if (output_fd[PIPE_READ] != -1) { in semanage_pipe_data()
918 close(output_fd[PIPE_READ]); in semanage_pipe_data()
923 if (err_fd[PIPE_READ] != -1) { in semanage_pipe_data()
924 close(err_fd[PIPE_READ]); in semanage_pipe_data()
929 if (input_fd[PIPE_READ] != -1) { in semanage_pipe_data()
930 close(input_fd[PIPE_READ]); in semanage_pipe_data()