Home
last modified time | relevance | path

Searched refs:temp_file_path (Results 1 – 18 of 18) sorted by relevance

/external/chromium-trace/catapult/common/py_utils/py_utils/
Dlock_unittest.py56 self.temp_file_path = tf.name
59 os.remove(self.temp_file_path)
65 target=_AppendTextToFile, args=(self.temp_file_path,))
75 with open(self.temp_file_path, 'r') as f:
85 with open(self.temp_file_path, 'w') as f:
87 with open(self.temp_file_path, 'r') as f:
97 args=(self.temp_file_path, temp_write_file))
114 with open(self.temp_file_path, 'w') as f:
118 args=(self.temp_file_path, temp_status_file))
131 with open(self.temp_file_path, 'r') as f:
[all …]
/external/libchrome/base/files/
Dmemory_mapped_file_unittest.cc56 const FilePath temp_file_path() const { return temp_file_path_; } in temp_file_path() function in base::__anond3916cc90111::MemoryMappedFileTest
66 map.Initialize(temp_file_path()); in TEST_F()
77 map.Initialize(File(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ)); in TEST_F()
88 map.Initialize(temp_file_path()); in TEST_F()
100 File file(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ); in TEST_F()
114 File file(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ); in TEST_F()
130 File file(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ); in TEST_F()
147 File file(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ); in TEST_F()
164 File file(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ); in TEST_F()
179 map.Initialize(temp_file_path(), MemoryMappedFile::READ_WRITE); in TEST_F()
[all …]
/external/toolchain-utils/llvm_tools/
Dtest_helpers.py80 fd, temp_file_path = mkstemp(suffix=suffix)
85 yield temp_file_path
88 if os.path.isfile(temp_file_path):
89 os.remove(temp_file_path)
/external/libchrome/mojo/core/
Dplatform_wrapper_unittest.cc65 base::FilePath temp_file_path; in TEST_F() local
66 ASSERT_TRUE(base::CreateTemporaryFile(&temp_file_path)); in TEST_F()
68 EXPECT_EQ(base::WriteFile(temp_file_path, kMessage.data(), in TEST_F()
75 base::File file(temp_file_path, in TEST_F()
91 base::DeleteFile(temp_file_path, false); in TEST_F()
/external/llvm/utils/unittest/googletest/src/
Dgtest-port.cc495 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT in CapturedStream() local
501 temp_file_path); in CapturedStream()
504 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream()
506 << temp_file_path; in CapturedStream()
507 filename_ = temp_file_path; in CapturedStream()
/external/tensorflow/tensorflow/python/debug/lib/
Dsource_utils_test.py296 temp_file_path = os.path.join(self.get_temp_dir(), "model.py")
297 with open(temp_file_path, "wb") as f:
301 zf.write(temp_file_path, os.path.join("tensorflow_models", "model.py"))
310 temp_file_path = os.path.join(self.get_temp_dir(), "model.py")
311 with open(temp_file_path, "wb") as f:
315 zf.write(temp_file_path, os.path.join("tensorflow_models", "model.py"))
/external/llvm-project/lldb/tools/lldb-server/
Dlldb-platform.cpp105 llvm::SmallString<64> temp_file_path; in save_socket_id_to_file() local
107 temp_file_path = temp_file_spec.GetPath(); in save_socket_id_to_file()
112 temp_file_path, file_spec.GetPath(), socket_id), in save_socket_id_to_file()
/external/tensorflow/tensorflow/compiler/xla/tools/
Dinteractive_graphviz.cc480 string temp_file_path = tensorflow::io::JoinPath( in RenderAndDisplayGraph() local
484 env, temp_file_path, std::move(html_result).ValueOrDie()); in RenderAndDisplayGraph()
486 OpenUrl(opts, absl::StrCat("file://", temp_file_path)); in RenderAndDisplayGraph()
490 std::cerr << "Failed to write rendered HTML graph to " << temp_file_path in RenderAndDisplayGraph()
/external/libchrome/mojo/public/cpp/system/tests/
Dfile_data_pipe_producer_unittest.cc92 base::FilePath temp_file_path = temp_dir_.GetPath().AppendASCII( in CreateTempFileWithContents() local
94 base::File temp_file(temp_file_path, in CreateTempFileWithContents()
99 return temp_file_path; in CreateTempFileWithContents()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-port.cc997 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT in CapturedStream() local
1003 temp_file_path); in CapturedStream()
1006 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream()
1008 << temp_file_path; in CapturedStream()
1009 filename_ = temp_file_path; in CapturedStream()
/external/llvm-project/llvm/utils/unittest/googletest/src/
Dgtest-port.cc939 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT in CapturedStream() local
945 temp_file_path); in CapturedStream()
948 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream()
950 << temp_file_path; in CapturedStream()
951 filename_ = temp_file_path; in CapturedStream()
/external/google-breakpad/src/tools/windows/symupload/
Dsymupload.cc118 wstring *temp_file_path, in DumpSymbolsToTempFile() argument
157 *temp_file_path = temp_filename; in DumpSymbolsToTempFile()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-port.cc1046 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT in CapturedStream() local
1051 temp_file_path); in CapturedStream()
1054 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream()
1056 << "Unable to open temporary file " << temp_file_path; in CapturedStream()
1057 filename_ = temp_file_path; in CapturedStream()
/external/googletest/googletest/src/
Dgtest-port.cc1087 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT in CapturedStream() local
1093 temp_file_path); in CapturedStream()
1096 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream()
1098 << temp_file_path; in CapturedStream()
1099 filename_ = temp_file_path; in CapturedStream()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/
Dgtest-port.cc1078 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT in CapturedStream() local
1084 temp_file_path); in CapturedStream()
1087 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream()
1089 << temp_file_path; in CapturedStream()
1090 filename_ = temp_file_path; in CapturedStream()
/external/mesa3d/src/gtest/src/
Dgtest-port.cc1078 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT in CapturedStream() local
1084 temp_file_path); in CapturedStream()
1087 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream()
1089 << temp_file_path; in CapturedStream()
1090 filename_ = temp_file_path; in CapturedStream()
/external/fmtlib/test/
Dgmock-gtest-all.cc8575 char temp_file_path[MAX_PATH + 1] = {'\0'}; // NOLINT in CapturedStream() local
8580 temp_file_path); in CapturedStream()
8583 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream()
8585 << "Unable to open temporary file " << temp_file_path; in CapturedStream()
8586 filename_ = temp_file_path; in CapturedStream()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/
Dgmock-gtest-all.cc9488 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT in CapturedStream() local
9494 temp_file_path); in CapturedStream()
9497 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream()
9499 << temp_file_path; in CapturedStream()
9500 filename_ = temp_file_path; in CapturedStream()