Lines Matching full:data
84 * @data: the data for the new element
117 gpointer data)
123 new_list->data = data;
145 * @data: the data for the new element
165 gpointer data)
170 new_list->data = data;
189 * @data: the data for the new element
200 gpointer data,
207 return g_list_append (list, data);
209 return g_list_prepend (list, data);
213 return g_list_append (list, data);
216 new_list->data = data;
234 * @data: the data for the new element
243 gpointer data)
248 list->data = data;
257 node->data = data;
281 last->next->data = data;
321 * @data: the data of the element to remove
324 * If two elements contain the same data, only the first is removed.
325 * If none of the elements contain the data, the #GList is unchanged.
331 gconstpointer data)
338 if (tmp->data != data)
361 * @data: data to remove
363 * Removes all list nodes with data equal to @data.
366 * matching the given data.
372 gconstpointer data)
378 if (tmp->data != data)
466 * consist of pointers to data, the pointers are copied but
467 * the actual data is not.
482 new_list->data = list->data;
491 last->data = list->data;
571 * Gets the data of the element at the given position.
573 * Returns: the element's data, or %NULL if the position
583 return list ? list->data : NULL;
589 * @data: the element data to find
592 * contains the given data.
599 gconstpointer data)
603 if (list->data == data)
614 * @data: user data passed to the function
622 * the #GList element's data as the first argument and the
623 * given user data.
629 gconstpointer data,
636 if (! func (list->data, data))
677 * @data: the data to find
680 * the given data (starting from 0).
682 * Returns: the index of the element containing the data,
683 * or -1 if the data is not found
687 gconstpointer data)
694 if (list->data == data)
776 * @func: the function to call with each element's data
777 * @user_data: user data to pass to the function
789 (*func) (list->data, user_data);
796 gpointer data,
809 new_list->data = data;
813 cmp = ((GCompareDataFunc) func) (data, tmp_list->data, user_data);
819 data, tmp_list->data, user_data);
823 new_list->data = data;
849 * @data: the data for the new element
861 gpointer data,
864 return g_list_insert_sorted_real (list, data, (GFunc) func, NULL);
870 * @data: the data for the new element
874 * @user_data: user data to pass to comparison function.
885 gpointer data,
889 return g_list_insert_sorted_real (list, data, (GFunc) func, user_data);
906 cmp = ((GCompareDataFunc) compare_func) (l1->data, l2->data, user_data);
962 * This function is passed the data from 2 elements of the #GList
983 * @user_data: user data to pass to comparison function
986 * a user data argument.