/external/qemu/android/utils/ |
debug.c | 82 int null_fd, out_fd, err_fd; local 84 out_fd = _fileno(stdout); 86 stdio_save_out_fd = _dup(out_fd); 89 _dup2(null_fd, out_fd); 99 int out_fd, err_fd; local 101 out_fd = _fileno(stdout); 103 _dup2(stdio_save_out_fd, out_fd); 114 int null_fd, out_fd, err_fd; local 116 out_fd = fileno(stdout); 118 stdio_save_out_fd = dup(out_fd); 131 int out_fd, err_fd; local [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_symbolize_addr2line_linux.cc | 35 int out_fd; member in struct:__tsan::ModuleDesc 83 m->out_fd = outfd[1]; 107 m->out_fd = -1; 158 if (0 >= internal_write(m->out_fd, addrstr, internal_strlen(addrstr))) { 160 m->out_fd, errno);
|
/external/chromium_org/chrome/renderer/pepper/ |
ppb_nacl_private_impl.cc | 219 IPC::PlatformFileForTransit out_fd = IPC::InvalidPlatformFileForTransit(); local 224 &out_fd))) { 227 if (out_fd == IPC::InvalidPlatformFileForTransit()) { 231 IPC::PlatformFileForTransitToPlatformFile(out_fd); 329 IPC::PlatformFileForTransit out_fd = IPC::InvalidPlatformFileForTransit(); local 338 &out_fd, 344 if (out_fd == IPC::InvalidPlatformFileForTransit()) { 349 IPC::PlatformFileForTransitToPlatformFile(out_fd);
|
/frameworks/native/cmds/installd/ |
commands.c | 661 int res, zip_fd=-1, out_fd=-1; local 696 out_fd = open(out_path, O_RDWR | O_CREAT | O_EXCL, 0644); 697 if (out_fd < 0) { 701 if (fchmod(out_fd, 707 if (fchown(out_fd, AID_SYSTEM, uid) < 0) { 736 if (flock(out_fd, LOCK_EX | LOCK_NB) != 0) { 742 run_dexopt(zip_fd, out_fd, apk_path, out_path, dexopt_flags); 744 run_dex2oat(zip_fd, out_fd, apk_path, out_path, dexopt_flags); 761 close(out_fd); 766 if (out_fd >= 0) [all...] |
/art/runtime/hprof/ |
hprof.cc | 450 int out_fd; local 452 out_fd = dup(fd_); 453 if (out_fd < 0) { 458 out_fd = open(filename_.c_str(), O_WRONLY|O_CREAT|O_TRUNC, 0644); 459 if (out_fd < 0) { 466 UniquePtr<File> file(new File(out_fd, filename_)); [all...] |