/external/chromium_org/net/base/ |
D | upload_data_stream_unittest.cc | 173 base::FilePath temp_file_path; in TEST_F() local 175 &temp_file_path)); in TEST_F() 177 base::WriteFile(temp_file_path, kTestData, kTestDataSize)); in TEST_F() 181 temp_file_path, in TEST_F() 207 base::FilePath temp_file_path; in TEST_F() local 209 &temp_file_path)); in TEST_F() 211 base::WriteFile(temp_file_path, kTestData, kTestDataSize)); in TEST_F() 219 temp_file_path, in TEST_F() 325 base::FilePath temp_file_path; in TEST_F() local 327 &temp_file_path)); in TEST_F() [all …]
|
D | file_stream_unittest.cc | 63 const base::FilePath temp_file_path() const { return temp_file_path_; } in temp_file_path() function in net::FileStreamTest 77 int rv = stream.Open(temp_file_path(), flags, callback.callback()); in TEST_F() 94 int rv = stream->Open(temp_file_path(), flags, callback.callback()); in TEST_F() 114 base::WriteFile(temp_file_path(), kTestData, kTestDataSize)); in TEST_F() 117 base::File file(temp_file_path(), flags); in TEST_F() 134 base::DeleteFile(temp_file_path(), false); in TEST_F() 137 file.Initialize(temp_file_path(), flags); in TEST_F() 152 base::ReadFile(temp_file_path(), read_buffer->data(), in TEST_F() 178 EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); in TEST_F() 184 int rv = stream.Open(temp_file_path(), flags, callback.callback()); in TEST_F() [all …]
|
/external/chromium_org/base/files/ |
D | memory_mapped_file_unittest.cc | 51 const FilePath temp_file_path() const { return temp_file_path_; } in temp_file_path() function in base::__anoneb03913c0111::MemoryMappedFileTest 61 map.Initialize(temp_file_path()); in TEST_F() 72 map.Initialize(File(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ)); in TEST_F() 83 map.Initialize(temp_file_path()); in TEST_F() 95 File file(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ); in TEST_F() 109 File file(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ); in TEST_F() 124 File file(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ); in TEST_F() 140 File file(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ); in TEST_F() 156 File file(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ); in TEST_F()
|
/external/chromium_org/net/url_request/ |
D | url_fetcher_response_writer.cc | 71 base::FilePath* temp_file_path = new base::FilePath; in Initialize() local 75 base::Bind(&base::CreateTemporaryFile, temp_file_path), in Initialize() 79 base::Owned(temp_file_path))); in Initialize() 155 base::FilePath* temp_file_path, in DidCreateTempFile() argument 161 file_path_ = *temp_file_path; in DidCreateTempFile()
|
D | url_fetcher_response_writer.h | 114 base::FilePath* temp_file_path,
|
/external/chromium_org/content/common/ |
D | sandbox_mac_fontloading_unittest.mm | 106 base::FilePath temp_file_path; 107 FILE* temp_file = base::CreateAndOpenTemporaryFile(&temp_file_path); 123 "FontLoadingTestCase", temp_file_path.value().c_str())); 125 ASSERT_TRUE(base::DeleteFile(temp_file_path, false));
|
/external/chromium_org/webkit/browser/database/ |
D | vfs_backend.cc | 107 base::FilePath temp_file_path; in OpenTempFileInDirectory() local 108 if (!base::CreateTemporaryFileInDir(dir_path, &temp_file_path)) in OpenTempFileInDirectory() 111 return OpenFile(temp_file_path, desired_flags); in OpenTempFileInDirectory()
|
/external/mesa3d/src/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/chromium_org/third_party/mesa/src/src/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/llvm/utils/unittest/googletest/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/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
D | drive_backend_util.cc | 144 base::FilePath temp_file_path; in CreateTemporaryFile() local 145 if (!base::CreateTemporaryFile(&temp_file_path)) in CreateTemporaryFile() 149 temp_file_path, in CreateTemporaryFile()
|
/external/chromium_org/testing/gtest/src/ |
D | gtest-port.cc | 519 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT in CapturedStream() local 525 temp_file_path); in CapturedStream() 528 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream() 530 << temp_file_path; in CapturedStream() 531 filename_ = temp_file_path; in CapturedStream()
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
D | file_watcher_unittest.cc | 140 base::FilePath temp_file_path; in TEST_F() local 141 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), &temp_file_path)); in TEST_F()
|
/external/gtest/src/ |
D | gtest-port.cc | 520 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT in CapturedStream() local 526 temp_file_path); in CapturedStream() 529 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream() 531 << temp_file_path; in CapturedStream() 532 filename_ = temp_file_path; in CapturedStream()
|
/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/chromium_org/chrome/tools/build/win/ |
D | create_installer_archive.py | 165 temp_file_path = os.path.join(staging_dir, TEMP_ARCHIVE_DIR) 166 if os.path.exists(temp_file_path): 167 shutil.rmtree(temp_file_path) 168 os.makedirs(temp_file_path) 169 return (file_path, temp_file_path)
|
/external/chromium_org/chrome/browser/ |
D | shell_integration_linux.cc | 100 base::FilePath temp_file_path = temp_dir.path().Append( in CreateShortcutIcon() local 102 std::string icon_name = temp_file_path.BaseName().RemoveExtension().value(); in CreateShortcutIcon() 114 int bytes_written = base::WriteFile(temp_file_path, in CreateShortcutIcon() 133 argv.push_back(temp_file_path.value()); in CreateShortcutIcon() 215 base::FilePath temp_file_path = temp_dir.path().Append(shortcut_filename); in CreateShortcutInApplicationsMenu() local 217 int bytes_written = base::WriteFile(temp_file_path, contents.data(), in CreateShortcutInApplicationsMenu() 235 argv.push_back(temp_file_path.value()); in CreateShortcutInApplicationsMenu()
|
/external/lldb/source/Host/macosx/ |
D | Host.mm | 351 // char temp_file_path[PATH_MAX]; 355 // ::snprintf (temp_file_path, sizeof(temp_file_path), "%s%s-XXXXXX", tmpdir, program.GetFilenam… 357 // if (::mktemp (temp_file_path) == NULL) 360 // unix_socket_name.assign (temp_file_path); 362 // ::strlcat (temp_file_path, ".command", sizeof (temp_file_path)); 365 // command_file.GetFile().Open (temp_file_path, 407 // if (::chmod (temp_file_path, S_IRWXU | S_IRWXG) != 0) 437 … (const UInt8 *)temp_file_path, 438 … strlen(temp_file_path),
|
/external/chromium_org/net/http/ |
D | http_stream_parser_unittest.cc | 134 base::FilePath temp_file_path; in TEST() local 136 &temp_file_path)); in TEST() 140 temp_file_path, in TEST()
|
D | http_network_transaction_unittest.cc | 8071 base::FilePath temp_file_path; in TEST_P() local 8072 ASSERT_TRUE(base::CreateTemporaryFile(&temp_file_path)); in TEST_P() 8080 temp_file_path, in TEST_P() 8123 base::DeleteFile(temp_file_path, false); in TEST_P()
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/ |
D | api_util.cc | 146 base::FilePath temp_file_path; in CreateTemporaryFile() local 148 base::CreateTemporaryFileInDir(dir_path, &temp_file_path); in CreateTemporaryFile() 152 webkit_blob::ScopedFile(temp_file_path, in CreateTemporaryFile()
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-all.cc | 8729 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT in CapturedStream() local 8735 temp_file_path); in CapturedStream() 8738 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream() 8740 << temp_file_path; in CapturedStream() 8741 filename_ = temp_file_path; in CapturedStream()
|
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/googletest/src/src/ |
D | gtest-all.cc | 8729 char temp_file_path[MAX_PATH + 1] = { '\0' }; // NOLINT in CapturedStream() local 8735 temp_file_path); in CapturedStream() 8738 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream() 8740 << temp_file_path; in CapturedStream() 8741 filename_ = temp_file_path; in CapturedStream()
|