Home
last modified time | relevance | path

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

123456

/openbsd/usr.bin/vi/vi/
H A Dv_txt.c807 memmove(ntp->lb + ntp->cno, wmt.lb, WMTSPACE); in v_txt()
949 ait.lb = NULL; in v_txt()
952 memmove(ait.lb, tp->lb, tp->ai); in v_txt()
1758 t = aitp->lb; in v_txt_auto()
1774 memmove(tp->lb + nlen, tp->lb, tp->len); in v_txt_auto()
1917 (tp->lb[tp->cno - 1] == ' ' || tp->lb[tp->cno - 1] == '\t'); in txt_dent()
1986 p = tp->lb; in txt_fc()
2360 memmove(tp->lb + tp->cno, tp->lb + tp->cno + len, tp->owrite); in txt_hex()
2472 memmove(tp->lb + cno, tp->lb + cno + copydown, in txt_insch()
2488 tp->lb[tp->cno + 1] = tp->lb[tp->cno]; in txt_insch()
[all …]
/openbsd/usr.bin/vi/ex/
H A Dex_txt.c177 tp->lb[tp->len] = '\0'; in ex_txt()
210 free(ait.lb); in ex_txt()
244 if (!isblank(tp->lb[cnt])) in ex_txt()
248 tp->lb[0] = ev.e_c; in ex_txt()
249 tp->lb[1] = '\0'; in ex_txt()
287 ait.lb = NULL; in ex_txt()
290 memcpy(ait.lb, tp->lb, tp->ai); in ex_txt()
330 tp->lb[tp->len++] = ev.e_c; in ex_txt()
384 if (tp->lb[off] == '\t') in txt_dent()
419 tp->lb[tp->len++] = '\t'; in txt_dent()
[all …]
H A Dex_subst.c314 REALLOC((sp), lb, lblen); \
315 if (lb == NULL) { \
320 memcpy(lb + lbclen, (l), (len)); \
327 REALLOC((sp), lb, lblen); \
328 if (lb == NULL) { \
332 (pnt) = lb + lbclen; \
350 char *bp, *lb; in s() local
481 bp = lb = NULL; in s()
860 free(lb); in s()
1214 char *lb; /* Local copies. */ in re_sub() local
[all …]
/openbsd/regress/lib/libc/strtonum/
H A Dstrtonumtest.c25 test(const char *p, long long lb, long long ub, int ok) in test() argument
30 val = strtonum(p, lb, ub, &q); in test()
32 fprintf(stderr, "%s [%lld-%lld] ", p, lb, ub); in test()
36 fprintf(stderr, "%s [%lld-%lld] %lld ", p, lb, ub, val); in test()
/openbsd/lib/libcrypto/cmac/
H A Dcmac.c299 int i, block_size, lb; in CMAC_Final() local
307 lb = ctx->nlast_block; in CMAC_Final()
309 if (lb == block_size) { in CMAC_Final()
313 ctx->last_block[lb] = 0x80; in CMAC_Final()
314 if (block_size - lb > 1) in CMAC_Final()
315 memset(ctx->last_block + lb + 1, 0, block_size - lb - 1); in CMAC_Final()
/openbsd/gnu/usr.bin/perl/lib/unicore/
H A DPropValueAliases.txt1074 # Line_Break (lb)
1088 lb ; EB ; E_Base
1091 lb ; GL ; Glue
1092 lb ; H2 ; H2
1093 lb ; H3 ; H3
1095 lb ; HY ; Hyphen
1099 lb ; JL ; JL
1100 lb ; JT ; JT
1101 lb ; JV ; JV
1113 lb ; SP ; Space
[all …]
/openbsd/usr.bin/vi/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.c256 memcpy(tp->lb, p + fcno, clen); in cut_line()
308 MALLOC(sp, tp->lb, tp->lb_len); in text_init()
309 if (tp->lb == NULL) { in text_init()
314 memcpy(tp->lb, p, len); in text_init()
346 free(tp->lb); in text_free()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Dcvt6.C21 void test(bar lb) { b = lb; } in test() argument
/openbsd/gnu/gcc/libgomp/testsuite/libgomp.c/appendix-a/
H A Da.21.1.c12 a21 (int lb, int ub, int stride) in a21() argument
16 for (i = lb; i < ub; i += stride) in a21()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/template/
H A Dmember.C24 template<class BS> void process(const int d,BS &en,BS &lb){ in process() argument
25 a.f(en);b.f(lb); in process()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D900313-1.c38 int ab, bb, cb, db, eb, fb, gb, hb, ib, jb, kb, lb, mb, nb, ob, pb; in foobar() local
52 lb = bar (); in foobar()
110 boofar (lb); in foobar()
160 boofar (lb); in foobar()
/openbsd/gnu/usr.bin/perl/t/re/
H A Dregex_sets.t79 like("\r", qr/(?[ \p{lb=cr} ])/, '\r matches \p{lb=cr}');
80 unlike("\r", qr/(?[ ! \p{lb=cr} ])/, '\r doesnt match ! \p{lb=cr}');
81 like("\r", qr/(?[ ! ! \p{lb=cr} ])/, 'Two ! ! are the original');
82 unlike("\r", qr/(?[ ! ! ! \p{lb=cr} ])/, 'Three ! ! ! are the complement');
/openbsd/sys/net/
H A Dif_trunk.c1484 struct trunk_lb *lb; in trunk_lb_attach() local
1486 if ((lb = malloc(sizeof(*lb), M_DEVBUF, M_NOWAIT|M_ZERO)) == NULL) in trunk_lb_attach()
1501 arc4random_buf(&lb->lb_key, sizeof(lb->lb_key)); in trunk_lb_attach()
1502 tr->tr_psc = (caddr_t)lb; in trunk_lb_attach()
1510 struct trunk_lb *lb = (struct trunk_lb *)tr->tr_psc; in trunk_lb_detach() local
1512 free(lb, M_DEVBUF, sizeof *lb); in trunk_lb_detach()
1519 struct trunk_lb *lb = (struct trunk_lb *)tr->tr_psc; in trunk_lb_porttable() local
1523 bzero(&lb->lb_ports, sizeof(lb->lb_ports)); in trunk_lb_porttable()
1532 lb->lb_ports[i++] = tp_next; in trunk_lb_porttable()
1559 p = trunk_hashmbuf(m, &lb->lb_key); in trunk_lb_start()
[all …]
/openbsd/lib/libcrypto/bio/
H A Dbio_lib.c649 BIO *lb; in BIO_push() local
653 lb = b; in BIO_push()
654 while (lb->next_bio != NULL) in BIO_push()
655 lb = lb->next_bio; in BIO_push()
656 lb->next_bio = bio; in BIO_push()
660 bio->prev_bio = lb; in BIO_push()
663 BIO_ctrl(b, BIO_CTRL_PUSH, 0, lb); in BIO_push()
/openbsd/lib/libc/rpc/
H A Dxdr.c394 long lb; in xdr_bool() local
399 lb = *bp ? XDR_TRUE : XDR_FALSE; in xdr_bool()
400 return (XDR_PUTLONG(xdrs, &lb)); in xdr_bool()
403 if (!XDR_GETLONG(xdrs, &lb)) { in xdr_bool()
406 *bp = (lb == XDR_FALSE) ? FALSE : TRUE; in xdr_bool()
/openbsd/sys/arch/riscv64/riscv64/
H A Dcopystr.S48 lb t0, 0(a0)
106 lb t0, 0(a0)
/openbsd/gnu/usr.bin/texinfo/util/
H A Dtexindex.c878 struct linebuffer lb; in sort_offline() local
882 initbuffer (&lb); in sort_offline()
886 linelength = readline (&lb, istream); in sort_offline()
888 if (lb.buffer[0] != '\\' && lb.buffer[0] != '@') in sort_offline()
916 fputs (lb.buffer, ostream); in sort_offline()
921 linelength = readline (&lb, istream); in sort_offline()
925 if (lb.buffer[0] != '\\' && lb.buffer[0] != '@') in sort_offline()
937 free (lb.buffer); in sort_offline()
/openbsd/usr.bin/lex/
H A Dnfa.c566 mkrep(mach, lb, ub) in mkrep() argument
567 int mach, lb, ub; in mkrep()
571 base_mach = copysingl(mach, lb - 1);
581 for (i = lb; i < ub; ++i) {
/openbsd/sys/arch/alpha/pci/
H A Dtsreg.h56 #define TSFIELDBB(r,lb,rb) TSFIELD((r), (rb), (lb) - (rb) + 1) argument
/openbsd/regress/usr.bin/bc/
H A Dt7.out2 lb 2-sb
/openbsd/regress/usr.bin/sed/
H A Ddc.sed305 s,[^-0-9].*,;9d**dd*8*d*d7dd**d*6d**d5d*d*4*d3d*2lbd**1lb*0,
324 s,|?.,&K1+k KSbSb[dk]SadXdK<asadlb/lb+[.5]*[sbdlb/lb+[.5]*dlb>a]dsaxsasaLbsaLatLbk K1-kt,
/openbsd/lib/libc/arch/mips64/string/
H A Dstrlen.S40 lb v0, 0(a0) # get byte from string
/openbsd/sys/lib/libkern/arch/mips64/
H A Dstrlen.S43 lb v0, 0(a0) # get byte from string
/openbsd/bin/stty/
H A Dprint.c206 binit(char *lb) in binit() argument
213 label = lb; in binit()

123456