Home
last modified time | relevance | path

Searched refs:p_hash (Results 1 – 25 of 164) sorted by relevance

1234567

/dports/ftp/vsftpd/vsftpd-3.0.5/
H A Dhash.c40 struct hash* p_hash = vsf_sysutil_malloc(sizeof(*p_hash)); in hash_alloc() local
41 p_hash->buckets = buckets; in hash_alloc()
42 p_hash->key_size = key_size; in hash_alloc()
43 p_hash->value_size = value_size; in hash_alloc()
44 p_hash->hash_func = hash_func; in hash_alloc()
47 vsf_sysutil_memclr(p_hash->p_nodes, size); in hash_alloc()
48 return p_hash; in hash_alloc()
67 if (hash_lookup_entry(p_hash, p_key)) in hash_add_entry()
123 unsigned int bucket = (*p_hash->hash_func)(p_hash->buckets, p_key); in hash_get_bucket()
124 if (bucket >= p_hash->buckets) in hash_get_bucket()
[all …]
H A Dhash.h10 void* hash_lookup_entry(struct hash* p_hash, void* p_key);
11 void hash_add_entry(struct hash* p_hash, void* p_key, void* p_value);
12 void hash_free_entry(struct hash* p_hash, void* p_key);
/dports/ftp/vsftpd-ext/vsFTPd-3.0.3-ext.1/
H A Dhash.c40 struct hash* p_hash = vsf_sysutil_malloc(sizeof(*p_hash)); in hash_alloc() local
41 p_hash->buckets = buckets; in hash_alloc()
42 p_hash->key_size = key_size; in hash_alloc()
43 p_hash->value_size = value_size; in hash_alloc()
44 p_hash->hash_func = hash_func; in hash_alloc()
47 vsf_sysutil_memclr(p_hash->p_nodes, size); in hash_alloc()
48 return p_hash; in hash_alloc()
67 if (hash_lookup_entry(p_hash, p_key)) in hash_add_entry()
123 unsigned int bucket = (*p_hash->hash_func)(p_hash->buckets, p_key); in hash_get_bucket()
124 if (bucket >= p_hash->buckets) in hash_get_bucket()
[all …]
H A Dhash.h10 void* hash_lookup_entry(struct hash* p_hash, void* p_key);
11 void hash_add_entry(struct hash* p_hash, void* p_key, void* p_value);
12 void hash_free_entry(struct hash* p_hash, void* p_key);
/dports/graphics/tgif/tgif-QPL-4.2.5/
H A Dhash.c98 TgHash *p_hash; in GetBucket()
158 void CleanUpHash(p_hash) in CleanUpHash() argument
159 TgHash *p_hash; in CleanUpHash()
177 free(p_hash->buckets);
182 int InitHash(p_hash, which) in InitHash() argument
183 TgHash *p_hash; in InitHash()
194 p_hash->num_buckets = which;
208 TgHash *p_hash; in HashStoreInt()
224 TgHash *p_hash; in HashStoreStr()
240 TgHash *p_hash; in HashLookUpInt()
[all …]
/dports/multimedia/vlc/vlc-3.0.16/modules/keystore/
H A Dsecret.c100 if (!p_hash) in values_to_ghashtable()
108 return p_hash; in values_to_ghashtable()
143 GHashTable *p_hash = values_to_ghashtable(ppsz_values); in Store() local
144 if (!p_hash) in Store()
146 ghashtable_insert_vlc_id(p_hash); in Store()
152 g_hash_table_unref(p_hash); in Store()
163 g_hash_table_unref(p_hash); in Store()
171 GHashTable *p_hash = values_to_ghashtable(ppsz_values); in items_search() local
172 if (!p_hash) in items_search()
177 ghashtable_insert_vlc_id(p_hash); in items_search()
[all …]
/dports/www/p5-CGI-Thin/CGI-Thin-0.52/lib/CGI/
H A DThin.pm229 my ($p_hash, $key, $val) = @_;
231 if ( defined($p_hash->{$key})) {
232 unless (ref ($p_hash->{$key}) eq "ARRAY") {
233 my $firstval = $p_hash->{$key};
234 $p_hash->{$key} = [$firstval];
236 push (@{$p_hash->{$key}}, $val);
238 $p_hash->{$key} = $val;
/dports/multimedia/vlc/vlc-3.0.16/src/misc/
H A Dupdate.c320 if( !p_hash ) in GetUpdateFile()
331 free( p_hash ); in GetUpdateFile()
338 free( p_hash ); in GetUpdateFile()
345 if( !p_hash ) in GetUpdateFile()
355 free( p_hash ); in GetUpdateFile()
363 free( p_hash ); in GetUpdateFile()
370 free( p_hash ); in GetUpdateFile()
682 if( !p_hash ) in update_DownloadReal()
702 free( p_hash ); in update_DownloadReal()
714 free( p_hash ); in update_DownloadReal()
[all …]
H A Dupdate_crypto.c469 uint8_t *p_hash ) in verify_signature_rsa() argument
522 uint8_t *p_hash ) in verify_signature_dsa() argument
590 uint8_t *p_hash ) in verify_signature() argument
781 uint8_t *p_hash = malloc(hash_len); in hash_finish() local
782 if( p_hash ) in hash_finish()
783 memcpy(p_hash, p_tmp, hash_len); in hash_finish()
785 return p_hash; in hash_finish()
916 uint8_t *p_hash = hash_finish( hd, &p_pkey->sig ); in hash_from_public_key() local
917 if( !p_hash || in hash_from_public_key()
921 free(p_hash); in hash_from_public_key()
[all …]
/dports/security/s2n/s2n-tls-1.1.2/tls/
H A Ds2n_prf.c107 POSIX_ENSURE_REF(ws->p_hash.evp_hmac.mac_key); in s2n_evp_hmac_p_hash_digest_init()
114 …ARD_OSSL(EVP_DigestSignInit(ws->p_hash.evp_hmac.evp_digest.ctx, NULL, ws->p_hash.evp_hmac.evp_dige… in s2n_evp_hmac_p_hash_digest_init()
126 ws->p_hash.evp_hmac.evp_digest.md = EVP_md5(); in s2n_evp_hmac_p_hash_init()
130 ws->p_hash.evp_hmac.evp_digest.md = EVP_sha1(); in s2n_evp_hmac_p_hash_init()
192 POSIX_ENSURE_REF(ws->p_hash.evp_hmac.mac_key); in s2n_evp_hmac_p_hash_cleanup()
193 EVP_PKEY_free(ws->p_hash.evp_hmac.mac_key); in s2n_evp_hmac_p_hash_cleanup()
194 ws->p_hash.evp_hmac.mac_key = NULL; in s2n_evp_hmac_p_hash_cleanup()
203 ws->p_hash.evp_hmac.evp_digest.ctx = NULL; in s2n_evp_hmac_p_hash_free()
221 POSIX_GUARD(s2n_hmac_new(&ws->p_hash.s2n_hmac)); in s2n_hmac_p_hash_new()
243 return s2n_hmac_reset(&ws->p_hash.s2n_hmac); in s2n_hmac_p_hash_reset()
[all …]
/dports/devel/sunpromake/schily-2021-09-18/sccs/sccs/lib/comobj/src/
H A Dsidext_ab.c35 if (pkt->p_hash == 0) {
36 pkt->p_hash = (UInt16_t *)
39 zero((char *) pkt->p_hash, n);
46 pkt->p_hash[dt->d_serial] = n;
/dports/devel/smake/schily-2021-09-18/sccs/sccs/lib/comobj/src/
H A Dsidext_ab.c35 if (pkt->p_hash == 0) {
36 pkt->p_hash = (UInt16_t *)
39 zero((char *) pkt->p_hash, n);
46 pkt->p_hash[dt->d_serial] = n;
/dports/devel/sccs/schily-2021-09-18/sccs/sccs/lib/comobj/src/
H A Dsidext_ab.c35 if (pkt->p_hash == 0) {
36 pkt->p_hash = (UInt16_t *)
39 zero((char *) pkt->p_hash, n);
46 pkt->p_hash[dt->d_serial] = n;
/dports/devel/schilybase/schily-2021-09-18/sccs/sccs/lib/comobj/src/
H A Dsidext_ab.c35 if (pkt->p_hash == 0) {
36 pkt->p_hash = (UInt16_t *)
39 zero((char *) pkt->p_hash, n);
46 pkt->p_hash[dt->d_serial] = n;
/dports/net/rscsi/schily-2021-09-18/sccs/sccs/lib/comobj/src/
H A Dsidext_ab.c35 if (pkt->p_hash == 0) {
36 pkt->p_hash = (UInt16_t *)
39 zero((char *) pkt->p_hash, n);
46 pkt->p_hash[dt->d_serial] = n;
/dports/archivers/star/schily-2021-09-18/sccs/sccs/lib/comobj/src/
H A Dsidext_ab.c35 if (pkt->p_hash == 0) {
36 pkt->p_hash = (UInt16_t *)
39 zero((char *) pkt->p_hash, n);
46 pkt->p_hash[dt->d_serial] = n;
/dports/sysutils/cdrtools/schily-2021-09-18/sccs/sccs/lib/comobj/src/
H A Dsidext_ab.c35 if (pkt->p_hash == 0) {
36 pkt->p_hash = (UInt16_t *)
39 zero((char *) pkt->p_hash, n);
46 pkt->p_hash[dt->d_serial] = n;
/dports/editors/ved/schily-2021-09-18/sccs/sccs/lib/comobj/src/
H A Dsidext_ab.c35 if (pkt->p_hash == 0) {
36 pkt->p_hash = (UInt16_t *)
39 zero((char *) pkt->p_hash, n);
46 pkt->p_hash[dt->d_serial] = n;
/dports/sysutils/schilyutils/schily-2021-09-18/sccs/sccs/lib/comobj/src/
H A Dsidext_ab.c35 if (pkt->p_hash == 0) {
36 pkt->p_hash = (UInt16_t *)
39 zero((char *) pkt->p_hash, n);
46 pkt->p_hash[dt->d_serial] = n;
/dports/www/varnish6/varnish-cache-varnish-6.6.2/bin/varnishtest/tests/
H A Dd00020.vtc17 new p_hash = directors.shard_param();
18 p_hash.set(by=HASH, alt=1);
49 set resp.http.by = p_hash.get_by();
50 set resp.http.key = p_hash.get_key();
51 set resp.http.alt = p_hash.get_alt();
88 p_hash.clear();
89 p_hash.set(by=HASH, alt=8);
97 p_hash.set(by=URL, warmup=0.8);
105 p_hash.set(by=KEY, key=8);
125 set beresp.http.by = p_hash.get_by();
[all …]
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/ssl/src/
H A Dtls_v1.erl316 p_hash(Secret, Seed, WantedLength, Method) -> function
317 p_hash(Secret, Seed, WantedLength, Method, 0, []).
319 p_hash(_Secret, _Seed, WantedLength, _Method, _N, []) function
322 p_hash(_Secret, _Seed, WantedLength, _Method, _N, [Last | Acc]) function
327 p_hash(Secret, Seed, WantedLength, Method, N, Acc) -> function
330 p_hash(Secret, Seed, WantedLength - byte_size(Bin), Method, N1, [Bin|Acc]).
363 crypto:exor(p_hash(S1, LS, WantedLength, ?MD5),
364 p_hash(S2, LS, WantedLength, ?SHA));
369 p_hash(Secret, LS, WantedLength, MAC).
/dports/www/p5-HTML-FormHandler/HTML-FormHandler-0.40068/xt/
H A Dparams.t28 my $p_hash = {
43 is_deeply( $p2_exp, $p_hash, 'get expanded hash for dot notation' );
55 is_deeply( $p3_exp, $p_hash, 'get expanded hash for plus notation' );
68 is_deeply( $p4_exp, $p_hash, 'get expanded hash for bracket notation' );
/dports/devel/godot-tools/godot-3.2.3-stable/modules/mono/mono_gd/
H A Dgd_mono_utils.h70 _FORCE_INLINE_ void hash_combine(uint32_t &p_hash, const uint32_t &p_with_hash) { in hash_combine() argument
71 p_hash ^= p_with_hash + 0x9e3779b9 + (p_hash << 6) + (p_hash >> 2); in hash_combine()
/dports/devel/godot/godot-3.2.3-stable/modules/mono/mono_gd/
H A Dgd_mono_utils.h70 _FORCE_INLINE_ void hash_combine(uint32_t &p_hash, const uint32_t &p_with_hash) { in hash_combine() argument
71 p_hash ^= p_with_hash + 0x9e3779b9 + (p_hash << 6) + (p_hash >> 2); in hash_combine()
/dports/devel/godot/godot-3.2.3-stable/core/
H A Doa_hash_map.h78 _FORCE_INLINE_ uint32_t _get_probe_length(uint32_t p_pos, uint32_t p_hash) const { in _get_probe_length() argument
79 uint32_t original_pos = p_hash % capacity; in _get_probe_length()
83 …_FORCE_INLINE_ void _construct(uint32_t p_pos, uint32_t p_hash, const TKey &p_key, const TValue &p… in _construct() argument
86 hashes[p_pos] = p_hash; in _construct()
115 void _insert_with_hash(uint32_t p_hash, const TKey &p_key, const TValue &p_value) { in _insert_with_hash() argument
117 uint32_t hash = p_hash; in _insert_with_hash()

1234567