Lines Matching refs:PRIVATE
25 #define PRIVATE(a_obj) (a_obj)->priv
52 PRIVATE (result) = g_try_malloc (sizeof (CRPropListPriv));
53 if (!PRIVATE (result)) {
58 memset (PRIVATE (result), 0, sizeof (CRPropListPriv));
88 cur && PRIVATE (cur) && PRIVATE (cur)->next;
89 cur = PRIVATE (cur)->next) ;
91 PRIVATE (cur)->next = a_to_append;
92 PRIVATE (a_to_append)->prev = cur;
118 g_return_val_if_fail (list && PRIVATE (list), NULL);
120 PRIVATE (list)->prop = a_prop;
121 PRIVATE (list)->decl = a_decl;
145 for (cur = a_to_prepend; cur && PRIVATE (cur)->next;
146 cur = PRIVATE (cur)->next) ;
148 PRIVATE (cur)->next = a_this;
149 PRIVATE (a_this)->prev = cur;
170 g_return_val_if_fail (a_this && PRIVATE (a_this)
175 PRIVATE (list)->prop = a_prop_name;
176 PRIVATE (list)->decl = a_decl;
191 g_return_val_if_fail (a_this && PRIVATE (a_this)
194 PRIVATE (a_this)->prop = a_prop;
212 g_return_val_if_fail (a_this && PRIVATE (a_this)
215 *a_prop = PRIVATE (a_this)->prop;
229 g_return_val_if_fail (a_this && PRIVATE (a_this)
232 PRIVATE (a_this)->decl = a_decl;
246 g_return_val_if_fail (a_this && PRIVATE (a_this)
249 *a_decl = PRIVATE (a_this)->decl;
277 g_return_val_if_fail (PRIVATE (a_this), CR_BAD_PARAM_ERROR);
279 for (cur = a_this; cur; cur = PRIVATE (cur)->next) {
280 if (PRIVATE (cur)->prop
281 && PRIVATE (cur)->prop->stryng
282 && PRIVATE (cur)->prop->stryng->str
285 && !strcmp (PRIVATE (cur)->prop->stryng->str,
310 g_return_val_if_fail (a_this && PRIVATE (a_this), NULL);
312 return PRIVATE (a_this)->next;
327 g_return_val_if_fail (a_this && PRIVATE (a_this), NULL);
329 return PRIVATE (a_this)->prev;
347 g_return_val_if_fail (a_this && PRIVATE (a_this) && a_pair, NULL);
350 if (PRIVATE (a_pair)->next) {
351 next = PRIVATE (a_pair)->next;
352 g_return_val_if_fail (PRIVATE (next), NULL);
353 g_return_val_if_fail (PRIVATE (next)->prev == a_pair, NULL);
355 if (PRIVATE (a_pair)->prev) {
356 prev = PRIVATE (a_pair)->prev;
357 g_return_val_if_fail (PRIVATE (prev), NULL);
358 g_return_val_if_fail (PRIVATE (prev)->next == a_pair, NULL);
361 PRIVATE (prev)->next = next;
364 PRIVATE (next)->prev = prev;
366 PRIVATE (a_pair)->prev = PRIVATE (a_pair)->next = NULL;
385 g_return_if_fail (a_this && PRIVATE (a_this));
388 tail && PRIVATE (tail) && PRIVATE (tail)->next;
395 tail = PRIVATE (cur)->prev;
396 if (tail && PRIVATE (tail))
397 PRIVATE (tail)->next = NULL;
398 PRIVATE (cur)->prev = NULL;
399 g_free (PRIVATE (cur));
400 PRIVATE (cur) = NULL;