Home
last modified time | relevance | path

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

/third_party/glib/gio/xdgmime/
Dxdgmimeparent.c50 int n_parents; member
110 key.n_parents = 0; in _xdg_mime_parent_list_lookup()
176 entry->n_parents = 1; in _xdg_mime_parent_read_from_file()
177 entry->parents = malloc ((entry->n_parents + 1) * sizeof (char *)); in _xdg_mime_parent_read_from_file()
181 entry->n_parents += 1; in _xdg_mime_parent_read_from_file()
183 (entry->n_parents + 2) * sizeof (char *)); in _xdg_mime_parent_read_from_file()
185 entry->parents[entry->n_parents - 1] = strdup (sep); in _xdg_mime_parent_read_from_file()
186 entry->parents[entry->n_parents] = NULL; in _xdg_mime_parent_read_from_file()
Dxdgmimecache.c940 xdg_uint32_t offset, n_parents, parent_offset; in _xdg_mime_cache_mime_type_subclass() local
963 n_parents = GET_UINT32 (cache->buffer, offset); in _xdg_mime_cache_mime_type_subclass()
965 for (j = 0; j < n_parents; j++) in _xdg_mime_cache_mime_type_subclass()
1025 xdg_uint32_t n_parents = GET_UINT32 (cache->buffer, parents_offset); in _xdg_mime_cache_list_mime_parents() local
1027 for (k = 0; k < n_parents && p < 127; k++) in _xdg_mime_cache_list_mime_parents()
/third_party/gstreamer/gstreamer/gst/
Dgstminiobject.c126 guint n_parents, n_parents_len; member
392 if (priv_data->n_parents == 1) in gst_mini_object_is_writable()
394 else if (priv_data->n_parents == 0) in gst_mini_object_is_writable()
562 priv_data->n_parents = 1; in ensure_priv_data()
632 if (priv_data->n_parents) in free_priv_data()
634 G_STRFUNC, priv_data->n_parents, obj); in free_priv_data()
1041 if (priv_data->n_parents >= priv_data->n_parents_len) { in gst_mini_object_add_parent()
1050 priv_data->parents[priv_data->n_parents] = parent; in gst_mini_object_add_parent()
1051 priv_data->n_parents++; in gst_mini_object_add_parent()
1096 for (i = 0; i < priv_data->n_parents; i++) in gst_mini_object_remove_parent()
[all …]