Lines Matching refs:children
43 CFTreeRef _child; /* All children get a retain from the parent */
100 CFStringAppendFormat(result, NULL, CFSTR("<CFTree %p [%p]>{children = %lu, context = %@}"), cf, allocator, (unsigned long)CFTreeGetChildCount(tree), contextDesc);
308 void CFTreeGetChildren(CFTreeRef tree, CFTreeRef *children) {
312 *children++ = tree;
434 CFIndex children;
437 children = CFTreeGetChildCount(tree);
438 if (1 < children) {
444 list = (children < 128) ? buffer : (CFTreeRef *)CFAllocatorAllocate(kCFAllocatorSystemDefault, children * sizeof(CFTreeRef), 0); // XXX_PCB GC OK
454 CFQSortArray(list, children, sizeof(CFTreeRef), (CFComparatorFunction)__CFTreeCompareValues, &ctx);
457 for (idx = 1; idx < children; idx++) {
461 tree->_rightmostChild = list[children - 1];