Searched refs:hash (Results 1 - 25 of 35) sorted by relevance

12

/PHP_5_3/ext/ereg/regex/
H A Dregex2.h80 * and a mask to pick out the relevant bit of each byte. A hash code
91 uch hash; /* hash code */ member in struct:__anon67
96 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c))
97 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c))
/PHP_5_3/ext/phar/phar/
H A Dpharcommand.inc68 'inf' => '<bang> Hash-bang line to start the archive (e.g. #!/usr/bin/php). The hash '
94 'inf' => '<method> Selects the hash algorithmn.',
412 * Check whether hash method is valid.
416 function phar_check_hash($hash, $privkey)
418 switch($hash) {
565 $hash = $this->args['h']['val'];
574 $hash = self::phar_check_hash($hash, $privkey);
606 if ($hash) {
607 $phar->setSignatureAlgorithm($hash,
[all...]
/PHP_5_3/ext/sqlite/libsqlite/src/
H A DvdbeInt.h174 HashElem *pSearch; /* The hash element for pCurrent */
175 Hash hash; /* Hash table of all aggregate elements */ member in struct:Agg
192 Hash hash; /* A set is just a hash table */ member in struct:Set
193 HashElem *prev; /* Previously accessed hash elemen */
H A Dvdbeaux.c627 sqliteHashInit(&p->agg.hash, SQLITE_HASH_BINARY, 0);
681 for(p = sqliteHashFirst(&pAgg->hash); p; p = sqliteHashNext(p)){
707 sqliteHashClear(&pAgg->hash);
806 sqliteHashClear(&p->aSet[i].hash);
/PHP_5_3/ext/standard/
H A Dcrypt_freesec.c747 char *hash; member in struct:__anon433
794 for (i = 0; tests[i].hash; i++) {
795 char *hash = crypt(tests[i].pw, tests[i].hash); local
796 if (!hash && strlen(tests[i].hash) < 13)
798 if (!strcmp(hash, tests[i].hash))
H A Darray.c1068 /* Iterate through hash */
1200 HashPosition pos; /* hash iterator */
1505 Creates a hash containing variables and their values */
1766 HashTable *hash; local
1776 hash = Z_ARRVAL_P(array);
1779 for (j = 0, temp = hash->pListHead; temp; temp = temp->pListNext)
1792 hash->pListHead = elems[0];
1793 hash->pListTail = NULL;
1794 hash->pInternalPointer = hash
2982 HashTable *hash; local
3400 HashTable *hash; local
3772 HashTable* hash; local
[all...]
/PHP_5_3/ext/hash/
H A Dbench.php82 hash($algo, $data);
H A Dhash.c179 /* {{{ proto string hash(string algo, string data[, bool raw_output = false])
180 Generate a hash of a given input string
182 PHP_FUNCTION(hash)
189 Generate a hash of a given file
266 /* Feed this result into the outter hash */
292 Generate a hash of a given input string with a key using HMAC
301 Generate a hash of a given file with a key using HMAC
319 php_hash_data *hash; local
341 hash = emalloc(sizeof(php_hash_data));
342 hash
380 php_hash_data *hash; local
401 php_hash_data *hash; local
438 php_hash_data *hash; local
471 php_hash_data *hash; local
535 php_hash_data *hash, *copy_hash; local
590 php_hash_data *hash = (php_hash_data*)rsrc->ptr; local
[all...]
H A Dphp_hash.h27 #define PHP_HASH_EXTNAME "hash"
119 PHP_FUNCTION(hash); variable
/PHP_5_3/ext/intl/collator/
H A Dcollator_convert.c44 HashTable* hash, int hashKeyType, char* hashKey, ulong hashIndex,
54 /* Get current hash item. */
55 zend_hash_get_current_data( hash, (void**) &hashData );
69 /* Update current hash item with the converted value. */
75 zend_hash_update( hash, hashKey, strlen( hashKey ) + 1,
80 zend_hash_index_update( hash, hashIndex,
88 HashTable* hash, int hashKeyType, char* hashKey, ulong hashIndex,
98 /* Get current hash item. */
99 zend_hash_get_current_data( hash, (void**) &hashData );
114 /* Update current hash ite
43 collator_convert_hash_item_from_utf8_to_utf16( HashTable* hash, int hashKeyType, char* hashKey, ulong hashIndex, UErrorCode* status ) argument
87 collator_convert_hash_item_from_utf16_to_utf8( HashTable* hash, int hashKeyType, char* hashKey, ulong hashIndex, UErrorCode* status ) argument
134 collator_convert_hash_from_utf8_to_utf16( HashTable* hash, UErrorCode* status ) argument
159 collator_convert_hash_from_utf16_to_utf8( HashTable* hash, UErrorCode* status ) argument
[all...]
H A Dcollator_convert.h24 void collator_convert_hash_from_utf8_to_utf16( HashTable* hash, UErrorCode* status );
25 void collator_convert_hash_from_utf16_to_utf8( HashTable* hash, UErrorCode* status );
H A Dcollator_sort.c39 zval** zstr; /* pointer to original string(hash-item) */
292 HashTable* hash = NULL; local
314 hash = HASH_OF( array );
317 collator_convert_hash_from_utf8_to_utf16( hash, COLLATOR_ERROR_CODE_P( co ) );
318 COLLATOR_CHECK_STATUS( co, "Error converting hash from UTF-8 to UTF-16" );
325 zend_hash_sort( hash, zend_qsort, collator_compare_func, renumber TSRMLS_CC );
331 collator_convert_hash_from_utf16_to_utf8( hash, COLLATOR_ERROR_CODE_P( co ) );
332 COLLATOR_CHECK_STATUS( co, "Error converting hash from UTF-16 to UTF-8" );
359 HashTable* hash = NULL; local
360 zval** hashData = NULL; /* currently processed item of input hash */
[all...]
/PHP_5_3/ext/mbstring/oniguruma/
H A Dst.c1 /* This is a public domain general purpose hash table package written by Peter Moore @ UCB. */
35 unsigned int hash; member in struct:st_table_entry
75 #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key))
235 ((ptr) != 0 && (ptr->hash != (hash_val) || !EQUAL((table), (key), (ptr)->key)))
286 entry->hash = hash_val;\
344 hash_val = ptr->hash % new_num_bins;
503 case ST_CHECK: /* check if hash is modified during iteration */
H A Dst.h1 /* This is a public domain general purpose hash table package written by Peter Moore @ UCB. */
16 int (*hash)(); member in struct:st_hash_type
/PHP_5_3/ext/dba/libcdb/
H A Dcdb_make.c63 c->hash = 0;
178 c->hash = c->split + c->numentries;
200 c->hash[u].h = c->hash[u].p = 0;
205 while (c->hash[where].p)
208 c->hash[where] = *hp++;
212 uint32_pack(buf, c->hash[u].h);
213 uint32_pack(buf + 4, c->hash[u].p);
H A Dcdb_make.h48 struct cdb_hp *split; /* includes space for hash */
49 struct cdb_hp *hash; member in struct:cdb_make
/PHP_5_3/ext/dom/
H A Dphp_dom.h39 #include <libxml/hash.h>
/PHP_5_3/ext/interbase/
H A Dinterbase.c897 char *c, hash[16], *args[] = { NULL, NULL, NULL, NULL, NULL }; local
940 PHP_MD5Final(hash, &hash_context);
943 if (SUCCESS == zend_hash_find(&EG(regular_list), hash, sizeof(hash), (void *) &le)) {
956 zend_hash_del(&EG(regular_list), hash, sizeof(hash)); local
961 switch (zend_hash_find(&EG(persistent_list), hash, sizeof(hash), (void *) &le)) {
979 zend_hash_del(&EG(persistent_list), hash, sizeof(hash)); local
[all...]
/PHP_5_3/ext/oci8/
H A Doci8_statement.c897 HashTable *hash = HASH_OF(bind->zval); local
899 zend_hash_internal_pointer_reset(hash);
906 if ((i < bind->array.old_length) && (zend_hash_get_current_data(hash, (void **) &entry) != FAILURE)) {
909 zend_hash_move_forward(hash);
917 if ((i < bind->array.old_length) && (zend_hash_get_current_data(hash, (void **) &entry) != FAILURE)) {
920 zend_hash_move_forward(hash);
933 if ((i < bind->array.old_length) && (zend_hash_get_current_data(hash, (void **) &entry) != FAILURE)) {
944 zend_hash_move_forward(hash);
967 if ((i < bind->array.old_length) && (zend_hash_get_current_data(hash, (void **) &entry) != FAILURE)) {
970 zend_hash_move_forward(hash);
1510 HashTable *hash; local
1579 HashTable *hash; local
1617 HashTable *hash; local
1655 HashTable *hash; local
[all...]
/PHP_5_3/ext/pdo/
H A Dpdo_stmt.c304 HashTable *hash; local
307 hash = is_param ? stmt->bound_params : stmt->bound_columns;
309 if (!hash) {
310 ALLOC_HASHTABLE(hash);
311 zend_hash_init(hash, 13, NULL, param_dtor, 0);
314 stmt->bound_params = hash;
316 stmt->bound_columns = hash;
400 zend_hash_index_del(hash, param->paramno);
405 zend_hash_update(hash, param->name, param->namelen, param,
408 zend_hash_index_update(hash, para
[all...]
/PHP_5_3/ext/session/
H A Dmod_mm.c49 php_uint32 hv; /* hash value of key */
59 ps_sd **hash; member in struct:__anon164
94 nhash = mm_calloc(data->mm, nmax + 1, sizeof(*data->hash));
97 /* no further memory to expand hash table */
101 ehash = data->hash + data->hash_max + 1;
102 for (ohash = data->hash; ohash < ehash; ohash++) {
109 mm_free(data->mm, data->hash);
111 data->hash = nhash;
141 sd->next = data->hash[slot];
142 data->hash[slo
[all...]
/PHP_5_3/ext/soap/
H A Dphp_http.c572 unsigned char hash[16]; local
577 PHP_MD5Final(hash, &md5ctx);
578 make_digest(cnonce, hash);
601 PHP_MD5Final(hash, &md5ctx);
602 make_digest(HA1, hash);
616 PHP_MD5Final(hash, &md5ctx);
617 make_digest(HA1, hash);
642 PHP_MD5Final(hash, &md5ctx);
643 make_digest(HA2, hash);
664 PHP_MD5Final(hash,
[all...]
/PHP_5_3/ext/xml/
H A Dexpat_compat.h39 #include <libxml/hash.h>
/PHP_5_3/Zend/
H A Dzend_hash.h144 * return value, it assumes things about the order of the elements in the hash.
231 * This is Daniel J. Bernstein's popular `times 33' hash function as
233 * like ``hash(i) = hash(i-1) * 33 + str[i]''. This is one of the best
234 * known hash functions for strings. Because it is both computed very
243 * all distribute in an acceptable way and this way fill a hash table
252 * or subtraction operation. And because a hash function has to both
263 register ulong hash = 5381; local
265 /* variant with the hash unrolled eight times */
267 hash
[all...]
H A Dzend_ts_hash.h27 HashTable hash; member in struct:_zend_ts_hashtable
37 #define TS_HASH(table) (&(table->hash))

Completed in 114 milliseconds

12