Searched refs:types_map (Results 1 – 14 of 14) sorted by relevance
/external/python/cpython2/Lib/ |
D | mimetypes.py | 69 self.types_map = ({}, {}) # dict for (non-strict, strict) 71 for (ext, type) in types_map.items(): 90 self.types_map[strict][ext] = type 142 types_map = self.types_map[True] 143 if ext in types_map: 144 return types_map[ext], encoding 145 elif ext.lower() in types_map: 146 return types_map[ext.lower()], encoding 149 types_map = self.types_map[False] 150 if ext in types_map: [all …]
|
D | SimpleHTTPServer.py | 220 extensions_map = mimetypes.types_map.copy()
|
/external/python/cpython3/Lib/ |
D | mimetypes.py | 71 self.types_map = ({}, {}) # dict for (non-strict, strict) 92 self.types_map[strict][ext] = type 145 types_map = self.types_map[True] 146 if ext in types_map: 147 return types_map[ext], encoding 148 elif ext.lower() in types_map: 149 return types_map[ext.lower()], encoding 152 types_map = self.types_map[False] 153 if ext in types_map: 154 return types_map[ext], encoding [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_mimetypes.py | 175 types_map = mimetypes.types_map 181 self.assertIsNot(types_map, mimetypes.types_map) 185 self.assertEqual(types_map, mimetypes.types_map) 216 self.original_types_map = mimetypes.types_map.copy() 217 mimetypes.types_map.clear() 223 mimetypes.types_map.clear() 224 mimetypes.types_map.update(self.original_types_map)
|
/external/python/cpython2/Lib/test/ |
D | test_mimetypes.py | 74 self.original_types_map = mimetypes.types_map.copy() 75 mimetypes.types_map.clear() 79 mimetypes.types_map.clear() 80 mimetypes.types_map.update(self.original_types_map) 143 self.assertTrue(isinstance(mimetypes.types_map.values()[0], str))
|
/external/python/cpython2/Doc/library/ |
D | mimetypes.rst | 141 .. data:: types_map 162 >>> mimetypes.types_map['.tgz'] 204 .. attribute:: MimeTypes.types_map 209 :data:`types_map`. 217 :data:`common_types` and :data:`types_map`.
|
/external/python/cpython3/Doc/library/ |
D | mimetypes.rst | 150 .. data:: types_map 171 >>> mimetypes.types_map['.tgz'] 213 .. attribute:: MimeTypes.types_map 218 :data:`types_map`. 226 :data:`common_types` and :data:`types_map`.
|
/external/llvm-project/lldb/source/Core/ |
D | Module.cpp | 953 TypeMap types_map; in FindTypesInNamespace() local 956 types_map); in FindTypesInNamespace() 957 if (types_map.GetSize()) { in FindTypesInNamespace() 960 sc.SortTypeList(types_map, type_list); in FindTypesInNamespace()
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.12rc1.rst | 453 Add .svg to mimetypes.types_map. 462 Add .csv to mimetypes.types_map. Patch by Geoff Wilson. 471 Add .webm to mimetypes.types_map. Patch by Giampaolo Rodola'.
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.2rc1.rst | 816 Add .webm to mimetypes.types_map. Patch by Giampaolo Rodola'. 825 Add .csv to mimetypes.types_map. Patch by Geoff Wilson.
|
D | 3.6.0a1.rst | 1275 Add .webm to mimetypes.types_map. Patch by Giampaolo Rodola'. 1284 Add .csv to mimetypes.types_map. Patch by Geoff Wilson.
|
/external/libabigail/src/ |
D | abg-ir.cc | 11546 istring_type_base_wptrs_map_type& types_map, in maybe_update_types_lookup_map() argument 11559 istring_type_base_wptrs_map_type::iterator i = types_map.find(s); in maybe_update_types_lookup_map() 11562 if (i == types_map.end()) in maybe_update_types_lookup_map() 11564 types_map[s].push_back(type); in maybe_update_types_lookup_map() 11649 istring_type_base_wptrs_map_type& types_map, in maybe_update_types_lookup_map() argument 11654 istring_type_base_wptrs_map_type::iterator i = types_map.find(s); in maybe_update_types_lookup_map() 11655 if (i == types_map.end()) in maybe_update_types_lookup_map() 11657 types_map[s].push_back(type); in maybe_update_types_lookup_map()
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.6.rst | 749 >>> 'Content-type: {0[.mp4]}'.format(mimetypes.types_map)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.6.rst | 753 >>> 'Content-type: {0[.mp4]}'.format(mimetypes.types_map)
|