/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
test_results_uploader.py | 33 import mimetypes namespace 40 return mimetypes.guess_type(filename)[0] or 'application/octet-stream'
|
/external/webkit/Tools/TestResultServer/handlers/ |
dashboardhandler.py | 30 import mimetypes namespace 43 return mimetypes.guess_type(filename)[0] or "application/octet-stream"
|
/external/clang/tools/scan-view/ |
Reporter.py | 26 import email, mimetypes, smtplib namespace 87 ctype, encoding = mimetypes.guess_type(path)
|
/external/bluetooth/glib/gio/ |
gcontenttype.c | 998 GHashTable *mimetypes) 1012 g_hash_table_replace (mimetypes, mimetype, NULL); 1021 GHashTable *mimetypes) 1039 enumerate_mimetypes_subdir (name, ent->d_name, mimetypes); 1061 GHashTable *mimetypes; local 1067 mimetypes = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); 1069 enumerate_mimetypes_dir (g_get_user_data_dir (), mimetypes); local 1073 enumerate_mimetypes_dir (dirs[i], mimetypes); 1076 g_hash_table_iter_init (&iter, mimetypes); 1083 g_hash_table_destroy (mimetypes); [all...] |
/external/webkit/Tools/Scripts/webkitpy/tool/commands/ |
rebaselineserver.py | 37 import mimetypes namespace 205 mime_type, encoding = mimetypes.guess_type(file_path)
|
/development/scripts/app_engine_server/ |
memcache_zipserve.py | 33 import mimetypes namespace 480 content_type, encoding = mimetypes.guess_type(name)
|
/external/webkit/Tools/Scripts/webkitpy/common/net/bugzilla/ |
bugzilla.py | 33 import mimetypes namespace 463 mimetypes.add_type('text/plain', '.patch') # Make sure mimetypes knows about .patch 464 mimetype, _ = mimetypes.guess_type(filename) [all...] |
/external/chromium/testing/gmock/scripts/ |
upload.py | 38 import mimetypes namespace 535 return mimetypes.guess_type(filename)[0] or 'application/octet-stream' 715 mimetype = mimetypes.guess_type(filename)[0] [all...] |
/external/chromium/testing/gtest/scripts/ |
upload.py | 38 import mimetypes namespace 535 return mimetypes.guess_type(filename)[0] or 'application/octet-stream' 715 mimetype = mimetypes.guess_type(filename)[0] [all...] |
/external/regex-re2/lib/codereview/ |
codereview.py | 2469 import mimetypes namespace [all...] |