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