Searched refs:hashval (Results 1 - 14 of 14) sorted by relevance

/external/chromium-trace/catapult/third_party/webapp2/tests/
H A Dextras_security_test.py33 hashval = security.generate_password_hash(password, 'sha1')
34 self.assertTrue(security.check_password_hash(password, hashval))
36 hashval = security.generate_password_hash(password, 'sha1', pepper='bar')
37 self.assertTrue(security.check_password_hash(password, hashval,
40 hashval = security.generate_password_hash(password, 'md5')
41 self.assertTrue(security.check_password_hash(password, hashval))
43 hashval = security.generate_password_hash(password, 'plain')
44 self.assertTrue(security.check_password_hash(password, hashval))
46 hashval = security.generate_password_hash(password, 'plain')
/external/elfutils/lib/
H A Ddynamicsizehash.c53 if (htab->table[idx].hashval != 0)
57 if (htab->table[idx].hashval == hval
72 if (htab->table[idx].hashval == hval
76 while (htab->table[idx].hashval);
86 if (htab->table[idx].hashval == 0)
104 htab->table[idx].hashval = hval;
145 insert_entry_2 (htab, first->hashval,
146 lookup (htab, first->hashval, first->data),
155 insert_entry_2 (htab, runp->hashval,
156 lookup (htab, runp->hashval, run
[all...]
H A Ddynamicsizehash.h65 HASHTYPE hashval; \
/external/zopfli/src/zopfli/
H A Dhash.h32 int* hashval; /* Index to hash value at this index. */ member in struct:ZopfliHash
H A Dhash.c35 h->hashval = (int*)malloc(sizeof(*h->hashval) * window_size);
41 h->hashval[i] = -1;
69 free(h->hashval);
100 h->hashval[hpos] = h->val;
101 if (h->head[h->val] != -1 && h->hashval[h->head[h->val]] == h->val) {
H A Dlz77.c248 int* hhashval = h->hashval;
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/
H A Dsecurity.py124 hashval = hash_password(password, method, salt, pepper)
125 if hashval is None:
128 return '%s$%s$%s' % (hashval, method, salt)
151 hashval, method, salt = pwhash.split('$', 2)
152 return hash_password(password, method, salt, pepper) == hashval
/external/opencv/cxcore/src/
H A Dcxpersistence.cpp429 unsigned hashval = 0; local
439 hashval = hashval*CV_HASHVAL_SCALE + (unsigned char)str[i];
443 hashval = hashval*CV_HASHVAL_SCALE + (unsigned char)str[i];
445 hashval &= INT_MAX;
448 i = (int)(hashval & (tab_size - 1));
450 i = (int)(hashval % tab_size);
454 if( node->hashval == hashval
566 unsigned hashval = 0; local
[all...]
H A Dcxarray.cpp799 unsigned hashval = 0; local
810 hashval = hashval*ICV_SPARSE_MAT_HASH_MULTIPLIER + t;
815 hashval = *precalc_hashval;
818 tabidx = hashval & (mat->hashsize - 1);
819 hashval &= INT_MAX;
824 if( node->hashval == hashval )
857 int newidx = node->hashval & (newsize - 1);
866 tabidx = hashval
896 unsigned hashval = 0; local
[all...]
H A Dcxcopy.cpp329 int tabidx = node->hashval & (dst1->hashsize - 1);
/external/zopfli/src/zopflipng/lodepng/
H A Dlodepng.cpp1415 static void updateHashChain(Hash* hash, size_t wpos, int hashval) argument
1417 hash->val[wpos] = hashval;
1418 if(hash->head[hashval] != -1) hash->chain[wpos] = hash->head[hashval];
1419 hash->head[hashval] = wpos;
1447 unsigned hashval; local
1462 hashval = getHash(in, insize, pos);
1463 updateHashChain(hash, wpos, hashval);
1465 if(usezeros && hashval == 0)
1480 prevpos = hash->head[hashval];
[all...]
/external/opencv/cv/src/
H A Dcvhistogram.cpp531 uchar* node2_data = cvPtrND( mat2, CV_NODE_IDX(mat1,node1), 0, 0, &node1->hashval );
548 if( !cvPtrND( mat1, CV_NODE_IDX(mat2,node2), 0, 0, &node2->hashval ))
564 0, 0, &node1->hashval );
594 0, 0, &node1->hashval );
615 0, 0, &node1->hashval );
/external/opencv/cxcore/include/
H A Dcxtypes.h773 unsigned hashval; member in struct:CvSparseNode
1703 unsigned hashval; member in struct:CvStringHashNode
/external/elfutils/src/
H A Delflint.c3133 GElf_Word hashval = elf_hash (verstr); local
3134 if (hashval != aux->vna_hash)
3138 cnt, (int) hashval, (int) aux->vna_hash);
3284 GElf_Word hashval = elf_hash (name); local
3285 if (def->vd_hash != hashval)
3288 idx, section_name (ebl, idx), cnt, (int) hashval,

Completed in 444 milliseconds