Searched refs:collate_fcn (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/cmd/sort/common/ |
H A D | internal.c | 51 int (*collate_fcn)(line_rec_t *, line_rec_t *, ssize_t, flag_t), in offset_is_algorithm() 62 if (collate_fcn(X[0], X[i], depth, coll_flags) > 0) { in offset_is_algorithm() 64 ASSERT(collate_fcn(X[0], X[i], depth, coll_flags) <= 0); in offset_is_algorithm() 74 while (collate_fcn(t, X[j - 1], depth, coll_flags) < 0) { in offset_is_algorithm() 90 int (*collate_fcn)(line_rec_t *, line_rec_t *, ssize_t, flag_t), in tqs_algorithm() 111 offset_is_algorithm(X, n, collate_fcn, 0, coll_flags); in tqs_algorithm() 126 (p = collate_fcn(X[l], X[0], 0, coll_flags)) <= 0) { in tqs_algorithm() 133 (p = collate_fcn(X[r], X[0], 0, coll_flags)) >= 0) { in tqs_algorithm() 160 tqs_algorithm(&X[n - q], q, collate_fcn, coll_flags); in tqs_algorithm() 164 tqs_algorithm(X, p, collate_fcn, coll_flags); in tqs_algorithm() [all …]
|
H A D | merge.c | 131 int (*collate_fcn)(line_rec_t *, line_rec_t *, ssize_t, flag_t); in merge_two_streams() local 138 collate_fcn = collated; in merge_two_streams() 140 collate_fcn = collated_wide; in merge_two_streams() 174 if (collate_fcn(&str_a->s_current, &str_b->s_current, 0, in merge_two_streams()
|