/openbsd/gnu/usr.bin/perl/os2/OS2/OS2-Process/t/ |
H A D | os2_atoms.t | 8 my $tbl = CreateAtomTable; 10 ok($tbl, 'CreateAtomTable succeeds'); 12 is(AtomLength(133, $tbl), 6, 'AtomLength of unknown atom is 6'); 13 is(AtomLength(1, $tbl), 6, 'AtomLength of unknown atom is 6'); 41 is(AddAtom('#134', $tbl), 134, 'Add unknown atom per #number'); 42 is(AddAtom('#2', $tbl), 2, 'Add unknown atom per #number'); 46 my $a1 = AddAtom("perltest//pp$$", $tbl); 48 my $a2 = AddAtom("perltest//p$$", $tbl); 60 is(AtomUsage($a1, $tbl), 1, 'AtomUsage of known atom'); 70 ok(DeleteAtom($a1, $tbl), 'DeleteAtom of known atom'); [all …]
|
/openbsd/usr.bin/mandoc/ |
H A D | tbl.c | 93 tbl = mandoc_calloc(1, sizeof(*tbl)); in tbl_alloc() 96 tbl->line = line; in tbl_alloc() 97 tbl->pos = pos; in tbl_alloc() 101 return tbl; in tbl_alloc() 133 old_tbl = tbl; in tbl_free() 134 tbl = tbl->next; in tbl_free() 147 tbl->pos = pos; in tbl_restart() 155 span = tbl->current_span ? tbl->current_span->next in tbl_span() 168 mandoc_msg(MANDOCERR_BLK_NOEND, tbl->line, tbl->pos, "TS"); in tbl_end() 170 mandoc_msg(MANDOCERR_TBLDATA_BLK, tbl->line, tbl->pos, "TE"); in tbl_end() [all …]
|
H A D | tbl_layout.c | 266 mods(tbl, cell_alloc(tbl, rp, c), ln, p, pos); in cell() 290 tbl->part = TBL_PART_DATA; in tbl_layout() 298 tbl->first_row = tbl->last_row = in tbl_layout() 304 cell_alloc(tbl, tbl->first_row, in tbl_layout() 306 if (tbl->opts.lvert < tbl->first_row->vert) in tbl_layout() 307 tbl->opts.lvert = tbl->first_row->vert; in tbl_layout() 330 tbl->last_row = rp; in tbl_layout() 347 if (tbl->last_row) in tbl_layout() 350 tbl->first_row = rp; in tbl_layout() 351 tbl->last_row = rp; in tbl_layout() [all …]
|
H A D | tbl_data.c | 166 tbl->part = TBL_PART_CDATA; in getdata() 200 dat = tbl->last_span->last; in tbl_cdata() 208 tbl->part = TBL_PART_DATA; in tbl_cdata() 211 getdata(tbl, tbl->last_span, ln, p, &pos); in tbl_cdata() 244 dp->opts = &tbl->opts; in newspan() 246 dp->prev = tbl->last_span; in newspan() 249 tbl->first_span = dp; in newspan() 250 tbl->current_span = NULL; in newspan() 253 tbl->last_span = dp; in newspan() 310 sp = newspan(tbl, ln, rp); in tbl_data() [all …]
|
H A D | out.c | 133 assert(tbl->cols == NULL); in tblcalc() 153 col = tbl->cols + icol; in tblcalc() 171 width = tblcalc_data(tbl, in tblcalc() 211 col = tbl->cols + icol; in tblcalc() 334 col = tbl->cols + icol; in tblcalc() 355 col = tbl->cols + icol; in tblcalc() 397 col = tbl->cols + icol; in tblcalc() 420 sz = (*tbl->len)(1, tbl->arg); in tblcalc_data() 460 wsz = (*tbl->slen)(beg, tbl->arg); in tblcalc_literal() 486 totsz = (*tbl->slen)(dp->string, tbl->arg); in tblcalc_number() [all …]
|
/openbsd/lib/libcrypto/aes/asm/ |
H A D | aes-armv4.pl | 49 $tbl="r10"; 348 add $tbl,$tbl,#2 403 sub $tbl,$tbl,#2 495 ldrb $t2,[$tbl,$t2] 497 ldrb $i1,[$tbl,$i1] 499 ldrb $i2,[$tbl,$i2] 1064 add $tbl,$tbl,#1024 1067 ldr $t3,[$tbl,#32] 1068 ldr $t1,[$tbl,#64] 1069 ldr $t2,[$tbl,#96] [all …]
|
H A D | aes-parisc.pl | 62 $tbl="%r28"; 208 ldwx,s $acc0($tbl),$acc0 210 ldwx,s $acc1($tbl),$acc1 212 ldwx,s $acc2($tbl),$acc2 214 ldwx,s $acc3($tbl),$acc3 216 ldwx,s $acc4($tbl),$acc4 218 ldwx,s $acc5($tbl),$acc5 220 ldwx,s $acc6($tbl),$acc6 222 ldwx,s $acc7($tbl),$acc7 224 ldwx,s $acc8($tbl),$acc8 [all …]
|
H A D | aes-sparcv9.pl | 68 $tbl="%i4"; 215 ldx [$tbl+$acc0],$acc0 218 ldx [$tbl+$acc1],$acc1 224 ldx [$tbl+$acc3],$acc3 227 ldx [$tbl+$acc4],$acc4 231 ldx [$tbl+$acc5],$acc5 234 ldx [$tbl+$acc6],$acc6 240 ldx [$tbl+$acc8],$acc8 243 ldx [$tbl+$acc9],$acc9 264 add $tbl,2048,$rounds [all …]
|
H A D | aes-586.pl | 203 $tbl="ebp"; 476 my $tmp = $tbl; 1181 &picsymbol($tbl, &label("AES_Te"), $tbl); 1187 &lea ($tbl,&DWP(2048+128,$tbl,$s1)); 1970 &picsymbol($tbl, &label("AES_Td"), $tbl); 1976 &lea ($tbl,&DWP(2048+128,$tbl,$s1)); 2038 &picsymbol($tbl, &label("AES_Te"), $tbl); 2122 &lea ($tbl,&DWP(128,$tbl)); 2328 &lea ($tbl,&DWP(2048+128,$tbl,$s1)); 2659 &picsymbol($tbl, &label("AES_Te"), $tbl); [all …]
|
/openbsd/games/fortune/unstr/ |
H A D | unstr.c | 71 static STRFILE tbl; /* description table */ in main() local 85 (void) fread(&tbl.str_version, sizeof(tbl.str_version), 1, Dataf); in main() 86 (void) fread(&tbl.str_numstr, sizeof(tbl.str_numstr), 1, Dataf); in main() 87 (void) fread(&tbl.str_longlen, sizeof(tbl.str_longlen), 1, Dataf); in main() 88 (void) fread(&tbl.str_shortlen, sizeof(tbl.str_shortlen), 1, Dataf); in main() 89 (void) fread(&tbl.str_flags, sizeof(tbl.str_flags), 1, Dataf); in main() 90 (void) fread( tbl.stuff, sizeof(tbl.stuff), 1, Dataf); in main() 93 Delimch = tbl.str_delim; in main() 94 order_unstr(&tbl); in main() 114 order_unstr(STRFILE *tbl) in order_unstr() argument [all …]
|
/openbsd/sbin/pfctl/ |
H A D | pfctl_radix.c | 98 io.pfrio_buffer = tbl; in pfr_add_tables() 119 io.pfrio_buffer = tbl; in pfr_del_tables() 143 io.pfrio_buffer = tbl; in pfr_get_tables() 166 io.pfrio_buffer = tbl; in pfr_get_tstats() 180 if (tbl == NULL) { in pfr_clr_addrs() 186 io.pfrio_table = *tbl; in pfr_clr_addrs() 206 io.pfrio_table = *tbl; in pfr_add_addrs() 229 io.pfrio_table = *tbl; in pfr_del_addrs() 252 io.pfrio_table = *tbl; in pfr_set_addrs() 283 io.pfrio_table = *tbl; in pfr_get_addrs() [all …]
|
/openbsd/usr.bin/lex/ |
H A D | gen.c | 127 return tbl; in mkeoltbl() 307 return tbl; in mkctbl() 337 return tbl; in mkssltbl() 473 return tbl; in mkecstbl() 686 return tbl; in mkftbl() 1259 tbl = 0; in gentabs() 1626 tbl = 0; in make_tables() 1635 tbl = 0; in make_tables() 1648 tbl = 0; in make_tables() 1657 tbl = 0; in make_tables() [all …]
|
H A D | tables.c | 391 total_len = yytbl_calc_total_len (tbl); in min_int_size() 396 n = abs (yytbl_data_geti (tbl, i)); in min_int_size() 424 yytbl_data_init (&newtbl, tbl->td_id); in yytbl_data_compress() 425 newtbl.td_hilen = tbl->td_hilen; in yytbl_data_compress() 426 newtbl.td_lolen = tbl->td_lolen; in yytbl_data_compress() 427 newtbl.td_flags = tbl->td_flags; in yytbl_data_compress() 429 newsz = min_int_size (tbl); in yytbl_data_compress() 441 total_len = yytbl_calc_total_len (tbl); in yytbl_data_compress() 449 g = yytbl_data_geti (tbl, i); in yytbl_data_compress() 455 free (tbl->td_data); in yytbl_data_compress() [all …]
|
H A D | tables_shared.c | 60 yyskel_static flex_int32_t yytbl_calc_total_len (const struct yytbl_data *tbl) in yytbl_calc_total_len() argument 65 n = tbl->td_lolen; in yytbl_calc_total_len() 66 if (tbl->td_hilen > 0) in yytbl_calc_total_len() 67 n *= tbl->td_hilen; in yytbl_calc_total_len() 69 if (tbl->td_id == YYTD_ID_TRANSITION) in yytbl_calc_total_len()
|
/openbsd/games/fortune/fortune/ |
H A D | fortune.c | 79 STRFILE tbl; member 986 if (read(fd, &fp->tbl.str_version, sizeof(fp->tbl.str_version)) != in get_tbl() 992 if (read(fd, &fp->tbl.str_numstr, sizeof(fp->tbl.str_numstr)) != in get_tbl() 998 if (read(fd, &fp->tbl.str_longlen, sizeof(fp->tbl.str_longlen)) != in get_tbl() 1010 if (read(fd, &fp->tbl.str_flags, sizeof(fp->tbl.str_flags)) != in get_tbl() 1016 if (read(fd, fp->tbl.stuff, sizeof(fp->tbl.stuff)) != in get_tbl() 1024 fp->tbl.str_numstr = ntohl(fp->tbl.str_numstr); in get_tbl() 1025 fp->tbl.str_longlen = ntohl(fp->tbl.str_longlen); in get_tbl() 1026 fp->tbl.str_shortlen = ntohl(fp->tbl.str_shortlen); in get_tbl() 1027 fp->tbl.str_flags = ntohl(fp->tbl.str_flags); in get_tbl() [all …]
|
/openbsd/bin/ksh/ |
H A D | table.c | 56 struct tbl *tblp, **p; in texpand() 87 struct tbl * 90 struct tbl **pp, *p; in ktsearch() 110 struct tbl * 113 struct tbl **pp, *p; in ktenter() 153 ktdelete(struct tbl *p) in ktdelete() 165 struct tbl * 184 struct tbl ** 188 struct tbl **p, **sp, **dp; in ktsort() 211 struct tbl *te; in tprintinfo() [all …]
|
H A D | table.h | 12 struct tbl **tbls; /* hashed table items */ 15 struct tbl { /* table item */ struct 32 struct tbl *array; /* array values */ argument 136 struct tbl **next; 188 struct tbl * ktsearch(struct table *, const char *, unsigned int); 189 struct tbl * ktenter(struct table *, const char *, unsigned int); 190 void ktdelete(struct tbl *); 192 struct tbl * ktnext(struct tstate *); 193 struct tbl ** ktsort(struct table *);
|
H A D | expr.c | 142 static struct tbl *do_ppmm(Expr_state *, enum token, struct tbl *, bool); 145 static struct tbl *intvar(Expr_state *, struct tbl *); 153 struct tbl v; in evaluate() 170 struct tbl *v; in v_evaluate() 281 static struct tbl * 533 static struct tbl * 536 struct tbl *vl; in do_ppmm() 563 static struct tbl * 566 struct tbl *vp; in tempvar() 578 static struct tbl * [all …]
|
H A D | var.c | 39 static struct tbl *arraysearch(struct tbl *, int); 124 struct tbl *tp; in initvar() 169 struct tbl * 173 struct tbl *vp; in global() 252 struct tbl * 256 struct tbl *vp; in local() 492 struct tbl * 493 setint_v(struct tbl *vq, struct tbl *vp, bool arith) in setint_v() 598 struct tbl * 601 struct tbl *vp; in typeset() [all …]
|
H A D | sh.h | 439 struct tbl * findcom(const char *, int); 586 struct tbl * global(const char *); 587 struct tbl * local(const char *, bool); 588 char * str_val(struct tbl *); 589 int64_t intval(struct tbl *); 590 int setstr(struct tbl *, const char *, int); 591 struct tbl *setint_v(struct tbl *, struct tbl *, bool); 592 void setint(struct tbl *, int64_t); 593 int getint(struct tbl *, int64_t *, bool); 594 struct tbl *typeset(const char *, int, int, int, int); [all …]
|
/openbsd/lib/libcrypto/cmac/ |
H A D | cmac.c | 74 unsigned char tbl[EVP_MAX_BLOCK_LENGTH]; member 135 explicit_bzero(ctx->tbl, EVP_MAX_BLOCK_LENGTH); in CMAC_CTX_cleanup() 174 memcpy(out->tbl, in->tbl, block_size); in CMAC_CTX_copy() 195 explicit_bzero(ctx->tbl, sizeof(ctx->tbl)); in CMAC_Init() 231 if (!EVP_Cipher(ctx->cipher_ctx, ctx->tbl, zero_iv, block_size)) in CMAC_Init() 235 make_kn(ctx->k1, ctx->tbl, block_size); in CMAC_Init() 240 explicit_bzero(ctx->tbl, sizeof(ctx->tbl)); in CMAC_Init() 278 if (!EVP_Cipher(ctx->cipher_ctx, ctx->tbl, ctx->last_block, in CMAC_Update() 284 if (!EVP_Cipher(ctx->cipher_ctx, ctx->tbl, data, block_size)) in CMAC_Update()
|
/openbsd/regress/usr.bin/mandoc/tbl/opt/ |
H A D | invalid.out_lint | 1 mandoc: invalid.in:8:5: ERROR: missing tbl option argument: tab 2 mandoc: invalid.in:8:19: ERROR: wrong tbl option argument size: decimalpoint want 1 have 2 3 mandoc: invalid.in:8:23: ERROR: non-alphabetic character in tbl options: % 4 mandoc: invalid.in:8:24: ERROR: skipping unknown tbl option: foo 5 mandoc: invalid.in:16:21: UNSUPP: eqn delim option in tbl: $$
|
/openbsd/regress/usr.bin/mandoc/tbl/layout/ |
H A D | complex.out_lint | 1 mandoc: complex.in:9:14: WARNING: skipping vertical bar in tbl layout 2 mandoc: complex.in:9:28: WARNING: skipping vertical bar in tbl layout 3 mandoc: complex.in:11:7: ERROR: ignoring data in spanned tbl cell: h 4 mandoc: complex.in:17:3: WARNING: tbl column starts with span 5 mandoc: complex.in:19:3: ERROR: ignoring data in spanned tbl cell: b
|
/openbsd/gnu/usr.bin/perl/dist/Unicode-Normalize/ |
H A D | mkheader | 269 foreach my $tbl (@boolfunc) { 270 my @temp = sort {$a <=> $b} keys %{$tbl->{hash}}; 271 my $type = $tbl->{type}; 272 my $name = $tbl->{name}; 339 foreach my $tbl (@tripletable) { 340 my $file = "$tbl->{file}.h"; 341 my $head = "${prefix}$tbl->{name}"; 342 my $type = $tbl->{type}; 343 my $hash = $tbl->{hash}; 344 my $null = $tbl->{null}; [all …]
|
/openbsd/gnu/usr.bin/perl/cpan/Unicode-Collate/ |
H A D | mkheader | 125 foreach my $tbl (@tripletable) { 126 my $file = "$tbl->{file}.h"; 127 my $head = "${prefix}$tbl->{name}"; 128 my $type = $tbl->{type}; 129 my $hash = $tbl->{hash}; 130 my $null = $tbl->{null}; 131 my $init = $tbl->{init};
|