Home
last modified time | relevance | path

Searched refs:guess_type (Results 1 – 13 of 13) sorted by relevance

/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Dfileapp.py179 content_type, content_encoding = self.guess_type()
186 def guess_type(self): member in FileApp
187 return mimetypes.guess_type(self.filename)
343 content_type, content_encoding = mimetypes.guess_type(info.filename)
Dhttpheaders.py862 mimetype, _ = mimetypes.guess_type(filename)
Durlparser.py572 type, encoding = mimetypes.guess_type(resource)
Dfixture.py350 fcontent = mimetypes.guess_type(filename)[0]
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/
Dstatic.py27 content_type, content_encoding = mimetypes.guess_type(filename)
Drequest.py1646 mime_type = mimetypes.guess_type(filename)[0]
/external/lldb/utils/test/
Dras.py133 ctype, encoding = mimetypes.guess_type(path)
/external/clang/tools/scan-view/
DReporter.py87 ctype, encoding = mimetypes.guess_type(path)
DScanView.py707 ctype = self.guess_type(path)
/external/chromium-trace/trace-viewer/third_party/WebOb/docs/
Dfile-example.txt38 ... type, encoding = mimetypes.guess_type(filename)
/external/google-breakpad/src/testing/gtest/scripts/
Dupload.py535 return mimetypes.guess_type(filename)[0] or 'application/octet-stream'
715 mimetype = mimetypes.guess_type(filename)[0]
/external/google-breakpad/src/testing/scripts/
Dupload.py535 return mimetypes.guess_type(filename)[0] or 'application/octet-stream'
715 mimetype = mimetypes.guess_type(filename)[0]
/external/regex-re2/lib/codereview/
Dcodereview.py3106 return mimetypes.guess_type(filename)[0] or 'application/octet-stream'
3319 mimetype = mimetypes.guess_type(filename)[0]
3326 mimetype = mimetypes.guess_type(filename)[0]