| /freebsd-9-stable/contrib/nvi/vi/ |
| D | v_txt.c | 311 memmove(tp->lb, lp, len); 376 tp->lb[tp->cno++] = prompt; 392 tp->lb[tp->cno] = CH_CURSOR; 770 for (p = tp->lb + tp->cno; owrite > 0 && isblank(*p); 776 p = tp->lb + tp->cno + owrite; 810 FREE_SPACE(sp, ait.lb, ait.lb_len); 829 BINC_GOTO(sp, ntp->lb, 831 memmove(ntp->lb + ntp->cno, wmt.lb, WMTSPACE); 842 BINC_GOTO(sp, ntp->lb, ntp->lb_len, ntp->len + 1); 844 ntp->lb[ntp->cno] = CH_CURSOR; [all …]
|
| /freebsd-9-stable/lib/libc/nameser/ |
| D | ns_samedomain.c | 54 size_t la, lb; in ns_samedomain() local 59 lb = strlen(b); in ns_samedomain() 78 if (lb != 0U && b[lb - 1] == '.') { in ns_samedomain() 81 for (i = lb - 2; i >= 0; i--) in ns_samedomain() 90 lb--; in ns_samedomain() 94 if (lb == 0U) in ns_samedomain() 98 if (lb > la) in ns_samedomain() 102 if (lb == la) in ns_samedomain() 103 return (strncasecmp(a, b, lb) == 0); in ns_samedomain() 107 diff = la - lb; in ns_samedomain() [all …]
|
| /freebsd-9-stable/contrib/nvi/ex/ |
| D | ex_txt.c | 149 BINC_GOTO(sp, tp->lb, tp->lb_len, tp->len + 1); 172 tp->len != 0 && tp->lb[tp->len - 1] == '\\') 182 tp->lb[tp->len] = '\0'; 191 tp->lb[tp->len - 1] == '.') { 215 free(ait.lb); 249 if (!isblank(tp->lb[cnt])) 253 tp->lb[0] = ev.e_c; 254 tp->lb[1] = '\0'; 292 ait.lb = NULL; 294 BINC_GOTO(sp, ait.lb, ait.lb_len, tp->ai); [all …]
|
| D | ex_subst.c | 324 REALLOC(sp, lb, char *, lblen); \ 325 if (lb == NULL) { \ 330 memcpy(lb + lbclen, l, len); \ 337 REALLOC(sp, lb, char *, lblen); \ 338 if (lb == NULL) { \ 342 pnt = lb + lbclen; \ 364 char *bp, *lb; local 495 bp = lb = NULL; 663 ev.e_c = tiq.cqh_first->lb[0]; 699 if (re_sub(sp, s + offset, &lb, &lbclen, &lblen, match)) [all …]
|
| /freebsd-9-stable/sys/contrib/ia64/libuwx/src/ |
| D | uwx_utable.c | 150 int lb; in uwx_search_utable32() local 168 lb = 0; in uwx_search_utable32() 171 while (ub > lb) { in uwx_search_utable32() 172 mid = (lb + ub) / 2; in uwx_search_utable32() 183 TRACE_T_BINSEARCH32(lb, ub, mid, code_start, code_end) in uwx_search_utable32() 185 lb = mid + 1; in uwx_search_utable32() 191 if (ub <= lb) in uwx_search_utable32() 223 int lb; in uwx_search_utable64() local 239 lb = 0; in uwx_search_utable64() 242 while (ub > lb) { in uwx_search_utable64() [all …]
|
| /freebsd-9-stable/sys/dev/hwpmc/ |
| D | hwpmc_logging.c | 244 struct pmclog_buffer *lb; in pmclog_loop() local 267 lb = NULL; in pmclog_loop() 284 if (lb == NULL) { /* look for a fresh buffer to write */ in pmclog_loop() 286 if ((lb = TAILQ_FIRST(&po->po_logbuffers)) == NULL) { in pmclog_loop() 306 TAILQ_REMOVE(&po->po_logbuffers, lb, plb_next); in pmclog_loop() 314 lb->plb_base, lb->plb_ptr); in pmclog_loop() 317 aiov.iov_base = lb->plb_base; in pmclog_loop() 318 aiov.iov_len = nbytes = lb->plb_ptr - lb->plb_base; in pmclog_loop() 352 PMCLOG_INIT_BUFFER_DESCRIPTOR(lb); in pmclog_loop() 355 TAILQ_INSERT_HEAD(&pmc_bufferlist, lb, plb_next); in pmclog_loop() [all …]
|
| /freebsd-9-stable/crypto/openssl/crypto/x509/ |
| D | x509_cmp.c | 192 int la, lb; in nocase_spacenorm_cmp() local 195 lb = b->length; in nocase_spacenorm_cmp() 204 while (lb > 0 && isspace(*pb)) { in nocase_spacenorm_cmp() 205 lb--; in nocase_spacenorm_cmp() 212 while (lb > 0 && isspace(pb[lb - 1])) in nocase_spacenorm_cmp() 213 lb--; in nocase_spacenorm_cmp() 216 while (la > 0 && lb > 0) { in nocase_spacenorm_cmp() 228 lb--; in nocase_spacenorm_cmp() 230 if (la <= 0 || lb <= 0) in nocase_spacenorm_cmp() 240 while (lb > 0 && isspace(*pb)) { in nocase_spacenorm_cmp() [all …]
|
| /freebsd-9-stable/crypto/openssl/crypto/bn/ |
| D | bn_shift.c | 129 int i, nw, lb, rb; in BN_lshift() local 145 lb = n % BN_BITS2; in BN_lshift() 146 rb = BN_BITS2 - lb; in BN_lshift() 150 if (lb == 0) in BN_lshift() 157 t[nw + i] = (l << lb) & BN_MASK2; in BN_lshift() 171 int i, j, nw, lb, rb; in BN_rshift() local 185 lb = BN_BITS2 - rb; in BN_rshift() 212 *(t++) = (tmp | (l << lb)) & BN_MASK2; in BN_rshift()
|
| /freebsd-9-stable/contrib/bind9/lib/dns/ |
| D | rrl.c | 771 add_log_str(isc_buffer_t *lb, const char *str, unsigned int str_len) { in add_log_str() argument 774 isc_buffer_availableregion(lb, ®ion); in add_log_str() 781 isc_buffer_add(lb, str_len); in add_log_str() 796 isc_buffer_t lb; in make_log_buf() local 808 isc_buffer_init(&lb, log_buf, log_buf_len-1); in make_log_buf() 811 add_log_str(&lb, str1, strlen(str1)); in make_log_buf() 813 add_log_str(&lb, str2, strlen(str2)); in make_log_buf() 819 ADD_LOG_CSTR(&lb, "drop "); in make_log_buf() 822 ADD_LOG_CSTR(&lb, "slip "); in make_log_buf() 833 ADD_LOG_CSTR(&lb, "referral "); in make_log_buf() [all …]
|
| /freebsd-9-stable/crypto/openssl/crypto/ |
| D | tmdiff.c | 203 signed long long la, lb; in ms_time_diff() local 205 signed _int64 la, lb; in ms_time_diff() 208 lb = b->ms_win32.dwHighDateTime; in ms_time_diff() 210 lb <<= 32; in ms_time_diff() 212 lb += b->ms_win32.dwLowDateTime; in ms_time_diff() 213 ret = ((double)(lb - la)) / 1e7; in ms_time_diff()
|
| /freebsd-9-stable/crypto/openssh/openbsd-compat/regress/ |
| D | strtonumtest.c | 41 test(const char *p, long long lb, long long ub, int ok) in test() argument 46 val = strtonum(p, lb, ub, &q); in test() 48 fprintf(stderr, "%s [%lld-%lld] ", p, lb, ub); in test() 52 fprintf(stderr, "%s [%lld-%lld] %lld ", p, lb, ub, val); in test()
|
| /freebsd-9-stable/contrib/nvi/common/ |
| D | put.c | 89 if (db_append(sp, 1, lno, tp->lb, tp->len)) 103 if (db_append(sp, 1, lno, tp->lb, tp->len)) 135 memcpy(t, tp->lb, tp->len); 192 memcpy(t, ltp->lb, ltp->len); 217 if (db_append(sp, 1, lno, tp->lb, tp->len))
|
| D | cut.c | 269 memcpy(tp->lb, p + fcno, clen); 325 MALLOC(sp, tp->lb, CHAR_T *, tp->lb_len); 326 if (tp->lb == NULL) { 331 memcpy(tp->lb, p, len); 365 if (tp->lb != NULL) 366 free(tp->lb);
|
| /freebsd-9-stable/contrib/groff/src/preproc/eqn/ |
| D | text.cpp | 361 list_box *lb = 0; in split_text() local 510 if (lb != 0) in split_text() 511 lb->append(b); in split_text() 513 lb = new list_box(fb); in split_text() 514 lb->append(b); in split_text() 521 if (lb != 0) in split_text() 522 return lb; in split_text()
|
| D | eqn.y | 133 list_box *lb = $1->to_list_box(); variable 134 if (!lb) 135 lb = new list_box($1); 136 lb->append($2); 137 $$ = lb;
|
| /freebsd-9-stable/lib/msun/src/ |
| D | s_fma.c | 140 double ha, hb, la, lb, p, q; in dd_mul() local 150 lb = b - hb; in dd_mul() 153 q = ha * lb + la * hb; in dd_mul() 156 ret.lo = p - ret.hi + q + la * lb; in dd_mul()
|
| D | s_fmal.c | 136 long double ha, hb, la, lb, p, q; in dd_mul() local 146 lb = b - hb; in dd_mul() 149 q = ha * lb + la * hb; in dd_mul() 152 ret.lo = p - ret.hi + q + la * lb; in dd_mul()
|
| /freebsd-9-stable/usr.bin/vgrind/ |
| D | vgrindefs.src | 35 :bb={:be=}:cb=/*:ce=*/:sb=":se=\e":lb=':\ 45 :cb=\$:ce=\$|$:sb=":se=":lb=':le=\a|$:\ 71 :bb={:be=}:cb=#:ce=$:sb=":se=\e":lb=':\ 78 :bb={:be=}:cb=#:ce=$:sb=":se=\e":lb=':\ 100 :sb=":se=\e":lb=':le=\e':tl:\ 111 :sb=":se=\e":lb=':le=\e':oc:\ 131 :cb=/*:ce=*/:sb=":se=\e":lb=':le=\e':tl:\ 138 :ae=$:sb=":se=\e":lb=':\ 155 :sb=":se=(\e"|$):lb=':le=(\e'|$):\
|
| /freebsd-9-stable/crypto/openssl/crypto/bio/ |
| D | bio_lib.c | 412 BIO *lb; in BIO_push() local 416 lb = b; in BIO_push() 417 while (lb->next_bio != NULL) in BIO_push() 418 lb = lb->next_bio; in BIO_push() 419 lb->next_bio = bio; in BIO_push() 421 bio->prev_bio = lb; in BIO_push()
|
| /freebsd-9-stable/sys/xdr/ |
| D | xdr.c | 403 long lb; in xdr_bool() local 408 lb = *bp ? XDR_TRUE : XDR_FALSE; in xdr_bool() 409 return (XDR_PUTLONG(xdrs, &lb)); in xdr_bool() 412 if (!XDR_GETLONG(xdrs, &lb)) { in xdr_bool() 415 *bp = (lb == XDR_FALSE) ? FALSE : TRUE; in xdr_bool()
|
| /freebsd-9-stable/contrib/texinfo/util/ |
| D | texindex.c | 925 struct linebuffer lb; in sort_offline() local 929 initbuffer (&lb); in sort_offline() 933 linelength = readline (&lb, istream); in sort_offline() 935 if (lb.buffer[0] != '\\' && lb.buffer[0] != '@') in sort_offline() 960 fputs (lb.buffer, ostream); in sort_offline() 965 linelength = readline (&lb, istream); in sort_offline() 969 if (lb.buffer[0] != '\\' && lb.buffer[0] != '@') in sort_offline() 981 free (lb.buffer); in sort_offline()
|
| /freebsd-9-stable/usr.bin/lex/ |
| D | nfa.c | 548 int mkrep( mach, lb, ub ) in mkrep() argument 549 int mach, lb, ub; in mkrep() 553 base_mach = copysingl( mach, lb - 1 ); 566 for ( i = lb; i < ub; ++i )
|
| /freebsd-9-stable/lib/libc/xdr/ |
| D | xdr.c | 493 long lb; local 498 lb = *bp ? XDR_TRUE : XDR_FALSE; 499 return (XDR_PUTLONG(xdrs, &lb)); 502 if (!XDR_GETLONG(xdrs, &lb)) { 505 *bp = (lb == XDR_FALSE) ? FALSE : TRUE;
|
| /freebsd-9-stable/contrib/tcsh/ |
| D | tc.bind.c | 448 CStr fb, lb; in printkeys() local 451 lb.buf = lastbuf; in printkeys() 458 lb.len = 1; in printkeys() 476 p = unparsestring(&lb, STRQQ); in printkeys()
|
| /freebsd-9-stable/sys/net/ |
| D | if_lagg.c | 1740 struct lagg_lb *lb; in lagg_lb_attach() local 1742 if ((lb = (struct lagg_lb *)malloc(sizeof(struct lagg_lb), in lagg_lb_attach() 1753 lb->lb_key = arc4random(); in lagg_lb_attach() 1754 sc->sc_psc = (caddr_t)lb; in lagg_lb_attach() 1765 struct lagg_lb *lb = (struct lagg_lb *)sc->sc_psc; in lagg_lb_detach() local 1766 if (lb != NULL) in lagg_lb_detach() 1767 free(lb, M_DEVBUF); in lagg_lb_detach() 1774 struct lagg_lb *lb = (struct lagg_lb *)sc->sc_psc; in lagg_lb_porttable() local 1778 bzero(&lb->lb_ports, sizeof(lb->lb_ports)); in lagg_lb_porttable() 1787 lb->lb_ports[i++] = lp_next; in lagg_lb_porttable() [all …]
|