Home
last modified time | relevance | path

Searched refs:file_to_open (Results 1 – 25 of 111) sorted by relevance

12345

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sandbox/linux/syscall_broker/
H A Dbroker_file_permission_unittest.cc96 const char* file_to_open = NULL; in CheckPerm() local
103 ASSERT_TRUE(perm.CheckOpen(path, O_RDONLY, &file_to_open, NULL)); in CheckPerm()
104 ASSERT_FALSE(perm.CheckOpen(path, O_WRONLY, &file_to_open, NULL)); in CheckPerm()
105 ASSERT_FALSE(perm.CheckOpen(path, O_RDWR, &file_to_open, NULL)); in CheckPerm()
111 ASSERT_TRUE(perm.CheckOpen(path, O_WRONLY, &file_to_open, NULL)); in CheckPerm()
112 ASSERT_FALSE(perm.CheckOpen(path, O_RDWR, &file_to_open, NULL)); in CheckPerm()
117 ASSERT_TRUE(perm.CheckOpen(path, O_RDONLY, &file_to_open, NULL)); in CheckPerm()
118 ASSERT_TRUE(perm.CheckOpen(path, O_WRONLY, &file_to_open, NULL)); in CheckPerm()
119 ASSERT_TRUE(perm.CheckOpen(path, O_RDWR, &file_to_open, NULL)); in CheckPerm()
186 &file_to_open, &unlink)); in CheckPerm()
[all …]
H A Dbroker_permission_list.cc92 const char** file_to_open, in GetFileNameIfAllowedToOpen() argument
94 if (!CheckCallerArgs(file_to_open)) in GetFileNameIfAllowedToOpen()
99 file_to_open, unlink_after_open)) { in GetFileNameIfAllowedToOpen()
H A Dbroker_host.cc100 const char* file_to_open = NULL; in OpenFileForIPC() local
103 requested_filename.c_str(), flags, &file_to_open, in OpenFileForIPC()
109 CHECK(file_to_open); in OpenFileForIPC()
110 int opened_fd = sys_open(file_to_open, flags); in OpenFileForIPC()
117 unlink(file_to_open); in OpenFileForIPC()
H A Dbroker_file_permission.cc129 const char** file_to_open, in CheckOpen() argument
189 if (file_to_open) in CheckOpen()
190 *file_to_open = recursive_ ? requested_filename : path_.c_str(); in CheckOpen()
H A Dbroker_permission_list.h66 const char** file_to_open,
H A Dbroker_file_permission.h138 const char** file_to_open,
/dports/www/chromium-legacy/chromium-88.0.4324.182/sandbox/linux/syscall_broker/
H A Dbroker_file_permission_unittest.cc97 const char* file_to_open = NULL; in CheckPerm() local
104 ASSERT_TRUE(perm.CheckOpen(path, O_RDONLY, &file_to_open, NULL)); in CheckPerm()
105 ASSERT_FALSE(perm.CheckOpen(path, O_WRONLY, &file_to_open, NULL)); in CheckPerm()
106 ASSERT_FALSE(perm.CheckOpen(path, O_RDWR, &file_to_open, NULL)); in CheckPerm()
112 ASSERT_TRUE(perm.CheckOpen(path, O_WRONLY, &file_to_open, NULL)); in CheckPerm()
113 ASSERT_FALSE(perm.CheckOpen(path, O_RDWR, &file_to_open, NULL)); in CheckPerm()
118 ASSERT_TRUE(perm.CheckOpen(path, O_RDONLY, &file_to_open, NULL)); in CheckPerm()
119 ASSERT_TRUE(perm.CheckOpen(path, O_WRONLY, &file_to_open, NULL)); in CheckPerm()
120 ASSERT_TRUE(perm.CheckOpen(path, O_RDWR, &file_to_open, NULL)); in CheckPerm()
187 &file_to_open, &unlink)); in CheckPerm()
[all …]
H A Dbroker_permission_list.cc92 const char** file_to_open, in GetFileNameIfAllowedToOpen() argument
94 if (!CheckCallerArgs(file_to_open)) in GetFileNameIfAllowedToOpen()
99 file_to_open, unlink_after_open)) { in GetFileNameIfAllowedToOpen()
H A Dbroker_host.cc100 const char* file_to_open = NULL; in OpenFileForIPC() local
103 requested_filename.c_str(), flags, &file_to_open, in OpenFileForIPC()
109 CHECK(file_to_open); in OpenFileForIPC()
110 opened_file->reset(sys_open(file_to_open, flags)); in OpenFileForIPC()
117 unlink(file_to_open); in OpenFileForIPC()
H A Dbroker_file_permission.cc130 const char** file_to_open, in CheckOpen() argument
190 if (file_to_open) in CheckOpen()
191 *file_to_open = recursive_ ? requested_filename : path_.c_str(); in CheckOpen()
H A Dbroker_permission_list.h66 const char** file_to_open,
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/nacl/browser/
H A Dnacl_file_host.cc93 base::File file_to_open = nacl::OpenNaClReadExecImpl(full_filepath, in DoOpenPnaclFile() local
95 if (!file_to_open.IsValid()) { in DoOpenPnaclFile()
108 nacl_host_message_filter, std::move(file_to_open), in DoOpenPnaclFile()
114 IPC::TakePlatformFileForTransit(std::move(file_to_open)); in DoOpenPnaclFile()
188 base::FilePath* file_to_open) { in PnaclCanOpenFile() argument
214 *file_to_open = full_path; in PnaclCanOpenFile()
H A Dnacl_file_host.h42 base::FilePath* file_to_open);
/dports/graphics/milton/milton-1.9.1/src/
H A Dplatform_main_windows.cc54 char* file_to_open = NULL; in WinMain() local
57 file_to_open = cmd_line; in WinMain()
59 milton_main(is_fullscreen, file_to_open); in WinMain()
H A Dplatform_unix.cc148 char* file_to_open = NULL; in main() local
150 file_to_open = argv[1]; in main()
152 milton_main(false, file_to_open); in main()
/dports/editors/gnome-latex/gnome-latex-3.38.0/src/liblatexila/
H A Dlatexila-build-tool.c622 const gchar *file_to_open; in open_file() local
661 file_to_open = data->current_file_to_open[0]; in open_file()
671 if (strstr (file_to_open, "$filename") != NULL) in open_file()
673 uri = tepl_utils_str_replace (file_to_open, "$filename", filename); in open_file()
674 uri_for_display = tepl_utils_str_replace (file_to_open, "$filename", filename_for_display); in open_file()
676 else if (strstr (file_to_open, "$shortname") != NULL) in open_file()
678 uri = tepl_utils_str_replace (file_to_open, "$shortname", shortname); in open_file()
679 uri_for_display = tepl_utils_str_replace (file_to_open, "$shortname", shortname_for_display); in open_file()
683 uri = g_strdup_printf ("file://%s", file_to_open); in open_file()
684 uri_for_display = g_strdup (file_to_open); in open_file()
/dports/devel/nuitka/Nuitka-0.6.17/tests/standalone/
H A DUrllib3Using.py50 file_to_open = open(self.path[1:], "rb").read()
53 self.wfile.write(file_to_open)
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sandbox/win/sandbox_poc/
H A Dmain_ui_window.cc389 ATL::CString file_to_open = log_file_.c_str(); in ListenPipe() local
390 file_to_open.Remove(L'\"'); in ListenPipe()
391 if (file_to_open.GetLength()) { in ListenPipe()
392 logfile_handle = ::CreateFile(file_to_open.GetBuffer(), in ListenPipe()
401 file_to_open.GetBuffer(), ::GetLastError()); in ListenPipe()
/dports/www/chromium-legacy/chromium-88.0.4324.182/sandbox/win/sandbox_poc/
H A Dmain_ui_window.cc388 ATL::CString file_to_open = log_file_.c_str(); in ListenPipe() local
389 file_to_open.Remove(L'\"'); in ListenPipe()
390 if (file_to_open.GetLength()) { in ListenPipe()
391 logfile_handle = ::CreateFile(file_to_open.GetBuffer(), in ListenPipe()
400 file_to_open.GetBuffer(), ::GetLastError()); in ListenPipe()
/dports/www/cssed/cssed-0.4.0/src/
H A Ddocument-list.c246 gchar* file_to_open; in load_doclist_from_file() local
253 if( filename ) file_to_open = filename; in load_doclist_from_file()
254 else file_to_open = data->filename; in load_doclist_from_file()
256 if( g_file_test(file_to_open, G_FILE_TEST_EXISTS) ) in load_doclist_from_file()
258 if( g_file_get_contents(file_to_open, &buffer, NULL, &error) ){ in load_doclist_from_file()
262 …ment list file\n%s\n\nError code: %d\nCheck the output window for details.", file_to_open, retval); in load_doclist_from_file()
269 …ading file."), _("The system was unable to open the file\n%s\n\n%s"), file_to_open, error->message… in load_doclist_from_file()
274 cssed_error_message( _("Error opening file"), _("The file does not exist\n%s"), file_to_open); in load_doclist_from_file()
/dports/math/cgal/CGAL-5.3/demo/Segment_Delaunay_graph_Linf_2/
H A DSegment_voronoi_linf_2.cpp45 QString file_to_open; variable
194 open(file_to_open); in MainWindow()
195 statusBar()->showMessage(file_to_open, 0); in MainWindow()
542 file_to_open = argv[1]; in main()
/dports/x11/arandr/arandr-43faec00c0feca3f00b0acbae048de14f02c6d21/screenlayout/
H A Dgui.py338 file_to_open = None
340 file_to_open = args[0]
345 file=file_to_open,
/dports/math/lcalc/lcalc-1.23/src/
H A DLcommandline.cc42 bool do_zeros=false,do_values=false,file_to_open=false,do_twists=false,file_of_s_values=false; in main() local
199 file_to_open=true; in main()
209 file_to_open=true; in main()
380 if(file_to_open){ in main()
/dports/devel/gitui/gitui-0.10.1/src/
H A Dapp.rs59 file_to_open: Option<String>, field
149 file_to_open: None, in new()
246 let result = match self.file_to_open.take() { in event()
481 self.file_to_open = path; in process_internal_event()
/dports/editors/gnome-latex/gnome-latex-3.38.0/src/
H A Dstructure.vala691 File file_to_open;
694 file_to_open = referenced_file;
699 file_to_open = File.new_for_uri (uri + ".tex");
701 if (!file_to_open.query_exists ())
704 file_to_open.get_parse_name ());
709 _main_window.open_document (file_to_open);

12345