Searched defs:hash (Results 1 - 25 of 896) sorted by path

1234567891011>>

/external/antlr/antlr-3.4/runtime/ActionScript/project/lib/
H A DFlexAntTasks.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/adobe/ac/ com/adobe/ac/ant/ ...
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3collections.c42 // Interface functions for hash table
264 /** return the current size of the hash table
271 /** Remove a numeric keyed entry from a hash table if it exists,
276 ANTLR3_UINT32 hash; local
281 /* First we need to know the hash of the provided key
283 hash = (ANTLR3_UINT32)(key % (ANTLR3_INTKEY)(table->modulo));
285 /* Knowing the hash, we can find the bucket
287 bucket = table->buckets + hash;
327 /** Remove the element in the hash table for a particular
333 ANTLR3_UINT32 hash; local
446 ANTLR3_UINT32 hash; local
485 ANTLR3_UINT32 hash; local
525 ANTLR3_UINT32 hash; local
596 ANTLR3_UINT32 hash; local
838 ANTLR3_UINT32 hash; local
[all...]
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/
H A DSHA1ImplTest.java66 int[] words = new int[INDEX + 6]; // working array to compute hash
70 int[] hash = { 0xA9993E36, 0x4706816A, 0xBA3E2571, 0x7850C26C, 0x9CD0D89D };
91 hash[k] == hash1[k]);
93 assertTrue("false2: k=" + k + " j=" + Integer.toHexString(j), hash[k] == j);
105 int[] hash = { 0x84983e44, 0x1c3bd26e, 0xbaae4aa1, 0xf95129e5, 0xe54670f1 };
117 assertTrue("false: k=" + k + " j=" + Integer.toHexString(j), hash[k] == j);
124 * for four different cases of infilling internal buffer and computing intermediate hash.
129 int[] hash = { 0x34aa973c, 0xd4c4daa4, 0xf61eeb2b, 0xdbad2731, 0x6534016f };
155 hash[k] == j);
164 private void alternateHash(int[] bufW, int[] hash) { argument
[all...]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
H A DExpandedNameTable.java31 * a simple hash algorithm directly into this class, instead of using the
33 * are combined in getExpandedTypeID() method to share the same hash calculation
35 * expand the hash table.
80 * The initial capacity of the hash table. Use a bigger number
86 * The capacity of the hash table, i.e. the size of the
92 * The threshold of the hash table, which is equal to capacity * loadFactor.
93 * If the number of entries in the hash table is bigger than the threshold,
94 * the hash table needs to be expanded.
99 * The internal array to store the hash entries.
100 * Each array member is a slot for a hash bucke
379 int hash; field in class:ExpandedNameTable.HashEntry
382 HashEntry(ExtendedType key, int value, int hash, HashEntry next) argument
[all...]
H A DExtendedType.java32 private int hash; field in class:ExtendedType
36 * The hash code is calculated from the node type, namespace and local name.
47 this.hash = nodetype + namespace.hashCode() + localName.hashCode();
52 * and a given hash code.
57 * @param hash The given hash code
59 public ExtendedType (int nodetype, String namespace, String localName, int hash) argument
64 this.hash = hash;
77 this.hash
85 redefine(int nodetype, String namespace, String localName, int hash) argument
[all...]
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
H A DCMSSignedGenerator.java99 protected Map getBaseParameters(ASN1ObjectIdentifier contentType, AlgorithmIdentifier digAlgId, byte[] hash) argument
104 param.put(CMSAttributeTableGenerator.DIGEST, Arrays.clone(hash));
H A DSignerInfoGenerator.java258 private Map getBaseParameters(ASN1ObjectIdentifier contentType, AlgorithmIdentifier digAlgId, byte[] hash) argument
268 param.put(CMSAttributeTableGenerator.DIGEST, Arrays.clone(hash));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
H A DOAEPEncoding.java37 Digest hash)
39 this(cipher, hash, null);
44 Digest hash,
47 this(cipher, hash, hash, encodingParams);
52 Digest hash,
58 this.defHash = new byte[hash.getDigestSize()];
60 hash.reset();
64 hash.update(encodingParams, 0, encodingParams.length);
67 hash
35 OAEPEncoding( AsymmetricBlockCipher cipher, Digest hash) argument
42 OAEPEncoding( AsymmetricBlockCipher cipher, Digest hash, byte[] encodingParams) argument
50 OAEPEncoding( AsymmetricBlockCipher cipher, Digest hash, Digest mgf1Hash, byte[] encodingParams) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
H A DDSAParametersGenerator.java140 hash(digest, seed, part1);
143 hash(digest, part2, part2);
168 hash(digest, offset, part1);
173 hash(digest, offset, part1);
248 hash(d, seed, output);
279 hash(d, offset, output);
357 hash(d, U, w);
369 private static void hash(Digest d, byte[] input, byte[] output) method in class:DSAParametersGenerator
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
H A DRSADigestSigner.java154 byte[] hash = new byte[digest.getDigestSize()];
155 digest.doFinal(hash, 0);
159 byte[] data = derEncode(hash);
180 byte[] hash = new byte[digest.getDigestSize()];
182 digest.doFinal(hash, 0);
190 expected = derEncode(hash);
203 int sigOffset = sig.length - hash.length - 2;
204 int expectedOffset = expected.length - hash.length - 2;
211 for (int i = 0; i < hash.length; i++)
235 byte[] hash)
234 derEncode( byte[] hash) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
H A DDigestSignatureSpi.java137 byte[] hash = new byte[digest.getDigestSize()];
139 digest.doFinal(hash, 0);
143 byte[] bytes = derEncode(hash);
161 byte[] hash = new byte[digest.getDigestSize()];
163 digest.doFinal(hash, 0);
172 expected = derEncode(hash);
191 int sigOffset = sig.length - hash.length - 2;
192 int expectedOffset = expected.length - hash.length - 2;
197 for (int i = 0; i < hash.length; i++)
199 if (sig[sigOffset + i] != expected[expectedOffset + i]) // check hash
251 derEncode( byte[] hash) argument
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
H A DPBE.java61 int hash)
67 switch (hash)
90 switch (hash)
131 switch (hash)
280 int hash,
284 PBEParametersGenerator generator = makePBEGenerator(type, hash);
318 int hash,
321 PBEParametersGenerator generator = makePBEGenerator(type, hash);
59 makePBEGenerator( int type, int hash) argument
277 makePBEParameters( PBEKeySpec keySpec, int type, int hash, int keySize, int ivSize) argument
315 makePBEMacParameters( PBEKeySpec keySpec, int type, int hash, int keySize) argument
/external/chromium_org/base/debug/
H A Dtrace_event_impl.h51 struct hash<base::MessageLoop*> { struct in namespace:BASE_HASH_NAMESPACE
/external/chromium_org/base/files/
H A Dfile_path.h453 // Provide a hash function so that hash_sets and maps can contain FilePath
459 struct hash<base::FilePath> { struct in namespace:BASE_HASH_NAMESPACE
461 return hash<base::FilePath::StringType>()(f.value());
/external/chromium_org/base/memory/
H A Ddiscardable_memory_manager.h44 struct hash<base::internal::DiscardableMemoryManagerAllocation*> { struct in namespace:BASE_HASH_NAMESPACE
47 return hash<size_t>()(reinterpret_cast<size_t>(ptr));
/external/chromium_org/base/
H A Dsha1_portable.cc23 // while(there is data to hash)
201 char hash[SecureHashAlgorithm::kDigestSizeBytes]; local
203 str.length(), reinterpret_cast<unsigned char*>(hash));
204 return std::string(hash, SecureHashAlgorithm::kDigestSizeBytes);
208 unsigned char* hash) {
213 memcpy(hash, sha.Digest(), SecureHashAlgorithm::kDigestSizeBytes);
207 SHA1HashBytes(const unsigned char* data, size_t len, unsigned char* hash) argument
H A Dsha1_win.cc26 ScopedHCRYPTHASH hash; local
27 if (!CryptCreateHash(provider, CALG_SHA1, 0, 0, hash.receive())) {
32 if (!CryptHashData(hash, reinterpret_cast<CONST BYTE*>(str.data()),
40 if (!CryptGetHashParam(hash, HP_HASHSIZE,
48 if (!CryptGetHashParam(hash, HP_HASHVAL,
58 DLOG(ERROR) << "Returned hash value is wrong length: " << hash_len
/external/chromium_org/base/strings/
H A Dstring_piece.h428 // We provide appropriate hash functions so StringPiece and StringPiece16 can
429 // be used as keys in hash sets and maps.
431 // This hash function is copied from base/containers/hash_tables.h. We don't
445 struct hash<base::StringPiece> { struct in namespace:BASE_HASH_NAMESPACE
451 struct hash<base::StringPiece16> { struct in namespace:BASE_HASH_NAMESPACE
/external/chromium_org/base/third_party/superfasthash/
H A Dsuperfasthash.c42 uint32_t hash = len, tmp; local
52 hash += get16bits (data);
53 tmp = (get16bits (data+2) << 11) ^ hash;
54 hash = (hash << 16) ^ tmp;
56 hash += hash >> 11;
61 case 3: hash += get16bits (data);
62 hash ^= hash << 1
[all...]
/external/chromium_org/cc/resources/
H A Dprioritized_resource_manager.h24 template <> struct hash<cc::PrioritizedResource*> { struct in namespace:BASE_HASH_NAMESPACE
26 return hash<size_t>()(reinterpret_cast<size_t>(ptr));
/external/chromium_org/cc/trees/
H A Dlayer_sorter.h24 struct hash<cc::GraphEdge*> { struct in namespace:BASE_HASH_NAMESPACE
26 return hash<size_t>()(reinterpret_cast<size_t>(ptr));
H A Dlayer_tree_impl.h24 struct hash<cc::LayerImpl*> { struct in namespace:BASE_HASH_NAMESPACE
26 return hash<size_t>()(reinterpret_cast<size_t>(ptr));
/external/chromium_org/chrome/app/
H A Dsignature_validator_win_unittest.cc81 uint8 hash[crypto::kSHA256Length] = {0}; local
85 crypto::SHA256HashString(key_bytes, hash, crypto::kSHA256Length);
88 base::StringToLowerASCII(base::HexEncode(hash, arraysize(hash)));
/external/chromium_org/chrome/browser/chromeos/file_manager/
H A Dfile_manager_browsertest.cc1069 const char* const hash; member in struct:file_manager::__anon3165::TestAccountInfo
1098 kTestAccounts[DUMMY_ACCOUNT_INDEX].hash);
1120 kTestAccounts[PRIMARY_ACCOUNT_INDEX].hash);
1132 user_manager->UserLoggedIn(info.email, info.hash, false);
1135 chromeos::ProfileHelper::GetProfileByUserIdHash(info.hash)->GetPrefs()->
/external/chromium_org/chrome/browser/chromeos/login/supervised/
H A Dsupervised_user_authenticator.cc229 current_state_->hash(),
314 const std::string& hash) {
317 hash_ = hash;
341 std::string SupervisedUserAuthenticator::AuthAttempt::hash() { function in class:chromeos::SupervisedUserAuthenticator::AuthAttempt
313 RecordHash( const std::string& hash) argument

Completed in 678 milliseconds

1234567891011>>