/external/chromium_org/ui/base/win/ |
open_file_name_win_unittest.cc | 14 void SetResult(const base::string16& result, ui::win::OpenFileName* ofn) { 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.GetOPENFILENAME()->lpstrFile) [all...] |
/external/chromium_org/chrome/browser/ |
chrome_select_file_dialog_factory_win.cc | 28 bool CallMetroOPENFILENAMEMethod(const char* method_name, OPENFILENAME* ofn) { 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->lpstrFile))) [all...] |
/external/libpng/contrib/visupng/ |
PngFile.c | 27 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.nMaxFile = MAX_PATH [all...] |
/external/chromium_org/ui/shell_dialogs/ |
select_file_dialog_win.h | 28 const base::Callback<bool(OPENFILENAME* ofn)>& get_open_file_name_impl, 29 const base::Callback<bool(OPENFILENAME* ofn)>& get_save_file_name_impl);
|
select_file_dialog_win.cc | 37 bool CallBuiltinGetOpenFileName(OPENFILENAME* ofn) { 38 return ::GetOpenFileName(ofn) == TRUE; 41 bool CallBuiltinGetSaveFileName(OPENFILENAME* ofn) { 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.GetSingleResult() [all...] |
/external/chromium_org/third_party/icu/source/samples/layout/ |
clayout.c | 265 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.nMaxFile = MAX_PATH [all...] |
layout.cpp | 263 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.nMaxFile = MAX_PATH [all...] |
/external/icu/icu4c/source/samples/layout/ |
clayout.c | 265 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.nMaxFile = MAX_PATH [all...] |
layout.cpp | 263 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.nMaxFile = MAX_PATH [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/build/make/ |
rtcd.pl | 83 my $ofn = eval "\$${fn}_${opt}"; 84 next if !$ofn; 91 if ($best_ofn && "$best_ofn" ne "$ofn") { 134 my $ofn = eval "\$${fn}_${opt}"; 135 next if !$ofn; 156 my $ofn = eval "\$${fn}_${opt}"; 157 next if !$ofn; 158 print "$rtyp ${ofn}($args);\n"; 179 my $ofn = eval "\$${fn}_${opt}"; 180 next if !$ofn; [all...] |
/external/libvpx/libvpx/build/make/ |
rtcd.pl | 83 my $ofn = eval "\$${fn}_${opt}"; 84 next if !$ofn; 91 if ($best_ofn && "$best_ofn" ne "$ofn") { 134 my $ofn = eval "\$${fn}_${opt}"; 135 next if !$ofn; 156 my $ofn = eval "\$${fn}_${opt}"; 157 next if !$ofn; 158 print "$rtyp ${ofn}($args);\n"; 179 my $ofn = eval "\$${fn}_${opt}"; 180 next if !$ofn; [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/ |
rtcd.pl | 83 my $ofn = eval "\$${fn}_${opt}"; 84 next if !$ofn; 91 if ($best_ofn && "$best_ofn" ne "$ofn") { 134 my $ofn = eval "\$${fn}_${opt}"; 135 next if !$ofn; 156 my $ofn = eval "\$${fn}_${opt}"; 157 next if !$ofn; 158 print "$rtyp ${ofn}($args);\n"; 179 my $ofn = eval "\$${fn}_${opt}"; 180 next if !$ofn; [all...] |
/external/blktrace/ |
blktrace.c | 242 * 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, 0755) < 0 && errno != EEXIST) [all...] |