/dports/devel/ucommon/ucommon-7.0.0/gnutls/ |
H A D | digest.cpp | 32 hashid = 0; in release() 59 hashid = __context::map_digest(type); in set() 61 if(!hashid || gnutls_hash_get_len((MD_ID)hashid) < 1) { in set() 62 hashid = 0; in set() 81 if(!context || hashid == 0) in put() 96 if(hashid == 0) in reset() 107 if(!context || hashid == 0) in recycle() 118 size = gnutls_hash_get_len((MD_ID)hashid); in recycle() 120 if(!size || !context || !hashid) in recycle() 147 if(!context || hashid == 0) in get() [all …]
|
/dports/security/mhash/mhash-0.9.9.9/src/ |
H A D | frag_test.c | 44 int frag_test(hashid hashid) in frag_test() argument 57 input_size = mhash_get_hash_pblock(hashid); in frag_test() 60 digest_size = mhash_get_block_size(hashid); in frag_test() 63 td1 = mhash_init(hashid); /* get two mhash instances */ in frag_test() 64 td2 = mhash_init(hashid); in frag_test() 119 hashid hashid; in main() local 124 for (hashid = 0; hashid <= total; hashid++) in main() 126 if ((s = mhash_get_hash_name_static(hashid)) && mhash_get_hash_pblock(hashid)) in main() 130 printf((ok = frag_test(hashid)) ? "OK\n" : "Failed\n"); in main()
|
H A D | driver.c | 43 hashid hashid; in main() local 53 for (found = MUTILS_FALSE, hashid = 0; hashid <= mhash_count(); hashid++) in main() 55 if (mhash_get_hash_name_static(hashid)) in main() 57 if (! mutils_strcmp((mutils_word8 *) argv[1], mhash_get_hash_name_static(hashid))) in main() 71 assert(mhash_get_block_size(hashid) <= MAX_DIGEST_SIZE); in main() 73 td = mhash_init(hashid); /* hash stdin until EOF ist reached */ in main() 84 for (i = 0; i < mhash_get_block_size(hashid); i++) in main()
|
/dports/editors/wxhexeditor/wxHexEditor/mhash/src/ |
H A D | frag_test.c | 44 int frag_test(hashid hashid) in frag_test() argument 57 input_size = mhash_get_hash_pblock(hashid); in frag_test() 60 digest_size = mhash_get_block_size(hashid); in frag_test() 63 td1 = mhash_init(hashid); /* get two mhash instances */ in frag_test() 64 td2 = mhash_init(hashid); in frag_test() 119 hashid hashid; in main() local 124 for (hashid = 0; hashid <= total; hashid++) in main() 126 if ((s = mhash_get_hash_name_static(hashid)) && mhash_get_hash_pblock(hashid)) in main() 130 printf((ok = frag_test(hashid)) ? "OK\n" : "Failed\n"); in main()
|
H A D | driver.c | 43 hashid hashid; in main() local 53 for (found = MUTILS_FALSE, hashid = 0; hashid <= mhash_count(); hashid++) in main() 55 if (mhash_get_hash_name_static(hashid)) in main() 57 if (! mutils_strcmp((mutils_word8 *) argv[1], mhash_get_hash_name_static(hashid))) in main() 71 assert(mhash_get_block_size(hashid) <= MAX_DIGEST_SIZE); in main() 73 td = mhash_init(hashid); /* hash stdin until EOF ist reached */ in main() 84 for (i = 0; i < mhash_get_block_size(hashid); i++) in main()
|
/dports/net/kamailio/kamailio-5.4.5/src/modules/imc/ |
H A D | imc_mng.c | 192 unsigned int hashid; in imc_get_room() local 202 hashid = core_case_hash(name, domain, 0); in imc_get_room() 211 if(irp->hashid==hashid && irp->name.len==name->len in imc_get_room() 234 unsigned int hashid; in imc_del_room() local 244 hashid = core_case_hash(name, domain, 0); in imc_del_room() 252 if(irp->hashid==hashid && irp->name.len==name->len in imc_del_room() 353 unsigned int hashid; in imc_get_member() local 362 hashid = core_case_hash(user, domain, 0); in imc_get_member() 366 if(imp->hashid==hashid && imp->user.len==user->len in imc_get_member() 386 unsigned int hashid; in imc_del_member() local [all …]
|
/dports/security/mhash/mhash-0.9.9.9/lib/ |
H A D | mhash_int.h | 14 mutils_word32 mhash_get_block_size(hashid type); 15 mutils_word8 *mhash_get_hash_name(hashid type); 19 MHASH mhash_init(hashid type); 20 MHASH mhash_init_int(hashid type); 30 mutils_word32 mhash_get_hash_pblock(hashid type); 32 MHASH hmac_mhash_init(__const hashid type, void *key, mutils_word32 keysize, 54 mutils_error mhash_keygen(keygenid algorithm, hashid opt_algorithm, 64 mutils_word8 *mhash_get_keygen_name(hashid type);
|
H A D | mhash.c | 58 hashid id; 182 hashid count = 0; in mhash_count() 210 WIN32DLL_DEFINE INIT_FUNC _mhash_get_init_func(hashid type) in _mhash_get_init_func() 217 WIN32DLL_DEFINE HASH_FUNC _mhash_get_hash_func(hashid type) in _mhash_get_hash_func() 224 WIN32DLL_DEFINE FINAL_FUNC _mhash_get_final_func(hashid type) in _mhash_get_final_func() 240 WIN32DLL_DEFINE hashid mhash_get_mhash_algo( MHASH tmp) { in mhash_get_mhash_algo() 244 WIN32DLL_DEFINE mutils_word8 *mhash_get_hash_name(hashid type) in mhash_get_hash_name() 314 MHASH mhash_init_int(__const hashid type) in mhash_init_int() 426 WIN32DLL_DEFINE MHASH mhash_init(__const hashid type) in mhash_init() 540 MHASH mhash_hmac_init(__const hashid type, in mhash_hmac_init() [all …]
|
/dports/editors/wxhexeditor/wxHexEditor/mhash/lib/ |
H A D | mhash_int.h | 14 mutils_word32 mhash_get_block_size(hashid type); 15 mutils_word8 *mhash_get_hash_name(hashid type); 19 MHASH mhash_init(hashid type); 20 MHASH mhash_init_int(hashid type); 30 mutils_word32 mhash_get_hash_pblock(hashid type); 32 MHASH hmac_mhash_init(__const hashid type, void *key, mutils_word32 keysize, 54 mutils_error mhash_keygen(keygenid algorithm, hashid opt_algorithm, 64 mutils_word8 *mhash_get_keygen_name(hashid type);
|
/dports/dns/py-localzone/localzone-0.9.8/localzone/ |
H A D | models.py | 81 def get_record(self, hashid): argument 90 record = next((r for r in self.records if r.hashid == hashid), None) 206 def remove_record(self, hashid, cascade=True): argument 220 record = self.get_record(hashid) 235 def update_record(self, hashid, content): argument 245 record = self.get_record(hashid) 246 self.remove_record(hashid, cascade=False) 301 hashid = "" 310 hashid = self.__hash__() 335 def hashid(self): member in Record [all …]
|
/dports/textproc/py-hashids/hashids-1.3.1/ |
H A D | hashids.py | 132 def _decode(hashid, salt, alphabet, separators, guards): argument 135 parts = tuple(_split(hashid, guards)) 136 hashid = parts[1] if 2 <= len(parts) <= 3 else parts[0] 138 if not hashid: 141 lottery_char = hashid[0] 142 hashid = hashid[1:] 144 hash_parts = _split(hashid, separators) 231 def decode(self, hashid): argument 240 if not hashid or not _is_str(hashid): 265 def decode_hex(self, hashid): argument [all …]
|
/dports/devel/ChipmunkPhysics/Chipmunk-7.0.1/include/chipmunk/ |
H A D | cpSpatialIndex.h | 122 typedef cpBool (*cpSpatialIndexContainsImpl)(cpSpatialIndex *index, void *obj, cpHashValue hashid); 123 typedef void (*cpSpatialIndexInsertImpl)(cpSpatialIndex *index, void *obj, cpHashValue hashid); 124 typedef void (*cpSpatialIndexRemoveImpl)(cpSpatialIndex *index, void *obj, cpHashValue hashid); 176 static inline cpBool cpSpatialIndexContains(cpSpatialIndex *index, void *obj, cpHashValue hashid) in cpSpatialIndexContains() argument 178 return index->klass->contains(index, obj, hashid); in cpSpatialIndexContains() 183 static inline void cpSpatialIndexInsert(cpSpatialIndex *index, void *obj, cpHashValue hashid) in cpSpatialIndexInsert() argument 185 index->klass->insert(index, obj, hashid); in cpSpatialIndexInsert() 190 static inline void cpSpatialIndexRemove(cpSpatialIndex *index, void *obj, cpHashValue hashid) in cpSpatialIndexRemove() argument 192 index->klass->remove(index, obj, hashid); in cpSpatialIndexRemove() 202 static inline void cpSpatialIndexReindexObject(cpSpatialIndex *index, void *obj, cpHashValue hashid) in cpSpatialIndexReindexObject() argument [all …]
|
/dports/security/mhash/mhash-0.9.9.9/include/mutils/ |
H A D | mhash.h | 57 mutils_word32 mhash_get_block_size(hashid type); 58 mutils_word8 *mhash_get_hash_name(hashid type); 61 __const mutils_word8 *mhash_get_hash_name_static(hashid type); 65 MHASH mhash_init(hashid type); 83 mutils_word32 mhash_get_hash_pblock(hashid type); 84 hashid mhash_get_mhash_algo(MHASH tmp); 88 MHASH mhash_hmac_init(const hashid type, void *key, mutils_word32 keysize, mutils_word32 block); 100 mutils_error mhash_keygen(keygenid algorithm, hashid opt_algorithm, 152 hashid mhash_get_mhash_algo();
|
/dports/security/mhash/mhash-0.9.9.9/mhash-0.9.9/include/mutils/ |
H A D | mhash.h | 56 mutils_word32 mhash_get_block_size(hashid type); 57 mutils_word8 *mhash_get_hash_name(hashid type); 60 __const mutils_word8 *mhash_get_hash_name_static(hashid type); 64 MHASH mhash_init(hashid type); 82 mutils_word32 mhash_get_hash_pblock(hashid type); 83 hashid mhash_get_mhash_algo(MHASH tmp); 87 MHASH mhash_hmac_init(const hashid type, void *key, mutils_word32 keysize, mutils_word32 block); 99 mutils_error mhash_keygen(keygenid algorithm, hashid opt_algorithm, 151 hashid mhash_get_mhash_algo();
|
/dports/editors/wxhexeditor/wxHexEditor/mhash/mhash-0.9.9/include/mutils/ |
H A D | mhash.h | 56 mutils_word32 mhash_get_block_size(hashid type); 57 mutils_word8 *mhash_get_hash_name(hashid type); 60 __const mutils_word8 *mhash_get_hash_name_static(hashid type); 64 MHASH mhash_init(hashid type); 82 mutils_word32 mhash_get_hash_pblock(hashid type); 83 hashid mhash_get_mhash_algo(MHASH tmp); 87 MHASH mhash_hmac_init(const hashid type, void *key, mutils_word32 keysize, mutils_word32 block); 99 mutils_error mhash_keygen(keygenid algorithm, hashid opt_algorithm, 151 hashid mhash_get_mhash_algo();
|
/dports/editors/wxhexeditor/wxHexEditor/mhash/include/mutils/ |
H A D | mhash.h | 57 mutils_word32 mhash_get_block_size(hashid type); 58 mutils_word8 *mhash_get_hash_name(hashid type); 61 __const mutils_word8 *mhash_get_hash_name_static(hashid type); 65 MHASH mhash_init(hashid type); 83 mutils_word32 mhash_get_hash_pblock(hashid type); 84 hashid mhash_get_mhash_algo(MHASH tmp); 88 MHASH mhash_hmac_init(const hashid type, void *key, mutils_word32 keysize, mutils_word32 block); 100 mutils_error mhash_keygen(keygenid algorithm, hashid opt_algorithm, 152 hashid mhash_get_mhash_algo();
|
/dports/databases/evolution-data-server/evolution-data-server-3.42.1/src/camel/ |
H A D | camel-partition-table.c | 276 camel_hash_t hashid; in camel_partition_table_lookup() local 307 if (pkb->keys[i].hashid == hashid) { in camel_partition_table_lookup() 329 camel_hash_t hashid; in camel_partition_table_remove() local 358 if (pkb->keys[i].hashid == hashid) { in camel_partition_table_remove() 366 pkb->keys[i].hashid = pkb->keys[i + 1].hashid; in camel_partition_table_remove() 387 if (a->hashid < b->hashid) in keys_cmp() 389 else if (a->hashid > b->hashid) in keys_cmp() 436 kb->keys[kb->used].hashid = hashid; in camel_partition_table_add() 540 ptb->partition[i + 1].hashid = ptb->partition[i].hashid; in camel_partition_table_add() 549 ptb->partition[newindex].hashid = ptb->partition[index].hashid; in camel_partition_table_add() [all …]
|
/dports/lang/mit-scheme/mit-scheme-9.2/src/mhash/ |
H A D | mhash.cdecl | 30 (typedef hashid int) 34 (extern (* char) mhash_get_hash_name (id hashid)) 35 (extern int mhash_get_block_size (id hashid)) 36 (extern int mhash_get_hash_pblock (id hashid)) 46 (extern MHASH mhash_init (type hashid)) 62 (type hashid) 76 (hashid1 hashid) 77 (hashid2 hashid)
|
/dports/emulators/mess/mame-mame0226/3rdparty/SDL2/src/audio/ |
H A D | sdlgenaudiocvt.pl | 201 my $hashid = getTypeConvertHashId($from, $to); 204 $funcs{$hashid} = $sym; 300 $funcs{$hashid} = 'SDL_ConvertSigned'; 302 $funcs{$hashid} = 'SDL_ConvertFloat'; 304 $funcs{$hashid} = 'SDL_ConvertSize'; 306 $funcs{$hashid} = 'SDL_ConvertEndian'; 333 my $sym = $funcs{$hashid}; 379 $funcs{$hashid} = $sym; 528 $funcs{$hashid} = $sym; 723 my $sym = $funcs{$hashid}; [all …]
|
/dports/emulators/mame/mame-mame0226/3rdparty/SDL2/src/audio/ |
H A D | sdlgenaudiocvt.pl | 201 my $hashid = getTypeConvertHashId($from, $to); 204 $funcs{$hashid} = $sym; 300 $funcs{$hashid} = 'SDL_ConvertSigned'; 302 $funcs{$hashid} = 'SDL_ConvertFloat'; 304 $funcs{$hashid} = 'SDL_ConvertSize'; 306 $funcs{$hashid} = 'SDL_ConvertEndian'; 333 my $sym = $funcs{$hashid}; 379 $funcs{$hashid} = $sym; 528 $funcs{$hashid} = $sym; 723 my $sym = $funcs{$hashid}; [all …]
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/SDL/src/audio/ |
H A D | sdlgenaudiocvt.pl | 201 my $hashid = getTypeConvertHashId($from, $to); 204 $funcs{$hashid} = $sym; 300 $funcs{$hashid} = 'SDL_ConvertSigned'; 302 $funcs{$hashid} = 'SDL_ConvertFloat'; 304 $funcs{$hashid} = 'SDL_ConvertSize'; 306 $funcs{$hashid} = 'SDL_ConvertEndian'; 333 my $sym = $funcs{$hashid}; 379 $funcs{$hashid} = $sym; 528 $funcs{$hashid} = $sym; 723 my $sym = $funcs{$hashid}; [all …]
|
/dports/devel/bam/bam-0.4.0/src/ |
H A D | node.c | 37 unsigned hashid = string_hash(filename); in node_create() local 61 link = nodelinktree_find_closest(graph->nodehash[hashid&0xffff], hashid); in node_create() 62 if(link && link->node->hashid == hashid) in node_create() 87 node->hashid = string_hash(filename); in node_create() 90 nodelinktree_insert(&graph->nodehash[node->hashid&0xffff], link, node); in node_create() 119 struct NODE *node_find_byhash(struct GRAPH *graph, unsigned int hashid) in node_find_byhash() argument 122 link = nodelinktree_find_closest(graph->nodehash[hashid&0xffff], hashid); in node_find_byhash() 123 if(link && link->node->hashid == hashid) in node_find_byhash() 165 treelink = nodelinktree_find_closest(node->deproot, depnode->hashid); in node_add_dependency_withnode() 166 if(treelink != NULL && treelink->node->hashid == depnode->hashid) in node_add_dependency_withnode() [all …]
|
H A D | cache.c | 94 if(a->hashid > b->hashid) return 1; in cachenode_cmp() 95 if(a->hashid < b->hashid) return -1; in cachenode_cmp() 186 cachenode->hashid = node->hashid; in write_nodes() 324 struct CACHENODE *cache_find_byhash(struct CACHE *cache, unsigned hashid) in cache_find_byhash() argument 329 tempnode.hashid = hashid; in cache_find_byhash() 344 cachenode = cache_find_byhash(context->cache, node->hashid); in cache_do_dependency()
|
/dports/net/kamailio/kamailio-5.4.5/src/modules/phonenum/ |
H A D | phonenum_pv.c | 47 unsigned int hashid; member 64 unsigned int hashid = 0; in sr_phonenum_get_record() local 66 hashid = get_hash1_raw(name->s, name->len); in sr_phonenum_get_record() 70 if(it->hashid == hashid && it->pvclass.len == name->len in sr_phonenum_get_record() 81 unsigned int hashid = 0; in sr_phonenum_add_item() local 83 hashid = get_hash1_raw(name->s, name->len); in sr_phonenum_add_item() 87 if(it->hashid == hashid && it->pvclass.len == name->len in sr_phonenum_add_item() 108 it->hashid = hashid; in sr_phonenum_add_item()
|
/dports/lang/mit-scheme/mit-scheme-9.2/src/microcode/ |
H A D | prmhash.c | 63 hashid id; 107 store_context (MHASH context, hashid id) in store_context() 141 static hashid * hashid_map = 0; 151 hashid_map = (OS_malloc ((sizeof (hashid)) * hashid_count)); in initialize_hashid_map() 155 (hashid_map[j++]) = ((hashid) i); in initialize_hashid_map() 161 static hashid 186 hashid id = (arg_hashid (1)); in UNARY_OPERATION() 196 hashid id = (arg_hashid (1)); 227 hashid id = ((context_table[index]) . id); 245 hashid id = ((context_table[index]) . id);
|