Home
last modified time | relevance | path

Searched refs:mime_types (Results 1 – 9 of 9) sorted by relevance

/external/bluetooth/glib/gio/xdgmime/
Dxdgmimecache.c269 const char *mime_types[], in cache_magic_lookup_data() argument
302 if (mime_types[n] && in cache_magic_lookup_data()
303 _xdg_mime_mime_type_equal (mime_types[n], non_match)) in cache_magic_lookup_data()
304 mime_types[n] = NULL; in cache_magic_lookup_data()
357 const char *mime_types[], in cache_glob_lookup_literal() argument
387 mime_types[0] = (const char *)(cache->buffer + offset); in cache_glob_lookup_literal()
399 MimeWeight mime_types[], in cache_glob_lookup_fnmatch() argument
426 mime_types[n].mime = mime_type; in cache_glob_lookup_fnmatch()
427 mime_types[n].weight = weight; in cache_glob_lookup_fnmatch()
446 MimeWeight mime_types[], in cache_glob_node_lookup_suffix() argument
[all …]
Dxdgmimeglob.c304 MimeWeight mime_types[], in _xdg_glob_hash_node_lookup_file_name() argument
330 mime_types, in _xdg_glob_hash_node_lookup_file_name()
337 mime_types[n].mime = node->mime_type; in _xdg_glob_hash_node_lookup_file_name()
338 mime_types[n].weight = node->weight; in _xdg_glob_hash_node_lookup_file_name()
346 mime_types[n].mime = node->mime_type; in _xdg_glob_hash_node_lookup_file_name()
347 mime_types[n].weight = node->weight; in _xdg_glob_hash_node_lookup_file_name()
371 const char *mime_types[], in _xdg_glob_hash_lookup_file_name() argument
391 mime_types[0] = list->mime_type; in _xdg_glob_hash_lookup_file_name()
422 mime_types[i] = mimes[i].mime; in _xdg_glob_hash_lookup_file_name()
Dxdgmime.c491 const char *mime_types[5]; in xdg_mime_get_mime_type_for_file() local
511 n = _xdg_glob_hash_lookup_file_name (global_hash, base_name, mime_types, 5); in xdg_mime_get_mime_type_for_file()
514 return mime_types[0]; in xdg_mime_get_mime_type_for_file()
551 mime_types, n); in xdg_mime_get_mime_type_for_file()
580 const char *mime_types[], in xdg_mime_get_mime_types_from_file_name() argument
586 return _xdg_mime_cache_get_mime_types_from_file_name (file_name, mime_types, n_mime_types); in xdg_mime_get_mime_types_from_file_name()
588 return _xdg_glob_hash_lookup_file_name (global_hash, file_name, mime_types, n_mime_types); in xdg_mime_get_mime_types_from_file_name()
Dxdgmimemagic.c660 const char *mime_types[], in _xdg_mime_magic_lookup_data() argument
682 if (mime_types[n] && in _xdg_mime_magic_lookup_data()
683 _xdg_mime_mime_type_equal (mime_types[n], match->mime_type)) in _xdg_mime_magic_lookup_data()
684 mime_types[n] = NULL; in _xdg_mime_magic_lookup_data()
693 if (mime_types[n]) in _xdg_mime_magic_lookup_data()
694 mime_type = mime_types[n]; in _xdg_mime_magic_lookup_data()
Dxdgmimemagic.h54 const char *mime_types[],
Dxdgmimeglob.h59 const char *mime_types[],
Dxdgmimecache.h64 const char *mime_types[],
Dxdgmime.h89 const char *mime_types[],
/external/bluetooth/glib/gio/
Dgdesktopappinfo.c2169 gchar *filename, **mime_types; in mime_info_cache_dir_init() local
2174 mime_types = NULL; in mime_info_cache_dir_init()
2208 mime_types = g_key_file_get_keys (key_file, MIME_CACHE_GROUP, in mime_info_cache_dir_init()
2214 for (i = 0; mime_types[i] != NULL; i++) in mime_info_cache_dir_init()
2220 mime_types[i], in mime_info_cache_dir_init()
2227 unaliased_type = _g_unix_content_type_unalias (mime_types[i]); in mime_info_cache_dir_init()
2236 g_strfreev (mime_types); in mime_info_cache_dir_init()
2244 if (mime_types != NULL) in mime_info_cache_dir_init()
2245 g_strfreev (mime_types); in mime_info_cache_dir_init()
2256 gchar *filename, **mime_types; in mime_info_cache_dir_init_defaults_list() local
[all …]