Home
last modified time | relevance | path

Searched refs:lb (Results 1 – 25 of 110) sorted by relevance

12345

/freebsd/sys/contrib/openzfs/module/zfs/
H A Daggsum.c131 int64_t lb; in aggsum_value() local
135 lb = as->as_lower_bound; in aggsum_value()
137 if (lb == ub) { in aggsum_value()
143 return (lb); in aggsum_value()
156 ASSERT3U(lb, ==, ub); in aggsum_value()
161 return (lb); in aggsum_value()
214 int64_t lb; in aggsum_compare() local
221 if (lb > 0 && (uint64_t)lb > target) in aggsum_compare()
224 lb = as->as_lower_bound; in aggsum_compare()
236 if (ub < target || (lb > 0 && (uint64_t)lb > target)) in aggsum_compare()
[all …]
/freebsd/lib/libc/nameser/
H A Dns_samedomain.c50 size_t la, lb; in ns_samedomain() local
55 lb = strlen(b); in ns_samedomain()
74 if (lb != 0U && b[lb - 1] == '.') { in ns_samedomain()
77 for (i = lb - 2; i >= 0; i--) in ns_samedomain()
86 lb--; in ns_samedomain()
90 if (lb == 0U) in ns_samedomain()
94 if (lb > la) in ns_samedomain()
98 if (lb == la) in ns_samedomain()
99 return (strncasecmp(a, b, lb) == 0); in ns_samedomain()
103 diff = la - lb; in ns_samedomain()
[all …]
/freebsd/contrib/nvi/vi/
H A Dv_txt.c801 MEMMOVE(ntp->lb + ntp->cno, wmt.lb, WMTSPACE); in v_txt()
944 ait.lb = NULL; in v_txt()
947 MEMMOVE(ait.lb, tp->lb, tp->ai); in v_txt()
1757 t = aitp->lb; in v_txt_auto()
1773 MEMMOVE(tp->lb + nlen, tp->lb, tp->len); in v_txt_auto()
1918 (tp->lb[tp->cno - 1] == ' ' || tp->lb[tp->cno - 1] == '\t'); in txt_dent()
1989 p = tp->lb; in txt_fc()
2377 MEMMOVE(tp->lb + tp->cno, tp->lb + tp->cno + len, in txt_hex()
2494 MEMMOVE(tp->lb + cno, tp->lb + cno + copydown, in txt_insch()
2510 tp->lb[tp->cno + 1] = tp->lb[tp->cno]; in txt_insch()
[all …]
/freebsd/contrib/nvi/ex/
H A Dex_txt.c177 tp->lb[tp->len] = '\0'; in ex_txt()
211 free(ait.lb); in ex_txt()
245 if (!isblank(tp->lb[cnt])) in ex_txt()
249 tp->lb[0] = ev.e_c; in ex_txt()
250 tp->lb[1] = '\0'; in ex_txt()
288 ait.lb = NULL; in ex_txt()
291 MEMCPY(ait.lb, tp->lb, tp->ai); in ex_txt()
332 tp->lb[tp->len++] = ev.e_c; in ex_txt()
386 if (tp->lb[off] == '\t') in txt_dent()
421 tp->lb[tp->len++] = '\t'; in txt_dent()
[all …]
H A Dex_subst.c316 if (lb == NULL) { \
321 MEMCPY(lb + lbclen, l, len); \
329 if (lb == NULL) { \
333 pnt = lb + lbclen; \
351 CHAR_T *bp, *lb; in s() local
482 bp = lb = NULL; in s()
653 ev.e_c = TAILQ_FIRST(tiq)->lb[0]; in s()
803 if (db_set(sp, lno, lb + last, lbclen)) in s()
870 free(lb); in s()
1317 CHAR_T *lb; /* Local copies. */ in re_sub() local
[all …]
/freebsd/sys/netlink/
H A Dnetlink_snl.h83 struct linear_buffer *lb = calloc(1, size); in lb_init() local
85 if (lb != NULL) { in lb_init()
86 lb->base = (char *)(lb + 1); in lb_init()
87 lb->size = size - sizeof(*lb); in lb_init()
90 return (lb); in lb_init()
94 lb_free(struct linear_buffer *lb) in lb_free() argument
96 free(lb); in lb_free()
100 lb_allocz(struct linear_buffer *lb, in argument
111 lb_clear(struct linear_buffer * lb) lb_clear() argument
125 struct linear_buffer *lb; global() member
212 struct linear_buffer *lb = lb_init(size); snl_allocz() local
227 struct linear_buffer *lb = ss->lb; snl_clear_lb() local
[all...]
H A Dnetlink_message_parser.h47 lb_alloc(struct linear_buffer *lb, int len) in lb_alloc() argument
50 if (lb->offset + len > lb->size) in lb_alloc()
52 void *data = (void *)(lb->base + lb->offset); in lb_alloc()
53 lb->offset += len; in lb_alloc()
58 lb_clear(struct linear_buffer *lb) in lb_clear() argument
60 memset(lb->base, 0, lb->size); in lb_clear()
61 lb->offset = 0; in lb_clear()
67 struct linear_buffer lb; /* Per-message scratch buffer */ member
81 return (lb_alloc(&npt->lb, len)); in npt_alloc()
/freebsd/crypto/openssl/crypto/bn/
H A Dbn_shift.c107 unsigned int lb, rb; in bn_lshift_fixed_top() local
121 lb = (unsigned int)n % BN_BITS2; in bn_lshift_fixed_top()
122 rb = BN_BITS2 - lb; in bn_lshift_fixed_top()
131 m = l << lb; in bn_lshift_fixed_top()
135 t[0] = (l << lb) & BN_MASK2; in bn_lshift_fixed_top()
176 unsigned int lb, rb; in bn_rshift_fixed_top() local
193 lb = BN_BITS2 - rb; in bn_rshift_fixed_top()
194 lb %= BN_BITS2; /* say no to undefined behaviour */ in bn_rshift_fixed_top()
195 mask = (BN_ULONG)0 - lb; /* mask = 0 - (lb != 0) */ in bn_rshift_fixed_top()
206 t[i] = (l >> rb) | ((m << lb) & mask); in bn_rshift_fixed_top()
/freebsd/tools/tools/netmap/
H A DMakefile5 PROGS = pkt-gen nmreplay bridge lb
34 lb: lb.o pkt_hash.o target
35 $(CC) $(CFLAGS) -o lb lb.o pkt_hash.o $(LDFLAGS)
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_gsupport.cpp614 if ((str > 0) ? (lb < ub) : (lb > ub)) { \
654 if ((str > 0) ? (lb < ub) : (lb > ub)) { \
779 if ((str > 0) ? (lb < ub) : (lb > ub)) { \
826 if ((str > 0) ? (lb < ub) : (lb > ub)) { \
906 if ((str > 0) ? (lb < ub) : (lb > ub)) { \
944 if ((str > 0) ? (lb < ub) : (lb > ub)) { \
1069 if ((str > 0) ? (lb < ub) : (lb > ub)) { \
1379 lb = 0; in KMP_EXPAND_NAME()
1384 return (unsigned)lb; in KMP_EXPAND_NAME()
1404 lb = 0; in KMP_EXPAND_NAME()
[all …]
H A Dkmp_dispatch.cpp382 if (ub >= lb) { in __kmp_dispatch_init_algorithm()
383 tc = ub - lb + 1; in __kmp_dispatch_init_algorithm()
388 if (lb >= ub) { in __kmp_dispatch_init_algorithm()
396 if (ub >= lb) { in __kmp_dispatch_init_algorithm()
411 pr->u.p.lb = lb; in __kmp_dispatch_init_algorithm()
631 pr->u.p.lb = lb + init; in __kmp_dispatch_init_algorithm()
636 pr->u.p.lb = lb + init * st; in __kmp_dispatch_init_algorithm()
1663 start = pr->u.p.lb; in __kmp_dispatch_next_algorithm()
1697 *p_lb = pr->u.p.lb; in __kmp_dispatch_next_algorithm()
1721 start = pr->u.p.lb; in __kmp_dispatch_next_algorithm()
[all …]
H A Dompt-specific.h100 #define OMPT_GET_DISPATCH_CHUNK(chunk, lb, ub, incr) \ argument
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); \
/freebsd/crypto/openssh/openbsd-compat/regress/
H A Dstrtonumtest.c43 test(const char *p, long long lb, long long ub, int ok) in test() argument
48 val = strtonum(p, lb, ub, &q); in test()
50 fprintf(stderr, "%s [%lld-%lld] ", p, lb, ub); in test()
54 fprintf(stderr, "%s [%lld-%lld] %lld ", p, lb, ub, val); in test()
/freebsd/sys/sys/
H A Dresourcevar.h88 limbatch_prep(struct limbatch *lb) in limbatch_prep() argument
90 lb->limp = NULL; in limbatch_prep()
91 lb->count = 0; in limbatch_prep()
94 void limbatch_add(struct limbatch *lb, struct thread *td);
97 limbatch_process(struct limbatch *lb __unused) in limbatch_process()
102 void limbatch_final(struct limbatch *lb);
H A Dstats.h222 struct voistatdata_numeric lb; member
231 struct voistatdata_numeric lb; member
240 struct voistatdata_numeric lb, ub; member
249 struct voistatdata_numeric lb, ub; member
367 struct voistatdata_numeric lb; member
384 struct voistatdata_numeric lb, ub; member
510 .lb = stats_ctor_vsd_numeric(lbd), \
515 #define STATS_VSS_CRHIST32_LIN(lb, ub, stepinc, vsdflags) \ argument
518 #define STATS_VSS_CRHIST64_LIN(lb, ub, stepinc, vsdflags) \ argument
558 #define DRBKT(lb, ub) { stats_ctor_vsd_numeric(lb), stats_ctor_vsd_numeric(ub) } argument
[all …]
/freebsd/sys/dev/hwpmc/
H A Dhwpmc_logging.c346 struct pmclog_buffer *lb; in pmclog_loop() local
394 lb = NULL; in pmclog_loop()
433 lb->plb_base, lb->plb_ptr); in pmclog_loop()
437 aiov.iov_len = nbytes = lb->plb_ptr - lb->plb_base; in pmclog_loop()
473 pmc_plb_rele(lb); in pmclog_loop()
474 lb = NULL; in pmclog_loop()
483 if (lb) { in pmclog_loop()
486 pmc_plb_rele(lb); in pmclog_loop()
755 struct pmclog_buffer *lb; in pmclog_deconfigure_log() local
778 pmc_plb_rele(lb); in pmclog_deconfigure_log()
[all …]
/freebsd/crypto/openssl/crypto/cmac/
H A Dcmac.c208 int i, bl, lb; in CMAC_Final() local
218 lb = ctx->nlast_block; in CMAC_Final()
220 if (lb == bl) { in CMAC_Final()
224 ctx->last_block[lb] = 0x80; in CMAC_Final()
225 if (bl - lb > 1) in CMAC_Final()
226 memset(ctx->last_block + lb + 1, 0, bl - lb - 1); in CMAC_Final()
/freebsd/contrib/nvi/common/
H A Dput.c83 if (db_append(sp, 1, lno, tp->lb, tp->len)) in put()
97 if (db_append(sp, 1, lno, tp->lb, tp->len)) in put()
129 MEMCPY(t, tp->lb, tp->len); in put()
186 MEMCPY(t, ltp->lb, ltp->len); in put()
210 if (db_append(sp, 1, lno, tp->lb, tp->len)) in put()
H A Dcut.c241 MEMCPY(tp->lb, p + fcno, clen); in cut_line()
293 MALLOC(sp, tp->lb, tp->lb_len); in text_init()
294 if (tp->lb == NULL) { in text_init()
299 MEMCPY(tp->lb, p, len); in text_init()
331 free(tp->lb); in text_free()
/freebsd/usr.bin/units/
H A Ddefinitions.units153 lb .45359237 kg
154 pound lb
155 lbf lb g
156 ounce 1|16 lb
160 grain 1|7000 lb
162 shortton 2000 lb
164 longton 2240 lb
606 bag 94 lb
633 cental 100 lb
773 psi lb-g/in2
[all …]
/freebsd/lib/msun/src/
H A Ds_fma.c146 double ha, hb, la, lb, p, q; in dd_mul() local
156 lb = b - hb; in dd_mul()
159 q = ha * lb + la * hb; in dd_mul()
162 ret.lo = p - ret.hi + q + la * lb; in dd_mul()
H A Ds_fmal.c135 long double ha, hb, la, lb, p, q; in dd_mul() local
145 lb = b - hb; in dd_mul()
148 q = ha * lb + la * hb; in dd_mul()
151 ret.lo = p - ret.hi + q + la * lb; in dd_mul()
/freebsd/contrib/jemalloc/src/
H A Dbackground_thread.c153 size_t lb = BACKGROUND_THREAD_MIN_INTERVAL_NS / decay_interval_ns;
156 lb = (lb < 2) ? 2 : lb;
158 (lb + 2 > ub)) {
163 assert(lb + 2 <= ub);
165 npurge_lb = decay_npurge_after_interval(decay, lb);
167 interval = decay_interval_ns * lb;
179 && (lb + 2 < ub)) {
180 target = (lb + ub) / 2;
186 lb = target;
191 interval = decay_interval_ns * (ub + lb) / 2;
/freebsd/sys/cddl/dev/dtrace/riscv/
H A Ddtrace_asm.S76 lb a0, 0(a0)
122 lb a4, 0(a0) /* Load from uaddr */
143 lb a4, 0(a0) /* Load from uaddr */
/freebsd/usr.bin/vgrind/
H A Dvgrindefs.src31 :bb={:be=}:cb=/*:ce=*/:sb=":se=\e":lb=':\
41 :cb=\$:ce=\$|$:sb=":se=":lb=':le=\a|$:\
67 :bb={:be=}:cb=#:ce=$:sb=":se=\e":lb=':\
74 :bb={:be=}:cb=#:ce=$:sb=":se=\e":lb=':\
96 :sb=":se=\e":lb=':le=\e':tl:\
107 :sb=":se=\e":lb=':le=\e':oc:\
127 :cb=/*:ce=*/:sb=":se=\e":lb=':le=\e':tl:\
134 :ae=$:sb=":se=\e":lb=':\
151 :sb=":se=(\e"|$):lb=':le=(\e'|$):\

12345