/openbsd/usr.bin/dig/lib/dns/ |
H A D | gen.c | 130 struct tt *tt; in doswitch() local 140 for (tt = types; tt != NULL; tt = tt->next) { in doswitch() 235 tt = tt->next; in add() 242 tt = tt->next; in add() 324 struct tt *tt; in main() local 449 for (tt = types; tt != NULL; tt = tt->next) in main() 451 tt->dirname, tt->typename, tt->type); in main() 473 for (tt = types; tt != NULL; tt = tt->next) in main() 491 for (tt = types; tt != NULL; tt = tt->next) in main() 558 for (tt = types; tt != NULL; tt = tt->next) { in main() [all …]
|
/openbsd/sys/net/ |
H A D | radix.c | 345 t->rn_l = tt; in rn_newpair() 349 tt->rn_p = t; in rn_newpair() 399 tt = t->rn_l; in rn_insert() 413 return (tt); in rn_insert() 685 tt->rn_p->rn_l = tt; in rn_link_dupedkey() 687 tt->rn_p->rn_r = tt; in rn_link_dupedkey() 699 tt->rn_dupedkey->rn_p = tt; in rn_link_dupedkey() 806 return (tt); in rn_addroute() 945 if ((tt = tt->rn_dupedkey) == NULL) in rn_delete() 1050 return (tt); in rn_delete() [all …]
|
/openbsd/sys/dev/pci/drm/ttm/tests/ |
H A D | ttm_pool_test.c | 57 struct ttm_tt *tt; in ttm_tt_kunit_init() local 64 tt = kunit_kzalloc(test, sizeof(*tt), GFP_KERNEL); in ttm_tt_kunit_init() 70 return tt; in ttm_tt_kunit_init() 80 struct ttm_tt *tt; in ttm_pool_pre_populated() local 96 ttm_tt_fini(tt); in ttm_pool_pre_populated() 166 last_page = tt->pages[tt->num_pages - 1]; in ttm_pool_alloc_basic() 192 ttm_tt_fini(tt); in ttm_pool_alloc_basic() 210 tt = kunit_kzalloc(test, sizeof(*tt), GFP_KERNEL); in ttm_pool_alloc_basic_dma_addr() 229 dma2 = tt->dma_address[tt->num_pages - 1]; in ttm_pool_alloc_basic_dma_addr() 235 ttm_tt_fini(tt); in ttm_pool_alloc_basic_dma_addr() [all …]
|
/openbsd/sys/lib/libsa/ |
H A D | ctime.c | 48 time_t tt = *clock; in ctime() local 50 ss = tt % 60; in ctime() 51 tt /= 60; /* minutes */ in ctime() 52 mm = tt % 60; in ctime() 53 tt /= 60; /* hours */ in ctime() 54 hh = tt % 24; in ctime() 55 tt /= 24; /* days */ in ctime() 59 tt -= isleap(year)? 366: 365; in ctime() 61 tt++; /* days are 1-based */ in ctime() 64 tt -= monthcnt[month]; in ctime() [all …]
|
/openbsd/sys/crypto/ |
H A D | des_locl.h | 144 register u_int32_t tt; \ 145 PERM_OP(r,l,tt, 4,0x0f0f0f0fL); \ 146 PERM_OP(l,r,tt,16,0x0000ffffL); \ 147 PERM_OP(r,l,tt, 2,0x33333333L); \ 148 PERM_OP(l,r,tt, 8,0x00ff00ffL); \ 149 PERM_OP(r,l,tt, 1,0x55555555L); \ 154 register u_int32_t tt; \ 155 PERM_OP(l,r,tt, 1,0x55555555L); \ 156 PERM_OP(r,l,tt, 8,0x00ff00ffL); \ 157 PERM_OP(l,r,tt, 2,0x33333333L); \ [all …]
|
/openbsd/lib/libc/thread/ |
H A D | rthread_libc.c | 36 struct _thread_tag *tt; in _thread_tag_init() local 42 tt = malloc(sizeof *tt); in _thread_tag_init() 43 if (tt != NULL) { in _thread_tag_init() 47 *tag = tt; in _thread_tag_init() 62 struct _thread_tag *tt; in _thread_tag_lock() local 67 tt = *tag; in _thread_tag_lock() 79 struct _thread_tag *tt; in _thread_tag_unlock() local 84 tt = *tag; in _thread_tag_unlock() 100 struct _thread_tag *tt; in _thread_tag_storage() local 105 tt = *tag; in _thread_tag_storage() [all …]
|
/openbsd/usr.sbin/tokeninit/ |
H A D | tokeninit.c | 96 if (tt->options & TOKEN_HEXINIT) in main() 128 tt->name, (tt->options & TOKEN_HEXINIT) ? "h" : ""); in main() 133 modes |= tt->defmode; in main() 140 printf("Adding %s to %s database\n", *argv, tt->proper); in main() 149 tt->name); in main() 156 tt->name); in main() 163 *argv, tt->proper); in main() 167 *argv, tt->proper); in main() 169 *argv, tt->proper); in main() 174 *argv, tt->proper); in main() [all …]
|
/openbsd/lib/libcrypto/asn1/ |
H A D | tasn_new.c | 96 const ASN1_TEMPLATE *tt = NULL; in asn1_item_ex_new() local 162 for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) { in asn1_item_ex_new() 163 pseqval = asn1_get_field_ptr(pval, tt); in asn1_item_ex_new() 164 if (!ASN1_template_new(pseqval, tt)) in asn1_item_ex_new() 220 const ASN1_ITEM *it = tt->item; in ASN1_template_new() 223 if (tt->flags & ASN1_TFLG_OPTIONAL) { in ASN1_template_new() 224 asn1_template_clear(pval, tt); in ASN1_template_new() 229 if (tt->flags & ASN1_TFLG_ADB_MASK) { in ASN1_template_new() 234 if (tt->flags & ASN1_TFLG_SK_MASK) { in ASN1_template_new() 256 if (tt->flags & (ASN1_TFLG_ADB_MASK|ASN1_TFLG_SK_MASK)) in asn1_template_clear() [all …]
|
H A D | tasn_prn.c | 84 const ASN1_TEMPLATE *tt, const ASN1_PCTX *pctx); 114 const ASN1_TEMPLATE *tt; in asn1_item_print_ctx() local 184 tt = it->templates + i; in asn1_item_print_ctx() 185 tmpfld = asn1_get_field_ptr(fld, tt); in asn1_item_print_ctx() 214 for (i = 0, tt = it->templates; i < it->tcount; i++, tt++) { in asn1_item_print_ctx() 217 seqtt = asn1_do_adb(fld, tt, 1); in asn1_item_print_ctx() 252 flags = tt->flags; in asn1_template_print_ctx() 254 sname = tt->item->sname; in asn1_template_print_ctx() 260 fname = tt->field_name; in asn1_template_print_ctx() 274 indent, "", tname, tt->field_name) <= 0) in asn1_template_print_ctx() [all …]
|
H A D | tasn_fre.c | 88 const ASN1_TEMPLATE *tt = NULL, *seqtt; in asn1_item_free() local 124 tt = it->templates + i; in asn1_item_free() 125 pchval = asn1_get_field_ptr(pval, tt); in asn1_item_free() 126 ASN1_template_free(pchval, tt); in asn1_item_free() 172 ASN1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) in ASN1_template_free() argument 175 if (tt->flags & ASN1_TFLG_SK_MASK) { in ASN1_template_free() 180 asn1_item_free(&vtmp, tt->item); in ASN1_template_free() 185 asn1_item_free(pval, tt->item); in ASN1_template_free()
|
H A D | tasn_utl.c | 225 asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) in asn1_get_field_ptr() argument 229 pvaltmp = offset2ptr(*pval, tt->offset); in asn1_get_field_ptr() 242 asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int nullerr) in asn1_do_adb() argument 250 if (!(tt->flags & ASN1_TFLG_ADB_MASK)) in asn1_do_adb() 251 return tt; in asn1_do_adb() 254 adb = (const ASN1_ADB *)tt->item; in asn1_do_adb() 270 if (tt->flags & ASN1_TFLG_ADB_OID) in asn1_do_adb() 285 return &atbl->tt; in asn1_do_adb()
|
H A D | tasn_enc.c | 143 const ASN1_TEMPLATE *tt = NULL; in ASN1_item_ex_i2d() local 233 for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) { in ASN1_item_ex_i2d() 236 seqtt = asn1_do_adb(pval, tt, 1); in ASN1_item_ex_i2d() 250 for (i = 0, tt = it->templates; i < it->tcount; tt++, i++) { in ASN1_item_ex_i2d() 253 seqtt = asn1_do_adb(pval, tt, 1); in ASN1_item_ex_i2d() 279 flags = tt->flags; in asn1_template_ex_i2d() 292 ttag = tt->tag; in asn1_template_ex_i2d() 355 tt->item, -1, iclass); in asn1_template_ex_i2d() 388 i = ASN1_item_ex_i2d(pval, NULL, tt->item, in asn1_template_ex_i2d() 397 ASN1_item_ex_i2d(pval, out, tt->item, in asn1_template_ex_i2d() [all …]
|
/openbsd/lib/libcrypto/des/ |
H A D | des_local.h | 200 DES_LONG tt; \ 201 PERM_OP(r,l,tt, 4,0x0f0f0f0fL); \ 202 PERM_OP(l,r,tt,16,0x0000ffffL); \ 203 PERM_OP(r,l,tt, 2,0x33333333L); \ 204 PERM_OP(l,r,tt, 8,0x00ff00ffL); \ 205 PERM_OP(r,l,tt, 1,0x55555555L); \ 210 DES_LONG tt; \ 211 PERM_OP(l,r,tt, 1,0x55555555L); \ 212 PERM_OP(r,l,tt, 8,0x00ff00ffL); \ 213 PERM_OP(l,r,tt, 2,0x33333333L); \ [all …]
|
/openbsd/sys/arch/hppa/stand/libsa/ |
H A D | time.c | 38 time_t tt; in getsecs() local 42 tt = 0; in getsecs() 48 tt = ((struct pdc_tod *)pdcbuf)->sec; in getsecs() 50 if (debug && tt < 800000000) in getsecs() 51 printf("getsecs: got %u seconds\n", tt); in getsecs() 55 return tt; in getsecs()
|
/openbsd/regress/lib/libssl/tls/ |
H A D | tlstest.c | 298 tlstest(const struct tls_test *tt) in tlstest() argument 304 fprintf(stderr, "\n== Testing %s... ==\n", tt->desc); in tlstest() 318 if (tt->client_min_version != 0) { in tlstest() 319 if (!SSL_set_min_proto_version(client, tt->client_min_version)) in tlstest() 322 if (tt->client_max_version != 0) { in tlstest() 326 if (tt->client_ciphers != NULL) { in tlstest() 327 if (!SSL_set_cipher_list(client, tt->client_ciphers)) in tlstest() 333 if (tt->server_min_version != 0) { in tlstest() 337 if (tt->server_max_version != 0) { in tlstest() 341 if (tt->server_ciphers != NULL) { in tlstest() [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/ |
H A D | bad-error6.C | 5 class tt { 7 tt(int); 13 void st(const tt&, int); 19 tt a_tt(i); in ff() 24 st(tt(-i), j); in ff()
|
/openbsd/gnu/usr.bin/binutils/gdb/doc/ |
H A D | refcard.tex | 215 \font\tt=cmtt8 226 \def\ctl#1{{\tt C-#1}} 267 quit&exit GDB; also {\tt q} or {\tt EOF} (eg \ctl{d})\cr 287 {\tt run}\cr 327 {\tt exec}, {\tt fork}, {\tt vfork}, {\tt load}, or {\tt unload}.\cr 364 frames---innermost if {\it n}{\tt >0}, outermost if {\it n}{\tt <0}\cr 423 {\tt void}\cr 459 $\tt\{${\it type}$\tt\}${\it addr}&read memory at {\it addr} as specified 522 \xtra{\rm Parameters understood by {\tt set} and {\tt show}:} 528 {\tt modula-2})\cr [all …]
|
/openbsd/sys/dev/pci/drm/ttm/ |
H A D | ttm_pool.c | 544 order = tt->orders[i]; in ttm_pool_free_range() 546 if (tt->dma_address) in ttm_pool_free_range() 572 pgoff_t num_pages = tt->num_pages; in ttm_pool_alloc() 574 struct vm_page **caching = tt->pages; in ttm_pool_alloc() 575 struct vm_page **pages = tt->pages; in ttm_pool_alloc() 582 unsigned long *orders = tt->orders; in ttm_pool_alloc() 605 page_caching = tt->caching; in ttm_pool_alloc() 610 tt->caching); in ttm_pool_alloc() 637 tt->caching); in ttm_pool_alloc() 672 ttm_pool_free_range(pool, tt, tt->caching, 0, caching_divide); in ttm_pool_alloc() [all …]
|
/openbsd/gnu/llvm/llvm/lib/Support/BLAKE3/ |
H A D | blake3_sse41.c | 97 __m128i t0, t1, t2, t3, tt; in compress_pre() local 125 t1 = _mm_blend_epi16(tt, t1, 0xCC); in compress_pre() 129 tt = _mm_blend_epi16(t2, m2, 0xC0); in compress_pre() 133 tt = _mm_unpacklo_epi32(m2, t3); in compress_pre() 148 t1 = _mm_blend_epi16(tt, t1, 0xCC); in compress_pre() 152 tt = _mm_blend_epi16(t2, m2, 0xC0); in compress_pre() 156 tt = _mm_unpacklo_epi32(m2, t3); in compress_pre() 179 tt = _mm_unpacklo_epi32(m2, t3); in compress_pre() 202 tt = _mm_unpacklo_epi32(m2, t3); in compress_pre() 225 tt = _mm_unpacklo_epi32(m2, t3); in compress_pre() [all …]
|
H A D | blake3_sse2.c | 103 __m128i t0, t1, t2, t3, tt; in compress_pre() local 131 t1 = blend_epi16(tt, t1, 0xCC); in compress_pre() 135 tt = blend_epi16(t2, m2, 0xC0); in compress_pre() 154 t1 = blend_epi16(tt, t1, 0xCC); in compress_pre() 158 tt = blend_epi16(t2, m2, 0xC0); in compress_pre() 177 t1 = blend_epi16(tt, t1, 0xCC); in compress_pre() 181 tt = blend_epi16(t2, m2, 0xC0); in compress_pre() 200 t1 = blend_epi16(tt, t1, 0xCC); in compress_pre() 204 tt = blend_epi16(t2, m2, 0xC0); in compress_pre() 223 t1 = blend_epi16(tt, t1, 0xCC); in compress_pre() [all …]
|
/openbsd/sys/arch/amd64/stand/libsa/ |
H A D | time.c | 60 register time_t tt; in compute() local 63 tt = (year - 1970) * 365 + monthcount[month] + day - 1; in compute() 68 tt++; in compute() 71 tt = sec + 60 * (min + 60 * (tt * 24 + hour)); in compute() 73 return tt; in compute()
|
/openbsd/sys/arch/i386/stand/libsa/ |
H A D | time.c | 60 register time_t tt; in compute() local 63 tt = (year - 1970) * 365 + monthcount[month] + day - 1; in compute() 68 tt++; in compute() 71 tt = sec + 60 * (min + 60 * (tt * 24 + hour)); in compute() 73 return tt; in compute()
|
/openbsd/libexec/login_token/ |
H A D | tokendb.c | 95 tokenrec->mode = tt->modes & ~TOKEN_RIM; in tokendb_getrec() 179 if (stat(tt->db, &statb) == -1) { in tokendb_open() 190 "Group was %u", tt->db, statb.st_uid, statb.st_gid); in tokendb_open() 202 tt->db, statb.st_mode); in tokendb_open() 210 dbopen(tt->db, O_CREAT | O_RDWR, 0640, DB_BTREE, 0)) ) in tokendb_open() 219 "Can't set owner/group of %s errno=%m", tt->db); in tokendb_open() 222 "Can't set mode of %s errno=%m", tt->db); in tokendb_open() 273 tokenrec->mode = tt->modes & ~TOKEN_RIM; in tokendb_firstrec() 305 tokenrec->mode = tt->modes & ~TOKEN_RIM; in tokendb_nextrec() 356 tokenrec->mode = tt->modes & ~TOKEN_RIM; in tokendb_lockrec()
|
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/unsorted/ |
H A D | glob.c | 1 typedef int tt; typedef 3 tt a1; 4 tt a2; 5 tt a3;
|
/openbsd/lib/libc/gen/ |
H A D | time.c | 37 struct timeval tt; in time() local 39 if (WRAP(gettimeofday)(&tt, NULL) == -1) in time() 42 *t = (time_t)tt.tv_sec; in time() 43 return (tt.tv_sec); in time()
|