Home
last modified time | relevance | path

Searched refs:key_length (Results 1 – 8 of 8) sorted by relevance

/PHP-7.4/ext/opcache/
H A Dzend_accelerator_hash.c98 && entry->key_length == key_length in zend_accel_hash_update()
99 && !memcmp(entry->key, key, key_length)) { in zend_accel_hash_update()
137 entry->key_length = key_length; in zend_accel_hash_update()
156 && entry->key_length == key_length in zend_accel_hash_find_ex()
157 && !memcmp(entry->key, key, key_length)) { in zend_accel_hash_find_ex()
211 key_length, in zend_accel_hash_str_find()
212 zend_inline_hash_func(key, key_length), in zend_accel_hash_str_find()
224 key_length, in zend_accel_hash_str_find_entry()
225 zend_inline_hash_func(key, key_length), in zend_accel_hash_str_find_entry()
244 && entry->key_length == key_length in zend_accel_hash_unlink()
[all …]
H A Dzend_accelerator_hash.h52 uint32_t key_length; member
70 uint32_t key_length,
85 uint32_t key_length);
90 uint32_t key_length);
95 uint32_t key_length);
H A Dzend_persist.h26 …ersist_calc(zend_persistent_script *script, const char *key, unsigned int key_length, int for_shm);
27 …pt_persist(zend_persistent_script *script, const char **key, unsigned int key_length, int for_shm);
H A DZendAccelerator.c1125 int key_length; in accel_make_persistent_key() local
1248 key_length = path_length + 1; in accel_make_persistent_key()
1250 key_length += cwd_len; in accel_make_persistent_key()
1253 ZCG(key)[key_length] = ':'; in accel_make_persistent_key()
1254 key_length += 1; in accel_make_persistent_key()
1272 ZCG(key)[key_length] = ':'; in accel_make_persistent_key()
1273 key_length += 1; in accel_make_persistent_key()
1277 ZCG(key)[key_length] = '\0'; in accel_make_persistent_key()
1921 int key_length; in persistent_compile_file() local
1963 key_length = ZCG(key_len); in persistent_compile_file()
[all …]
H A Dzend_accelerator_module.c335 int key_length; local
337 key = accel_make_persistent_key(ZSTR_VAL(filename), ZSTR_LEN(filename), &key_length);
339 …zend_persistent_script *persistent_script = zend_accel_hash_str_find(&ZCSG(hash), key, key_length);
571 …zend_hash_str_update(Z_ARRVAL_P(return_value), cache_entry->key, cache_entry->key_length, &persist…
H A Dzend_persist_calc.c501 …nd_persistent_script *new_persistent_script, const char *key, unsigned int key_length, int for_shm) in zend_accel_script_persist_calc() argument
519 ADD_SIZE(key_length + 1); in zend_accel_script_persist_calc()
H A Dzend_persist.c1048 …ipt_persist(zend_persistent_script *script, const char **key, unsigned int key_length, int for_shm) in zend_accel_script_persist() argument
1058 *key = zend_shared_memdup_put((void*)*key, key_length + 1); in zend_accel_script_persist()
/PHP-7.4/ext/openssl/
H A Dopenssl.c280 ZEND_ARG_INFO(0, key_length)
5091 zend_long key_length = 0, iterations = 0; in PHP_FUNCTION() local
5105 &key_length, &iterations, in PHP_FUNCTION()
5110 if (key_length <= 0) { in PHP_FUNCTION()
5125 PHP_OPENSSL_CHECK_LONG_TO_INT(key_length, key); in PHP_FUNCTION()
5130 out_buffer = zend_string_alloc(key_length, 0); in PHP_FUNCTION()
5132 …n, (unsigned char *)salt, (int)salt_len, (int)iterations, digest, (int)key_length, (unsigned char*… in PHP_FUNCTION()
5133 ZSTR_VAL(out_buffer)[key_length] = 0; in PHP_FUNCTION()

Completed in 61 milliseconds