Searched defs:tmp_fd (Results 1 - 2 of 2) sorted by relevance
/system/core/libsparse/ |
H A D | append2simg.c | 60 int tmp_fd; local 114 tmp_fd = open(tmp_path, O_WRONLY | O_CREAT | O_BINARY, 0664); 115 if (tmp_fd < 0) { 121 if (sparse_file_write(sparse_output, tmp_fd, false, true, false) < 0) { 127 close(tmp_fd);
|
/system/extras/perfprofd/dropbox/ |
H A D | dropbox.cc | 47 android::base::unique_fd tmp_fd; local 51 tmp_fd.reset(mkstemp(path)); 52 if (tmp_fd.get() == -1) { 68 snprintf(fdpath, arraysize(fdpath), "/proc/self/fd/%d", tmp_fd.get()); 83 if (!SerializeProtobuf(encodedProfile, std::move(tmp_fd), kCompress)) {
|
Completed in 82 milliseconds