Lines Matching defs:breadth
43 int breadth = 4;
89 breadth = atoi(optarg);
90 if (breadth <= 0)
142 * Caculate the number of child nodes for a given breadth and depth tree.
228 printf("expecting %d nodes\n", num_nodes(breadth, cdepth));
238 if (node_count == num_nodes(breadth, cdepth)) {
381 * Create breadth children.
383 for (child = 0; child < breadth; child++) {
415 for (child = 0; child < breadth; child++) {
451 if (breadth > 1) {
453 for (child = 0; child < breadth; child++) {
469 talk_count == (breadth - 1)) {
502 * Wait until the breadth - 1 siblings have contacted us.
511 if (info_p->talk_count < (breadth - 1)) {
573 total = num_nodes(breadth, depth);
592 if ((child_info[ind].threads = malloc(breadth * sizeof(pthread_t)))
598 breadth * sizeof(pthread_t));
600 if ((child_info[ind].child_ptrs = malloc(breadth * sizeof(c_info *))) == NULL) {
605 breadth * sizeof(c_info *));