forest 616 gc/cord/cordbscs.c void CORD_init_forest(ForestElement * forest, size_t max_len) forest 621 gc/cord/cordbscs.c forest[i].c = 0; forest 632 gc/cord/cordbscs.c void CORD_add_forest(ForestElement * forest, CORD x, size_t len) forest 639 gc/cord/cordbscs.c if (forest[i].c != 0) { forest 640 gc/cord/cordbscs.c sum = CORD_cat(forest[i].c, sum); forest 641 gc/cord/cordbscs.c sum_len += forest[i].len; forest 642 gc/cord/cordbscs.c forest[i].c = 0; forest 654 gc/cord/cordbscs.c if (forest[i].c != 0) { forest 655 gc/cord/cordbscs.c sum = CORD_cat(forest[i].c, sum); forest 656 gc/cord/cordbscs.c sum_len += forest[i].len; forest 659 gc/cord/cordbscs.c forest[i].c = 0; forest 664 gc/cord/cordbscs.c forest[i].c = sum; forest 665 gc/cord/cordbscs.c forest[i].len = sum_len; forest 668 gc/cord/cordbscs.c CORD CORD_concat_forest(ForestElement * forest, size_t expected_len) forest 675 gc/cord/cordbscs.c if (forest[i].c != 0) { forest 676 gc/cord/cordbscs.c sum = CORD_cat(forest[i].c, sum); forest 677 gc/cord/cordbscs.c sum_len += forest[i].len; forest 687 gc/cord/cordbscs.c void CORD_balance_insert(CORD x, size_t len, ForestElement * forest) forest 692 gc/cord/cordbscs.c CORD_add_forest(forest, x, len); forest 700 gc/cord/cordbscs.c CORD_balance_insert(conc -> left, left_len, forest); forest 701 gc/cord/cordbscs.c CORD_balance_insert(conc -> right, len - left_len, forest); forest 703 gc/cord/cordbscs.c CORD_add_forest(forest, x, len); forest 710 gc/cord/cordbscs.c Forest forest; forest 717 gc/cord/cordbscs.c CORD_init_forest(forest, len); forest 718 gc/cord/cordbscs.c CORD_balance_insert(x, len, forest); forest 719 gc/cord/cordbscs.c return(CORD_concat_forest(forest, len));