Lines Matching refs:PIPE_READ
59 #define PIPE_READ 0 macro
726 retval = dup2(input_fd[PIPE_READ], STDIN_FILENO); in semanage_pipe_data()
747 retval = close(output_fd[PIPE_READ]); in semanage_pipe_data()
752 retval = close(err_fd[PIPE_READ]); in semanage_pipe_data()
763 retval = close(input_fd[PIPE_READ]); in semanage_pipe_data()
764 input_fd[PIPE_READ] = -1; in semanage_pipe_data()
797 …retval = read_from_pipe_to_data(sh, initial_len, output_fd[PIPE_READ], &data_read, &data_read_len); in semanage_pipe_data()
801 retval = close(output_fd[PIPE_READ]); in semanage_pipe_data()
802 output_fd[PIPE_READ] = -1; in semanage_pipe_data()
809 …retval = read_from_pipe_to_data(sh, initial_len, err_fd[PIPE_READ], &err_data_read, &err_data_read… in semanage_pipe_data()
813 retval = close(err_fd[PIPE_READ]); in semanage_pipe_data()
814 err_fd[PIPE_READ] = -1; in semanage_pipe_data()
847 if (output_fd[PIPE_READ] != -1) { in semanage_pipe_data()
848 close(output_fd[PIPE_READ]); in semanage_pipe_data()
853 if (err_fd[PIPE_READ] != -1) { in semanage_pipe_data()
854 close(err_fd[PIPE_READ]); in semanage_pipe_data()
859 if (input_fd[PIPE_READ] != -1) { in semanage_pipe_data()
860 close(input_fd[PIPE_READ]); in semanage_pipe_data()