Searched refs:temp_file_path (Results 1 - 8 of 8) sorted by relevance

/external/chromium/net/base/
H A Dupload_data_stream_unittest.cc58 FilePath temp_file_path; local
59 ASSERT_TRUE(file_util::CreateTemporaryFile(&temp_file_path));
60 ASSERT_EQ(kTestDataSize, file_util::WriteFile(temp_file_path,
66 element.SetToFilePath(temp_file_path);
85 file_util::Delete(temp_file_path, false);
107 FilePath temp_file_path; local
108 ASSERT_TRUE(file_util::CreateTemporaryFile(&temp_file_path));
109 ASSERT_EQ(kTestDataSize, file_util::WriteFile(temp_file_path,
113 ASSERT_TRUE(file_util::GetFileInfo(temp_file_path, &file_info));
116 FileChangedHelper(temp_file_path, file_inf
[all...]
H A Dfile_stream_unittest.cc35 const FilePath temp_file_path() const { return temp_file_path_; } function in class:net::__anon2380::FileStreamTest
42 int rv = stream.Open(temp_file_path(),
53 file_util::WriteFile(temp_file_path(), kTestData, kTestDataSize));
56 temp_file_path(), flags, &created, NULL);
69 file_util::Delete(temp_file_path(), false);
71 file = base::CreatePlatformFile(temp_file_path(), flags, &created, NULL);
80 file_util::ReadFile(temp_file_path(), buffer, kTestDataSize));
105 bool ok = file_util::GetFileSize(temp_file_path(), &file_size);
111 int rv = stream.Open(temp_file_path(), flags);
135 bool ok = file_util::GetFileSize(temp_file_path(),
[all...]
/external/chromium/chrome/browser/
H A Dshell_integration_linux.cc80 FilePath temp_file_path = temp_dir.path().Append(
85 int bytes_written = file_util::WriteFile(temp_file_path,
103 argv.push_back(temp_file_path.value());
104 std::string icon_name = temp_file_path.BaseName().RemoveExtension().value();
158 FilePath temp_file_path = temp_dir.path().Append(shortcut_filename);
160 int bytes_written = file_util::WriteFile(temp_file_path, contents.data(),
175 argv.push_back(temp_file_path.value());
/external/chromium/testing/gtest/src/
H A Dgtest-port.cc495 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT
501 temp_file_path);
504 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE);
506 << temp_file_path;
507 filename_ = temp_file_path;
/external/gtest/src/
H A Dgtest-port.cc495 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT
501 temp_file_path);
504 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE);
506 << temp_file_path;
507 filename_ = temp_file_path;
/external/llvm/utils/unittest/googletest/
H A Dgtest-port.cc495 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT
501 temp_file_path);
504 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE);
506 << temp_file_path;
507 filename_ = temp_file_path;
/external/protobuf/gtest/src/
H A Dgtest-port.cc456 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT
459 ::GetTempFileNameA(temp_dir_path, "gtest_redir", 0, temp_file_path);
460 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE);
461 filename_ = temp_file_path;
/external/chromium/net/http/
H A Dhttp_network_transaction_unittest.cc6093 FilePath temp_file_path; local
6094 ASSERT_TRUE(file_util::CreateTemporaryFile(&temp_file_path));
6099 element.SetToFilePath(temp_file_path);
6132 file_util::Delete(temp_file_path, false);

Completed in 176 milliseconds