Home
last modified time | relevance | path

Searched refs:collate_fcn (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/sort/
H A Dinternal.c60 if (collate_fcn(X[0], X[i], depth, coll_flags) > 0) { in offset_is_algorithm()
62 ASSERT(collate_fcn(X[0], X[i], depth, coll_flags) <= 0); in offset_is_algorithm()
72 while (collate_fcn(t, X[j - 1], depth, coll_flags) < 0) { in offset_is_algorithm()
109 offset_is_algorithm(X, n, collate_fcn, 0, coll_flags); in tqs_algorithm()
124 (p = collate_fcn(X[l], X[0], 0, coll_flags)) <= 0) { in tqs_algorithm()
131 (p = collate_fcn(X[r], X[0], 0, coll_flags)) >= 0) { in tqs_algorithm()
158 tqs_algorithm(&X[n - q], q, collate_fcn, coll_flags); in tqs_algorithm()
162 tqs_algorithm(X, p, collate_fcn, coll_flags); in tqs_algorithm()
206 offset_is_algorithm(X, n, collate_fcn, depth, coll_flags); in rqs_algorithm()
266 rqs_algorithm(&X[n - p], p, depth, collate_fcn, coll_flags); in rqs_algorithm()
[all …]
H A Dmerge.c129 int (*collate_fcn)(line_rec_t *, line_rec_t *, ssize_t, flag_t); in merge_two_streams() local
136 collate_fcn = collated; in merge_two_streams()
138 collate_fcn = collated_wide; in merge_two_streams()
172 if (collate_fcn(&str_a->s_current, &str_b->s_current, 0, in merge_two_streams()