Home
last modified time | relevance | path

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

/PHP-7.0/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.h50 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 …ript_persist_calc(zend_persistent_script *script, char *key, unsigned int key_length, int for_shm);
27 …pt *zend_accel_script_persist(zend_persistent_script *script, char **key, unsigned int key_length);
H A DZendAccelerator.c976 int key_length; in accel_make_persistent_key() local
1091 key_length = path_length + 1; in accel_make_persistent_key()
1093 key_length += cwd_len; in accel_make_persistent_key()
1096 ZCG(key)[key_length] = ':'; in accel_make_persistent_key()
1097 key_length += 1; in accel_make_persistent_key()
1115 ZCG(key)[key_length] = ':'; in accel_make_persistent_key()
1116 key_length += 1; in accel_make_persistent_key()
1120 ZCG(key)[key_length] = '\0'; in accel_make_persistent_key()
1674 int key_length; in persistent_compile_file() local
1709 key_length = ZCG(key_len); in persistent_compile_file()
[all …]
H A Dzend_persist_calc.c384 …alc(zend_persistent_script *new_persistent_script, char *key, unsigned int key_length, int for_shm) in zend_accel_script_persist_calc() argument
400 ADD_DUP_SIZE(key, key_length + 1); in zend_accel_script_persist_calc()
H A Dzend_accelerator_module.c332 int key_length; local
334 key = accel_make_persistent_key(ZSTR_VAL(filename), ZSTR_LEN(filename), &key_length);
336 …zend_persistent_script *persistent_script = zend_accel_hash_str_find(&ZCSG(hash), key, key_length);
581 …zend_hash_str_update(Z_ARRVAL_P(return_value), cache_entry->key, cache_entry->key_length, &persist…
H A Dzend_persist.c910 …ipt *zend_accel_script_persist(zend_persistent_script *script, char **key, unsigned int key_length) in zend_accel_script_persist() argument
919 *key = zend_accel_memdup(*key, key_length + 1); in zend_accel_script_persist()
/PHP-7.0/ext/openssl/
H A Dopenssl.c272 ZEND_ARG_INFO(0, key_length)
4468 zend_long key_length = 0, iterations = 0; in PHP_FUNCTION() local
4482 &key_length, &iterations, in PHP_FUNCTION()
4487 if (key_length <= 0) { in PHP_FUNCTION()
4502 PHP_OPENSSL_CHECK_LONG_TO_INT(key_length, key); in PHP_FUNCTION()
4507 out_buffer = zend_string_alloc(key_length, 0); in PHP_FUNCTION()
4509 …n, (unsigned char *)salt, (int)salt_len, (int)iterations, digest, (int)key_length, (unsigned char*… in PHP_FUNCTION()
4510 ZSTR_VAL(out_buffer)[key_length] = 0; in PHP_FUNCTION()

Completed in 56 milliseconds