Searched refs:file_name_buf (Results 1 – 1 of 1) sorted by relevance
1760 std::unique_ptr<char[]> file_name_buf(new char[buf_size]); in DumpTraces() local1761 memcpy(file_name_buf.get(), temp_file_pattern.c_str(), buf_size); in DumpTraces()1768 android::base::unique_fd fd(mkostemp(file_name_buf.get(), O_APPEND | O_CLOEXEC)); in DumpTraces()1770 MYLOGE("mkostemp on pattern %s: %s\n", file_name_buf.get(), strerror(errno)); in DumpTraces()1780 MYLOGE("fchmod on %s failed: %s\n", file_name_buf.get(), strerror(errno)); in DumpTraces()1861 *path = file_name_buf.release(); in DumpTraces()