Home
last modified time | relevance | path

Searched refs:hf (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/contrib/ntp/sntp/scripts/
H A DgenHardFlags31 hf=harden/$hardenfile
32 if test -f $hf
34 HF=$hf
56 hf=harden/$CVO_OSNAME$x
57 ${V}echo "Looking for <$hf>" >&2
58 if test -f $hf
60 HF=$hf
70 hf=harden/$CVO_OSNAME
71 ${V}echo "Looking for <$hf>" >&2
72 if test -f $hf
[all …]
/freebsd/stand/kboot/kboot/
H A Dhostfs.c35 hostfs_file *hf; in hostfs_alloc() local
37 hf = malloc(sizeof(*hf)); in hostfs_alloc()
38 if (hf != NULL) in hostfs_alloc()
39 memset(hf, 0, sizeof(*hf)); in hostfs_alloc()
40 return (hf); in hostfs_alloc()
44 hostfs_free(hostfs_file *hf) in hostfs_free() argument
46 free(hf); in hostfs_free()
52 hostfs_file *hf; in hostfs_open() local
99 hostfs_file *hf = f->f_fsdata; hostfs_close() local
111 hostfs_file *hf = f->f_fsdata; hostfs_read() local
125 hostfs_file *hf = f->f_fsdata; hostfs_seek() local
148 hostfs_file *hf = f->f_fsdata; hostfs_stat() local
184 hostfs_file *hf = f->f_fsdata; hostfs_readdir() local
[all...]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_lha.c2549 lzh_huffman_init(struct huffman *hf, size_t len_size, int tbl_bits) in lzh_huffman_init() argument
2553 if (hf->bitlen == NULL) { in lzh_huffman_init()
2554 hf->bitlen = malloc(len_size * sizeof(hf->bitlen[0])); in lzh_huffman_init()
2555 if (hf->bitlen == NULL) in lzh_huffman_init()
2558 if (hf->tbl == NULL) { in lzh_huffman_init()
2563 hf->tbl = malloc(((size_t)1 << bits) * sizeof(hf->tbl[0])); in lzh_huffman_init()
2564 if (hf->tbl == NULL) in lzh_huffman_init()
2567 if (hf->tree == NULL && tbl_bits > HTBL_BITS) { in lzh_huffman_init()
2568 hf->tree_avail = 1 << (tbl_bits - HTBL_BITS + 4); in lzh_huffman_init()
2569 hf->tree = malloc(hf->tree_avail * sizeof(hf->tree[0])); in lzh_huffman_init()
[all …]
H A Darchive_read_support_format_cab.c3120 lzx_huffman_init(struct huffman *hf, size_t len_size, int tbl_bits) in lzx_huffman_init() argument
3123 if (hf->bitlen == NULL || hf->len_size != (int)len_size) { in lzx_huffman_init()
3124 free(hf->bitlen); in lzx_huffman_init()
3125 hf->bitlen = calloc(len_size, sizeof(hf->bitlen[0])); in lzx_huffman_init()
3126 if (hf->bitlen == NULL) in lzx_huffman_init()
3128 hf->len_size = (int)len_size; in lzx_huffman_init()
3130 memset(hf->bitlen, 0, len_size * sizeof(hf->bitlen[0])); in lzx_huffman_init()
3131 if (hf->tbl == NULL) { in lzx_huffman_init()
3132 hf->tbl = malloc(((size_t)1 << tbl_bits) * sizeof(hf->tbl[0])); in lzx_huffman_init()
3133 if (hf->tbl == NULL) in lzx_huffman_init()
[all …]
/freebsd/contrib/bearssl/inc/
H A Dbearssl_ec.h685 const br_hash_class *hf, const void *hash_value,
727 const br_hash_class *hf, const void *hash_value,
743 const br_hash_class *hf, const void *hash_value,
793 const br_hash_class *hf, const void *hash_value,
809 const br_hash_class *hf, const void *hash_value,
/freebsd/contrib/netbsd-tests/lib/libc/gen/
H A Dt_humanize_number.c124 const struct hnflags *hf; in formatflags() local
135 hf = &hfs[i]; in formatflags()
136 if (flags & hf->hf_flags) { in formatflags()
137 found |= hf->hf_flags; in formatflags()
138 n = snprintf(p, len, "|%s", hf->hf_name); in formatflags()
/freebsd/contrib/bearssl/src/ssl/
H A Dssl_hs_server.c222 const br_hash_class *hf; in hash_data() local
228 hf = br_multihash_getimpl(&ctx->eng.mhash, br_md5_ID); in hash_data()
229 if (hf == NULL) { in hash_data()
232 hf->init(&hc.vtable); in hash_data()
233 hf->update(&hc.vtable, src, len); in hash_data()
234 hf->out(&hc.vtable, tmp); in hash_data()
235 hf = br_multihash_getimpl(&ctx->eng.mhash, br_sha1_ID); in hash_data()
236 if (hf == NULL) { in hash_data()
239 hf->init(&hc.vtable); in hash_data()
240 hf->update(&hc.vtable, src, len); in hash_data()
[all …]
H A Dssl_hs_server.t0167 const br_hash_class *hf;
173 hf = br_multihash_getimpl(&ctx->eng.mhash, br_md5_ID);
174 if (hf == NULL) {
177 hf->init(&hc.vtable);
178 hf->update(&hc.vtable, src, len);
179 hf->out(&hc.vtable, tmp);
180 hf = br_multihash_getimpl(&ctx->eng.mhash, br_sha1_ID);
181 if (hf == NULL) {
184 hf->init(&hc.vtable);
185 hf->update(&hc.vtable, src, len);
[all …]
/freebsd/contrib/bearssl/src/ec/
H A Decdsa_i15_sign_asn1.c32 const br_hash_class *hf, const void *hash_value, in br_ecdsa_i15_sign_asn1() argument
38 sig_len = br_ecdsa_i15_sign_raw(impl, hf, hash_value, sk, rsig); in br_ecdsa_i15_sign_asn1()
H A Decdsa_i31_sign_asn1.c32 const br_hash_class *hf, const void *hash_value, in br_ecdsa_i31_sign_asn1() argument
38 sig_len = br_ecdsa_i31_sign_raw(impl, hf, hash_value, sk, rsig); in br_ecdsa_i31_sign_asn1()
H A Decdsa_i15_sign_raw.c34 const br_hash_class *hf, const void *hash_value, in br_ecdsa_i15_sign_raw() argument
100 hash_len = (hf->desc >> BR_HASHDESC_OUT_OFF) & BR_HASHDESC_OUT_MASK; in br_ecdsa_i15_sign_raw()
118 br_hmac_drbg_init(&drbg, hf, tt, nlen << 1); in br_ecdsa_i15_sign_raw()
H A Decdsa_i31_sign_raw.c34 const br_hash_class *hf, const void *hash_value, in br_ecdsa_i31_sign_raw() argument
99 hash_len = (hf->desc >> BR_HASHDESC_OUT_OFF) & BR_HASHDESC_OUT_MASK; in br_ecdsa_i31_sign_raw()
117 br_hmac_drbg_init(&drbg, hf, tt, nlen << 1); in br_ecdsa_i31_sign_raw()
/freebsd/sys/contrib/ck/src/
H A Dck_hs.c361 h = hs->hf(previous, hs->seed); in ck_hs_grow()
600 h = hs->hf(entry, hs->seed); in ck_hs_gc()
925 ck_hs_hash_cb_t *hf, in ck_hs_move() argument
930 if (m == NULL || m->malloc == NULL || m->free == NULL || hf == NULL) in ck_hs_move()
937 hs->hf = hf; in ck_hs_move()
945 ck_hs_hash_cb_t *hf, in ck_hs_init() argument
952 if (m == NULL || m->malloc == NULL || m->free == NULL || hf == NULL) in ck_hs_init()
958 hs->hf = hf; in ck_hs_init()
H A Dck_rhs.c522 h = hs->hf(previous, hs->seed); in ck_rhs_grow()
554 h = hs->hf(previous, hs->seed); in ck_rhs_grow()
1440 ck_rhs_hash_cb_t *hf, in ck_rhs_move() argument
1445 if (m == NULL || m->malloc == NULL || m->free == NULL || hf == NULL) in ck_rhs_move()
1453 hs->hf = hf; in ck_rhs_move()
1461 ck_rhs_hash_cb_t *hf, in ck_rhs_init() argument
1468 if (m == NULL || m->malloc == NULL || m->free == NULL || hf == NULL) in ck_rhs_init()
1474 hs->hf = hf; in ck_rhs_init()
/freebsd/sys/dev/videomode/
H A Dvesagtf.c661 float vf, hf; in print_xf86_mode() local
663 hf = 1000.0 * vmp->dot_clock / vmp->htotal; in print_xf86_mode()
664 vf = 1.0 * hf / vmp->vtotal; in print_xf86_mode()
668 vmp->hdisplay, vmp->vdisplay, vf, hf, vmp->dot_clock / 1000.0); in print_xf86_mode()
/freebsd/sys/netpfil/ipfw/test/
H A Dtest_dn_heap.c50 uint32_t hf(uintptr_t key, int flags, void *arg) in hf() function
95 h = dn_ht_init(NULL, 10, 0, hf, matchf, newfn); in test_hash()
102 h = dn_ht_init(NULL, 10, 0, hf, matchf, NULL); in test_hash()
/freebsd/contrib/libedit/
H A Dhistory.c1117 TYPE(History) hf; in FUNW()
1119 hf.h_ref = va_arg(va, void *); in FUNW()
1121 hf.h_first = va_arg(va, history_gfun_t); in FUNW()
1122 hf.h_next = va_arg(va, history_gfun_t); in FUNW()
1123 hf.h_last = va_arg(va, history_gfun_t); in FUNW()
1124 hf.h_prev = va_arg(va, history_gfun_t); in FUNW()
1125 hf.h_curr = va_arg(va, history_gfun_t); in FUNW()
1126 hf.h_set = va_arg(va, history_sfun_t); in FUNW()
1127 hf.h_clear = va_arg(va, history_vfun_t); in FUNW()
1128 hf.h_enter = va_arg(va, history_efun_t); in FUNW()
[all …]
/freebsd/sys/contrib/ck/include/
H A Dck_hs.h89 ck_hs_hash_cb_t *hf; member
117 return hs->hf(k, hs->seed); in ck_hs_hash()
H A Dck_rhs.h89 ck_rhs_hash_cb_t *hf; member
/freebsd/contrib/ntp/include/
H A Dntp_fp.h78 #define NTOHL_MFP(ni, nf, hi, hf) \ argument
81 (hf) = ntohl(nf); \
84 #define HTONL_MFP(hi, hf, ni, nf) \ argument
87 (nf) = htonl(hf); \
/freebsd/contrib/sendmail/cf/ostype/
H A Dunicos.m416 define(`HELP_FILE', `/usr/lib/sendmail.hf')
H A Dunicosmk.m416 define(`HELP_FILE', `/usr/lib/sendmail.hf')
H A Dirix5.m428 # - helpfile is in /etc/sendmail.hf in SGI's /etc/sendmail.cf
/freebsd/contrib/llvm-project/libcxx/include/
H A Dunordered_set55 explicit unordered_set(size_type n, const hasher& hf = hasher(),
60 size_type n = 0, const hasher& hf = hasher(),
65 const hasher& hf = hasher(), const key_equal& eql = key_equal(),
77 const hasher& hf = hasher(), const key_equal& eql = key_equal(),
80 unordered_set(size_type n, const hasher& hf, const allocator_type& a); // C++14
85 const hasher& hf, const allocator_type& a); // C++14
90 unordered_set(from_range_t, R&& rg, size_type n, const hasher& hf, const allocator_type& a)
91 : unordered_set(from_range, std::forward<R>(rg), n, hf, key_equal(), a) { } // C++23
94 const hasher& hf, const allocator_type& a); // C++14
303 explicit unordered_multiset(size_type n, const hasher& hf = hasher(),
[all …]
H A Dunordered_map54 explicit unordered_map(size_type n, const hasher& hf = hasher(),
59 size_type n = 0, const hasher& hf = hasher(),
64 const hasher& hf = hasher(), const key_equal& eql = key_equal(),
77 const hasher& hf = hasher(), const key_equal& eql = key_equal(),
81 unordered_map(size_type n, const hasher& hf, const allocator_type& a)
82 : unordered_map(n, hf, key_equal(), a) {} // C++14
87 unordered_map(InputIterator f, InputIterator l, size_type n, const hasher& hf,
89 : unordered_map(f, l, n, hf, key_equal(), a) {} // C++14
94 unordered_map(from_range_t, R&& rg, size_type n, const hasher& hf, const allocator_type& a)
95 : unordered_map(from_range, std::forward<R>(rg), n, hf, key_equal(), a) { } // C++23
[all …]

12