Home | History | Annotate | Download | only in abcc

Lines Matching refs:output_fd

34   fprintf(stderr, "usage: abcc [--fd output_fd|--file output_filename]\n"
126 static bool Build(int input_fd, int output_fd,
136 bool build_result = driver->build(input_fd, output_fd);;
145 int output_fd, input_fd;
147 if (!GetIntArg(output, output_fd)) {
157 if (!Build(input_fd, output_fd, triple, sysroot)) {
167 int output_fd = -1, input_fd = -1;
170 output_fd = ::open(output, O_RDWR | O_CREAT | O_TRUNC, 0755);
172 if (output_fd < 0) {
182 ::close(output_fd);
186 if (!Build(input_fd, output_fd, triple, sysroot)) {
187 ::close(output_fd);
192 ::close(output_fd);