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

/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/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 */
/PHP_5_3/ext/sqlite3/libsqlite/
H A Dsqlite3.c651 ** hash of the entire source tree.
7282 /************** Include hash.h in the middle of sqliteInt.h ******************/
7283 /************** Begin file hash.h ********************************************/
7295 ** This is the header file for the generic hash-table implemenation
7305 /* A complete hash table is an instance of the following structure.
7313 ** All elements of the hash table are on a single doubly-linked list.
7324 ** the hash table.
7327 unsigned int htsize; /* Number of buckets in the hash table */
7330 struct _ht { /* the hash table */
7331 int count; /* Number of entries with this hash */
15580 u32 size, hash; local
15614 u32 size, hash; local
15792 int hash = nBlock % N_HASH; local
37940 u32 hash = 0; local
[all...]
/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...]
H A Dstring.c2694 static void php_strtr_array(zval *return_value, char *str, int slen, HashTable *hash) argument
2709 zend_hash_init(&tmp_hash, zend_hash_num_elements(hash), NULL, NULL, 0);
2710 zend_hash_internal_pointer_reset_ex(hash, &hpos);
2711 while (zend_hash_get_current_data_ex(hash, (void **)&entry, &hpos) == SUCCESS) {
2712 switch (zend_hash_get_current_key_ex(hash, &string_key, &string_key_len, &num_key, 0, &hpos)) {
2745 zend_hash_move_forward_ex(hash, &hpos);
H A Dbasic_functions.c4284 /* Iterate over the hash to construct the argv array. */
4331 /* Iterate over the hash to construct the argv array. */
4404 /* Add this option / argument pair to the result hash. */
5920 zval *hash, **find_hash; local
5930 ALLOC_ZVAL(hash);
5931 INIT_PZVAL(hash);
5932 array_init(hash);
5934 zend_hash_index_update(Z_ARRVAL_P(arr), key, &hash, sizeof(zval *), NULL); local
5936 hash = *find_hash;
5940 ALLOC_ZVAL(hash);
6087 HashTable *hash = php_ini_get_configuration_hash(); local
[all...]
/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_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/curl/
H A Dinterface.c1448 static void split_certinfo(char *string, zval *hash) argument
1469 add_assoc_string(hash, key, val, 1);
1502 zval *hash; local
1504 MAKE_STD_ZVAL(hash);
1505 array_init(hash);
1507 split_certinfo(&slist->data[len+1], hash);
1508 add_assoc_zval(certhash, s, hash);
1513 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not extract hash key from certificate info");
/PHP_5_3/ext/dba/libcdb/
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/hash/
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/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/spl/
H A Dphp_spl.c538 /* add object id to the hash to ensure uniqueness, for more reference look at bug #40091 */
721 Return hash id for given object */
725 char* hash; local
731 hash = emalloc(33);
732 php_spl_object_hash(obj, hash TSRMLS_CC);
734 RETVAL_STRING(hash, 0);
/PHP_5_3/ext/sqlite3/
H A Dsqlite3.c1360 HashTable *hash; local
1361 hash = stmt->bound_params;
1363 if (!hash) {
1364 ALLOC_HASHTABLE(hash);
1365 zend_hash_init(hash, 13, NULL, sqlite3_param_dtor, 0);
1366 stmt->bound_params = hash;
1390 zend_hash_index_del(hash, param->param_number);
1394 zend_hash_update(hash, param->name, param->name_len, param, sizeof(*param), NULL);
1396 zend_hash_index_update(hash, param->param_number, param, sizeof(*param), NULL);
/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))
H A Dzend_execute_API.c974 could call dtors, which could use cached hash */
1054 ulong hash; local
1070 hash = zend_inline_hash_func(lc_name, lc_length);
1072 if (zend_hash_quick_find(EG(class_table), lc_name, lc_length, hash, (void **) ce) == SUCCESS) {
1090 if (zend_hash_quick_add(EG(in_autoload), lc_name, lc_length, hash, (void**)&dummy, sizeof(char), NULL) == FAILURE) {
1131 zend_hash_quick_del(EG(in_autoload), lc_name, lc_length, hash); local
1142 retval = zend_hash_quick_find(EG(class_table), lc_name, lc_length, hash, (void **) ce);

Completed in 141 milliseconds