Home
last modified time | relevance | path

Searched refs:coll_flags (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/sort/
H A Dinternal.c50 ssize_t depth, flag_t coll_flags) in offset_is_algorithm() argument
60 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()
89 flag_t coll_flags) in tqs_algorithm() argument
98 coll_flags |= COLL_DATA_ONLY; in tqs_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()
[all …]
H A Dmerge.c127 stream_t *outstrp, vchar_t field_separator, flag_t coll_flags) in merge_two_streams() argument
173 coll_flags) < 0) { in merge_two_streams()
222 heap_up(stream_t **A, int k, flag_t coll_flags) in heap_up() argument
226 coll_flags) > 0) { in heap_up()
233 heap_down(stream_t **A, int k, int N, flag_t coll_flags) in heap_down() argument
240 &A[j + 1]->s_current, 0, coll_flags) > 0) in heap_down()
243 coll_flags) <= 0) in heap_down()
266 pqueue_insert(stream_t *source, flag_t coll_flags) in pqueue_insert() argument
269 heap_up(pq_queue, pq_N, coll_flags); in pqueue_insert()
273 pqueue_head(flag_t coll_flags) in pqueue_head() argument
[all …]
H A Dconvert.c42 flag_t coll_flags; in convert() local
48 coll_flags = COLL_REVERSE; in convert()
50 coll_flags = 0; in convert()
53 coll_flags |= COLL_UNIQUE; in convert()
H A Dcheck.c111 flag_t coll_flags; in check_if_sorted() local
157 coll_flags = COLL_REVERSE; in check_if_sorted()
159 coll_flags = 0; in check_if_sorted()
161 coll_flags |= COLL_UNIQUE; in check_if_sorted()
190 coll_flags); in check_if_sorted()