| /freebsd-13-stable/contrib/libdivsufsort/lib/ |
| HD | trsort.c | 79 tr_insertionsort(const saidx_t *ISAd, saidx_t *first, saidx_t *last) { in tr_insertionsort() argument 83 for(a = first + 1; a < last; ++a) { in tr_insertionsort() 167 tr_pivot(const saidx_t *ISAd, saidx_t *first, saidx_t *last) { in tr_pivot() argument 171 t = last - first; in tr_pivot() 176 return tr_median3(ISAd, first, middle, last - 1); in tr_pivot() 179 return tr_median5(ISAd, first, first + t, middle, last - 1 - t, last - 1); in tr_pivot() 185 last = tr_median3(ISAd, last - 1 - (t << 1), last - 1 - t, last - 1); in tr_pivot() 186 return tr_median3(ISAd, first, middle, last); in tr_pivot() 223 saidx_t *first, saidx_t *middle, saidx_t *last, in tr_partition() argument 229 for(b = middle - 1; (++b < last) && ((x = ISAd[*b]) == v);) { } in tr_partition() [all …]
|
| HD | sssort.c | 168 saidx_t *first, saidx_t *last, saidx_t depth) { in ss_insertionsort() argument 173 for(i = last - 2; first <= i; --i) { in ss_insertionsort() 175 do { *(j - 1) = *j; } while((++j < last) && (*j < 0)); in ss_insertionsort() 176 if(last <= j) { break; } in ss_insertionsort() 263 ss_pivot(const sauchar_t *Td, const saidx_t *PA, saidx_t *first, saidx_t *last) { in ss_pivot() argument 267 t = last - first; in ss_pivot() 272 return ss_median3(Td, PA, first, middle, last - 1); in ss_pivot() 275 return ss_median5(Td, PA, first, first + t, middle, last - 1 - t, last - 1); in ss_pivot() 281 last = ss_median3(Td, PA, last - 1 - (t << 1), last - 1 - t, last - 1); in ss_pivot() 282 return ss_median3(Td, PA, first, middle, last); in ss_pivot() [all …]
|
| /freebsd-13-stable/sys/contrib/zstd/lib/dictBuilder/ |
| HD | divsufsort.c | 258 int *first, int *last, int depth) { in ss_insertionsort() argument 263 for(i = last - 2; first <= i; --i) { in ss_insertionsort() 265 do { *(j - 1) = *j; } while((++j < last) && (*j < 0)); in ss_insertionsort() 266 if(last <= j) { break; } in ss_insertionsort() 353 ss_pivot(const unsigned char *Td, const int *PA, int *first, int *last) { in ss_pivot() argument 357 t = last - first; in ss_pivot() 362 return ss_median3(Td, PA, first, middle, last - 1); in ss_pivot() 365 return ss_median5(Td, PA, first, first + t, middle, last - 1 - t, last - 1); in ss_pivot() 371 last = ss_median3(Td, PA, last - 1 - (t << 1), last - 1 - t, last - 1); in ss_pivot() 372 return ss_median3(Td, PA, first, middle, last); in ss_pivot() [all …]
|
| /freebsd-13-stable/contrib/mandoc/ |
| HD | man_macro.c | 98 n = man->last; in man_unscope() 119 man->last = n; in man_unscope() 121 roff_node_delete(man, man->last); in man_unscope() 138 man->last = n; in man_unscope() 140 man->last->flags |= NODE_VALID; in man_unscope() 150 man->next = (man->last == to) ? in man_unscope() 166 n = man->last; in rew_scope() 192 n = man->last; in rew_scope() 215 for (nn = man->last->parent; nn; nn = nn->parent) in blk_close() 246 for (nn = man->last->parent; nn; nn = nn->parent) in blk_close() [all …]
|
| HD | mdoc_validate.c | 313 n = mdoc->last; in mdoc_validate() 331 mdoc->last = mdoc->last->child; in mdoc_validate() 332 while (mdoc->last != NULL) { in mdoc_validate() 334 if (mdoc->last == n) in mdoc_validate() 335 mdoc->last = mdoc->last->child; in mdoc_validate() 337 mdoc->last = mdoc->last->next; in mdoc_validate() 342 mdoc->last = n; in mdoc_validate() 366 check_args(mdoc, mdoc->last); in mdoc_validate() 376 if (n->last != NULL) in mdoc_validate() 377 n->last->flags &= ~NODE_DELIMO; in mdoc_validate() [all …]
|
| HD | man.c | 47 if (man->last->type != ROFFT_EQN || ln > man->last->line) in man_parseln() 88 while (man->last->parent->type != ROFFT_ROOT && in man_descope() 89 man_macro(man->last->parent->tok)->flags & MAN_ESCOPED) in man_descope() 90 man_unscope(man, man->last->parent); in man_descope() 95 man_unscope(man, man->last->parent); in man_descope() 96 roff_body_alloc(man, line, offs, man->last->tok); in man_descope() 128 if (man->last->tok == MAN_SH || man->last->tok == MAN_SS) in man_ptext() 130 if (man->last->type == ROFFT_TEXT && in man_ptext() 131 ((ep = man_hasc(man->last->string)) != NULL)) { in man_ptext() 170 man->last->flags |= NODE_EOS; in man_ptext() [all …]
|
| /freebsd-13-stable/crypto/heimdal/lib/wind/ |
| HD | stringprep.py | 80 last = 0 82 if last: 83 if last[0] == x[0]: 84 last = (last[0], last[1], last[2], last[3] + x[3]) 86 ret.append(last) 87 last = x 89 last = x 90 if last: 91 ret.append(last)
|
| HD | test-normalize.c | 50 char *last; in parse_vector() local 55 for(n = strtok_r(buf, " ", &last); in parse_vector() 57 n = strtok_r(NULL, " ", &last)) { in parse_vector() 85 char *last; in test() local 95 c = strtok_r(buf, ";", &last); in test() 100 if (strtok_r(NULL, ";", &last) == NULL) in test() 102 if (strtok_r(NULL, ";", &last) == NULL) in test() 104 c = strtok_r(NULL, ";", &last); in test() 108 if (strtok_r(NULL, ";", &last) == NULL) in test() 110 c = last; in test()
|
| /freebsd-13-stable/contrib/apr/strings/ |
| HD | apr_strtok.c | 27 APR_DECLARE(char *) apr_strtok(char *str, const char *sep, char **last) in apr_strtok() argument 32 str = *last; /* start where we left off */ in apr_strtok() 46 *last = token + 1; in apr_strtok() 47 while (**last && !strchr(sep, **last)) in apr_strtok() 48 ++*last; in apr_strtok() 50 if (**last) { in apr_strtok() 51 **last = '\0'; in apr_strtok() 52 ++*last; in apr_strtok()
|
| /freebsd-13-stable/usr.bin/mkuzip/ |
| HD | mkuz_fqueue.c | 71 fqp->last = ip; in mkuz_fqueue_enq() 92 fqp->last = cip_l; in mkuz_fqueue_enq_all() 110 for (ip = fqp->last; ip != NULL; ip = ip->prev) { in mkuz_fqueue_check() 125 while (fqp->last == NULL || !mkuz_fqueue_check(fqp, cmp_cb, cap)) { in mkuz_fqueue_deq_when() 128 if (cmp_cb(fqp->last->this, cap)) { in mkuz_fqueue_deq_when() 129 mip = fqp->last; in mkuz_fqueue_deq_when() 130 fqp->last = mip->prev; in mkuz_fqueue_deq_when() 131 if (fqp->last == NULL) { in mkuz_fqueue_deq_when() 141 newfirst = newlast = fqp->last; in mkuz_fqueue_deq_when() 143 for (ip = fqp->last->prev; ip != NULL; ip = ip->prev) { in mkuz_fqueue_deq_when() [all …]
|
| /freebsd-13-stable/contrib/ncurses/progs/ |
| HD | tabs.c | 65 int last = 1; in do_tabs() local 70 if (last < stop) { in do_tabs() 71 while (last++ < stop) { in do_tabs() 72 if (last > max_cols) in do_tabs() 79 last = stop; in do_tabs() 148 int last = 0; in print_ruler() local 166 for (n = 0, last = 0; (tab_list[n] > 0) && (last < max_cols); ++n) { in print_ruler() 168 while (++last < stop) { in print_ruler() 169 if (last <= max_cols) { in print_ruler() 175 if (last <= max_cols) { in print_ruler() [all …]
|
| /freebsd-13-stable/bin/mkdir/ |
| HD | mkdir.c | 143 int first, last, retval; in build() local 151 for (first = 1, last = 0; !last ; ++p) { in build() 153 last = 1; in build() 157 if (!last && p[1] == '\0') in build() 158 last = 1; in build() 177 if (last) in build() 179 if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) { in build() 186 if (last) in build() 194 if (last) in build() 203 if (!last) in build() [all …]
|
| /freebsd-13-stable/usr.sbin/fmtree/ |
| HD | spec.c | 58 NODE *centry, *last; in mtree_readspec() local 64 centry = last = root = NULL; in mtree_readspec() 127 if (last->type != F_DIR || last->flags & F_DONE) { in mtree_readspec() 128 if (last == root) in mtree_readspec() 130 last = last->parent; in mtree_readspec() 132 last->flags |= F_DONE; in mtree_readspec() 149 last = root = centry; in mtree_readspec() 151 } else if (last->type == F_DIR && !(last->flags & F_DONE)) { in mtree_readspec() 152 centry->parent = last; in mtree_readspec() 153 last = last->child = centry; in mtree_readspec() [all …]
|
| /freebsd-13-stable/contrib/libxo/tests/core/saved/ |
| HD | test_07.X.out | 1 …last-name>გთხოვთ ახ</last-name><department>431</department><percent-time>90</percent-time><columns…
|
| HD | test_07.XP.out | 16 <last-name>გთხოვთ ახ</last-name> 25 <last-name>Οὐχὶ ταὐτὰ παρίσταταί μοι Jones</last-name> 34 <last-name>Patterson</last-name> 43 <last-name>Meter & Smith</last-name> 51 <last-name>012345678901234567890</last-name> 59 <last-name>საერთაშორისო</last-name>
|
| HD | test_05.XP.out | 35 <last-name>გთხოვთ ახ</last-name> 43 <last-name>Οὐχὶ ταὐτὰ παρίσταταί μοι Jones</last-name> 51 <last-name>Patterson</last-name> 59 <last-name>Meter & Smith</last-name> 66 <last-name>012345678901234567890</last-name> 73 <last-name>საერთაშორისო</last-name> 81 <last-name>෴ණ්ණ෴෴ණ්ණ෴෴ණ්ණ෴෴෴</last-name>
|
| HD | test_05.X.out | 1 …last-name>გთხოვთ ახ</last-name><department>431</department><percent-time>90</percent-time><benefit…
|
| HD | test_06.XP.out | 4 <last-name>Jones</last-name> 9 <last-name>Patterson</last-name> 14 <last-name>Smith</last-name>
|
| /freebsd-13-stable/usr.bin/seq/ |
| HD | seq.c | 90 double first, last, incr, prev, cur, step; in main() local 96 last = incr = prev = 0.0; in main() 148 last = e_atof(argv[argc - 1]); in main() 157 errx(1, "zero %screment", (first < last)? "in" : "de"); in main() 162 incr = (first < last) ? 1.0 : -1.0; in main() 164 if (incr <= 0.0 && first < last) in main() 167 if (incr >= 0.0 && first > last) in main() 181 fmt = generate_format(first, incr, last, equalize, pad); in main() 183 for (step = 1, cur = first; incr > 0 ? cur <= last : cur >= last; in main() 200 asprintf(&last_print, fmt, last) < 0 || in main() [all …]
|
| /freebsd-13-stable/contrib/bmake/ |
| HD | lst.c | 122 list->last = ln; in Lst_Prepend() 137 ln = LstNodeNew(list->last, NULL, datum); in Lst_Append() 139 if (list->last == NULL) { in Lst_Append() 141 list->last = ln; in Lst_Append() 143 list->last->next = ln; in Lst_Append() 144 list->last = ln; in Lst_Append() 164 if (list->last == ln) in Lst_Remove() 165 list->last = ln->prev; in Lst_Remove() 214 src->first->prev = dst->last; in Lst_MoveAll() 215 if (dst->last != NULL) in Lst_MoveAll() [all …]
|
| /freebsd-13-stable/contrib/netbsd-tests/lib/libc/hash/ |
| HD | h_hash.c | 71 #define CHOMP(buf, len, last) \ argument 76 last = 1; \ 84 int len, outlen, last; in regress() local 87 last = 0; in regress() 90 CHOMP(buf, len, last); in regress() 96 while (!last && in regress() 99 CHOMP(buf, len, last); in regress() 109 while (!last && in regress() 112 CHOMP(buf, len, last); in regress()
|
| /freebsd-13-stable/contrib/netbsd-tests/lib/libc/regex/ |
| HD | debug.c | 57 int last; in regprint() local 99 last = -1; in regprint() 102 if (last < 0) { in regprint() 104 last = c; in regprint() 107 if (last >= 0) { in regprint() 108 if (last != c-1) in regprint() 111 last = -1; in regprint() 129 ssize_t last; in s_print() local 177 last = -1; in s_print() 180 if (last < 0) { in s_print() [all …]
|
| /freebsd-13-stable/contrib/netbsd-tests/lib/libc/gen/ |
| HD | t_randomid.c | 41 uint32_t last[65536]; variable 56 memset(last, 0, sizeof(last)); in ATF_TC_BODY() 64 if (last[id] > 0) { in ATF_TC_BODY() 65 diff = n - last[id]; in ATF_TC_BODY() 73 id, last[id], n, diff, lowest); in ATF_TC_BODY() 83 last[id] = n; in ATF_TC_BODY()
|
| /freebsd-13-stable/sys/net/ |
| HD | raw_usrreq.c | 85 struct socket *last; in raw_input_ext() local 87 last = NULL; in raw_input_ext() 97 if (last) { in raw_input_ext() 101 if (sbappendaddr(&last->so_rcv, src, in raw_input_ext() 103 soroverflow(last); in raw_input_ext() 106 sorwakeup(last); in raw_input_ext() 109 last = rp->rcb_socket; in raw_input_ext() 111 if (last) { in raw_input_ext() 112 if (sbappendaddr(&last->so_rcv, src, in raw_input_ext() 114 soroverflow(last); in raw_input_ext() [all …]
|
| /freebsd-13-stable/contrib/ncurses/ncurses/tinfo/ |
| HD | entries.c | 71 ENTRY *ep, *last; in _nc_delink_entry() local 73 for (last = 0, ep = headp; ep != 0; last = ep, ep = ep->next) { in _nc_delink_entry() 75 if (last != 0) { in _nc_delink_entry() 76 last->next = ep->next; in _nc_delink_entry() 79 ep->next->last = last; in _nc_delink_entry() 85 _nc_tail = last; in _nc_delink_entry()
|