Home
last modified time | relevance | path

Searched refs:ht (Results 1 – 25 of 91) sorted by relevance

1234

/openbsd-src/usr.sbin/config/
H A Dhash.c87 ht_init(struct hashtab *ht, size_t sz) in ht_init() argument
93 ht->ht_tab = h; in ht_init()
94 ht->ht_size = sz; in ht_init()
95 ht->ht_mask = sz - 1; in ht_init()
98 ht->ht_used = 0; in ht_init()
99 ht->ht_lim = HASHFRACTION(sz); in ht_init()
106 ht_expand(struct hashtab *ht) in ht_expand() argument
111 n = ht->ht_size * 2; in ht_expand()
113 oldh = ht->ht_tab; in ht_expand()
115 for (i = ht->ht_size; i != 0; i--) { in ht_expand()
[all …]
H A Dconfig.h327 #define ht_insert(ht, nam, val) ht_insrep(ht, nam, val, 0) argument
328 #define ht_replace(ht, nam, val) ht_insrep(ht, nam, val, 1) argument
/openbsd-src/gnu/usr.bin/perl/cpan/HTTP-Tiny/t/
H A D180_verify_SSL.t13 my $ht = HTTP::Tiny->new();
14 is($ht->verify_SSL, 1, "verify_SSL is 1 by default");
18 my $ht = HTTP::Tiny->new(
21 is($ht->verify_SSL, 0, "verify_SSL=>0 sets 0");
25 my $ht = HTTP::Tiny->new(
28 is($ht->verify_SSL, 0, "verify_ssl=>0 sets 0");
32 my $ht = HTTP::Tiny->new(
36 is($ht->verify_SSL, 1, "verify_SSL=>1 and verify_ssl=>0 sets 1");
40 my $ht = HTTP::Tiny->new(
44 is($ht->verify_SSL, 1, "verify_SSL=>0 and verify_ssl=>1 sets 1");
[all …]
H A D141_no_proxy.t53 my $ht = HTTP::Tiny->new( no_proxy => $no_proxy );
54 is_deeply( $ht->no_proxy, $c->{expect}, "new(no_proxy => $label)" );
60 my $ht = HTTP::Tiny->new();
61 is_deeply( $ht->no_proxy, $c->{expect}, "\$ENV{no_proxy} = $label" );
65 my $ht = HTTP::Tiny->new( no_proxy => $no_proxy );
66 is_deeply( $ht->no_proxy, $c->{expect},
/openbsd-src/sys/dev/pci/drm/
H A Ddrm_hashtab.c45 int drm_ht_create(struct drm_open_hash *ht, unsigned int order) in drm_ht_create() argument
49 ht->order = order; in drm_ht_create()
50 ht->table = NULL; in drm_ht_create()
51 if (size <= PAGE_SIZE / sizeof(*ht->table)) in drm_ht_create()
52 ht->table = kcalloc(size, sizeof(*ht->table), GFP_KERNEL); in drm_ht_create()
54 ht->table = vzalloc(array_size(size, sizeof(*ht->table))); in drm_ht_create()
55 if (!ht->table) { in drm_ht_create()
62 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key) in drm_ht_verbose_list() argument
69 hashed_key = hash_long(key, ht->order); in drm_ht_verbose_list()
71 h_list = &ht->table[hashed_key]; in drm_ht_verbose_list()
[all …]
H A Ddrm_legacy.h52 int drm_ht_create(struct drm_open_hash *ht, unsigned int order);
53 int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item);
54 int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item,
57 int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item);
59 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key);
60 int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key);
61 int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item);
62 void drm_ht_remove(struct drm_open_hash *ht);
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/opt/
H A Dconst2.C10 int wd, ht; member
15 { wd = ht = -1; } in QSize()
18 { wd = w; ht = h; } in QSize()
21 { return QSize(s1.wd+s2.wd, s1.ht+s2.ht); }
37 if (s.wd != 100 || s.ht != 200) in main()
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dsparc-stub.c468 struct hard_trap_info *ht; in set_debug_traps() local
470 for (ht = hard_trap_info; ht->tt && ht->signo; ht++) in set_debug_traps()
471 exceptionHandler(ht->tt, trap_low); in set_debug_traps()
509 struct hard_trap_info *ht; in computeSignal() local
511 for (ht = hard_trap_info; ht->tt && ht->signo; ht++) in computeSignal()
512 if (ht->tt == tt) in computeSignal()
513 return ht->signo; in computeSignal()
/openbsd-src/etc/
H A Dgettytab27 :ep:nd#1:cd#2:ff#1:td#1:sp#134:ht:nl:
29 :ep:nd#1:cd#2:td#1:fd#1:sp#150:ht:nl:lm=\E\72\6\6\17login\72 :
31 :nd#1:cd#1:sp#300:ht:
33 :nd#1:cd#1:sp#600:ht:
35 :fd#1:sp#1200:ht:
37 :sp#2400:ht:
39 :sp#4800:ht:
41 :sp#9600:ht:
43 :sp#19200:ht:
45 :sp#38400:ht:
[all …]
/openbsd-src/regress/usr.bin/ssh/
H A Dkeytype.sh53 for ht in $htypes; do
54 host_type=`kname_to_ktype "$ht"`
55 trace "ssh connect, userkey $ut, hostkey $ht"
58 echo HostKey $OBJ/key.$ht
70 cat $OBJ/key.$ht.pub
74 verbose "userkey $ut, hostkey ${ht}"
77 fail "ssh userkey $ut, hostkey $ht failed"
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrRef.td14 multiclass REF_I<WebAssemblyRegClass rc, ValueType vt, string ht> {
17 [(set rc:$dst, (!cast<Intrinsic>("int_wasm_ref_null_" # ht)))],
18 "ref.null_" # ht # "$dst",
19 "ref.null_" # ht,
20 !cond(!eq(ht, "func") : 0xd070,
21 !eq(ht, "extern") : 0xd06f)>,
32 [(set I32:$dst, (!cast<Intrinsic>("int_wasm_ref_is_null_" # ht) rc:$ref))],
/openbsd-src/lib/libkeynote/
H A Dauxil.c418 struct assertion *ht, *ht2; in keynote_remove_assertion() local
434 ht = keynote_current_session->ks_assertion_table[i]; in keynote_remove_assertion()
435 if (ht == NULL) in keynote_remove_assertion()
439 if (ht->as_id == assertid) in keynote_remove_assertion()
441 keynote_current_session->ks_assertion_table[i] = ht->as_next; in keynote_remove_assertion()
443 keynote_free_assertion(ht); in keynote_remove_assertion()
447 for (; ht->as_next != NULL; ht = ht->as_next) in keynote_remove_assertion()
448 if (ht->as_next->as_id == assertid) /* Got it */ in keynote_remove_assertion()
450 ht2 = ht->as_next; in keynote_remove_assertion()
451 ht->as_next = ht2->as_next; in keynote_remove_assertion()
/openbsd-src/regress/usr.bin/mandoc/mdoc/Lk/
H A Dlink.out_ascii8 …hhttttpp::////wwwwww..ffrreeeebbssdd..oorrgg// _N_e_t_B_S_D: hhttt…
9 hhttttpp::////wwwwww..ooppeennbbssdd..oorrgg//
13 …hhttttpp::////wwwwww..ffrreeeebbssdd..oorrgg// _N_e_t_B_S_D: hhttt…
14 hhttttpp::////wwwwww..ooppeennbbssdd..oorrgg//
H A Dnoarg.out_ascii7 …multiple arguments _t_h_e _b_s_d_._l_v _p_r_o_j_e_c_t: hhttttpp::////wwww…
8 …hhttttpp::////wwwwww..ggnnuu..oorrgg//ssooffttwwaarree//ggrroofff…
9 …hhttttpp::////mmddooccmmll..bbssdd..llvv// one argument hhttttpp::////…
/openbsd-src/usr.bin/skeyinit/
H A Dskeyinit.c50 char buf[256], key[SKEY_BINKEY_SIZE], filename[PATH_MAX], *ht; in main() local
58 ht = auth_type = NULL; in main()
99 if ((ht = skey_set_algorithm(&argv[i][1])) == NULL) { in main()
233 ht ? ht : skey_get_algorithm()); in main()
274 ht ? ht : skey_get_algorithm()); in main()
294 if (ht && strcmp(ht, skey_get_algorithm()) != 0) in main()
295 skey_set_algorithm(ht); in main()
/openbsd-src/gnu/gcc/libcpp/
H A Dsymtab.c238 ht_load (hash_table *ht, hashnode *entries, in ht_load() argument
242 if (ht->entries_owned) in ht_load()
243 free (ht->entries); in ht_load()
244 ht->entries = entries; in ht_load()
245 ht->nslots = nslots; in ht_load()
246 ht->nelements = nelements; in ht_load()
247 ht->entries_owned = own; in ht_load()
/openbsd-src/gnu/gcc/libcpp/include/
H A Dsymtab.h37 typedef struct ht hash_table;
43 struct ht struct
90 extern void ht_load (hash_table *ht, hashnode *entries,
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dhashtable.h41 typedef struct ht hash_table;
47 struct ht struct
H A Dfunction.c1505 volatile_p, used_p, consecutive_p, ht) in put_reg_into_stack() argument
1512 htab_t ht;
1556 schedule_fixup_var_refs (function, reg, type, mode, ht);
1564 schedule_fixup_var_refs (function, reg, type, promoted_mode, ht) in schedule_fixup_var_refs() argument
1569 htab_t ht;
1587 fixup_var_refs (reg, promoted_mode, unsigned_p, reg, ht);
1591 fixup_var_refs (var, promoted_mode, unsignedp, may_share, ht) in fixup_var_refs() argument
1595 htab_t ht;
1604 if (ht)
1608 fixup_var_refs_insns_with_hash (ht, var, promoted_mode, unsignedp,
[all …]
/openbsd-src/gnu/usr.bin/perl/dist/Storable/t/
H A Dtied.t200 my $ht = thaw($hf);
201 isnt($ht, undef);
202 is($ht->{'x'}, 1);
/openbsd-src/sys/arch/macppc/conf/
H A Dfiles.macppc67 device ht {} : pcibus
68 attach ht at mainbus
69 file arch/macppc/pci/ht.c ht
71 file arch/macppc/pci/pci_machdep.c mpcpcibr | ht
/openbsd-src/games/grdc/
H A Dgrdc.c323 getwinsize(int *wid, int *ht) in getwinsize() argument
329 *ht = 24; in getwinsize()
332 *ht = size.ws_row; in getwinsize()
/openbsd-src/share/man/man4/man4.macppc/
H A DMakefile6 bm.4 daca.4 dfs.4 fcu.4 ht.4 hpb.4 intro.4 \
/openbsd-src/regress/lib/libcrypto/x509/bettertls/certificates/
H A D2136.crt19 VOlKiXDyUFx/hbuadt6I6WoQrnJ3ffP2RAMEZIo4PEMVBLzSBWworHi6Fffi5+ht
/openbsd-src/gnu/gcc/gcc/
H A Dfold-const.c11828 htab_t ht; in fold() local
11830 ht = htab_create (32, htab_hash_pointer, htab_eq_pointer, NULL); in fold()
11832 fold_checksum_tree (expr, &ctx, ht); in fold()
11834 htab_empty (ht); in fold()
11839 fold_checksum_tree (expr, &ctx, ht); in fold()
11841 htab_delete (ht); in fold()
11854 htab_t ht; in print_fold_checksum() local
11856 ht = htab_create (32, htab_hash_pointer, htab_eq_pointer, NULL); in print_fold_checksum()
11858 fold_checksum_tree (expr, &ctx, ht); in print_fold_checksum()
11860 htab_delete (ht); in print_fold_checksum()
[all …]

1234