Home
last modified time | relevance | path

Searched refs:max_extent (Results 1 – 6 of 6) sorted by relevance

/external/bluetooth/glib/gio/xdgmime/
Dxdgmimemagic.c90 int max_extent; member
652 return mime_magic->max_extent; in _xdg_mime_magic_get_buffer_extents()
708 int max_extent = 0; in _xdg_mime_update_mime_magic_extents() local
719 if (max_extent < extent) in _xdg_mime_update_mime_magic_extents()
720 max_extent = extent; in _xdg_mime_update_mime_magic_extents()
724 mime_magic->max_extent = max_extent; in _xdg_mime_update_mime_magic_extents()
Dxdgmimecache.c595 xdg_uint32_t max_extent; in _xdg_mime_cache_get_max_buffer_extents() local
598 max_extent = 0; in _xdg_mime_cache_get_max_buffer_extents()
604 max_extent = MAX (max_extent, GET_UINT32 (cache->buffer, offset + 4)); in _xdg_mime_cache_get_max_buffer_extents()
607 return max_extent; in _xdg_mime_cache_get_max_buffer_extents()
670 int max_extent; in _xdg_mime_cache_get_mime_type_for_file() local
702 max_extent = _xdg_mime_cache_get_max_buffer_extents (); in _xdg_mime_cache_get_mime_type_for_file()
703 data = malloc (max_extent); in _xdg_mime_cache_get_mime_type_for_file()
714 bytes_read = fread (data, 1, max_extent, file); in _xdg_mime_cache_get_mime_type_for_file()
Dxdgmime.c494 int max_extent; in xdg_mime_get_mime_type_for_file() local
530 max_extent = _xdg_mime_magic_get_buffer_extents (global_magic); in xdg_mime_get_mime_type_for_file()
531 data = malloc (max_extent); in xdg_mime_get_mime_type_for_file()
542 bytes_read = fread (data, 1, max_extent, file); in xdg_mime_get_mime_type_for_file()
/external/chromium/base/third_party/xdg_mime/
Dxdgmimemagic.c90 int max_extent; member
652 return mime_magic->max_extent; in _xdg_mime_magic_get_buffer_extents()
708 int max_extent = 0; in _xdg_mime_update_mime_magic_extents() local
719 if (max_extent < extent) in _xdg_mime_update_mime_magic_extents()
720 max_extent = extent; in _xdg_mime_update_mime_magic_extents()
724 mime_magic->max_extent = max_extent; in _xdg_mime_update_mime_magic_extents()
Dxdgmimecache.c597 xdg_uint32_t max_extent; in _xdg_mime_cache_get_max_buffer_extents() local
600 max_extent = 0; in _xdg_mime_cache_get_max_buffer_extents()
606 max_extent = MAX (max_extent, GET_UINT32 (cache->buffer, offset + 4)); in _xdg_mime_cache_get_max_buffer_extents()
609 return max_extent; in _xdg_mime_cache_get_max_buffer_extents()
672 int max_extent; in _xdg_mime_cache_get_mime_type_for_file() local
704 max_extent = _xdg_mime_cache_get_max_buffer_extents (); in _xdg_mime_cache_get_mime_type_for_file()
705 data = malloc (max_extent); in _xdg_mime_cache_get_mime_type_for_file()
716 bytes_read = fread (data, 1, max_extent, file); in _xdg_mime_cache_get_mime_type_for_file()
Dxdgmime.c494 int max_extent; in xdg_mime_get_mime_type_for_file() local
530 max_extent = _xdg_mime_magic_get_buffer_extents (global_magic); in xdg_mime_get_mime_type_for_file()
531 data = malloc (max_extent); in xdg_mime_get_mime_type_for_file()
542 bytes_read = fread (data, 1, max_extent, file); in xdg_mime_get_mime_type_for_file()