Searched refs:output_fd (Results 1 - 2 of 2) sorted by relevance

/frameworks/compile/libbcc/tools/abcc/
H A DMain.cpp34 fprintf(stderr, "usage: abcc [--fd output_fd|--file output_filename]\n"
121 static bool Build(int input_fd, int output_fd, argument
131 bool build_result = driver->build(input_fd, output_fd);;
140 int output_fd, input_fd; local
142 if (!GetIntArg(output, output_fd)) {
152 if (!Build(input_fd, output_fd, triple, sysroot)) {
162 int output_fd = -1, input_fd = -1; local
165 output_fd = ::open(output, O_RDWR | O_CREAT | O_TRUNC, 0755);
167 if (output_fd < 0) {
177 ::close(output_fd);
[all...]
/frameworks/av/services/audioflinger/
H A Dtest-resample.cpp258 int output_fd = open(file_out, O_WRONLY | O_CREAT | O_TRUNC, local
260 if (output_fd < 0) {
267 write(output_fd, &wav, sizeof(wav));
270 write(output_fd, convert, out_frames * channels * sizeof(int16_t));
271 close(output_fd);

Completed in 104 milliseconds