/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_mimetypes.py | 20 eq(self.db.guess_type("foo.html"), ("text/html", None)) 21 eq(self.db.guess_type("foo.tgz"), ("application/x-tar", "gzip")) 22 eq(self.db.guess_type("foo.tar.gz"), ("application/x-tar", "gzip")) 23 eq(self.db.guess_type("foo.tar.Z"), ("application/x-tar", "compress")) 24 eq(self.db.guess_type("foo.tar.bz2"), ("application/x-tar", "bzip2")) 25 eq(self.db.guess_type("foo.tar.xz"), ("application/x-tar", "xz")) 29 guess_type = self.db.guess_type 30 eq(guess_type("data:,thisIsTextPlain"), ("text/plain", None)) 31 eq(guess_type("data:;base64,thisIsTextPlain"), ("text/plain", None) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_mimetypes.py | 20 eq(self.db.guess_type("foo.html"), ("text/html", None)) 21 eq(self.db.guess_type("foo.tgz"), ("application/x-tar", "gzip")) 22 eq(self.db.guess_type("foo.tar.gz"), ("application/x-tar", "gzip")) 23 eq(self.db.guess_type("foo.tar.Z"), ("application/x-tar", "compress")) 24 eq(self.db.guess_type("foo.tar.bz2"), ("application/x-tar", "bzip2")) 25 eq(self.db.guess_type("foo.tar.xz"), ("application/x-tar", "xz")) 29 guess_type = self.db.guess_type 30 eq(guess_type("data:,thisIsTextPlain"), ("text/plain", None)) 31 eq(guess_type("data:;base64,thisIsTextPlain"), ("text/plain", None) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_mimetypes.py | 20 eq(self.db.guess_type("foo.html"), ("text/html", None)) 21 eq(self.db.guess_type("foo.tgz"), ("application/x-tar", "gzip")) 22 eq(self.db.guess_type("foo.tar.gz"), ("application/x-tar", "gzip")) 23 eq(self.db.guess_type("foo.tar.Z"), ("application/x-tar", "compress")) 24 eq(self.db.guess_type("foo.tar.bz2"), ("application/x-tar", "bzip2")) 25 eq(self.db.guess_type("foo.tar.xz"), ("application/x-tar", "xz")) 29 guess_type = self.db.guess_type 30 eq(guess_type("data:,thisIsTextPlain"), ("text/plain", None)) 31 eq(guess_type("data:;base64,thisIsTextPlain"), ("text/plain", None) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_mimetypes.py | 20 eq(self.db.guess_type("foo.html"), ("text/html", None)) 21 eq(self.db.guess_type("foo.tgz"), ("application/x-tar", "gzip")) 22 eq(self.db.guess_type("foo.tar.gz"), ("application/x-tar", "gzip")) 23 eq(self.db.guess_type("foo.tar.Z"), ("application/x-tar", "compress")) 24 eq(self.db.guess_type("foo.tar.bz2"), ("application/x-tar", "bzip2")) 25 eq(self.db.guess_type("foo.tar.xz"), ("application/x-tar", "xz")) 29 guess_type = self.db.guess_type 30 eq(guess_type("data:,thisIsTextPlain"), ("text/plain", None)) 31 eq(guess_type("data:;base64,thisIsTextPlain"), ("text/plain", None) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_mimetypes.py | 20 eq(self.db.guess_type("foo.html"), ("text/html", None))
21 eq(self.db.guess_type("foo.tgz"), ("application/x-tar", "gzip"))
22 eq(self.db.guess_type("foo.tar.gz"), ("application/x-tar", "gzip"))
23 eq(self.db.guess_type("foo.tar.Z"), ("application/x-tar", "compress"))
27 guess_type = self.db.guess_type
28 eq(guess_type("data:,thisIsTextPlain"), ("text/plain", None))
29 eq(guess_type("data:;base64,thisIsTextPlain"), ("text/plain", None))
30 eq(guess_type("data:text/x-foo,thisIsTextXFoo"), ("text/x-foo", None))
36 eq(self.db.guess_type("foo.pyunit"), [all...] |
/external/python/cpython2/Lib/test/ |
test_mimetypes.py | 22 eq(self.db.guess_type("foo.html"), ("text/html", None)) 23 eq(self.db.guess_type("foo.tgz"), ("application/x-tar", "gzip")) 24 eq(self.db.guess_type("foo.tar.gz"), ("application/x-tar", "gzip")) 25 eq(self.db.guess_type("foo.tar.Z"), ("application/x-tar", "compress")) 26 eq(self.db.guess_type("foo.tar.bz2"), ("application/x-tar", "bzip2")) 27 eq(self.db.guess_type("foo.tar.xz"), ("application/x-tar", "xz")) 31 guess_type = self.db.guess_type 32 eq(guess_type("data:,thisIsTextPlain"), ("text/plain", None)) 33 eq(guess_type("data:;base64,thisIsTextPlain"), ("text/plain", None) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
serve.py | 18 type = mimetypes.guess_type(fn)[0]
|
/external/python/cpython2/Tools/scripts/ |
serve.py | 18 type = mimetypes.guess_type(fn)[0]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
mimetypes.py | 5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL.
36 "guess_type","guess_extension","guess_all_extensions",
95 def guess_type(self, url, strict=True):
member in class:MimeTypes 163 but would be mapped to the MIME type `type' by guess_type().
183 guess_type(). If no extension can be guessed for `type', None
275 def guess_type(url, strict=True):
function 295 return _db.guess_type(url, strict)
305 guess_type(). If no extension can be guessed for `type', None
321 MIME type `type' by guess_type(). If no extension can be guessed for
589 guess, encoding = guess_type(gtype, strict) [all...] |
SimpleHTTPServer.py | 33 calling the .guess_type() method.
82 ctype = self.guess_type(path)
179 def guess_type(self, path):
member in class:SimpleHTTPRequestHandler
|
/external/python/cpython2/Lib/ |
mimetypes.py | 5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL. 36 "guess_type","guess_extension","guess_all_extensions", 95 def guess_type(self, url, strict=True): member in class:MimeTypes 163 but would be mapped to the MIME type `type' by guess_type(). 183 guess_type(). If no extension can be guessed for `type', None 274 def guess_type(url, strict=True): function 294 return _db.guess_type(url, strict) 304 guess_type(). If no extension can be guessed for `type', None 320 MIME type `type' by guess_type(). If no extension can be guessed for 596 guess, encoding = guess_type(gtype, strict [all...] |
SimpleHTTPServer.py | 34 calling the .guess_type() method. 89 ctype = self.guess_type(path) 194 def guess_type(self, path): member in class:SimpleHTTPRequestHandler
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
mimetypes.py | 5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL. 36 "guess_type","guess_extension","guess_all_extensions", 95 def guess_type(self, url, strict=True): member in class:MimeTypes 163 but would be mapped to the MIME type `type' by guess_type(). 183 guess_type(). If no extension can be guessed for `type', None 275 def guess_type(url, strict=True): function 295 return _db.guess_type(url, strict) 305 guess_type(). If no extension can be guessed for `type', None 321 MIME type `type' by guess_type(). If no extension can be guessed for 592 guess, encoding = guess_type(gtype, strict [all...] |
SimpleHTTPServer.py | 33 calling the .guess_type() method. 82 ctype = self.guess_type(path) 179 def guess_type(self, path): member in class:SimpleHTTPRequestHandler
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
mimetypes.py | 5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL. 36 "guess_type","guess_extension","guess_all_extensions", 95 def guess_type(self, url, strict=True): member in class:MimeTypes 163 but would be mapped to the MIME type `type' by guess_type(). 183 guess_type(). If no extension can be guessed for `type', None 275 def guess_type(url, strict=True): function 295 return _db.guess_type(url, strict) 305 guess_type(). If no extension can be guessed for `type', None 321 MIME type `type' by guess_type(). If no extension can be guessed for 592 guess, encoding = guess_type(gtype, strict [all...] |
SimpleHTTPServer.py | 33 calling the .guess_type() method. 82 ctype = self.guess_type(path) 179 def guess_type(self, path): member in class:SimpleHTTPRequestHandler
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
mimetypes.py | 5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL. 36 "guess_type","guess_extension","guess_all_extensions", 95 def guess_type(self, url, strict=True): member in class:MimeTypes 163 but would be mapped to the MIME type `type' by guess_type(). 183 guess_type(). If no extension can be guessed for `type', None 275 def guess_type(url, strict=True): function 295 return _db.guess_type(url, strict) 305 guess_type(). If no extension can be guessed for `type', None 321 MIME type `type' by guess_type(). If no extension can be guessed for 592 guess, encoding = guess_type(gtype, strict [all...] |
SimpleHTTPServer.py | 33 calling the .guess_type() method. 82 ctype = self.guess_type(path) 179 def guess_type(self, path): member in class:SimpleHTTPRequestHandler
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
mimetypes.py | 5 guess_type(url, strict=1) -- guess the MIME type and encoding of a URL. 36 "guess_type","guess_extension","guess_all_extensions", 95 def guess_type(self, url, strict=True): member in class:MimeTypes 163 but would be mapped to the MIME type `type' by guess_type(). 183 guess_type(). If no extension can be guessed for `type', None 275 def guess_type(url, strict=True): function 295 return _db.guess_type(url, strict) 305 guess_type(). If no extension can be guessed for `type', None 321 MIME type `type' by guess_type(). If no extension can be guessed for 592 guess, encoding = guess_type(gtype, strict [all...] |
SimpleHTTPServer.py | 33 calling the .guess_type() method. 82 ctype = self.guess_type(path) 179 def guess_type(self, path): member in class:SimpleHTTPRequestHandler
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
SimpleHTTPServer.py | 34 calling the .guess_type() method.
89 ctype = self.guess_type(path)
194 def guess_type(self, path):
member in class:SimpleHTTPRequestHandler
|
/external/python/cpython2/Doc/includes/ |
email-dir.py | 72 ctype, encoding = mimetypes.guess_type(path)
|
/external/clang/tools/scan-view/share/ |
Reporter.py | 87 ctype, encoding = mimetypes.guess_type(path)
|
/prebuilts/clang/host/darwin-x86/clang-2812033/tools/scan-view/share/ |
Reporter.py | 87 ctype, encoding = mimetypes.guess_type(path)
|
/prebuilts/clang/host/darwin-x86/clang-3289846/tools/scan-view/share/ |
Reporter.py | 87 ctype, encoding = mimetypes.guess_type(path)
|