Lines Matching refs:child_count
270 unsigned int child_count, num_rep;
313 child_count = 0;
315 child_count += qt_reply[i]->children_len;
317 if (!child_count) {
323 cs = malloc(sizeof(*cs) + child_count * (sizeof(*cs->prop_cookie) + sizeof(*cs->tree_cookie) + sizeof(*cs->win)));
332 cs->tree_cookie = (void *)&cs->prop_cookie[child_count];
333 cs->win = (void *)&cs->tree_cookie[child_count];
334 cs->list_length = child_count;
336 child_count = 0;
340 cs->win[child_count] = child[j];
341 cs->prop_cookie[child_count] = xcb_get_property(c, 0, child[j],
345 cs->tree_cookie[child_count++] = xcb_query_tree(c, child[j]);