| /dflybsd-src/games/primes/ |
| H A D | primes.c | 88 ubig stop; /* don't generate at or above this value */ in main() local 105 stop = BIG; in main() 127 stop = strtoul(argv[1], &p, 0); in main() 152 if (start > stop) in main() 154 primes(start, stop); in main() 193 primes(ubig start, ubig stop) in primes() argument 210 if (stop < 3) { in primes() 211 stop = (ubig)2; in primes() 213 if (stop <= start) { in primes() 223 if (stop != 2 && (stop&0x1) == 0) { in primes() [all …]
|
| /dflybsd-src/contrib/nvi2/regex/ |
| H A D | engine.c | 92 static const RCHAR_T *dissect(struct match *m, const RCHAR_T *start, const RCHAR_T *stop, sopno sta… 93 static const RCHAR_T *backref(struct match *m, const RCHAR_T *start, const RCHAR_T *stop, sopno sta… 94 static const RCHAR_T *fast(struct match *m, const RCHAR_T *start, const RCHAR_T *stop, sopno starts… 95 static const RCHAR_T *slow(struct match *m, const RCHAR_T *start, const RCHAR_T *stop, sopno starts… 96 static states step(struct re_guts *g, sopno start, sopno stop, states bef, int flag, RCHAR_T ch, st… 107 static void at(struct match *m, char *title, char *start, char *stop, sopno startst, sopno stopst); 143 const RCHAR_T *stop; in matcher() local 150 stop = string + pmatch[0].rm_eo; in matcher() 153 stop = start + STRLEN(start); in matcher() 155 if (stop < start) in matcher() [all …]
|
| /dflybsd-src/bin/pax/ |
| H A D | gen_subs.c | 183 char *stop; in l_strncpy() local 186 stop = dest + len; in l_strncpy() 188 while ((dest < stop) && (*src != '\0')) in l_strncpy() 191 while (dest < stop) in l_strncpy() 209 char *stop; in asc_ul() local 212 stop = str + len; in asc_ul() 217 while ((str < stop) && ((*str == ' ') || (*str == '0'))) in asc_ul() 225 while (str < stop) { in asc_ul() 236 while ((str < stop) && (*str >= '0') && (*str <= '7')) in asc_ul() 305 char *stop; in asc_uqd() local [all …]
|
| /dflybsd-src/usr.bin/colrm/ |
| H A D | colrm.c | 54 u_long column, start, stop; in main() local 69 start = stop = 0; in main() 72 stop = strtol(argv[1], &p, 10); in main() 73 if (stop <= 0 || *p) in main() 87 if (stop && start > stop) in main() 111 if ((!start || column < start || (stop && column > stop)) && in main()
|
| /dflybsd-src/contrib/ncurses/progs/ |
| H A D | tabs.c | 66 int stop; in do_tabs() local 69 while ((stop = *tab_list++) > 0) { in do_tabs() 70 if (last < stop) { in do_tabs() 71 while (last++ < stop) { in do_tabs() 77 if (stop <= max_cols) { in do_tabs() 78 tputs(tparm(set_tab, stop), 1, putch); in do_tabs() 79 last = stop; in do_tabs() 149 int stop; in print_ruler() local 167 stop = tab_list[n]; in print_ruler() 168 while (++last < stop) { in print_ruler() [all …]
|
| /dflybsd-src/sys/kern/ |
| H A D | kern_linker.c | 143 struct sysinit** start, ** stop; in linker_file_sysinit() local 151 if (linker_file_lookup_set(lf, "sysinit_set", &start, &stop, NULL) != 0) in linker_file_sysinit() 161 for (sipp = start; sipp < stop; sipp++) { in linker_file_sysinit() 162 for (xipp = sipp + 1; xipp < stop; xipp++) { in linker_file_sysinit() 178 for (sipp = start; sipp < stop; sipp++) { in linker_file_sysinit() 190 struct sysinit** start, ** stop; in linker_file_sysuninit() local 198 if (linker_file_lookup_set(lf, "sysuninit_set", &start, &stop, NULL) != 0) in linker_file_sysuninit() 208 for (sipp = start; sipp < stop; sipp++) { in linker_file_sysuninit() 209 for (xipp = sipp + 1; xipp < stop; xipp++) { in linker_file_sysuninit() 225 for (sipp = start; sipp < stop; sipp++) { in linker_file_sysuninit() [all …]
|
| /dflybsd-src/contrib/nvi2/ex/ |
| H A D | ex_global.c | 227 rp->stop == start - 1) { in ex_g_setup() 228 ++rp->stop; in ex_g_setup() 236 rp->start = rp->stop = start; in ex_g_setup() 267 if (rp->stop < lno) in ex_g_insdel() 277 --rp->stop; in ex_g_insdel() 280 ++rp->stop; in ex_g_insdel() 292 if (rp->start > --rp->stop) { in ex_g_insdel() 299 nrp->stop = rp->stop + 1; in ex_g_insdel() 300 rp->stop = lno - 1; in ex_g_insdel()
|
| /dflybsd-src/contrib/mpfr/src/ |
| H A D | jyn_asympt.c | 46 int inex, stop, diverge = 0; in FUNCTION() local 90 for (k = 1, stop = 0; stop < 4; k++) in FUNCTION() 106 if (stop >= 2) in FUNCTION() 115 stop ++; in FUNCTION() 129 stop ++; in FUNCTION() 131 stop = 0; in FUNCTION() 142 stop ++; in FUNCTION() 144 stop = 0; in FUNCTION() 151 if (stop < 2 && in FUNCTION() 160 stop = 2; /* force stop */ in FUNCTION()
|
| /dflybsd-src/contrib/gmp/ |
| H A D | gen-trialdivtab.c | 57 int stop; in main() local 109 stop = mpz_cmp (acc, Bhalf) >= 0; in main() 110 if (!stop) in main() 113 stop = sumspills (acc, pre + 2, 5); in main() 116 if (stop) in main() 160 stop = mpz_cmp (acc, Bhalf) >= 0; in main() 161 if (!stop) in main() 164 stop = sumspills (acc, pre + 2, 5); in main() 167 if (stop) in main()
|
| /dflybsd-src/usr.bin/cut/ |
| H A D | cut.c | 159 size_t setautostart, start, stop; in get_list() local 170 setautostart = start = stop = 0; in get_list() 176 start = stop = strtol(p, &p, 10); in get_list() 182 stop = strtol(p + 1, &p, 10); in get_list() 185 if (!autostop || autostop > stop) in get_list() 186 autostop = stop; in get_list() 191 if (!stop || !start) in get_list() 193 if (maxval < stop) { in get_list() 194 maxval = stop; in get_list() 197 for (pos = positions + start; start++ <= stop; *pos++ = 1); in get_list()
|
| /dflybsd-src/contrib/binutils-2.27/bfd/ |
| H A D | pei-x86_64.c | 471 bfd_size_type stop; in pex64_bfd_print_pdata_section() local 487 stop = pei_section_data (abfd, pdata_section)->virt_size; in pex64_bfd_print_pdata_section() 488 if ((stop % onaline) != 0) in pex64_bfd_print_pdata_section() 491 pdata_section->name, (long) stop, onaline); in pex64_bfd_print_pdata_section() 496 if (stop) in pex64_bfd_print_pdata_section() 503 if (stop == 0 && strcmp (abfd->xvec->name, "pe-x86-64") == 0) in pex64_bfd_print_pdata_section() 505 stop = (datasize / onaline) * onaline; in pex64_bfd_print_pdata_section() 508 else if (datasize < stop) in pex64_bfd_print_pdata_section() 513 (unsigned long) stop); in pex64_bfd_print_pdata_section() 515 stop = datasize / onaline; in pex64_bfd_print_pdata_section() [all …]
|
| /dflybsd-src/sys/dev/disk/mmcsd/ |
| H A D | mmcsd.c | 325 struct mmc_command stop; in mmcsd_rw() local 340 memset(&stop, 0, sizeof(stop)); in mmcsd_rw() 367 stop.opcode = MMC_STOP_TRANSMISSION; in mmcsd_rw() 368 stop.arg = 0; in mmcsd_rw() 369 stop.flags = MMC_RSP_R1B | MMC_CMD_AC; in mmcsd_rw() 370 req.stop = &stop; in mmcsd_rw() 385 daddr_t block, end, start, stop; in mmcsd_delete() local 404 stop = end; /* Round down. */ in mmcsd_delete() 405 stop -= end % erase_sector; in mmcsd_delete() 407 if (start >= stop) { in mmcsd_delete() [all …]
|
| /dflybsd-src/usr.bin/tabs/ |
| H A D | tabs.c | 204 long last, stop; in gettabs() local 211 stop = strtol(tok, &end, 10); in gettabs() 212 if (errno != 0 || *end != '\0' || stop <= 0) in gettabs() 218 stop += last; in gettabs() 220 if (last > stop) in gettabs() 222 last = stops[(*nstops)++] = stop; in gettabs()
|
| /dflybsd-src/contrib/binutils-2.34/bfd/ |
| H A D | pei-x86_64.c | 562 bfd_size_type stop; in pex64_bfd_print_pdata_section() local 578 stop = pei_section_data (abfd, pdata_section)->virt_size; in pex64_bfd_print_pdata_section() 579 if ((stop % onaline) != 0) in pex64_bfd_print_pdata_section() 583 pdata_section->name, (long) stop, onaline); in pex64_bfd_print_pdata_section() 588 if (stop) in pex64_bfd_print_pdata_section() 595 if (stop == 0 && strcmp (abfd->xvec->name, "pe-x86-64") == 0) in pex64_bfd_print_pdata_section() 597 stop = datasize; in pex64_bfd_print_pdata_section() 600 else if (datasize < stop) in pex64_bfd_print_pdata_section() 606 (unsigned long) stop); in pex64_bfd_print_pdata_section() 608 stop = datasize; in pex64_bfd_print_pdata_section() [all …]
|
| /dflybsd-src/games/tetris/ |
| H A D | screen.c | 166 stop("you must set the TERM environment variable"); in scr_init() 168 stop("cannot find your termcap"); in scr_init() 191 stop("cannot clear screen"); in scr_init() 193 stop("cannot do random cursor positioning via tgoto()"); in scr_init() 276 stop(smallscr); in scr_set() 279 stop("tcgetattr() fails"); in scr_set() 284 stop("tcsetattr() fails"); in scr_set() 336 stop(const char *why) in stop() function
|
| /dflybsd-src/contrib/cvs-1.12/lib/ |
| H A D | regex.c | 33 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ argument 34 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop) 42 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ argument 43 __re_search_2 (bufp, st1, s1, st2, s2, startpos, range, regs, stop)
|
| /dflybsd-src/contrib/grep/lib/ |
| H A D | regex.c | 46 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ argument 47 __re_match_2 (bufp, string1, size1, string2, size2, pos, regs, stop) 55 # define re_search_2(bufp, st1, s1, st2, s2, startpos, range, regs, stop) \ argument 56 __re_search_2 (bufp, st1, s1, st2, s2, startpos, range, regs, stop)
|
| /dflybsd-src/test/interbench/ |
| H A D | interbench.c | 487 sem_t *s = &th->sem.stop; in emulate_none() 497 sem_t *s = &th->sem.stop; in emulate_audio() 517 sem_t *s = &th->sem.stop; in emulate_video() 538 sem_t *s = &th->sem.stop; in emulate_x() 568 sem_t *s = &th->sem.stop; in emulate_game() 618 sem_t *s = &th->sem.stop; in emulate_burn() 636 sem_t *s = &th->sem.stop; in emulate_write() 683 sem_t *s = &th->sem.stop; in emulate_read() 736 if (!trywait_sem(&s->stop)) in ring_thread() 748 sem_t *s = &th->sem.stop; in emulate_ring() [all …]
|
| /dflybsd-src/contrib/less/ |
| H A D | signal.c | 72 static RETSIGTYPE stop(int type) in stop() function 75 LSIGNAL(SIGTSTP, stop); in stop() 153 (void) LSIGNAL(SIGTSTP, !secure_allow(SF_STOP) ? SIG_IGN : stop); in init_signals() 231 LSIGNAL(SIGTSTP, stop); in psignals()
|
| /dflybsd-src/contrib/gdb-7/gdb/python/ |
| H A D | py-stopevent.c | 53 if (evregpy_no_listeners_p (gdb_py_events.stop)) in emit_stop_event() 107 return evpy_emit_event (stop_event_obj, gdb_py_events.stop); in emit_stop_event() 114 GDBPY_NEW_EVENT_TYPE (stop,
|
| /dflybsd-src/usr.bin/dc/ |
| H A D | inout.c | 328 BIGNUM *mult, *stop; in printnumber() local 335 stop = BN_new(); in printnumber() 336 bn_check(BN_one(stop)); in printnumber() 337 scale_number(stop, b->scale); in printnumber() 340 while (BN_cmp(mult, stop) < 0) { in printnumber() 362 BN_free(stop); in printnumber()
|
| /dflybsd-src/contrib/binutils-2.34/gas/ |
| H A D | read.c | 1457 mri_comment_end (char *stop, int stopc) in mri_comment_end() argument 1461 input_line_pointer = stop; in mri_comment_end() 1462 *stop = stopc; in mri_comment_end() 1486 char *stop = NULL; in s_align() local 1493 stop = mri_comment_field (&stopc); in s_align() 1602 mri_comment_end (stop, stopc); in s_align() 1734 char *stop = NULL; in s_comm_internal() local 1739 stop = mri_comment_field (&stopc); in s_comm_internal() 1802 mri_comment_end (stop, stopc); in s_comm_internal() 1826 char *stop = NULL; in s_mri_common() local [all …]
|
| /dflybsd-src/sys/sys/ |
| H A D | bitstring.h | 75 #define bit_nclear(name, start, stop) do { \ argument 77 int _start = (start), _stop = (stop); \ 92 #define bit_nset(name, start, stop) do { \ argument 94 int _start = (start), _stop = (stop); \
|
| /dflybsd-src/contrib/binutils-2.27/gas/ |
| H A D | cond.c | 130 char *stop = NULL; in s_if() local 134 stop = mri_comment_field (&stopc); in s_if() 179 mri_comment_end (stop, stopc); in s_if() 263 char *stop = NULL; in s_ifc() local 271 stop = mri_comment_field (&stopc); in s_ifc() 296 mri_comment_end (stop, stopc); in s_ifc()
|
| H A D | read.c | 1455 mri_comment_end (char *stop, int stopc) in mri_comment_end() argument 1459 input_line_pointer = stop; in mri_comment_end() 1460 *stop = stopc; in mri_comment_end() 1484 char *stop = NULL; in s_align() local 1491 stop = mri_comment_field (&stopc); in s_align() 1600 mri_comment_end (stop, stopc); in s_align() 1732 char *stop = NULL; in s_comm_internal() local 1737 stop = mri_comment_field (&stopc); in s_comm_internal() 1800 mri_comment_end (stop, stopc); in s_comm_internal() 1824 char *stop = NULL; in s_mri_common() local [all …]
|