Home
last modified time | relevance | path

Searched refs:global_hash (Results 1 – 2 of 2) sorted by relevance

/external/bluetooth/glib/gio/xdgmime/
Dxdgmime.c54 static XdgGlobHash *global_hash = NULL; variable
168 _xdg_mime_glob_read_from_file (global_hash, file_name); in xdg_mime_init_from_directory()
178 _xdg_mime_glob_read_from_file (global_hash, file_name); in xdg_mime_init_from_directory()
449 global_hash = _xdg_glob_hash_new (); in xdg_mime_init()
511 n = _xdg_glob_hash_lookup_file_name (global_hash, base_name, mime_types, 5); in xdg_mime_get_mime_type_for_file()
572 if (_xdg_glob_hash_lookup_file_name (global_hash, file_name, &mime_type, 1)) in xdg_mime_get_mime_type_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()
611 if (global_hash) in xdg_mime_shutdown()
613 _xdg_glob_hash_free (global_hash); in xdg_mime_shutdown()
614 global_hash = NULL; in xdg_mime_shutdown()
[all …]
/external/chromium/base/third_party/xdg_mime/
Dxdgmime.c54 static XdgGlobHash *global_hash = NULL; variable
168 _xdg_mime_glob_read_from_file (global_hash, file_name); in xdg_mime_init_from_directory()
178 _xdg_mime_glob_read_from_file (global_hash, file_name); in xdg_mime_init_from_directory()
449 global_hash = _xdg_glob_hash_new (); in xdg_mime_init()
511 n = _xdg_glob_hash_lookup_file_name (global_hash, base_name, mime_types, 5); in xdg_mime_get_mime_type_for_file()
572 if (_xdg_glob_hash_lookup_file_name (global_hash, file_name, &mime_type, 1)) in xdg_mime_get_mime_type_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()
611 if (global_hash) in xdg_mime_shutdown()
613 _xdg_glob_hash_free (global_hash); in xdg_mime_shutdown()
614 global_hash = NULL; in xdg_mime_shutdown()
[all …]