/freebsd/usr.bin/renice/tests/ |
H A D | renice_test.sh | 27 local pid nice incr 31 incr=3 32 _renice $((nice+incr)) $pid 33 atf_check_nice_value $pid $((nice+incr)) 42 local pid nice incr 46 incr=3 47 _renice -n $incr $pid 48 _renice -p -n $incr $pid 49 _renice -n $incr -p $pid 50 atf_check_nice_value $pid $((nice+incr+incr+incr)) [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_sched.cpp | 47 kmp_int64 i = (kmp_int64)incr; \ 78 typename traits_t<T>::signed_t incr, in __kmp_for_static_init() argument 145 *pstride, incr, chunk)); in __kmp_for_static_init() 152 if (incr == 0) { in __kmp_for_static_init() 158 if (incr > 0 ? (*pupper < *plower) : (*plower < *pupper)) { in __kmp_for_static_init() 162 *pstride = incr; /* value should never be used */ in __kmp_for_static_init() 222 (incr > 0) ? (*pupper - *plower + 1) : (-(*plower - *pupper + 1)); in __kmp_for_static_init() 253 (incr > 0) ? (*pupper - *plower + 1) : (-(*plower - *pupper + 1)); in __kmp_for_static_init() 280 if (incr == 1) { in __kmp_for_static_init() 282 } else if (incr == -1) { in __kmp_for_static_init() [all …]
|
H A D | kmp_dispatch.cpp | 1335 ST incr; in __kmp_dispatch_next_algorithm() local 1667 incr = pr->u.p.st; in __kmp_dispatch_next_algorithm() 1677 *p_st = incr; in __kmp_dispatch_next_algorithm() 1679 if (incr == 1) { in __kmp_dispatch_next_algorithm() 1683 *p_lb = start + init * incr; in __kmp_dispatch_next_algorithm() 1684 *p_ub = start + limit * incr; in __kmp_dispatch_next_algorithm() 1723 incr = pr->u.p.st; in __kmp_dispatch_next_algorithm() 1730 *p_st = incr; in __kmp_dispatch_next_algorithm() 1734 if (incr == 1) { in __kmp_dispatch_next_algorithm() 1738 *p_lb = start + init * incr; in __kmp_dispatch_next_algorithm() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | hexagon_circ_brev_intrinsics.h | 22 #define Q6_circ_load_update_D(dest,ptr,incr,bufsize,K) \ argument 23 … { ptr = (int64_t *) HEXAGON_circ_ldd (ptr, &(dest), ((((K)+1)<<24)|((bufsize)<<3)), ((incr)*8)); } 31 #define Q6_circ_load_update_W(dest,ptr,incr,bufsize,K) \ argument 32 { ptr = (int *) HEXAGON_circ_ldw (ptr, &(dest), (((K)<<24)|((bufsize)<<2)), ((incr)*4)); } 40 #define Q6_circ_load_update_H(dest,ptr,incr,bufsize,K) \ argument 41 … { ptr = (int16_t *) HEXAGON_circ_ldh (ptr, &(dest), ((((K)-1)<<24)|((bufsize)<<1)), ((incr)*2)); } 49 #define Q6_circ_load_update_UH(dest,ptr,incr,bufsize,K) \ argument 50 …{ ptr = (uint16_t *) HEXAGON_circ_lduh (ptr, &(dest), ((((K)-1)<<24)|((bufsize)<<1)), ((incr)*2));… 58 #define Q6_circ_load_update_B(dest,ptr,incr,bufsize,K) \ argument 59 { ptr = (int8_t *) HEXAGON_circ_ldb (ptr, &(dest), ((((K)-2)<<24)|(bufsize)), incr); } [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/ |
H A D | tst.lquantzero.d | 41 incr = val % b; 52 /incr != 0/ 55 @one[i] = lquantize(0, 10, 20, 1, incr); 56 @two[i] = lquantize(0, 1, 20, 5, incr); 57 @three[i] = lquantize(0, 0, 20, 1, incr); 58 @four[i] = lquantize(0, -10, 10, 1, incr); 59 @five[i] = lquantize(0, -10, 0, 1, incr); 60 @six[i] = lquantize(0, -10, -1, 1, incr); 61 @seven[i] = lquantize(0, -10, -2, 1, incr); 65 /incr == 0/
|
H A D | tst.negorder.d | 40 incr = val % b; 51 /incr != 0/ 54 @quanty[i] = quantize(1, incr); 55 @lquanty[i] = lquantize(1, -10, 10, 1, incr); 56 @summy[i] = sum(incr); 57 @maxxy[i] = max(incr); 58 @minny[i] = min(incr); 62 /incr == 0/
|
H A D | tst.quantzero.d | 41 incr = val % b; 52 /incr != 0/ 55 @[i] = quantize(0, incr); 59 /incr == 0/
|
/freebsd/usr.bin/seq/ |
H A D | seq.c | 89 double first, last, incr, prev, cur, step; in main() local 95 last = incr = prev = 0.0; in main() 153 incr = e_atof(argv[1]); in main() 155 if (incr == 0.0) in main() 160 if (incr == 0.0) in main() 161 incr = (first < last) ? 1.0 : -1.0; in main() 163 if (incr <= 0.0 && first < last) in main() 166 if (incr >= 0.0 && first > last) in main() 180 fmt = generate_format(first, incr, last, equalize, pad); in main() 182 for (step = 1, cur = first; incr > 0 ? cur <= last : cur >= last; in main() [all …]
|
/freebsd/lib/libc/sys/ |
H A D | brk.c | 92 sbrk(intptr_t incr) in sbrk() argument 97 if ((incr > 0 && curbrk + incr < curbrk) || in sbrk() 98 (incr < 0 && curbrk + incr > curbrk)) { in sbrk() 103 return (mvbrk((void *)(curbrk + incr))); in sbrk()
|
/freebsd/lib/libc/gen/ |
H A D | opendir.c | 116 int fd2, incr, len, n, saved_errno, space; in _filldir() local 128 incr = getpagesize(); in _filldir() 129 if ((incr % DIRBLKSIZ) != 0) in _filldir() 130 incr = DIRBLKSIZ; in _filldir() 165 space += incr; in _filldir() 166 len += incr; in _filldir() 293 int incr; in __opendir_common() local 315 incr = getpagesize(); in __opendir_common() 316 if ((incr % DIRBLKSIZ) != 0) in __opendir_common() 317 incr = DIRBLKSIZ; in __opendir_common() [all …]
|
/freebsd/sys/contrib/zlib/ |
H A D | inftrees.c | 44 unsigned incr; /* for incrementing code, index */ in inflate_table() local 226 incr = 1U << (len - drop); in inflate_table() 230 fill -= incr; in inflate_table() 235 incr = 1U << (len - 1); in inflate_table() 236 while (huff & incr) in inflate_table() 237 incr >>= 1; in inflate_table() 238 if (incr != 0) { in inflate_table() 239 huff &= incr - 1; in inflate_table() 240 huff += incr; in inflate_table()
|
/freebsd/usr.bin/renice/ |
H A D | renice.c | 58 bool havedelim = false, haveprio = false, incr = false; in main() local 82 if (haveprio || incr || argc < 2) in main() 84 incr = true; in main() 118 errs += donice(which, who, prio, incr); in main() 126 donice(int which, int who, int prio, bool incr) in donice() argument 136 if (incr) in donice()
|
/freebsd/stand/libsa/ |
H A D | sbrk.c | 48 sbrk(int incr) in sbrk() argument 55 if ((heapsize + incr) <= maxheap) { in sbrk() 57 bzero(ret, incr); in sbrk() 58 heapsize += incr; in sbrk()
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/llquantize/ |
H A D | tst.negorder.d | 37 incr = val % b; 48 /incr != 0/ 51 @llquanty[i] = llquantize(1, 10, 0, 10, 10, incr); 55 /incr == 0/
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInstrInfoA.td | 193 (ins GPR:$addr, GPR:$incr, ixlenimm:$ordering), []> { 202 (ins GPR:$addr, GPR:$incr, GPR:$mask, ixlenimm:$ordering), []> { 211 (ins GPR:$addr, GPR:$incr, GPR:$mask, ixlenimm:$sextshamt, 222 (ins GPR:$addr, GPR:$incr, GPR:$mask, ixlenimm:$ordering), []> { 231 : Pat<(intrin GPR:$addr, GPR:$incr, GPR:$mask, timm:$ordering), 232 (AMOInst GPR:$addr, GPR:$incr, GPR:$mask, timm:$ordering)>; 235 : Pat<(intrin GPR:$addr, GPR:$incr, GPR:$mask, GPR:$shiftamt, 237 (AMOInst GPR:$addr, GPR:$incr, GPR:$mask, GPR:$shiftamt, 246 def : Pat<(XLenVT (atomic_load_nand_i32_monotonic GPR:$addr, GPR:$incr)), 247 (PseudoAtomicLoadNand32 GPR:$addr, GPR:$incr, 2)>; [all …]
|
/freebsd/libexec/bootpd/ |
H A D | getif.c | 44 int len, m, incr; in getif() local 92 incr = sizeof(*ifrq); in getif() 94 incr = ifrq->ifr_addr.sa_len + IFNAMSIZ; in getif() 97 p += incr; in getif() 98 len -= incr; in getif()
|
/freebsd/contrib/sendmail/src/ |
H A D | timers.c | 156 TIMER incr; local 159 getinctimer(&incr); 167 addtimer(&incr, TimerStack[i]); 192 TIMER incr; local 195 getinctimer(&incr); 202 addtimer(&incr, TimerStack[i]);
|
/freebsd/sys/netinet/cc/ |
H A D | cc.c | 524 u_int incr = tcp_fixed_maxseg(ccv->tp); in newreno_cc_cwnd_in_cong_avoid() local 550 incr = 0; in newreno_cc_cwnd_in_cong_avoid() 552 incr = max((incr * incr / cw), 1); in newreno_cc_cwnd_in_cong_avoid() 554 if (incr > 0) in newreno_cc_cwnd_in_cong_avoid() 555 return min(cw + incr, TCP_MAXWIN << CCV(ccv, snd_scale)); in newreno_cc_cwnd_in_cong_avoid() 565 u_int incr = mss; in newreno_cc_cwnd_in_slow_start() local 602 incr = min(ccv->bytes_this_ack, in newreno_cc_cwnd_in_slow_start() 605 incr = min(ccv->bytes_this_ack, mss); in newreno_cc_cwnd_in_slow_start() 608 if (incr > 0) in newreno_cc_cwnd_in_slow_start() 609 return min(cw + incr, TCP_MAXWIN << CCV(ccv, snd_scale)); in newreno_cc_cwnd_in_slow_start()
|
H A D | cc_chd.c | 193 int incr; in chd_window_increase() local 197 incr = 0; in chd_window_increase() 205 incr = min(ccv->bytes_this_ack, in chd_window_increase() 209 incr = min(ccv->bytes_this_ack, mss); in chd_window_increase() 212 incr = mss; in chd_window_increase() 218 incr = mss; in chd_window_increase() 221 incr = mss; in chd_window_increase() 226 chd_data->shadow_w = min(chd_data->shadow_w + incr, in chd_window_increase() 230 CCV(ccv,snd_cwnd) = min(CCV(ccv, snd_cwnd) + incr, in chd_window_increase()
|
H A D | cc_newreno.c | 224 u_int incr = mss; in newreno_ack_received() local 269 incr = 0; in newreno_ack_received() 271 incr = max((incr * incr / cw), 1); in newreno_ack_received() 327 incr = min(ccv->bytes_this_ack, in newreno_ack_received() 330 incr = min(ccv->bytes_this_ack, mss); in newreno_ack_received() 334 incr /= hystart_css_growth_div; in newreno_ack_received() 335 newreno_log_hystart_event(ccv, nreno, 3, incr); in newreno_ack_received() 339 if (incr > 0) in newreno_ack_received() 340 CCV(ccv, snd_cwnd) = min(cw + incr, in newreno_ack_received()
|
/freebsd/contrib/libdivsufsort/lib/ |
H A D | trsort.c | 335 saidx_t incr = ISAd - ISA; in tr_introsort() local 344 tr_partition(ISAd - incr, first, first, last, &a, &b, last - SA - 1); in tr_introsort() 357 STACK_PUSH5(ISAd - incr, first, last, -2, trlink); in tr_introsort() 405 ISAd += incr, last = a, limit = next; in tr_introsort() 408 STACK_PUSH5(ISAd + incr, first, a, next, trlink); in tr_introsort() 411 ISAd += incr, last = a, limit = next; in tr_introsort() 463 STACK_PUSH5(ISAd + incr, a, b, next, trlink); in tr_introsort() 467 STACK_PUSH5(ISAd + incr, a, b, next, trlink); in tr_introsort() 470 ISAd += incr, first = a, last = b, limit = next; in tr_introsort() 475 STACK_PUSH5(ISAd + incr, a, b, next, trlink); in tr_introsort() [all …]
|
/freebsd/sbin/dhclient/ |
H A D | options.c | 587 unsigned char incr = length > 255 ? 255 : length; in store_options() local 595 bufix + incr > first_cutoff) in store_options() 596 incr = first_cutoff - bufix; in store_options() 598 bufix + incr > second_cutoff) in store_options() 599 incr = second_cutoff - bufix; in store_options() 605 if (bufix + 2 + incr > buflen) { in store_options() 612 buffer[bufix + 1] = incr; in store_options() 613 if (tto && incr == length) { in store_options() 615 options[code]->value + ix, incr - 1); in store_options() 616 buffer[bufix + 2 + incr - 1] = 0; in store_options() [all …]
|
/freebsd/contrib/mandoc/ |
H A D | compat_ohash.c | 78 unsigned int i, incr; in ohash_resize() local 103 incr = ((h->t[j].hv % (ns - 2)) & ~1) + 1; in ohash_resize() 105 i += incr; in ohash_resize() 228 unsigned int i, incr; in ohash_lookup_interval() local 236 incr = ((hv % (h->size-2)) & ~1) + 1; in ohash_lookup_interval() 260 i += incr; in ohash_lookup_interval() 275 unsigned int i, incr; in ohash_lookup_memory() local 283 incr = ((hv % (h->size-2)) & ~1) + 1; in ohash_lookup_memory() 304 i += incr; in ohash_lookup_memory()
|
/freebsd/lib/libopenbsd/ |
H A D | ohash.c | 76 unsigned int i, incr; in ohash_resize() local 101 incr = ((h->t[j].hv % (ns - 2)) & ~1) + 1; in ohash_resize() 103 i += incr; in ohash_resize() 226 unsigned int i, incr; in ohash_lookup_interval() local 234 incr = ((hv % (h->size-2)) & ~1) + 1; in ohash_lookup_interval() 258 i += incr; in ohash_lookup_interval() 273 unsigned int i, incr; in ohash_lookup_memory() local 281 incr = ((hv % (h->size-2)) & ~1) + 1; in ohash_lookup_memory() 302 i += incr; in ohash_lookup_memory()
|
/freebsd/sys/netinet/ |
H A D | sctp_cc_functions.c | 691 uint32_t t_ssthresh, incr; in sctp_cwnd_update_after_sack_common() local 844 incr = (uint32_t)(((uint64_t)net->net_ack * in sctp_cwnd_update_after_sack_common() 847 if (incr > limit) { in sctp_cwnd_update_after_sack_common() 848 incr = limit; in sctp_cwnd_update_after_sack_common() 850 if (incr == 0) { in sctp_cwnd_update_after_sack_common() 851 incr = 1; in sctp_cwnd_update_after_sack_common() 868 incr = (uint32_t)(((uint64_t)net->net_ack * in sctp_cwnd_update_after_sack_common() 872 if (incr > limit) { in sctp_cwnd_update_after_sack_common() 873 incr = limit; in sctp_cwnd_update_after_sack_common() 875 if (incr == 0) { in sctp_cwnd_update_after_sack_common() [all …]
|