HomeSort by relevance Sort by last modified time
    Searched full:hashtype (Results 1 - 25 of 42) sorted by null

1 2

  /external/chromium_org/third_party/smhasher/src/
KeysetTest.h 27 template< typename hashtype >
30 pfHash hash, std::vector<hashtype> & hashes )
40 hashtype h;
52 template< typename hashtype >
53 bool CombinationKeyTest ( hashfunc<hashtype> hash, int maxlen, uint32_t * blocks, int blockcount, bool testColl, bool testDist, bool drawDiagram )
59 std::vector<hashtype> hashes;
63 CombinationKeygenRecurse<hashtype>(key,0,maxlen,blocks,blockcount,hash,hashes);
73 result &= TestHashList<hashtype>(hashes,testColl,testDist,drawDiagram);
84 template< typename hashtype >
85 void PermutationKeygenRecurse ( pfHash hash, uint32_t * blocks, int blockcount, int k, std::vector<hashtype> & hashes
    [all...]
main.cpp 127 template < typename hashtype >
128 void test ( hashfunc<hashtype> hash, HashInfo * info )
130 const int hashbits = sizeof(hashtype) * 8;
162 TinySpeedTest(hashfunc<hashtype>(info->hash),sizeof(hashtype),i,info->verification,true,cycles);
178 result &= DiffTest< Blob<64>, hashtype >(hash,5,1000,dumpCollisions);
179 result &= DiffTest< Blob<128>, hashtype >(hash,4,1000,dumpCollisions);
180 result &= DiffTest< Blob<256>, hashtype >(hash,3,1000,dumpCollisions);
195 result &= DiffDistTest2<uint64_t,hashtype>(hash);
209 result &= AvalancheTest< Blob< 32>, hashtype > (hash,300000)
    [all...]
Stats.h 41 template< typename hashtype >
42 int FindCollisions ( std::vector<hashtype> & hashes,
43 HashSet<hashtype> & collisions,
68 template < class keytype, typename hashtype >
69 int PrintCollisions ( hashfunc<hashtype> hash, std::vector<keytype> & keys )
73 typedef std::map<hashtype,keytype> htab;
80 hashtype h = hash(&k1,sizeof(keytype),0);
105 template< typename hashtype >
106 double TestDistribution ( std::vector<hashtype> & hashes, bool drawDiagram )
112 const int hashbits = sizeof(hashtype) * 8
    [all...]
DifferentialTest.h 103 template < typename keytype, typename hashtype >
104 void DiffTestRecurse ( pfHash hash, keytype & k1, keytype & k2, hashtype & h1, hashtype & h2, int start, int bitsleft, std::vector<keytype> & diffs )
132 template < typename keytype, typename hashtype >
136 const int hashbits = sizeof(hashtype) * 8;
147 hashtype h1,h2;
161 DiffTestRecurse<keytype,hashtype>(hash,k1,k2,h1,h2,0,diffbits,diffs);
188 template < typename keytype, typename hashtype >
192 std::vector<hashtype> A(trials),B(trials);
214 hashtype h2
    [all...]
AvalancheTest.h 27 template < typename keytype, typename hashtype >
31 const int hashbytes = sizeof(hashtype);
37 hashtype A,B;
68 template < typename keytype, typename hashtype >
74 const int hashbytes = sizeof(hashtype);
85 calcBias<keytype,hashtype>(hash,bins,reps,r);
110 template< typename keytype, typename hashtype >
116 const int hashbytes = sizeof(hashtype);
122 hashtype h1,h2;
137 hashtype d = h1 ^ h2
    [all...]
Bitslice.cpp 53 template< typename hashtype >
54 void Bitslice ( std::vector<hashtype> & hashes, slice_vec & slices )
56 const int hashbytes = sizeof(hashtype);
Types.h 47 template< typename hashtype, typename keytype >
48 struct CollisionMap : public std::map< hashtype, std::vector<keytype> >
52 template< typename hashtype >
53 struct HashSet : public std::set<hashtype>
117 template<typename hashtype>
120 typedef std::vector<hashtype> hashvec;
153 template<typename hashtype>
156 typedef HashSet<hashtype> hashset;
157 typedef CollisionMap<hashtype,ByteVec> collmap;
168 hashtype h
    [all...]
KeysetTest.cpp 269 template< typename hashtype >
270 void DumpCollisionMap ( CollisionMap<hashtype,ByteVec> & cmap )
272 typedef CollisionMap<hashtype,ByteVec> cmap_t;
276 const hashtype & hash = (*it).first;
279 printbytes(&hash,sizeof(hashtype));
  /art/compiler/utils/
dedupe_set.h 28 template <typename Key, typename HashType, typename HashFunc>
30 typedef std::pair<HashType, Key*> HashedKey;
55 HashType hash = HashFunc()(key);
  /external/chromium_org/chrome_frame/
com_type_info_holder.cc 82 NameToDispIdCache::HashType hash = NameToDispIdCache::Hash(names[i]);
106 bool NameToDispIdCache::Lookup(HashType hash, DISPID* dispid) const {
115 void NameToDispIdCache::Add(HashType hash, DISPID dispid) {
120 NameToDispIdCache::HashType NameToDispIdCache::Hash(const wchar_t* name) {
com_type_info_holder.h 22 typedef uint32 HashType;
24 bool Lookup(HashType hash, DISPID* dispid) const;
25 void Add(HashType hash, DISPID dispid);
30 static HashType Hash(const wchar_t* name);
33 typedef std::map<HashType, DISPID> DispidMap;
  /external/elfutils/lib/
fixedsizehash.h 65 HASHTYPE type used for the hashing value
82 #ifndef HASHTYPE
83 # define HASHTYPE size_t
101 HASHTYPE hval;
155 HASHTYPE hval, TYPE *data)
161 HASHTYPE hash;
195 HASHTYPE hval = HASHFCT (str, len ?: strlen (str));
218 HASHTYPE hval, TYPE *data)
246 HASHTYPE hval = HASHFCT (str, len ?: strlen (str));
266 HASHTYPE hval = HASHFCT (str, len ?: strlen (str))
    [all...]
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/
KeyMaterial.java 70 public static KeyMaterial create(String hashType, byte[] H, BigInteger K, byte[] SessionID, int keyLengthCS,
76 HashForSSH2Types sh = new HashForSSH2Types(hashType);
  /external/chromium_org/third_party/WebKit/Source/core/loader/
CrossOriginPreflightResultCache.cpp 52 template<class HashType>
53 static void addToAccessControlAllowList(const String& string, unsigned start, unsigned end, HashSet<String, HashType>& set)
74 template<class HashType>
75 static bool parseAccessControlAllowList(const String& string, HashSet<String, HashType>& set)
  /external/skia/expectations/gm/
loader.js 35 hashType: allowedDigest[0], hashValue: allowedDigest[1]
  /external/stlport/test/unit/
hash_test.cpp 64 typedef hash_multimap<int, int> hashType;
67 void check_keys( hashType& h, mapType& m );
199 void HashTest::check_keys( HashTest::hashType& h, HashTest::mapType& m )
209 pair<hashType::iterator,hashType::iterator> range = h.equal_range( i->first );
210 for ( hashType::iterator j = range.first; j != range.second; ++j ) {
230 pair<hashType::iterator,hashType::iterator> range = h.equal_range(mIter->first);
232 for (hashType::iterator h = range.first; h != range.second; h++) {
251 hashType h
    [all...]
  /ndk/tests/device/test-gnustl-full/unit/
hash_test.cpp 64 typedef hash_multimap<int, int> hashType;
67 void check_keys( hashType& h, mapType& m );
199 void HashTest::check_keys( HashTest::hashType& h, HashTest::mapType& m )
209 pair<hashType::iterator,hashType::iterator> range = h.equal_range( i->first );
210 for ( hashType::iterator j = range.first; j != range.second; ++j ) {
230 pair<hashType::iterator,hashType::iterator> range = h.equal_range(mIter->first);
232 for (hashType::iterator h = range.first; h != range.second; h++) {
251 hashType h
    [all...]
  /ndk/tests/device/test-stlport/unit/
hash_test.cpp 64 typedef hash_multimap<int, int> hashType;
67 void check_keys( hashType& h, mapType& m );
199 void HashTest::check_keys( HashTest::hashType& h, HashTest::mapType& m )
209 pair<hashType::iterator,hashType::iterator> range = h.equal_range( i->first );
210 for ( hashType::iterator j = range.first; j != range.second; ++j ) {
230 pair<hashType::iterator,hashType::iterator> range = h.equal_range(mIter->first);
232 for (hashType::iterator h = range.first; h != range.second; h++) {
251 hashType h
    [all...]
  /external/chromium_org/chrome/browser/chromeos/input_method/
input_method_util.h 161 typedef base::hash_map<std::string, int> HashType;
162 HashType english_to_resource_id_;
  /external/skia/tools/
jsondiff.py 102 'test %s has unsupported hashtype %s' % (
136 'test %s has unsupported hashtype %s' % (
  /external/chromium_org/net/third_party/nss/patches/
tls12backuphash.patch 51 + PORT_Assert( ss->ssl3.hs.hashType == handshake_hash_single );
81 + if (ss->ssl3.hs.hashType == handshake_hash_single && ss->ssl3.hs.md5) {
198 + ss->ssl3.hs.hashType == handshake_hash_single && ss->ssl3.hs.md5) {
  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/genperf/
perfect.c 119 switch(form->hashtype)
143 fprintf(stderr, "perfect.c: Illegal hash type %ld\n", (ub4)form->hashtype);
728 *alen = ((form->hashtype==INT_HT) && *smax>131072) ?
731 if ((form->hashtype == INT_HT) && *smax < 32)
833 if (form->hashtype == AB_HT)
905 if ((form->hashtype != INT_HT && ++bad_perfect >= RETRY_PERFECT) ||
906 (form->hashtype == INT_HT && ++bad_perfect >= RETRY_HEX))
    [all...]
perfect.h 67 } hashtype; member in struct:hashform
  /external/ipsec-tools/src/racoon/
pfkey.c 456 ipsecdoi2pfkey_aalg(hashtype)
457 u_int hashtype;
459 switch (hashtype) {
488 "Not supported hash type: %u\n", hashtype);
496 "Invalid hash type: %u\n", hashtype);
686 keylen_aalg(hashtype)
687 u_int hashtype;
691 if (hashtype == 0)
694 res = alg_ipsec_hmacdef_hashlen(hashtype);
697 "invalid hmac algorithm %u.\n", hashtype);
    [all...]
  /external/chromium/chrome/browser/chromeos/input_method/
input_method_util.cc 307 typedef base::hash_map<std::string, int> HashType;
308 static HashType* english_to_resource_id = NULL;
311 english_to_resource_id = new HashType(kEnglishToResourceIdArraySize);
341 HashType::const_iterator iter = english_to_resource_id->find(english_string);

Completed in 1362 milliseconds

1 2