/external/chromium_org/chrome/renderer/plugins/ |
D | plugin_uma.cc | 126 std::string file_extension; in SrcToPluginType() local 127 ExtractFileExtension(src, &file_extension); in SrcToPluginType() 130 file_extension.c_str())) { in SrcToPluginType() 136 file_extension.c_str())) { in SrcToPluginType() 142 file_extension.c_str())) { in SrcToPluginType() 148 file_extension.c_str())) { in SrcToPluginType()
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/ |
D | checker.py | 443 file_extension = self._file_extension(file_path) 445 if (file_extension in _CPP_FILE_EXTENSIONS) or (file_path == '-'): 453 elif file_extension == _JSON_FILE_EXTENSION: 455 elif file_extension == _PYTHON_FILE_EXTENSION: 457 elif file_extension in _XML_FILE_EXTENSIONS: 459 elif file_extension == _XCODEPROJ_FILE_EXTENSION: 461 elif file_extension == _PNG_FILE_EXTENSION: 463 elif ((not file_extension and os.path.join("Tools", "Scripts") in file_path) or 464 … file_extension in _TEXT_FILE_EXTENSIONS or os.path.basename(file_path) == 'TestExpectations'): 475 file_extension = self._file_extension(file_path) [all …]
|
D | checker_unittest.py | 400 file_extension = "c" 401 file_path = file_base + "." + file_extension 404 self.assertEqual(checker.file_extension, file_extension) 410 file_extension = "" 414 self.assertEqual(checker.file_extension, file_extension) 429 file_extension = "json" 430 file_path = file_base + "." + file_extension 448 file_extension = "css" 449 file_path = file_base + "." + file_extension 486 file_extension = "css" [all …]
|
/external/chromium/webkit/glue/ |
D | simple_webmimeregistry_impl.cc | 95 const WebString& file_extension) { in mimeTypeForExtension() argument 98 WebStringToFilePathString(file_extension), &mime_type); in mimeTypeForExtension() 112 FilePath::StringType file_extension; in preferredExtensionForMIMEType() local 114 &file_extension); in preferredExtensionForMIMEType() 115 return FilePathStringToWebString(file_extension); in preferredExtensionForMIMEType()
|
D | webdropdata.cc | 22 file_extension(drag_data.fileExtension()), in WebDropData() 49 result.setFileExtension(file_extension); in ToDragData()
|
D | webdropdata.h | 40 string16 file_extension; member
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
D | mime_util.cc | 16 const base::FilePath::StringType file_extension = in GetMimeTypeForPath() local 23 if (file_extension.empty() || in GetMimeTypeForPath() 24 !net::GetWellKnownMimeTypeFromExtension(file_extension.substr(1), in GetMimeTypeForPath()
|
D | open_with_browser.h | 32 const base::FilePath::StringType& file_extension);
|
D | open_with_browser.cc | 177 const base::FilePath::StringType& file_extension) { in ShouldBeOpenedWithPlugin() argument 181 base::FilePath::FromUTF8Unsafe("dummy").AddExtension(file_extension); in ShouldBeOpenedWithPlugin()
|
/external/chromium_org/webkit/glue/ |
D | simple_webmimeregistry_impl.cc | 68 const WebString& file_extension) { in mimeTypeForExtension() argument 71 base::FilePath::FromUTF16Unsafe(file_extension).value(), &mime_type); in mimeTypeForExtension() 76 const WebString& file_extension) { in wellKnownMimeTypeForExtension() argument 79 base::FilePath::FromUTF16Unsafe(file_extension).value(), &mime_type); in wellKnownMimeTypeForExtension()
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
D | print_job_handler.cc | 156 std::string file_extension; in CompleteLocalPrintJob() local 160 file_extension = "pdf"; in CompleteLocalPrintJob() 162 file_extension = "pwg"; in CompleteLocalPrintJob() 164 file_extension = "jpg"; in CompleteLocalPrintJob() 177 current_job->second.data.job_name, file_extension)) { in CompleteLocalPrintJob() 214 const std::string& file_extension) { in SavePrintJob() argument 247 directory.AppendASCII("data." + file_extension), in SavePrintJob()
|
D | print_job_handler.h | 62 const std::string& file_extension);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/ |
D | cpp.py | 1174 def __init__(self, clean_lines, file_extension): argument 1177 if file_extension in ['m', 'mm']: 1180 elif file_extension == 'h': 1186 elif file_extension == 'c': 1699 def check_function_definition(filename, file_extension, clean_lines, line_number, function_state, e… argument 1720 elif not file_extension == "h": 1802 def check_spacing(file_extension, clean_lines, line_number, error): argument 2003 if file_extension == 'cpp': 2010 elif file_extension == 'c': 2089 def check_namespace_indentation(clean_lines, line_number, file_extension, file_state, error): argument [all …]
|
/external/chromium_org/content/worker/ |
D | worker_webkitplatformsupport_impl.cc | 263 const WebString& file_extension) { in mimeTypeForExtension() argument 266 base::FilePath::FromUTF16Unsafe(file_extension).value(), &mime_type)); in mimeTypeForExtension() 271 const WebString& file_extension) { in wellKnownMimeTypeForExtension() argument 274 base::FilePath::FromUTF16Unsafe(file_extension).value(), &mime_type); in wellKnownMimeTypeForExtension()
|
/external/chromium_org/chrome/common/extensions/api/file_handlers/ |
D | file_handlers_parser.cc | 96 std::string file_extension; in LoadFileHandler() local 98 if (!file_extensions->GetString(i, &file_extension)) { in LoadFileHandler() 105 handler.extensions.insert(file_extension); in LoadFileHandler()
|
/external/chromium_org/ui/shell_dialogs/gtk/ |
D | select_file_dialog_impl_gtk.cc | 29 std::string* file_extension) { in FileFilterCaseInsensitive() argument 30 return EndsWith(file_info->filename, *file_extension, false); in FileFilterCaseInsensitive() 34 void OnFileFilterDataDestroyed(std::string* file_extension) { in OnFileFilterDataDestroyed() argument 35 delete file_extension; in OnFileFilterDataDestroyed() 247 scoped_ptr<std::string> file_extension( in AddFilters() local 249 fallback_labels.insert(std::string("*").append(*file_extension)); in AddFilters() 254 file_extension.release(), in AddFilters()
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
D | select_file_dialog_impl_gtk2.cc | 54 std::string* file_extension) { in FileFilterCaseInsensitive() argument 55 return EndsWith(file_info->filename, *file_extension, false); in FileFilterCaseInsensitive() 59 void OnFileFilterDataDestroyed(std::string* file_extension) { in OnFileFilterDataDestroyed() argument 60 delete file_extension; in OnFileFilterDataDestroyed() 291 scoped_ptr<std::string> file_extension( in AddFilters() local 293 fallback_labels.insert(std::string("*").append(*file_extension)); in AddFilters() 298 file_extension.release(), in AddFilters()
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
D | drive_app_registry.cc | 81 const base::FilePath::StringType& file_extension, in GetAppsForFile() argument 87 if (!file_extension.empty()) { in GetAppsForFile() 88 const base::FilePath::StringType without_dot = file_extension.substr(1); in GetAppsForFile()
|
D | drive_app_registry.h | 68 void GetAppsForFile(const base::FilePath::StringType& file_extension,
|
/external/chromium/chrome/browser/ui/views/tab_contents/ |
D | tab_contents_drag_win.cc | 236 if (file_name.value().size() + drop_data.file_extension.size() + 1 > in PrepareDragForFileContents() 239 0, MAX_PATH - drop_data.file_extension.size() - 2)); in PrepareDragForFileContents() 242 file_name = file_name.ReplaceExtension(drop_data.file_extension); in PrepareDragForFileContents()
|
/external/libvpx/libvpx/tools/ |
D | cpplint.py | 2788 def CheckStyle(filename, clean_lines, linenum, file_extension, nesting_state, argument 2850 if file_extension == 'h': 3139 def CheckLanguage(filename, clean_lines, linenum, file_extension, include_state, argument 3286 if file_extension == 'h': 3434 if (file_extension == 'h' 3771 def ProcessLine(filename, file_extension, clean_lines, line, argument 3799 CheckStyle(filename, clean_lines, line, file_extension, nesting_state, error) 3800 CheckLanguage(filename, clean_lines, line, file_extension, include_state, 3810 def ProcessFileData(filename, file_extension, lines, error, argument 3836 if file_extension == 'h': [all …]
|
/external/chromium/chrome/browser/ui/cocoa/tab_contents/ |
D | web_drag_source.mm | 76 file_name = file_name.ReplaceExtension(UTF16ToUTF8(drop_data.file_extension)); 200 SysUTF16ToNSString(dropData_->file_extension))]) { 394 // |dropData_->file_extension| comes with the '.', which we must strip. 395 fileExtension = (dropData_->file_extension.length() > 0) ? 396 SysUTF16ToNSString(dropData_->file_extension.substr(1)) : @"";
|
/external/chromium_org/content/renderer/ |
D | renderer_webkitplatformsupport_impl.cc | 151 const blink::WebString& file_extension); 449 const WebString& file_extension) { in mimeTypeForExtension() argument 451 return SimpleWebMimeRegistryImpl::mimeTypeForExtension(file_extension); in mimeTypeForExtension() 458 base::FilePath::FromUTF16Unsafe(file_extension).value(), &mime_type)); in mimeTypeForExtension()
|
/external/chromium_org/google_apis/drive/ |
D | drive_api_parser.h | 536 const std::string& file_extension() const { return file_extension_; } in file_extension() function 608 void set_file_extension(const std::string& file_extension) { in set_file_extension() argument 609 file_extension_ = file_extension; in set_file_extension()
|
D | gdata_wapi_parser.cc | 542 std::string file_extension = WideToUTF8(file_path.Extension()); in ClassifyEntryKindByFileExtension() local 544 std::string file_extension = file_path.Extension(); in ClassifyEntryKindByFileExtension() 548 if (document_extension && file_extension == document_extension) in ClassifyEntryKindByFileExtension()
|