Lines Matching refs:GET_CHILD_COUNT
64 #define GET_CHILD_COUNT(p) (short)((int)(p)->used / sizeof(cfg_node))
314 for(si = 0; si < GET_CHILD_COUNT(&root); si++)
319 for(ki = 0; ki < GET_CHILD_COUNT(section_node); ki++)
324 for(vi = 0; vi < GET_CHILD_COUNT(key_node); vi++)
449 int count = GET_CHILD_COUNT(p);
466 int count = GET_CHILD_COUNT(p);
560 bdla(0 <= start && start < GET_CHILD_COUNT(p));
561 bdld("in, start:%d, child count:%d, max count:%d", start, GET_CHILD_COUNT(p), GET_CHILD_MAX_COUNT(p));
564 if(0 <= start && start < GET_CHILD_COUNT(p))
567 for(i = start; i < GET_CHILD_COUNT(p); i++)
576 if(i + 1 < GET_CHILD_COUNT(p))
592 int child_count = GET_CHILD_COUNT(p);
619 int count = GET_CHILD_COUNT(key_node);
655 int child_count = GET_CHILD_COUNT(p);
683 int child_count = GET_CHILD_COUNT(key);
704 int child_count = GET_CHILD_COUNT(s);
716 free_child(&s->child[i], 0, GET_CHILD_COUNT(&s->child[i]));