Home
last modified time | relevance | path

Searched refs:umime (Results 1 – 3 of 3) sorted by relevance

/third_party/glib/gio/xdgmime/
Dxdgmime.c841 const char *umime, *ubase; in _xdg_mime_mime_type_subclass() local
847 umime = _xdg_mime_unalias_mime_type (mime); in _xdg_mime_mime_type_subclass()
850 if (strcmp (umime, ubase) == 0) in _xdg_mime_mime_type_subclass()
856 xdg_mime_media_type_equal (umime, ubase)) in _xdg_mime_mime_type_subclass()
862 strncmp (umime, "text/", 5) == 0) in _xdg_mime_mime_type_subclass()
866 strncmp (umime, "inode/", 6) != 0) in _xdg_mime_mime_type_subclass()
869 parents = _xdg_mime_parent_list_lookup (parent_list, umime); in _xdg_mime_mime_type_subclass()
891 const char *umime; in xdg_mime_list_mime_parents() local
901 umime = _xdg_mime_unalias_mime_type (mime); in xdg_mime_list_mime_parents()
903 parents = _xdg_mime_parent_list_lookup (parent_list, umime); in xdg_mime_list_mime_parents()
[all …]
Dxdgmimecache.c906 const char *umime, *ubase; in _xdg_mime_cache_mime_type_subclass() local
910 umime = _xdg_mime_cache_unalias_mime_type (mime); in _xdg_mime_cache_mime_type_subclass()
913 if (strcmp (umime, ubase) == 0) in _xdg_mime_cache_mime_type_subclass()
922 xdg_mime_media_type_equal (umime, ubase)) in _xdg_mime_cache_mime_type_subclass()
928 strncmp (umime, "text/", 5) == 0) in _xdg_mime_cache_mime_type_subclass()
932 strncmp (umime, "inode/", 6) != 0) in _xdg_mime_cache_mime_type_subclass()
955 cmp = strcmp (cache->buffer + offset, umime); in _xdg_mime_cache_mime_type_subclass()
969 strcmp (cache->buffer + parent_offset, umime) != 0 && in _xdg_mime_cache_mime_type_subclass()
/third_party/glib/gio/
Dgcontenttype.c90 const gchar *umime; in _g_unix_content_type_get_parents() local
99 umime = xdg_mime_unalias_mime_type (type); in _g_unix_content_type_get_parents()
101 g_ptr_array_add (array, g_strdup (umime)); in _g_unix_content_type_get_parents()
103 parents = xdg_mime_list_mime_parents (umime); in _g_unix_content_type_get_parents()
701 char *umime; in g_content_type_from_mime_type() local
707 umime = g_strdup (xdg_mime_unalias_mime_type (mime_type)); in g_content_type_from_mime_type()
710 return umime; in g_content_type_from_mime_type()