Lines Matching defs:new
282 * Creates a new file attribute.
827 * Creates a new file attribute info list.
857 GFileAttributeInfoListPriv *new;
862 new = g_new0 (GFileAttributeInfoListPriv, 1);
863 new->ref_count = 1;
864 new->array = g_array_new (TRUE, FALSE, sizeof (GFileAttributeInfo));
866 g_array_set_size (new->array, list->n_infos);
867 list_update_public (new);
870 new->public.infos[i].name = g_strdup (list->infos[i].name);
871 new->public.infos[i].type = list->infos[i].type;
872 new->public.infos[i].flags = list->infos[i].flags;
875 return (GFileAttributeInfoList *)new;
980 * Adds a new attribute with @name to the @list, setting