/external/chromium/net/base/ |
D | file_stream_unittest.cc | 35 const FilePath temp_file_path() const { return temp_file_path_; } in temp_file_path() function in net::__anon7658f6880111::FileStreamTest 42 int rv = stream.Open(temp_file_path(), in TEST_F() 53 file_util::WriteFile(temp_file_path(), kTestData, kTestDataSize)); in TEST_F() 56 temp_file_path(), flags, &created, NULL); in TEST_F() 69 file_util::Delete(temp_file_path(), false); in TEST_F() 71 file = base::CreatePlatformFile(temp_file_path(), flags, &created, NULL); in TEST_F() 80 file_util::ReadFile(temp_file_path(), buffer, kTestDataSize)); in TEST_F() 105 bool ok = file_util::GetFileSize(temp_file_path(), &file_size); in TEST_F() 111 int rv = stream.Open(temp_file_path(), flags); in TEST_F() 135 bool ok = file_util::GetFileSize(temp_file_path(), &file_size); in TEST_F() [all …]
|
D | upload_data_stream_unittest.cc | 58 FilePath temp_file_path; in TEST_F() local 59 ASSERT_TRUE(file_util::CreateTemporaryFile(&temp_file_path)); in TEST_F() 60 ASSERT_EQ(kTestDataSize, file_util::WriteFile(temp_file_path, in TEST_F() 66 element.SetToFilePath(temp_file_path); in TEST_F() 85 file_util::Delete(temp_file_path, false); in TEST_F() 107 FilePath temp_file_path; in TEST_F() local 108 ASSERT_TRUE(file_util::CreateTemporaryFile(&temp_file_path)); in TEST_F() 109 ASSERT_EQ(kTestDataSize, file_util::WriteFile(temp_file_path, in TEST_F() 113 ASSERT_TRUE(file_util::GetFileInfo(temp_file_path, &file_info)); in TEST_F() 116 FileChangedHelper(temp_file_path, file_info.last_modified, false); in TEST_F() [all …]
|
/external/chromium/chrome/browser/ |
D | shell_integration_linux.cc | 80 FilePath temp_file_path = temp_dir.path().Append( in CreateShortcutIcon() local 85 int bytes_written = file_util::WriteFile(temp_file_path, in CreateShortcutIcon() 103 argv.push_back(temp_file_path.value()); in CreateShortcutIcon() 104 std::string icon_name = temp_file_path.BaseName().RemoveExtension().value(); in CreateShortcutIcon() 158 FilePath temp_file_path = temp_dir.path().Append(shortcut_filename); in CreateShortcutInApplicationsMenu() local 160 int bytes_written = file_util::WriteFile(temp_file_path, contents.data(), in CreateShortcutInApplicationsMenu() 175 argv.push_back(temp_file_path.value()); in CreateShortcutInApplicationsMenu()
|
/external/llvm/utils/unittest/googletest/ |
D | gtest-port.cc | 495 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/chromium/testing/gtest/src/ |
D | gtest-port.cc | 495 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/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-port.cc | 495 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/gtest/src/ |
D | gtest-port.cc | 495 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/open-vcdiff/gtest/src/ |
D | gtest-port.cc | 456 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT in CapturedStderr() 459 ::GetTempFileNameA(temp_dir_path, "gtest_redir", 0, temp_file_path); in CapturedStderr() 460 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStderr() 461 filename_ = temp_file_path; in CapturedStderr()
|
/external/protobuf/gtest/src/ |
D | gtest-port.cc | 456 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT in CapturedStderr() 459 ::GetTempFileNameA(temp_dir_path, "gtest_redir", 0, temp_file_path); in CapturedStderr() 460 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStderr() 461 filename_ = temp_file_path; in CapturedStderr()
|
/external/ceres-solver/internal/ceres/ |
D | gmock_gtest_all.cc | 8297 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT in CapturedStream() local 8303 temp_file_path); in CapturedStream() 8306 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream() 8308 << temp_file_path; in CapturedStream() 8309 filename_ = temp_file_path; in CapturedStream()
|
/external/chromium/net/http/ |
D | http_network_transaction_unittest.cc | 6093 FilePath temp_file_path; in TEST_F() local 6094 ASSERT_TRUE(file_util::CreateTemporaryFile(&temp_file_path)); in TEST_F() 6099 element.SetToFilePath(temp_file_path); in TEST_F() 6132 file_util::Delete(temp_file_path, false); in TEST_F()
|