Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 25 of 163) sorted by last modified time

1234567

/PHP-7.4/
H A DNEWS802 . Fixed bug #79797 (Use of freed hash key in the phar_parse_zipfile
1482 . The hash extension is now an integral part of PHP and cannot be disabled
1686 https://wiki.php.net/rfc/sodium.argon.hash (Sara)
1939 . Fixed bug #78189 (file cache strips last character of uname hash). (cmb)
H A Dphp.ini-development1062 ; http://php.net/phar.require-hash
1496 ; the binary hash data to something readable.
1504 ; http://php.net/session.hash-bits-per-character
1780 ; The maximum number of keys (scripts) in the OPcache hash table.
H A Dphp.ini-production1062 ; http://php.net/phar.require-hash
1496 ; the binary hash data to something readable.
1504 ; http://php.net/session.hash-bits-per-character
1780 ; The maximum number of keys (scripts) in the OPcache hash table.
H A DUPGRADING293 . Added "crc32c" hash using Castagnoli's polynomial. This crc32 variant is
383 RFC: https://wiki.php.net/rfc/sodium.argon.hash
598 . The hash extension cannot be disabled anymore and is always an integral part
/PHP-7.4/ext/pgsql/
H A Dpgsql.c933 zval *hash; in _close_pgsql_link() local
942 hash = zend_hash_index_find(&PGG(hashes), (uintptr_t) link); in _close_pgsql_link()
943 if (hash) { in _close_pgsql_link()
945 zend_hash_del(&EG(regular_list), Z_STR_P(hash)); in _close_pgsql_link()
/PHP-7.4/Zend/
H A Dzend_string.h431 hash = hash * 33 + *str; in zend_inline_hash_func()
436 hash = ((hash << 5) + hash) + *str++; in zend_inline_hash_func()
437 hash = ((hash << 5) + hash) + *str++; in zend_inline_hash_func()
438 hash = ((hash << 5) + hash) + *str++; in zend_inline_hash_func()
439 hash = ((hash << 5) + hash) + *str++; in zend_inline_hash_func()
440 hash = ((hash << 5) + hash) + *str++; in zend_inline_hash_func()
441 hash = ((hash << 5) + hash) + *str++; in zend_inline_hash_func()
442 hash = ((hash << 5) + hash) + *str++; in zend_inline_hash_func()
443 hash = ((hash << 5) + hash) + *str++; in zend_inline_hash_func()
446 case 7: hash = ((hash << 5) + hash) + *str++; /* fallthrough... */ in zend_inline_hash_func()
[all …]
/PHP-7.4/ext/standard/
H A Darray.c2963 HashTable *hash; local
2973 hash = Z_ARRVAL_P(array);
2977 if (hash->nNumUsed != hash->nNumOfElements) {
2982 hash->arData[j] = *p;
2991 hash->arData[n_left] = hash->arData[rnd_idx];
2998 if (hash->nNumUsed != hash->nNumOfElements) {
3016 hash->arData[n_left] = hash->arData[rnd_idx];
3026 p = hash->arData + j;
4774 HashTable *hash; local
5185 HashTable *hash; local
[all …]
H A Dbasic_functions.c1843 ZEND_ARG_INFO(0, hash)
1846 ZEND_ARG_INFO(0, hash)
1852 ZEND_ARG_INFO(0, hash)
4688 static void add_config_entries(HashTable *hash, zval *return_value);
4726 ZEND_HASH_FOREACH_KEY_VAL(hash, h, key, zv)
5999 zval hash, *find_hash; local
6009 array_init(&hash);
6010 find_hash = zend_hash_index_add_new(Z_ARRVAL_P(arr), key, &hash);
6014 array_init(&hash);
6150 HashTable *hash = php_ini_get_configuration_hash(); local
[all …]
/PHP-7.4/sapi/fpm/tests/
H A Dtester.inc1024 hash('crc32', dirname($address)).'-'.
/PHP-7.4/ext/opcache/
H A DZendAccelerator.c1306 persistent_script = zend_accel_hash_find(&ZCSG(hash), realpath); in zend_accel_invalidate()
1343 if (!zend_accel_hash_str_find(&ZCSG(hash), key, key_length)) { in zend_accel_add_key()
1344 if (zend_accel_hash_is_full(&ZCSG(hash))) { in zend_accel_add_key()
1352 if (zend_accel_hash_update(&ZCSG(hash), new_key, key_length, 1, bucket)) { in zend_accel_add_key()
1481 if (zend_accel_hash_is_full(&ZCSG(hash))) { in cache_script_in_shared_memory()
1583 if (zend_accel_hash_update(&ZCSG(hash), key, key_length, 1, bucket)) { in cache_script_in_shared_memory()
1975 persistent_script = zend_accel_hash_str_find(&ZCSG(hash), key, key_length); in persistent_compile_file()
2001 bucket = zend_accel_hash_find_entry(&ZCSG(hash), file_handle->opened_path); in persistent_compile_file()
2444 zend_accel_hash_clean(&ZCSG(hash)); in accel_activate()
4137 if (zend_accel_hash_is_full(&ZCSG(hash))) { in preload_script_in_shared_memory()
[all …]
H A Dzend_file_cache.c1630 bucket = zend_accel_hash_find_entry(&ZCSG(hash), full_path);
1641 if (zend_accel_hash_is_full(&ZCSG(hash))) {
1698 …zend_accel_hash_update(&ZCSG(hash), ZSTR_VAL(script->script.filename), ZSTR_LEN(script->script.fil…
H A Dzend_accelerator_module.c339 …zend_persistent_script *persistent_script = zend_accel_hash_str_find(&ZCSG(hash), key, key_length);
490 snprintf(buf, sizeof(buf), "%" PRIu32, ZCSG(hash).num_direct_entries);
492 snprintf(buf, sizeof(buf), "%" PRIu32, ZCSG(hash).num_entries);
494 snprintf(buf, sizeof(buf), "%" PRIu32, ZCSG(hash).max_num_entries);
545 for (i = 0; i<ZCSG(hash).max_num_entries; i++) {
546 for (cache_entry = ZCSG(hash).hash_table[i]; cache_entry; cache_entry = cache_entry->next) {
637 add_assoc_long(&statistics, "num_cached_scripts", ZCSG(hash).num_direct_entries);
638 add_assoc_long(&statistics, "num_cached_keys", ZCSG(hash).num_entries);
639 add_assoc_long(&statistics, "max_cached_keys", ZCSG(hash).max_num_entries);
/PHP-7.4/build/
H A Dphp.m42237 crypt_r("passwd", "hash", &buffer);
2246 crypt_r("passwd", "hash", &buffer);
2257 crypt_r("passwd", "hash", &buffer);
/PHP-7.4/ext/pdo/
H A Dpdo_stmt.c284 HashTable *hash; in really_register_bound_param() local
288 hash = is_param ? stmt->bound_params : stmt->bound_columns; in really_register_bound_param()
290 if (!hash) { in really_register_bound_param()
291 ALLOC_HASHTABLE(hash); in really_register_bound_param()
292 zend_hash_init(hash, 13, NULL, param_dtor, 0); in really_register_bound_param()
295 stmt->bound_params = hash; in really_register_bound_param()
297 stmt->bound_columns = hash; in really_register_bound_param()
391 zend_hash_index_del(hash, param->paramno); in really_register_bound_param()
396 pparam = zend_hash_update_mem(hash, param->name, param, sizeof(struct pdo_bound_param_data)); in really_register_bound_param()
408 zend_hash_del(hash, pparam->name); in really_register_bound_param()
[all …]
/PHP-7.4/ext/soap/
H A Dphp_http.c671 unsigned char hash[16]; in make_http_soap_request() local
679 PHP_MD5Final(hash, &md5ctx); in make_http_soap_request()
680 make_digest(cnonce, hash); in make_http_soap_request()
703 PHP_MD5Final(hash, &md5ctx); in make_http_soap_request()
704 make_digest(HA1, hash); in make_http_soap_request()
718 PHP_MD5Final(hash, &md5ctx); in make_http_soap_request()
719 make_digest(HA1, hash); in make_http_soap_request()
734 PHP_MD5Final(hash, &md5ctx); in make_http_soap_request()
735 make_digest(HA2, hash); in make_http_soap_request()
756 PHP_MD5Final(hash, &md5ctx); in make_http_soap_request()
[all …]
/PHP-7.4/Zend/tests/
H A Dproperty_guard_hash_val.phpt2 Test property guard hash value assumption
H A Dbug79668.phpt8 foreach (['sha1', 'sha1_file', 'hash', 'password_hash'] as $funcname) {
/PHP-7.4/ext/sqlite3/
H A Dsqlite3.c1672 HashTable *hash; in register_bound_parameter_to_sqlite() local
1673 hash = stmt->bound_params; in register_bound_parameter_to_sqlite()
1675 if (!hash) { in register_bound_parameter_to_sqlite()
1676 ALLOC_HASHTABLE(hash); in register_bound_parameter_to_sqlite()
1677 zend_hash_init(hash, 13, NULL, sqlite3_param_dtor, 0); in register_bound_parameter_to_sqlite()
1678 stmt->bound_params = hash; in register_bound_parameter_to_sqlite()
1704 zend_hash_index_del(hash, param->param_number); in register_bound_parameter_to_sqlite()
1708 zend_hash_update_mem(hash, param->name, param, sizeof(struct php_sqlite3_bound_param)); in register_bound_parameter_to_sqlite()
1710 …zend_hash_index_update_mem(hash, param->param_number, param, sizeof(struct php_sqlite3_bound_param… in register_bound_parameter_to_sqlite()
/PHP-7.4/ext/sodium/
H A Dlibsodium.c152 ZEND_ARG_INFO(0, hash)
768 zend_string *hash; in PHP_FUNCTION() local
789 zend_string_efree(hash); in PHP_FUNCTION()
795 RETURN_NEW_STR(hash); in PHP_FUNCTION()
891 zend_string *hash; in PHP_FUNCTION() local
926 RETURN_NEW_STR(hash); in PHP_FUNCTION()
1054 RETURN_NEW_STR(hash); in PHP_FUNCTION()
1824 zend_string *hash; in PHP_FUNCTION() local
1907 RETURN_NEW_STR(hash); in PHP_FUNCTION()
2016 zend_string *hash; in PHP_FUNCTION() local
[all …]
/PHP-7.4/ext/session/
H A Dmod_mm.c55 ps_sd **hash; member
105 mm_free(data->mm, data->hash); in hash_split()
107 data->hash = nhash; in hash_split()
136 sd->next = data->hash[slot]; in ps_sd_new()
137 data->hash[slot] = sd; in ps_sd_new()
158 if (data->hash[slot] == sd) { in ps_sd_destroy()
159 data->hash[slot] = sd->next; in ps_sd_destroy()
197 ret->next = data->hash[slot]; in ps_sd_lookup()
198 data->hash[slot] = ret; in ps_sd_lookup()
237 if (!data->hash) { in ps_mm_initialize()
[all …]
/PHP-7.4/ext/phar/tests/
H A Dbug79797.phpt2 Bug #79797 (Use of freed hash key in the phar_parse_zipfile function)
/PHP-7.4/ext/opcache/Optimizer/
H A Dcompact_literals.c81 static uint32_t add_static_slot(HashTable *hash, in add_static_slot() argument
106 pos = zend_hash_find(hash, key); in add_static_slot()
113 zend_hash_add(hash, key, &tmp); in add_static_slot()
129 HashTable hash, double_hash; in zend_optimizer_compact_literals() local
378 if ((pos = zend_hash_find(&hash, key)) != NULL in zend_optimizer_compact_literals()
385 zend_hash_add_new(&hash, key, &zv); in zend_optimizer_compact_literals()
423 if (key && (pos = zend_hash_find(&hash, key)) != NULL && in zend_optimizer_compact_literals()
442 zend_hash_add_new(&hash, key, &zv); in zend_optimizer_compact_literals()
489 zend_hash_clean(&hash); in zend_optimizer_compact_literals()
644 opline->result.num = add_static_slot(&hash, op_array, in zend_optimizer_compact_literals()
[all …]
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_cmd.c196 zend_ulong hash = param->type; in phpdbg_hash_param() local
204 hash += zend_inline_hash_func(param->str, param->len); in phpdbg_hash_param()
213 hash += zend_inline_hash_func(param->file.name, strlen(param->file.name)); in phpdbg_hash_param()
214 hash += param->file.line; in phpdbg_hash_param()
216 hash += param->num; in phpdbg_hash_param()
220 hash += param->addr; in phpdbg_hash_param()
224 hash += param->num; in phpdbg_hash_param()
228 hash += zend_inline_hash_func(param->str, param->len); in phpdbg_hash_param()
229 hash += param->num; in phpdbg_hash_param()
236 hash+= param->num; in phpdbg_hash_param()
[all …]
H A Dphpdbg_bp.c790 zend_ulong hash = zend_hash_func(name, name_len); in phpdbg_set_breakpoint_opcode() local
792 if (zend_hash_index_exists(&PHPDBG_G(bp)[PHPDBG_BREAK_OPCODE], hash)) { in phpdbg_set_breakpoint_opcode()
798 new_break.hash = hash; in phpdbg_set_breakpoint_opcode()
801 …zend_hash_index_update_mem(&PHPDBG_G(bp)[PHPDBG_BREAK_OPCODE], hash, &new_break, sizeof(phpdbg_bre… in phpdbg_set_breakpoint_opcode()
829 … *brake, const phpdbg_param_t *param, const char *expr, size_t expr_len, zend_ulong hash) /* {{{ */ in phpdbg_create_conditional_break() argument
851 new_break.hash = hash; in phpdbg_create_conditional_break()
894 …brake = zend_hash_index_update_mem(&PHPDBG_G(bp)[PHPDBG_BREAK_COND], hash, &new_break, sizeof(phpd… in phpdbg_create_conditional_break()
926 zend_ulong hash = 0L; in phpdbg_set_breakpoint_at() local
930 hash = zend_inline_hash_func(condition->str, condition->len); in phpdbg_set_breakpoint_at()
932 if (!zend_hash_index_exists(&PHPDBG_G(bp)[PHPDBG_BREAK_COND], hash)) { in phpdbg_set_breakpoint_at()
[all …]
/PHP-7.4/ext/opcache/tests/
H A Dbug78189.phpt2 Bug #78189 (file cache strips last character of uname hash)

Completed in 227 milliseconds

1234567