| /freebsd-14.2/contrib/mandoc/ |
| H A D | tbl.c | 95 tbl = mandoc_calloc(1, sizeof(*tbl)); in tbl_alloc() 98 tbl->line = line; in tbl_alloc() 99 tbl->pos = pos; in tbl_alloc() 103 return tbl; in tbl_alloc() 136 old_tbl = tbl; in tbl_free() 137 tbl = tbl->next; in tbl_free() 150 tbl->pos = pos; in tbl_restart() 158 span = tbl->current_span ? tbl->current_span->next in tbl_span() 171 mandoc_msg(MANDOCERR_BLK_NOEND, tbl->line, tbl->pos, "TS"); in tbl_end() 173 mandoc_msg(MANDOCERR_TBLDATA_BLK, tbl->line, tbl->pos, "TE"); in tbl_end() [all …]
|
| H A D | tbl_layout.c | 262 mods(tbl, cell_alloc(tbl, rp, c), ln, p, pos); in cell() 286 tbl->part = TBL_PART_DATA; in tbl_layout() 294 tbl->first_row = tbl->last_row = in tbl_layout() 300 cell_alloc(tbl, tbl->first_row, in tbl_layout() 302 if (tbl->opts.lvert < tbl->first_row->vert) in tbl_layout() 303 tbl->opts.lvert = tbl->first_row->vert; in tbl_layout() 326 tbl->last_row = rp; in tbl_layout() 343 if (tbl->last_row) in tbl_layout() 346 tbl->first_row = rp; in tbl_layout() 347 tbl->last_row = rp; in tbl_layout() [all …]
|
| H A D | tbl_data.c | 168 tbl->part = TBL_PART_CDATA; in getdata() 202 dat = tbl->last_span->last; in tbl_cdata() 210 tbl->part = TBL_PART_DATA; in tbl_cdata() 213 getdata(tbl, tbl->last_span, ln, p, &pos); in tbl_cdata() 246 dp->opts = &tbl->opts; in newspan() 248 dp->prev = tbl->last_span; in newspan() 251 tbl->first_span = dp; in newspan() 252 tbl->current_span = NULL; in newspan() 255 tbl->last_span = dp; in newspan() 312 sp = newspan(tbl, ln, rp); in tbl_data() [all …]
|
| H A D | out.c | 135 assert(tbl->cols == NULL); in tblcalc() 156 col = tbl->cols + icol; in tblcalc() 168 (*tbl->sulen)(&su, tbl->arg); in tblcalc() 221 col = tbl->cols + icol; in tblcalc() 331 col = tbl->cols + icol; in tblcalc() 352 col = tbl->cols + icol; in tblcalc() 394 col = tbl->cols + icol; in tblcalc() 417 sz = (*tbl->len)(1, tbl->arg); in tblcalc_data() 457 wsz = (*tbl->slen)(beg, tbl->arg); in tblcalc_literal() 483 totsz = (*tbl->slen)(dp->string, tbl->arg); in tblcalc_number() [all …]
|
| /freebsd-14.2/contrib/libucl/uthash/ |
| H A D | uthash.h | 93 #define ELMT_FROM_HH(tbl,hhp) ((void*)(((char*)(hhp)) - ((tbl)->hho))) argument 102 HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], \ 135 #define HASH_BLOOM_MAKE(tbl) argument 136 #define HASH_BLOOM_FREE(tbl) argument 186 (add)->hh.prev = ELMT_FROM_HH((head)->hh.tbl, (head)->hh.tbl->tail); \ 190 (add)->hh.tbl = (head)->hh.tbl; \ 228 if ((delptr) == ELMT_FROM_HH((head)->hh.tbl,(head)->hh.tbl->tail)) { \ 450 (tbl->num_items >> (tbl->log2_num_buckets+1)) + \ 451 ((tbl->num_items & ((tbl->num_buckets*2)-1)) ? 1 : 0); \ 473 uthash_free( tbl->buckets, tbl->num_buckets*sizeof(struct UT_hash_bucket) ); \ [all …]
|
| /freebsd-14.2/contrib/elftoolchain/common/ |
| H A D | uthash.h | 94 #define ELMT_FROM_HH(tbl,hhp) ((void*)(((char*)(hhp)) - ((tbl)->hho))) argument 103 HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], \ 136 #define HASH_BLOOM_MAKE(tbl) argument 137 #define HASH_BLOOM_FREE(tbl) argument 176 (add)->hh.prev = ELMT_FROM_HH((head)->hh.tbl, (head)->hh.tbl->tail); \ 180 (add)->hh.tbl = (head)->hh.tbl; \ 218 if ((delptr) == ELMT_FROM_HH((head)->hh.tbl,(head)->hh.tbl->tail)) { \ 663 (tbl->num_items >> (tbl->log2_num_buckets+1)) + \ 664 ((tbl->num_items & ((tbl->num_buckets*2)-1)) ? 1 : 0); \ 686 uthash_free( tbl->buckets, tbl->num_buckets*sizeof(struct UT_hash_bucket) ); \ [all …]
|
| /freebsd-14.2/crypto/openssl/crypto/aes/asm/ |
| H A D | aes-armv4.pl | 70 $tbl="r10"; 210 adr $tbl,AES_Te 389 add $tbl,$tbl,#2 444 sub $tbl,$tbl,#2 553 ldrb $t2,[$tbl,$t2] 986 adr $tbl,AES_Td 1165 add $tbl,$tbl,#1024 1168 ldr $t3,[$tbl,#32] 1169 ldr $t1,[$tbl,#64] 1170 ldr $t2,[$tbl,#96] [all …]
|
| H A D | aes-parisc.pl | 72 $tbl="%r28"; 104 blr %r0,$tbl 107 andcm $tbl,$t0,$tbl 108 ldo L\$AES_Te-L\$enc_pic($tbl),$tbl 216 ldwx,s $acc0($tbl),$acc0 218 ldwx,s $acc1($tbl),$acc1 220 ldwx,s $acc2($tbl),$acc2 360 ldo 1024($tbl),$rounds 573 blr %r0,$tbl 576 andcm $tbl,$t0,$tbl [all …]
|
| H A D | aes-sparcv9.pl | 75 $tbl="%i4"; 226 ldx [$tbl+$acc0],$acc0 229 ldx [$tbl+$acc1],$acc1 235 ldx [$tbl+$acc3],$acc3 238 ldx [$tbl+$acc4],$acc4 242 ldx [$tbl+$acc5],$acc5 245 ldx [$tbl+$acc6],$acc6 251 ldx [$tbl+$acc8],$acc8 254 ldx [$tbl+$acc9],$acc9 275 add $tbl,2048,$rounds [all …]
|
| H A D | aes-586.pl | 213 $tbl="ebp"; 486 my $tmp = $tbl; 1193 &blindpop($tbl); 1199 &sub ($s1,$tbl); 1201 &lea ($tbl,&DWP(2048+128,$tbl,$s1)); 1285 my $tp8 = $tbl; 1992 &lea ($tbl,&DWP(2048+128,$tbl,$s1)); 2061 &lea ($tbl,&DWP(&label("AES_Td")."-".&label("AES_Te"),$tbl)); 2142 &lea ($tbl,&DWP(128,$tbl)); 2348 &lea ($tbl,&DWP(2048+128,$tbl,$s1)); [all …]
|
| H A D | aes-s390x.pl | 121 $tbl="%r12"; 278 larl $tbl,AES_Te 604 larl $tbl,AES_Td 884 la $t2,0($t2,$tbl) 885 la $i1,0($i1,$tbl) 1263 larl $tbl,AES_Te 1323 larl $tbl,AES_Td 1595 larl $tbl,AES_Te 1897 larl $tbl,AES_Te 2137 larl $tbl,AES_Te [all …]
|
| /freebsd-14.2/sys/opencrypto/ |
| H A D | gfmult.c | 61 struct gf128 tbl[16]; in gf128_genmultable() local 64 tbl[0] = MAKE_GF128(0, 0); in gf128_genmultable() 65 tbl[1] = h; in gf128_genmultable() 68 tbl[i] = gf128_mulalpha(tbl[i / 2]); in gf128_genmultable() 69 tbl[i + 1] = gf128_add(tbl[i], h); in gf128_genmultable() 74 t->b[nib_rev[i]] = tbl[i].v[0]; in gf128_genmultable() 76 t->d[nib_rev[i]] = tbl[i].v[1]; in gf128_genmultable() 111 r.v[0] = ((uint64_t)tbl->a[bits] << 32) | tbl->b[bits]; in readrow() 112 r.v[1] = ((uint64_t)tbl->c[bits] << 32) | tbl->d[bits]; in readrow() 146 row = readrow(tbl, bits); in gfmultword() [all …]
|
| /freebsd-14.2/usr.bin/fortune/unstr/ |
| H A D | unstr.c | 80 static STRFILE tbl; /* description table */ in main() local 94 if (fread((char *)&tbl, sizeof(tbl), 1, Dataf) != 1) { in main() 100 tbl.str_version = be32toh(tbl.str_version); in main() 101 tbl.str_numstr = be32toh(tbl.str_numstr); in main() 102 tbl.str_longlen = be32toh(tbl.str_longlen); in main() 103 tbl.str_shortlen = be32toh(tbl.str_shortlen); in main() 104 tbl.str_flags = be32toh(tbl.str_flags); in main() 107 Delimch = tbl.str_delim; in main() 108 order_unstr(&tbl); in main() 115 order_unstr(STRFILE *tbl) in order_unstr() argument [all …]
|
| /freebsd-14.2/sbin/pfctl/ |
| H A D | pfctl_radix.c | 74 err, tbl->pfrt_name); in pfr_report_error() 104 io.pfrio_buffer = tbl; in pfr_add_tables() 127 io.pfrio_buffer = tbl; in pfr_del_tables() 153 io.pfrio_buffer = tbl; in pfr_get_tables() 178 io.pfrio_buffer = tbl; in pfr_get_tstats() 194 if (tbl == NULL) { in pfr_clr_addrs() 200 io.pfrio_table = *tbl; in pfr_clr_addrs() 278 io.pfrio_table = *tbl; in pfr_get_astats() 301 io.pfrio_buffer = tbl; in pfr_clr_tstats() 325 io.pfrio_table = *tbl; in pfr_tst_addrs() [all …]
|
| /freebsd-14.2/sys/crypto/openssl/aarch64/ |
| H A D | vpaes-armv8.S | 257 tbl v11.16b, {v8.16b}, v1.16b 261 tbl v8.16b, {v8.16b}, v4.16b 265 tbl v12.16b, {v11.16b},v1.16b 280 tbl v13.16b, {v19.16b},v9.16b 284 tbl v11.16b, {v18.16b},v8.16b 286 tbl v12.16b, {v18.16b},v9.16b 316 tbl v1.16b, {v8.16b},v1.16b 501 tbl v8.16b, {v8.16b},v5.16b 514 tbl v8.16b, {v8.16b},v5.16b 527 tbl v8.16b, {v8.16b},v5.16b [all …]
|
| /freebsd-14.2/contrib/flex/src/ |
| H A D | tables.c | 349 lo = tbl->td_lolen; 433 total_len = yytbl_calc_total_len (tbl); in min_int_size() 438 n = abs (yytbl_data_geti (tbl, i)); in min_int_size() 467 yytbl_data_init (&newtbl, tbl->td_id); in yytbl_data_compress() 468 newtbl.td_hilen = tbl->td_hilen; in yytbl_data_compress() 469 newtbl.td_lolen = tbl->td_lolen; in yytbl_data_compress() 470 newtbl.td_flags = tbl->td_flags; in yytbl_data_compress() 472 newsz = min_int_size (tbl); in yytbl_data_compress() 492 g = yytbl_data_geti (tbl, i); in yytbl_data_compress() 498 free (tbl->td_data); in yytbl_data_compress() [all …]
|
| H A D | gen.c | 122 return tbl; in mkeoltbl() 299 return tbl; in mkctbl() 328 return tbl; in mkssltbl() 460 return tbl; in mkecstbl() 676 return tbl; in mkftbl() 1253 tbl = 0; in gentabs() 1616 tbl = 0; in make_tables() 1625 tbl = 0; in make_tables() 1639 tbl = 0; in make_tables() 1648 tbl = 0; in make_tables() [all …]
|
| /freebsd-14.2/lib/libc/string/ |
| H A D | strcspn.c | 45 u_long tbl[(UCHAR_MAX + 1) / LONG_BIT]; in strcspn() local 52 tbl[0] = 1; in strcspn() 53 tbl[3] = tbl[2] = tbl[1] = 0; in strcspn() 55 for (tbl[0] = idx = 1; idx < sizeof(tbl) / sizeof(tbl[0]); idx++) in strcspn() 56 tbl[idx] = 0; in strcspn() 61 tbl[idx] |= bit; in strcspn() 67 if ((tbl[idx] & bit) != 0) in strcspn()
|
| H A D | strspn.c | 45 u_long tbl[(UCHAR_MAX + 1) / LONG_BIT]; in strspn() local 52 tbl[3] = tbl[2] = tbl[1] = tbl[0] = 0; in strspn() 54 for (idx = 0; idx < sizeof(tbl) / sizeof(tbl[0]); idx++) in strspn() 55 tbl[idx] = 0; in strspn() 60 tbl[idx] |= bit; in strspn() 66 if ((tbl[idx] & bit) == 0) in strspn()
|
| /freebsd-14.2/sys/libkern/ |
| H A D | strcspn.c | 46 u_long tbl[(UCHAR_MAX + 1) / LONG_BIT]; in strcspn() local 53 tbl[0] = 1; in strcspn() 54 tbl[3] = tbl[2] = tbl[1] = 0; in strcspn() 56 for (tbl[0] = idx = 1; idx < sizeof(tbl) / sizeof(tbl[0]); idx++) in strcspn() 57 tbl[idx] = 0; in strcspn() 62 tbl[idx] |= bit; in strcspn() 68 if ((tbl[idx] & bit) != 0) in strcspn()
|
| H A D | strspn.c | 46 u_long tbl[(UCHAR_MAX + 1) / LONG_BIT]; in strspn() local 53 tbl[3] = tbl[2] = tbl[1] = tbl[0] = 0; in strspn() 55 for (idx = 0; idx < sizeof(tbl) / sizeof(tbl[0]); idx++) in strspn() 56 tbl[idx] = 0; in strspn() 61 tbl[idx] |= bit; in strspn() 67 if ((tbl[idx] & bit) == 0) in strspn()
|
| /freebsd-14.2/sys/x86/iommu/ |
| H A D | intel_idpgtbl.c | 129 if (lvl != tbl->leaf) { in dmar_idmap_nextlvl() 135 if (lvl == tbl->leaf) { in dmar_idmap_nextlvl() 137 if (f >= tbl->maxaddr) in dmar_idmap_nextlvl() 144 if (f >= tbl->maxaddr) in dmar_idmap_nextlvl() 170 struct idpgtbl *tbl; in dmar_get_idmap_pgtbl() local 200 res = tbl->pgtbl_obj; in dmar_get_idmap_pgtbl() 219 res = tbl->pgtbl_obj; in dmar_get_idmap_pgtbl() 230 tbl = malloc(sizeof(*tbl), M_DMAR_IDPGTBL, M_WAITOK); in dmar_get_idmap_pgtbl() 232 tbl->leaf = leaf; in dmar_get_idmap_pgtbl() 233 tbl->maxaddr = maxaddr; in dmar_get_idmap_pgtbl() [all …]
|
| /freebsd-14.2/sys/arm64/rockchip/ |
| H A D | rk_tsadc.c | 394 return (tbl[0].raw); in tsadc_temp_to_raw() 402 return (tbl[i].raw); in tsadc_temp_to_raw() 411 raw = (int)tbl[i - 1].raw - (int)tbl[i].raw; in tsadc_temp_to_raw() 413 denom = tbl[i - 1].temp - tbl[i].temp; in tsadc_temp_to_raw() 427 descending = tbl[0].raw > tbl[1].raw; in tsadc_raw_to_temp() 431 if (raw >= tbl[0].raw) in tsadc_raw_to_temp() 432 return (tbl[0].temp); in tsadc_raw_to_temp() 440 if (raw < tbl[i].raw) in tsadc_raw_to_temp() 445 if (raw <= tbl[0].raw) in tsadc_raw_to_temp() 462 temp = (int)tbl[i - 1].temp - (int)tbl[i].temp; in tsadc_raw_to_temp() [all …]
|
| /freebsd-14.2/lib/msun/ld80/ |
| H A D | s_expl.c | 241 t = (long double)tbl[n2].lo + tbl[n2].hi; in expm1l() 244 t = SUM2P(tbl[n2].hi - 1, tbl[n2].lo * (r1 + 1) + t * q + in expm1l() 245 tbl[n2].hi * r1); in expm1l() 249 t = SUM2P(tbl[n2].hi - 2, tbl[n2].lo * (r1 + 1) + t * q + in expm1l() 250 tbl[n2].hi * r1); in expm1l() 254 t = SUM2P(tbl[n2].hi, tbl[n2].lo + t * (q + r1)); in expm1l() 258 t = SUM2P(tbl[n2].hi, tbl[n2].lo + t * (q + r1)); in expm1l() 268 t = SUM2P(tbl[n2].hi, tbl[n2].lo - twomk + t * (q + r1)); in expm1l() 270 t = SUM2P(tbl[n2].hi - twomk, tbl[n2].lo + t * (q + r1)); in expm1l()
|
| /freebsd-14.2/crypto/openssl/crypto/whrlpool/asm/ |
| H A D | wp-mmx.pl | 86 $tbl="ebp"; 111 &blindpop($tbl); 112 &lea ($tbl,&DWP(&label("table")."-".&label("pic_point"),$tbl)); 139 &pxor (@mm[0],&QWP(&row(0),$tbl,"esi",8)); 173 &pxor (@mm[0],&QWP(&row(0),$tbl,"esi",8)); 174 &pxor (@mm[1],&QWP(&row(1),$tbl,"edi",8)); 180 &pxor (@mm[2],&QWP(&row(2),$tbl,"esi",8)); 181 &pxor (@mm[3],&QWP(&row(3),$tbl,"edi",8)); 187 &pxor (@mm[4],&QWP(&row(4),$tbl,"esi",8)); 188 &pxor (@mm[5],&QWP(&row(5),$tbl,"edi",8)); [all …]
|