/external/autotest/client/site_tests/documentscan_AppTestWithFakeLorgnette/ |
mock_lorgnette.py | 49 def ScanImage(self, device, out_fd, scan_properties): 50 """Writes test image date to |out_fd|. Do so in chunks since the 54 @param out_fd file handle for the output scan data. 59 scan_output_fd = out_fd.take()
|
/external/autotest/scheduler/ |
luciferlib.py | 375 out_fd = os.open(output_file, os.O_WRONLY | os.O_APPEND | os.O_CREAT) 376 os.dup2(out_fd, 1) 377 os.dup2(out_fd, 2) 378 os.close(out_fd)
|
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/cris/ |
cris.exp | 119 set out_fd [open $objdir/$opcode-test.s w] 136 puts $out_fd $line 143 close $out_fd 148 set out_fd [open $objdir/$opcode-test.d w] 173 puts $out_fd "$leftpart$n$rightpart" 187 puts $out_fd "$leftpart$n$rightpart" 189 puts $out_fd $line 194 close $out_fd
|
/frameworks/native/cmds/dumpstate/ |
DumpstateUtil.cpp | 194 int DumpFileToFd(int out_fd, const std::string& title, const std::string& path) { 199 dprintf(out_fd, "*** Error dumping %s: %s\n", path.c_str(), strerror(err)); 201 dprintf(out_fd, "*** Error dumping %s (%s): %s\n", path.c_str(), title.c_str(), 204 fsync(out_fd); 207 return DumpFileFromFdToFd(title, path, fd.get(), out_fd, PropertiesHelper::IsDryRun());
|
/external/boringssl/src/crypto/bio/ |
fd.c | 274 int BIO_get_fd(BIO *bio, int *out_fd) { 275 return BIO_ctrl(bio, BIO_C_GET_FD, 0, (char *) out_fd);
|
/external/valgrind/coregrind/m_ume/ |
main.c | 68 VG_(pre_exec_check)(const HChar* exe_name, Int* out_fd, Bool allow_setuid) 122 // Write the 'out_fd' param if necessary, or close the file. 123 if (!sr_isError(res) && out_fd) { 124 *out_fd = fd;
|
/external/boringssl/src/tool/ |
digest.cc | 82 // OpenFile opens the regular file named |filename| and sets |*out_fd| to be a 85 static bool OpenFile(int *out_fd, const std::string &filename) { 86 *out_fd = -1; 110 *out_fd = fd;
|
/system/core/debuggerd/tombstoned/ |
intercept_manager.cpp | 193 android::base::unique_fd* out_fd) { 216 *out_fd = std::move(intercept->output_fd);
|
/system/update_engine/ |
image_properties_android.cc | 80 // Open misc partition for read or write and output the fd in |out_fd|. 81 bool OpenMisc(bool write, int* out_fd) { 98 *out_fd = fd;
|
/hardware/interfaces/wifi/1.2/default/ |
wifi_chip.cpp | 159 bool cpioWriteHeader(int out_fd, struct stat& st, const char* file_name, 170 if (write(out_fd, read_buf.data(), llen) == -1) { 175 if (write(out_fd, file_name, file_name_len) == -1) { 185 if (write(out_fd, &zero, 4 - llen) == -1) { 195 size_t cpioWriteFileContent(int fd_read, int out_fd, struct stat& st) { 207 if (write(out_fd, read_buf.data(), bytes_read) == -1) { 221 if (write(out_fd, &zero, 4 - llen) == -1) { 230 bool cpioWriteFileTrailer(int out_fd) { 233 if (write(out_fd, read_buf.data(), 243 // Archives all files in |input_dir| and writes result into |out_fd| [all...] |
/external/linux-kselftest/tools/testing/selftests/exec/ |
execveat.c | 140 int out_fd = open(dest, O_RDWR|O_CREAT|O_TRUNC, 0755); local 144 sendfile(out_fd, in_fd, NULL, info.st_size); 146 close(out_fd);
|
/external/toybox/toys/other/ |
bzcat.c | 443 static void flush_bunzip_outbuf(struct bunzip_data *bd, int out_fd) 446 if (write(out_fd, bd->outbuf, bd->outbufPos) != bd->outbufPos) 505 // If !len, write up to len bytes of data to buf. Otherwise write to out_fd. 513 int out_fd, char *outbuf, int len) 564 if (bd->outbufPos == IOBUF_SIZE) flush_bunzip_outbuf(bd, out_fd);
|
/art/runtime/ |
native_stack_dump.cc | 79 Addr2linePipe(int in_fd, int out_fd, const std::string& file_name, pid_t pid) 80 : in(in_fd, false), out(out_fd, false), file(file_name), child_pid(pid), odd(true) {}
|
/system/core/adb/ |
commandline.cpp | 780 int out_fd = adb_connect(android::base::StringPrintf("sideload:%d", size), &error); local 781 if (out_fd < 0) { 787 opt = adb_setsockopt(out_fd, SOL_SOCKET, SO_SNDBUF, &opt, sizeof(opt)); 795 adb_close(out_fd); 798 if (!WriteFdExactly(out_fd, buf, xfer)) { 800 adb_status(out_fd, &error); 802 adb_close(out_fd); 811 if (!adb_status(out_fd, &error)) { 813 adb_close(out_fd); 817 adb_close(out_fd); [all...] |
/art/runtime/hprof/ |
hprof.cc | 762 int out_fd; local 764 out_fd = dup(fd_); 765 if (out_fd < 0) { 770 out_fd = open(filename_.c_str(), O_WRONLY|O_CREAT|O_TRUNC, 0644); 771 if (out_fd < 0) { 778 std::unique_ptr<File> file(new File(out_fd, filename_, true)); [all...] |
/art/profman/ |
profman.cc | 561 unix_file::FdFile out_fd(dump_output_to_fd_, false /*check_usage*/); 562 if (!out_fd.WriteFully(dump.c_str(), dump.length())) { 687 unix_file::FdFile out_fd(dump_output_to_fd_, false /*check_usage*/); 688 if (!out_fd.WriteFully(dump.c_str(), dump.length())) { [all...] |
/frameworks/native/cmds/installd/ |
dexopt.cpp | [all...] |
/external/compiler-rt/include/sanitizer/ |
linux_syscall_hooks.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-3289846/lib64/clang/3.8/include/sanitizer/ |
linux_syscall_hooks.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-3859424/lib64/clang/4.0/include/sanitizer/ |
linux_syscall_hooks.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/lib64/clang/5.0/include/sanitizer/ |
linux_syscall_hooks.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/compiler-rt/include/sanitizer/ |
linux_syscall_hooks.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/lib64/clang/5.0.1/include/sanitizer/ |
linux_syscall_hooks.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/lib64/clang/5.0.2/include/sanitizer/ |
linux_syscall_hooks.h | [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/lib64/clang/6.0.1/include/sanitizer/ |
linux_syscall_hooks.h | [all...] |