Searched defs:ofn (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/ui/base/win/
H A Dopen_file_name_win_unittest.cc14 void SetResult(const base::string16& result, ui::win::OpenFileName* ofn) { argument
15 if (ofn->GetOPENFILENAME()->nMaxFile <= result.size()) {
20 ofn->GetOPENFILENAME()->lpstrFile[0] = 0;
23 memcpy(ofn->GetOPENFILENAME()->lpstrFile,
45 const ui::win::OpenFileName& ofn) {
46 if (!ofn.GetOPENFILENAME()->lpstrFilter) {
51 EXPECT_EQ(0, ofn.GetOPENFILENAME()->lpstrFilter[0]);
55 ofn.GetOPENFILENAME()->lpstrFilter,
61 const ui::win::OpenFileName& ofn) {
62 if (!ofn
44 CheckFilterString(const base::string16& expected, const ui::win::OpenFileName& ofn) argument
60 CheckResult(const base::string16& expected, const ui::win::OpenFileName& ofn) argument
[all...]
/external/chromium_org/chrome/browser/
H A Dchrome_select_file_dialog_factory_win.cc28 bool CallMetroOPENFILENAMEMethod(const char* method_name, OPENFILENAME* ofn) { argument
39 return metro_method(ofn) == TRUE;
129 // utility process to call GetOpenFileName with |ofn|. |current_task_runner|
132 OPENFILENAME* ofn,
142 ofn->hwndOwner,
143 ofn->Flags & ~OFN_ENABLEHOOK, // We can't send a hook function over IPC.
144 ui::win::OpenFileName::GetFilters(ofn),
145 base::FilePath(ofn->lpstrInitialDir ? ofn->lpstrInitialDir
147 base::FilePath(ofn
131 DoInvokeGetOpenFileName( OPENFILENAME* ofn, scoped_refptr<GetOpenFileNameClient> client, const scoped_refptr<base::SequencedTaskRunner>& current_task_runner) argument
152 GetOpenFileNameInUtilityProcess( const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner, OPENFILENAME* ofn) argument
172 GetOpenFileNameImpl( const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner, OPENFILENAME* ofn) argument
261 DoInvokeGetSaveFileName( OPENFILENAME* ofn, scoped_refptr<GetSaveFileNameClient> client, const scoped_refptr<base::SequencedTaskRunner>& current_task_runner) argument
288 GetSaveFileNameInUtilityProcess( const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner, OPENFILENAME* ofn) argument
309 GetSaveFileNameImpl( const scoped_refptr<base::SequencedTaskRunner>& blocking_task_runner, OPENFILENAME* ofn) argument
[all...]
/external/chromium_org/third_party/icu/source/samples/layout/
H A Dclayout.c265 OPENFILENAMEA ofn; local
270 ofn.lStructSize = sizeof (OPENFILENAMEA);
271 ofn.hwndOwner = hwnd;
272 ofn.hInstance = NULL;
273 ofn.lpstrFilter = szFilter;
274 ofn.lpstrCustomFilter = NULL;
275 ofn.nMaxCustFilter = 0;
276 ofn.nFilterIndex = 0;
277 ofn.lpstrFile = szFileName;
278 ofn
[all...]
H A Dlayout.cpp263 OPENFILENAMEA ofn; local
268 ofn.lStructSize = sizeof (OPENFILENAMEA);
269 ofn.hwndOwner = hwnd;
270 ofn.hInstance = NULL;
271 ofn.lpstrFilter = szFilter;
272 ofn.lpstrCustomFilter = NULL;
273 ofn.nMaxCustFilter = 0;
274 ofn.nFilterIndex = 0;
275 ofn.lpstrFile = szFileName;
276 ofn
[all...]
/external/icu/icu4c/source/samples/layout/
H A Dclayout.c265 OPENFILENAMEA ofn; local
270 ofn.lStructSize = sizeof (OPENFILENAMEA);
271 ofn.hwndOwner = hwnd;
272 ofn.hInstance = NULL;
273 ofn.lpstrFilter = szFilter;
274 ofn.lpstrCustomFilter = NULL;
275 ofn.nMaxCustFilter = 0;
276 ofn.nFilterIndex = 0;
277 ofn.lpstrFile = szFileName;
278 ofn
[all...]
H A Dlayout.cpp263 OPENFILENAMEA ofn; local
268 ofn.lStructSize = sizeof (OPENFILENAMEA);
269 ofn.hwndOwner = hwnd;
270 ofn.hInstance = NULL;
271 ofn.lpstrFilter = szFilter;
272 ofn.lpstrCustomFilter = NULL;
273 ofn.nMaxCustFilter = 0;
274 ofn.nFilterIndex = 0;
275 ofn.lpstrFile = szFileName;
276 ofn
[all...]
/external/libpng/contrib/visupng/
H A DPngFile.c27 static OPENFILENAME ofn; variable
55 ofn.lStructSize = sizeof (OPENFILENAME);
56 ofn.hwndOwner = hwnd;
57 ofn.hInstance = NULL;
58 ofn.lpstrFilter = szFilter;
59 ofn.lpstrCustomFilter = NULL;
60 ofn.nMaxCustFilter = 0;
61 ofn.nFilterIndex = 0;
62 ofn.lpstrFile = NULL; /* Set in Open and Close functions */
63 ofn
[all...]
/external/chromium_org/ui/shell_dialogs/
H A Dselect_file_dialog_win.cc37 bool CallBuiltinGetOpenFileName(OPENFILENAME* ofn) { argument
38 return ::GetOpenFileName(ofn) == TRUE;
41 bool CallBuiltinGetSaveFileName(OPENFILENAME* ofn) { argument
42 return ::GetSaveFileName(ofn) == TRUE;
641 ui::win::OpenFileName ofn(owner, OFN_FILEMUSTEXIST | OFN_NOCHANGEDIR);
644 ofn.SetInitialSelection(*path, base::FilePath());
646 ofn.SetInitialSelection(path->DirName(), path->BaseName());
650 ofn.GetOPENFILENAME()->lpstrFilter = filter.c_str();
652 bool success = get_open_file_name_impl_.Run(ofn.GetOPENFILENAME());
655 *path = ofn
[all...]
/external/blktrace/
H A Dblktrace.c242 * ofn, ofd, ofp, obuf & mmap_info are used for output file (optionally).
266 char ofn[MAXPATHLEN + 64]; member in struct:io_info
1469 char *dst = iop->ofn;
1472 len = snprintf(iop->ofn, sizeof(iop->ofn), "%s/", output_dir);
1474 len = snprintf(iop->ofn, sizeof(iop->ofn), "./");
1484 if (stat(iop->ofn, &sb) < 0) {
1488 iop->ofn, errno, strerror(errno));
1496 if (mkdir(iop->ofn, 075
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 205 milliseconds