/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/common/py_utils/py_utils/ |
H A D | lock_unittest.py | 56 self.temp_file_path = tf.name 59 os.remove(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: 136 args=(self.temp_file_path, temp_status_file)) [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/catapult/common/py_utils/py_utils/ |
H A D | lock_unittest.py | 56 self.temp_file_path = tf.name 59 os.remove(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: 136 args=(self.temp_file_path, temp_status_file)) [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/offline_pages/core/ |
H A D | archive_validator_unittest.cc | 101 base::FilePath temp_file_path = in CreateFileWithContent() local 103 base::WriteFile(temp_file_path, content.c_str(), content.length()); in CreateFileWithContent() 104 return temp_file_path; in CreateFileWithContent() 118 base::FilePath temp_file_path = CreateFileWithContent(expected_data); in TEST_F() local 120 ArchiveValidator::GetSizeAndComputeDigest(temp_file_path); in TEST_F() 128 base::FilePath temp_file_path = CreateFileWithContent(expected_data); in TEST_F() local 130 ArchiveValidator::GetSizeAndComputeDigest(temp_file_path); in TEST_F() 137 base::FilePath temp_file_path = CreateFileWithContent(expected_data); in TEST_F() local 139 ArchiveValidator::GetSizeAndComputeDigest(temp_file_path); in TEST_F() 157 base::FilePath temp_file_path = CreateFileWithContent(expected_data); in TEST_F() local [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/offline_pages/core/ |
H A D | archive_validator_unittest.cc | 102 base::FilePath temp_file_path = in CreateFileWithContent() local 104 base::WriteFile(temp_file_path, content.c_str(), content.length()); in CreateFileWithContent() 105 return temp_file_path; in CreateFileWithContent() 119 base::FilePath temp_file_path = CreateFileWithContent(expected_data); in TEST_F() local 121 ArchiveValidator::GetSizeAndComputeDigest(temp_file_path); in TEST_F() 129 base::FilePath temp_file_path = CreateFileWithContent(expected_data); in TEST_F() local 131 ArchiveValidator::GetSizeAndComputeDigest(temp_file_path); in TEST_F() 138 base::FilePath temp_file_path = CreateFileWithContent(expected_data); in TEST_F() local 140 ArchiveValidator::GetSizeAndComputeDigest(temp_file_path); in TEST_F() 158 base::FilePath temp_file_path = CreateFileWithContent(expected_data); in TEST_F() local [all …]
|
/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/thrill/vfs/ |
H A D | temporary_directory.cpp | 39 char temp_file_path[MAX_PATH + 1] = { 0 }; in make_directory() local 40 unsigned success = ::GetTempFileName(".", sample, 0, temp_file_path); in make_directory() 44 + std::string(temp_file_path)); in make_directory() 47 if (!DeleteFile(temp_file_path)) { in make_directory() 50 + std::string(temp_file_path)); in make_directory() 53 if (!CreateDirectory(temp_file_path, nullptr)) { in make_directory() 56 + std::string(temp_file_path)); in make_directory() 59 return temp_file_path; in make_directory()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/files/ |
H A D | memory_mapped_file_unittest.cc | 56 const FilePath temp_file_path() const { return temp_file_path_; } in temp_file_path() function in base::__anon84c29d320111::MemoryMappedFileTest 66 ASSERT_TRUE(map.Initialize(temp_file_path())); in TEST_F() 78 File(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ))); in TEST_F() 89 ASSERT_TRUE(map.Initialize(temp_file_path())); in TEST_F() 101 File file(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ); in TEST_F() 116 File file(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ); in TEST_F() 197 ASSERT_TRUE(GetFileSize(temp_file_path(), &file_size)); in TEST_F() 201 ASSERT_TRUE(ReadFileToString(temp_file_path(), &contents)); in TEST_F() 212 File file(temp_file_path(), in TEST_F() 234 ASSERT_TRUE(GetFileSize(temp_file_path(), &file_size)); in TEST_F() [all …]
|
H A D | os_validation_win_unittest.cc | 216 const FilePath& temp_file_path() const { return temp_file_path_; } in temp_file_path() function in base::OpenFileTest 258 EXPECT_NE(::DeleteFileW(temp_file_path().value().c_str()), 0) in TEST_P() 261 EXPECT_EQ(::DeleteFileW(temp_file_path().value().c_str()), 0); in TEST_P() 268 EXPECT_NE(::MoveFileExW(temp_file_path().value().c_str(), in TEST_P() 273 EXPECT_EQ(::MoveFileExW(temp_file_path().value().c_str(), in TEST_P() 285 ASSERT_NE(::DeleteFileW(temp_file_path().value().c_str()), 0) in TEST_P() 289 EXPECT_EQ(::MoveFileExW(temp_file_path().value().c_str(), in TEST_P() 335 EXPECT_EQ(::DeleteFileW(temp_file_path().value().c_str()), 0); in TEST_P() 339 EXPECT_NE(::MoveFileExW(temp_file_path().value().c_str(), in TEST_P() 344 EXPECT_EQ(::MoveFileExW(temp_file_path().value().c_str(), in TEST_P()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/base/files/ |
H A D | memory_mapped_file_unittest.cc | 56 const FilePath temp_file_path() const { return temp_file_path_; } in temp_file_path() function in base::__anonfba7f56d0111::MemoryMappedFileTest 66 ASSERT_TRUE(map.Initialize(temp_file_path())); in TEST_F() 78 File(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ))); in TEST_F() 89 ASSERT_TRUE(map.Initialize(temp_file_path())); in TEST_F() 101 File file(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ); in TEST_F() 116 File file(temp_file_path(), File::FLAG_OPEN | File::FLAG_READ); in TEST_F() 197 ASSERT_TRUE(GetFileSize(temp_file_path(), &file_size)); in TEST_F() 201 ASSERT_TRUE(ReadFileToString(temp_file_path(), &contents)); in TEST_F() 212 File file(temp_file_path(), in TEST_F() 234 ASSERT_TRUE(GetFileSize(temp_file_path(), &file_size)); in TEST_F() [all …]
|
H A D | os_validation_win_unittest.cc | 216 const FilePath& temp_file_path() const { return temp_file_path_; } in temp_file_path() function in base::OpenFileTest 258 EXPECT_NE(::DeleteFileW(temp_file_path().value().c_str()), 0) in TEST_P() 261 EXPECT_EQ(::DeleteFileW(temp_file_path().value().c_str()), 0); in TEST_P() 268 EXPECT_NE(::MoveFileExW(temp_file_path().value().c_str(), in TEST_P() 273 EXPECT_EQ(::MoveFileExW(temp_file_path().value().c_str(), in TEST_P() 285 ASSERT_NE(::DeleteFileW(temp_file_path().value().c_str()), 0) in TEST_P() 289 EXPECT_EQ(::MoveFileExW(temp_file_path().value().c_str(), in TEST_P() 335 EXPECT_EQ(::DeleteFileW(temp_file_path().value().c_str()), 0); in TEST_P() 339 EXPECT_NE(::MoveFileExW(temp_file_path().value().c_str(), in TEST_P() 344 EXPECT_EQ(::MoveFileExW(temp_file_path().value().c_str(), in TEST_P()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/base/ |
H A D | file_stream_unittest.cc | 127 base::File file(temp_file_path(), flags); in TEST_F() 144 base::DeleteFile(temp_file_path(), false); in TEST_F() 147 file.Initialize(temp_file_path(), flags); in TEST_F() 189 EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); in TEST_F() 218 EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); in TEST_F() 245 EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); in TEST_F() 290 EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); in TEST_F() 298 EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); in TEST_F() 776 base::File file(temp_file_path(), flags); in TEST_F() 801 base::File file(temp_file_path(), flags); in TEST_F() [all …]
|
H A D | elements_upload_data_stream_unittest.cc | 199 base::FilePath temp_file_path; in TEST_F() local 232 base::FilePath temp_file_path; in TEST_F() local 352 base::FilePath temp_file_path; in TEST_F() local 573 base::FilePath temp_file_path; in TEST_F() local 580 ASSERT_TRUE(base::GetFileInfo(temp_file_path, &file_info)); in TEST_F() 586 FileChangedHelper(temp_file_path, in TEST_F() 592 base::FilePath temp_file_path; in TEST_F() local 636 base::FilePath temp_file_path; in TEST_F() local 679 base::FilePath temp_file_path; in TEST_F() local 739 base::FilePath temp_file_path; in TEST_F() local [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/base/ |
H A D | file_stream_unittest.cc | 128 base::File file(temp_file_path(), flags); in TEST_F() 145 base::DeleteFile(temp_file_path()); in TEST_F() 148 file.Initialize(temp_file_path(), flags); in TEST_F() 190 EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); in TEST_F() 219 EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); in TEST_F() 246 EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); in TEST_F() 291 EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); in TEST_F() 299 EXPECT_TRUE(base::GetFileSize(temp_file_path(), &file_size)); in TEST_F() 782 base::File file(temp_file_path(), flags); in TEST_F() 807 base::File file(temp_file_path(), flags); in TEST_F() [all …]
|
H A D | elements_upload_data_stream_unittest.cc | 199 base::FilePath temp_file_path; in TEST_F() local 232 base::FilePath temp_file_path; in TEST_F() local 352 base::FilePath temp_file_path; in TEST_F() local 573 base::FilePath temp_file_path; in TEST_F() local 580 ASSERT_TRUE(base::GetFileInfo(temp_file_path, &file_info)); in TEST_F() 586 FileChangedHelper(temp_file_path, in TEST_F() 592 base::FilePath temp_file_path; in TEST_F() local 636 base::FilePath temp_file_path; in TEST_F() local 679 base::FilePath temp_file_path; in TEST_F() local 739 base::FilePath temp_file_path; in TEST_F() local [all …]
|
/dports/graphics/scantailor/scantailor-advanced-1.0.16/ |
H A D | AtomicFileOverwriter.cpp | 47 const QString temp_file_path(m_tempFile->fileName()); in commit() local 55 if (!Utils::overwritingRename(temp_file_path, target_path)) { in commit() 56 QFile::remove(temp_file_path); in commit() 69 const QString temp_file_path(m_tempFile->fileName()); in abort() local 71 QFile::remove(temp_file_path); in abort()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/chrome_cleaner/logging/ |
H A D | pending_logs_service.cc | 58 base::FilePath temp_file_path; in ScheduleLogsUploadTask() local 60 !CreateTemporaryFileInDir(product_app_data_path, &temp_file_path)) { in ScheduleLogsUploadTask() 67 base::BindOnce(base::GetDeleteFileCallback(), temp_file_path)); in ScheduleLogsUploadTask() 69 if (base::WriteFile(temp_file_path, chrome_cleaner_report_string.c_str(), in ScheduleLogsUploadTask() 72 << SanitizePath(temp_file_path); in ScheduleLogsUploadTask() 77 if (!registry_logger->AppendLogFilePath(temp_file_path)) in ScheduleLogsUploadTask() 96 registry_logger->RemoveLogFilePath(temp_file_path); in ScheduleLogsUploadTask() 103 *log_file = temp_file_path; in ScheduleLogsUploadTask()
|
/dports/graphics/shotwell/shotwell-0.30.14/settings-migrator/ |
H A D | shotwell-settings-migrator | 21 temp_file_path=$temp_file_path_prefix$sec_since_epoch 24 dconf dump /apps/shotwell/ > $temp_file_path 27 dconf load /org/yorba/shotwell/ < $temp_file_path 33 rm -f $temp_file_path
|
/dports/devel/p5-File-Slurp/File-Slurp-9999.27/t/ |
H A D | error.t | 8 use FileSlurpTest qw(temp_file_path trap_function); 22 my $file = temp_file_path('gimme a bad one'); 32 my $file = temp_file_path(); 42 my $file = temp_file_path(); 52 my $file = temp_file_path('gimme a bad one'); 60 my $file = temp_file_path('gimme a bad one'); 69 my $file = temp_file_path(); 80 my $file = temp_file_path(); 90 my $file = temp_file_path(); 101 my $file = temp_file_path(); [all …]
|
H A D | prepend_file.t | 7 use FileSlurpTest qw(temp_file_path trap_function); 21 my $file = temp_file_path(); 33 my $file = temp_file_path(); 45 my $file = temp_file_path(); 57 my $file = temp_file_path(); 69 my $file = temp_file_path(); 81 my $file = temp_file_path(); 97 my $file = temp_file_path(); 109 my $file = temp_file_path();
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/uploaders/ |
H A D | file_mover_spec.rb | 14 "test ![banana_sample](/#{temp_file_path}) "\ 15 "same ![banana_sample](/#{temp_file_path}) " 27 subject { described_class.new(temp_file_path, from_model: user, to_model: snippet).execute } 39 …allow(FileUtils).to receive(:move).with(a_string_including(temp_file_path), a_string_including(fil… 43 stub_file_mover(temp_file_path) 70 …ileUtils).to receive(:move).with(a_string_including(file_path), a_string_including(temp_file_path)) 149 stub_file_mover(temp_file_path, stub_real_path: Pathname('/etc'))
|
/dports/www/drupal8/drupal-8.9.20/core/modules/jsonapi/src/Controller/ |
H A D | TemporaryJsonapiFileFieldUploader.php | 162 $temp_file_path = $this->streamUploadData(); 178 $file->setFileUri($temp_file_path); 181 $file->setSize(@filesize($temp_file_path)); 213 $this->fileSystem->move($temp_file_path, $file_uri, FileSystemInterface::EXISTS_ERROR); 319 $temp_file_path = $this->fileSystem->tempnam('temporary://', 'file'); 320 if ($temp_file_path === FALSE) { 324 $temp_file = fopen($temp_file_path, 'wb'); 342 …ogger->error('Temporary file data for "%path" could not be written', ['%path' => $temp_file_path]); 354 …error('Temporary file "%path" could not be opened for file upload.', ['%path' => $temp_file_path]); 361 return $temp_file_path;
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/googletest/custom/gtest/internal/custom/ |
H A D | gtest_port_wrapper.cc | 44 char temp_file_path[MAX_PATH + 1] = {'\0'}; // NOLINT in CapturedStream() local 47 temp_file_path); in CapturedStream() 50 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream() 52 << "Unable to open temporary file " << temp_file_path; in CapturedStream() 53 filename_ = temp_file_path; in CapturedStream()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/googletest/custom/gtest/internal/custom/ |
H A D | gtest_port_wrapper.cc | 44 char temp_file_path[MAX_PATH + 1] = {'\0'}; // NOLINT in CapturedStream() local 47 temp_file_path); in CapturedStream() 50 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream() 52 << "Unable to open temporary file " << temp_file_path; in CapturedStream() 53 filename_ = temp_file_path; in CapturedStream()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/third_party/googletest/custom/gtest/internal/custom/ |
H A D | gtest_port_wrapper.cc | 44 char temp_file_path[MAX_PATH + 1] = {'\0'}; // NOLINT in CapturedStream() local 47 temp_file_path); in CapturedStream() 50 const int captured_fd = creat(temp_file_path, _S_IREAD | _S_IWRITE); in CapturedStream() 52 << "Unable to open temporary file " << temp_file_path; in CapturedStream() 53 filename_ = temp_file_path; in CapturedStream()
|
/dports/security/clamav/clamav-0.104.2/unit_tests/ |
H A D | check_disasm.c | 49 char *temp_file_path = NULL; in START_TEST() local 50 cli_gentempfd_with_prefix(NULL, "disasm", &temp_file_path, &fd); in START_TEST() 236 unlink(temp_file_path); in START_TEST() 237 free(temp_file_path); in START_TEST()
|
/dports/textproc/sigil/Sigil-1.8.0/src/ResourceObjects/ |
H A D | CSSResource.cpp | 104 const QString &temp_file_path = Utility::GetTemporaryFileNameWithExtension(".html"); in ValidateStylesheetWithW3C() local 105 Utility::WriteUnicodeTextFile(post_form_html, temp_file_path); in ValidateStylesheetWithW3C() 106 m_TemporaryValidationFiles.append(temp_file_path); in ValidateStylesheetWithW3C() 107 QDesktopServices::openUrl(QUrl::fromLocalFile(temp_file_path)); in ValidateStylesheetWithW3C()
|