Home
last modified time | relevance | path

Searched refs:mimetype (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/servers/
Dlighttpd.conf14 mimetype.assign = (
35 mimetype.use-xattr = "enable"
74 mimetype.assign = (
80 mimetype.assign = ( ".txt" => "text/plain; charset=koi8-r" )
86 mimetype.assign = ( ".manifest" => "text/plain" )
/external/chromium_org/chrome/common/extensions/docs/server2/
Dcontent_provider.py57 mimetype = mimetypes.guess_type(path)[0]
58 if mimetype is None:
60 mimetype = 'text/plain'
61 elif mimetype == 'text/html':
65 elif (mimetype.startswith('text/') or
66 mimetype in ('application/javascript', 'application/json')):
70 return ContentAndType(content, mimetype)
/external/chromium_org/native_client_sdk/src/resources/
Dcommon.js34 var mimetype = 'application/x-nacl';
39 mimetype = 'application/x-ppapi-release';
41 mimetype = 'application/x-ppapi-debug';
43 mimetype = 'application/x-pnacl';
45 return mimetype;
62 var mimetype = mimeTypeForTool(tool);
63 return navigator.mimeTypes[mimetype] !== undefined;
139 var mimetype = mimeTypeForTool(tool);
140 moduleEl.setAttribute('type', mimetype);
/external/chromium_org/third_party/npapi/npspy/common/
Depmanager.cpp59 mimetype[0] = '\0'; in PluginEntryPointList()
91 void NPPEntryPointManager::createEntryPointsForPlugin(char * mimetype, NPPluginFuncs * funcs, NP_SH… in createEntryPointsForPlugin() argument
98 strcpy(eps->mimetype, mimetype); in createEntryPointsForPlugin()
151 NPPluginFuncs * NPPEntryPointManager::findEntryPointsForPlugin(char * mimetype) in findEntryPointsForPlugin() argument
155 if(0 == _stricmp(eps->mimetype, mimetype)) in findEntryPointsForPlugin()
182 logger->logSPY_NP_Shutdown(eps->mimetype); in callNP_ShutdownAll()
199 logger->logSPY_NP_Shutdown(eps->mimetype); in callNP_Shutdown()
214 if(0 == _stricmp(eps->mimetype, pluginType)) in callNPP_New()
Dplugload.cpp82 XP_HLIB LoadRealPlugin(char * mimetype) in LoadRealPlugin() argument
84 if(!mimetype || !strlen(mimetype)) in LoadRealPlugin()
169 if(0 == _stricmp(mimetype, type)) in LoadRealPlugin()
Dlogger.cpp284 void Logger::logSPY_NP_Shutdown(char * mimetype) in logSPY_NP_Shutdown() argument
287 if(mimetype) in logSPY_NP_Shutdown()
290 strcat(szLog, mimetype); in logSPY_NP_Shutdown()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DPepperPluginManager.java52 String mimetype = metaData.getString(MIMETYPE); in getPluginDescription() local
53 if (mimetype == null || mimetype.isEmpty()) { in getPluginDescription()
80 plugin.append(mimetype); in getPluginDescription()
/external/chromium_org/third_party/npapi/npspy/include/
Depmanager.h60 char mimetype[80]; member
76 …void createEntryPointsForPlugin(char * mimetype, NPPluginFuncs * funcs, NP_SHUTDOWN shutdownproc, …
78 NPPluginFuncs * findEntryPointsForPlugin(char * mimetype);
Dplugload.h42 XP_HLIB LoadRealPlugin(char * mimetype);
/external/chromium_org/tools/perf/page_sets/mse_cases/
Dstartup_test.js154 function BufferAppender(mimetype, url, id, startOffset, appendSize) { argument
155 this.mimetype = mimetype;
183 this.sourceBuffer = mediaSource.addSourceBuffer(this.mimetype);
227 function StreamAppender(mimetype, url, id, startOffset, appendSize) { argument
228 this.mimetype = mimetype;
262 this.sourceBuffer = mediaSource.addSourceBuffer(this.mimetype);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/
Dtest_importer.py232 mimetype = mimetypes.guess_type(fullpath)
233 if not 'html' in str(mimetype[0]) and not 'xml' in str(mimetype[0]):
343 mimetype = mimetypes.guess_type(orig_filepath)
344 … if 'html' in str(mimetype[0]) or 'xml' in str(mimetype[0]) or 'css' in str(mimetype[0]):
/external/chromium/webkit/glue/
Dmimetype_unittest.cc26 void CheckMimeType(const char* mimetype, const std::string& expected) { in CheckMimeType() argument
28 GURL url(test_server_.GetURL(path + mimetype)); in CheckMimeType()
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/lua/
Dnaclterm.js197 var mimetype = 'application/x-pnacl';
198 if (navigator.mimeTypes[mimetype] === undefined) {
199 if (mimetype.indexOf('pnacl') != -1)
210 embed.type = mimetype;
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/life/
Dexample.js34 var mimetype = PNaClmimeType();
35 return navigator.mimeTypes[mimetype] !== undefined;
/external/smack/src/org/jivesoftware/smackx/provider/
DVCardProvider.java132 String mimetype = null; in setupPhoto() local
155 mimetype = value; in setupPhoto()
159 if (binval == null || mimetype == null) in setupPhoto()
162 vCard.setAvatar(binval, mimetype); in setupPhoto()
/external/chromium_org/cloud_print/gcp20/prototype/
Dcloud_print_request.cc52 const std::string& mimetype, in CreatePost() argument
56 request->fetcher_->SetUploadData(mimetype, content); in CreatePost()
Dcloud_print_request.h50 const std::string& mimetype,
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/voronoi/
Dexample.js34 var mimetype = PNaClmimeType();
35 return navigator.mimeTypes[mimetype] !== undefined;
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/earth/
Dexample.js34 var mimetype = PNaClmimeType();
35 return navigator.mimeTypes[mimetype] !== undefined;
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/cube/
Dexample.js34 var mimetype = PNaClmimeType();
35 return navigator.mimeTypes[mimetype] !== undefined;
/external/chromium/testing/gmock/scripts/
Dupload.py715 mimetype = mimetypes.guess_type(filename)[0]
716 if not mimetype:
718 return mimetype.startswith("image/")
910 mimetype = RunShell(["svn", "propget", "svn:mime-type", filename],
913 is_binary = mimetype and not mimetype.startswith("text/")
927 mimetype, returncode = RunShellWithReturnCode(cmd)
931 mimetype = ""
933 is_binary = mimetype and not mimetype.startswith("text/")
/external/chromium/testing/gtest/scripts/
Dupload.py715 mimetype = mimetypes.guess_type(filename)[0]
716 if not mimetype:
718 return mimetype.startswith("image/")
910 mimetype = RunShell(["svn", "propget", "svn:mime-type", filename],
913 is_binary = mimetype and not mimetype.startswith("text/")
927 mimetype, returncode = RunShellWithReturnCode(cmd)
931 mimetype = ""
933 is_binary = mimetype and not mimetype.startswith("text/")
/external/chromium_org/testing/gtest/scripts/
Dupload.py715 mimetype = mimetypes.guess_type(filename)[0]
716 if not mimetype:
718 return mimetype.startswith("image/")
910 mimetype = RunShell(["svn", "propget", "svn:mime-type", filename],
913 is_binary = mimetype and not mimetype.startswith("text/")
927 mimetype, returncode = RunShellWithReturnCode(cmd)
931 mimetype = ""
933 is_binary = mimetype and not mimetype.startswith("text/")
/external/chromium_org/chrome/test/chromedriver/
Drun_buildbot_steps.py71 mimetype='text/plain')
208 if slave_utils.GSUtilCopy(latest_file, latest_url, mimetype='text/plain'):
306 if slave_utils.GSUtilCopy(temp_notes_fname, notes_url, mimetype='text/plain'):
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/smoothlife/
Dexample.js65 var mimetype = PNaClmimeType();
66 return navigator.mimeTypes[mimetype] !== undefined;

12