/freebsd-current/lib/libc/nameser/ |
H A D | ns_samedomain.c | 50 size_t la, lb; local 55 lb = strlen(b); 74 if (lb != 0U && b[lb - 1] == '.') { 76 /* note this loop doesn't get executed if lb==1 */ 77 for (i = lb - 2; i >= 0; i--) 86 lb--; 89 /* lb == 0 means 'b' is the root domain, so 'a' must be in 'b'. */ 90 if (lb == 0U) 94 if (lb > l [all...] |
/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | aggsum.c | 131 int64_t lb; local 135 lb = as->as_lower_bound; 137 if (lb == ub) { 143 return (lb); 150 lb += asb->asc_delta + asb->asc_borrowed; 156 ASSERT3U(lb, ==, ub); 157 atomic_store_64((volatile uint64_t *)&as->as_lower_bound, lb); 158 atomic_store_64(&as->as_upper_bound, lb); 161 return (lb); 214 int64_t lb; local [all...] |
/freebsd-current/tools/tools/netmap/ |
H A D | Makefile | 5 PROGS = pkt-gen nmreplay bridge lb 34 lb: lb.o pkt_hash.o 35 $(CC) $(CFLAGS) -o lb lb.o pkt_hash.o $(LDFLAGS)
|
/freebsd-current/contrib/nvi/ex/ |
H A D | ex_txt.c | 144 BINC_GOTOW(sp, tp->lb, tp->lb_len, tp->len + 1); 167 tp->len != 0 && tp->lb[tp->len - 1] == '\\') 177 tp->lb[tp->len] = '\0'; 186 tp->lb[tp->len - 1] == '.') { 211 free(ait.lb); 245 if (!isblank(tp->lb[cnt])) 249 tp->lb[0] = ev.e_c; 250 tp->lb[1] = '\0'; 288 ait.lb = NULL; 290 BINC_GOTOW(sp, ait.lb, ai [all...] |
H A D | ex_subst.c | 315 REALLOC(sp, lb, CHAR_T *, lblen * sizeof(CHAR_T)); \ 316 if (lb == NULL) { \ 321 MEMCPY(lb + lbclen, l, len); \ 328 REALLOC(sp, lb, CHAR_T *, lblen * sizeof(CHAR_T)); \ 329 if (lb == NULL) { \ 333 pnt = lb + lbclen; \ 351 CHAR_T *bp, *lb; local 478 * lb: build buffer pointer. 482 bp = lb = NULL; 653 ev.e_c = TAILQ_FIRST(tiq)->lb[ 1317 CHAR_T *lb; /* Local copies. */ local [all...] |
/freebsd-current/crypto/openssh/openbsd-compat/regress/ |
H A D | strtonumtest.c | 43 test(const char *p, long long lb, long long ub, int ok) argument 48 val = strtonum(p, lb, ub, &q); 50 fprintf(stderr, "%s [%lld-%lld] ", p, lb, ub); 54 fprintf(stderr, "%s [%lld-%lld] %lld ", p, lb, ub, val);
|
/freebsd-current/contrib/nvi/vi/ |
H A D | v_txt.c | 302 BINC_RETW(sp, tp->lb, tp->lb_len, len); 303 MEMMOVE(tp->lb, lp, len); 368 tp->lb[tp->cno++] = prompt; 384 tp->lb[tp->cno] = CH_CURSOR; 739 for (p = tp->lb + tp->cno; owrite > 0 && isblank(*p); 745 p = tp->lb + tp->cno + owrite; 780 FREE_SPACEW(sp, ait.lb, ait.lb_len); 799 BINC_GOTOW(sp, ntp->lb, 801 MEMMOVE(ntp->lb + ntp->cno, wmt.lb, WMTSPAC [all...] |
H A D | v_at.c | 92 v_event_push(sp, NULL, tp->lb, tp->len, 0))
|
/freebsd-current/crypto/openssl/crypto/bn/ |
H A D | bn_shift.c | 107 unsigned int lb, rb; local 121 lb = (unsigned int)n % BN_BITS2; 122 rb = BN_BITS2 - lb; 131 m = l << lb; 135 t[0] = (l << lb) & BN_MASK2; 176 unsigned int lb, rb; local 193 lb = BN_BITS2 - rb; 194 lb %= BN_BITS2; /* say no to undefined behaviour */ 195 mask = (BN_ULONG)0 - lb; /* mask = 0 - (lb ! [all...] |
/freebsd-current/sys/sys/ |
H A D | resourcevar.h | 88 limbatch_prep(struct limbatch *lb) argument 90 lb->limp = NULL; 91 lb->count = 0; 94 void limbatch_add(struct limbatch *lb, struct thread *td); 97 limbatch_process(struct limbatch *lb __unused) 102 void limbatch_final(struct limbatch *lb);
|
H A D | stats.h | 222 struct voistatdata_numeric lb; member in struct:voistatdata_crhist32::__anon6201 231 struct voistatdata_numeric lb; member in struct:voistatdata_crhist64::__anon6202 240 struct voistatdata_numeric lb, ub; member in struct:voistatdata_drhist32::__anon6203 249 struct voistatdata_numeric lb, ub; member in struct:voistatdata_drhist64::__anon6204 367 struct voistatdata_numeric lb; member in struct:vss_hist_hlpr_info 384 struct voistatdata_numeric lb, ub; member in struct:vss_hist_hlpr_info::__anon6211::__anon6215::__anon6216 510 .lb = stats_ctor_vsd_numeric(lbd), \ 515 #define STATS_VSS_CRHIST32_LIN(lb, ub, stepinc, vsdflags) \ 517 BKT_LIN, vsdflags, lb, ub, HIST_HLPR_INFO_LIN_FIELDS(stepinc))) 518 #define STATS_VSS_CRHIST64_LIN(lb, u [all...] |
/freebsd-current/sys/netlink/ |
H A D | netlink_snl.h | 83 struct linear_buffer *lb = (struct linear_buffer *)calloc(1, size); local 85 if (lb != NULL) { 86 lb->base = (char *)(lb + 1); 87 lb->size = size - sizeof(*lb); 90 return (lb); 94 lb_free(struct linear_buffer *lb) argument 96 free(lb); 100 lb_allocz(struct linear_buffer *lb, in argument 111 lb_clear(struct linear_buffer *lb) argument 125 struct linear_buffer *lb; member in struct:snl_state 212 struct linear_buffer *lb = lb_init(size); local 227 struct linear_buffer *lb = ss->lb; local [all...] |
H A D | netlink_message_parser.h | 47 lb_alloc(struct linear_buffer *lb, int len) argument 50 if (lb->offset + len > lb->size) 52 void *data = (void *)(lb->base + lb->offset); 53 lb->offset += len; 58 lb_clear(struct linear_buffer *lb) argument 60 memset(lb->base, 0, lb->size); 61 lb 67 struct linear_buffer lb; /* Per-message scratch buffer */ member in struct:nl_pstate [all...] |
/freebsd-current/contrib/nvi/common/ |
H A D | put.c | 83 if (db_append(sp, 1, lno, tp->lb, tp->len)) 97 if (db_append(sp, 1, lno, tp->lb, tp->len)) 129 MEMCPY(t, tp->lb, tp->len); 186 MEMCPY(t, ltp->lb, ltp->len); 210 if (db_append(sp, 1, lno, tp->lb, tp->len))
|
H A D | cut.c | 241 MEMCPY(tp->lb, p + fcno, clen); 293 MALLOC(sp, tp->lb, tp->lb_len); 294 if (tp->lb == NULL) { 299 MEMCPY(tp->lb, p, len); 331 free(tp->lb);
|
H A D | cut.h | 28 CHAR_T *lb; /* Line buffer. */ member in struct:_text
|
/freebsd-current/crypto/openssl/crypto/cmac/ |
H A D | cmac.c | 208 int i, bl, lb; local 218 lb = ctx->nlast_block; 220 if (lb == bl) { 224 ctx->last_block[lb] = 0x80; 225 if (bl - lb > 1) 226 memset(ctx->last_block + lb + 1, 0, bl - lb - 1);
|
/freebsd-current/sys/cddl/dev/dtrace/riscv/ |
H A D | dtrace_asm.S | 76 lb a0, 0(a0) 122 lb a4, 0(a0) /* Load from uaddr */ 143 lb a4, 0(a0) /* Load from uaddr */
|
/freebsd-current/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_gsupport.cpp | 602 int func(long lb, long ub, long str, long chunk_sz, long *p_lb, \ 611 func) ": T#%d, lb 0x%lx, ub 0x%lx, str 0x%lx, chunk_sz 0x%lx\n", \ 612 gtid, lb, ub, str, chunk_sz)); \ 614 if ((str > 0) ? (lb < ub) : (lb > ub)) { \ 617 KMP_DISPATCH_INIT(&loc, gtid, (schedule), lb, \ 643 int func(long lb, long ub, long str, long *p_lb, long *p_ub) { \ 651 (KMP_STR(func) ": T#%d, lb 0x%lx, ub 0x%lx, str 0x%lx, chunk_sz %d\n", \ 652 gtid, lb, ub, str, chunk_sz)); \ 654 if ((str > 0) ? (lb < u [all...] |
H A D | ompt-specific.h | 100 #define OMPT_GET_DISPATCH_CHUNK(chunk, lb, ub, incr) \ 103 chunk.start = static_cast<uint64_t>(lb); \ 104 chunk.iterations = static_cast<uint64_t>(((ub) - (lb)) / (incr) + 1); \ 107 chunk.iterations = static_cast<uint64_t>(((lb) - (ub)) / -(incr) + 1); \
|
H A D | kmp_dispatch.cpp | 174 // type of schedule,chunk. The loop description is found in lb (lower bound), 186 enum sched_type schedule, T lb, T ub, 209 "pr:%%p lb:%%%s ub:%%%s st:%%%s " 214 KD_TRACE(10, (buff, gtid, pr, lb, ub, st, schedule, chunk, nproc, tid)); 382 if (ub >= lb) { 383 tc = ub - lb + 1; 384 } else { // ub < lb 388 if (lb >= ub) { 391 tc = (UT)(lb - ub) / (-st) + 1; 392 } else { // lb < u 184 __kmp_dispatch_init_algorithm(ident_t *loc, int gtid, dispatch_private_info_template<T> *pr, enum sched_type schedule, T lb, T ub, typename traits_t<T>::signed_t st, kmp_uint64 *cur_chunk, typename traits_t<T>::signed_t chunk, T nproc, T tid) argument 911 __kmp_dispatch_init_hier_runtime(ident_t *loc, kmp_int32 lb, kmp_int32 ub, kmp_int32 st) argument 919 __kmp_dispatch_init_hier_runtime(ident_t *loc, kmp_uint32 lb, kmp_uint32 ub, kmp_int32 st) argument 927 __kmp_dispatch_init_hier_runtime(ident_t *loc, kmp_int64 lb, kmp_int64 ub, kmp_int64 st) argument 935 __kmp_dispatch_init_hier_runtime(ident_t *loc, kmp_uint64 lb, kmp_uint64 ub, kmp_int64 st) argument 962 __kmp_dispatch_init(ident_t *loc, int gtid, enum sched_type schedule, T lb, T ub, typename traits_t<T>::signed_t st, typename traits_t<T>::signed_t chunk, int push_ws) argument [all...] |
/freebsd-current/lib/msun/src/ |
H A D | s_fmal.c | 135 long double ha, hb, la, lb, p, q; local 145 lb = b - hb; 148 q = ha * lb + la * hb; 151 ret.lo = p - ret.hi + q + la * lb;
|
H A D | s_fma.c | 146 double ha, hb, la, lb, p, q; local 156 lb = b - hb; 159 q = ha * lb + la * hb; 162 ret.lo = p - ret.hi + q + la * lb;
|
/freebsd-current/sys/dev/hwpmc/ |
H A D | hwpmc_logging.c | 346 struct pmclog_buffer *lb; local 394 lb = NULL; 411 if (lb == NULL) { /* look for a fresh buffer to write */ 413 if ((lb = TAILQ_FIRST(&po->po_logbuffers)) == NULL) { 425 TAILQ_REMOVE(&po->po_logbuffers, lb, plb_next); 433 lb->plb_base, lb->plb_ptr); 436 aiov.iov_base = lb->plb_base; 437 aiov.iov_len = nbytes = lb->plb_ptr - lb 755 struct pmclog_buffer *lb; local [all...] |
/freebsd-current/sys/riscv/riscv/ |
H A D | copyinout.S | 78 1: lb a4, 0(a0) /* Load byte from src */ 99 4: lb a4, 0(a0) /* Load byte from src */ 161 lb a4, 0(a0) /* Load from uaddr */
|