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

/PHP_TRUNK/ext/opcache/
H A Dzend_persist.h26 uint zend_accel_script_persist_calc(zend_persistent_script *script, char *key, unsigned int key_length);
27 zend_persistent_script *zend_accel_script_persist(zend_persistent_script *script, char **key, unsigned int key_length);
H A Dzend_accelerator_hash.h50 uint32_t key_length; member in struct:_zend_accel_hash_entry
70 uint32_t key_length,
85 uint32_t key_length);
90 uint32_t key_length);
95 uint32_t key_length);
H A Dzend_accelerator_hash.c74 zend_accel_hash_entry* zend_accel_hash_update(zend_accel_hash *accel_hash, char *key, uint32_t key_length, zend_bool indirect, void *data) argument
88 hash_value = zend_inline_hash_func(key, key_length);
95 && entry->key_length == key_length
96 && !memcmp(entry->key, key, key_length)) {
134 entry->key_length = key_length;
140 static zend_always_inline void* zend_accel_hash_find_ex(zend_accel_hash *accel_hash, char *key, uint32_t key_length, zend_ulong hash_value, int data) argument
147 && entry->key_length == key_length
197 zend_accel_hash_str_find(zend_accel_hash *accel_hash, char *key, uint32_t key_length) argument
210 zend_accel_hash_str_find_entry(zend_accel_hash *accel_hash, char *key, uint32_t key_length) argument
220 zend_accel_hash_unlink(zend_accel_hash *accel_hash, char *key, uint32_t key_length) argument
[all...]
H A Dzend_accelerator_module.c317 int key_length; local
319 key = accel_make_persistent_key(ZSTR_VAL(filename), ZSTR_LEN(filename), &key_length);
321 zend_persistent_script *persistent_script = zend_accel_hash_str_find(&ZCSG(hash), key, key_length);
558 zend_hash_str_update(Z_ARRVAL_P(return_value), cache_entry->key, cache_entry->key_length, &persistent_script_report);
H A DZendAccelerator.c915 int key_length; local
1029 key_length = path_length + 1;
1030 memcpy(ZCG(key) + key_length, cwd, cwd_len);
1031 key_length += cwd_len;
1034 ZCG(key)[key_length] = ':';
1035 key_length += 1;
1036 memcpy(ZCG(key) + key_length, include_path, include_path_len);
1037 key_length += include_path_len;
1050 if (UNEXPECTED((size_t)(key_length + parent_script_len + 1) >= sizeof(ZCG(key)))) {
1053 ZCG(key)[key_length]
1124 zend_accel_add_key(char *key, unsigned int key_length, zend_accel_hash_entry *bucket) argument
1203 cache_script_in_shared_memory(zend_persistent_script *new_persistent_script, char *key, unsigned int key_length, int *from_shared_memory) argument
1387 opcache_compile_file(zend_file_handle *file_handle, int type, char *key, unsigned int key_length, zend_op_array **op_array_p) argument
1612 int key_length; local
1894 int key_length; local
[all...]
H A Dzend_persist.c896 zend_persistent_script *zend_accel_script_persist(zend_persistent_script *script, char **key, unsigned int key_length) argument
905 *key = zend_accel_memdup(*key, key_length + 1);
H A Dzend_persist_calc.c378 uint zend_accel_script_persist_calc(zend_persistent_script *new_persistent_script, char *key, unsigned int key_length) argument
388 ADD_DUP_SIZE(key, key_length + 1);
/PHP_TRUNK/ext/openssl/
H A Dopenssl.c269 ZEND_ARG_INFO(0, key_length)
4010 /* {{{ proto string openssl_pbkdf2(string password, string salt, long key_length, long iterations [, string digest_method = "sha1"])
4014 zend_long key_length = 0, iterations = 0; local
4028 &key_length, &iterations,
4033 if (key_length <= 0) {
4048 PHP_OPENSSL_CHECK_LONG_TO_INT(key_length, key);
4053 out_buffer = zend_string_alloc(key_length, 0);
4055 if (PKCS5_PBKDF2_HMAC(password, (int)password_len, (unsigned char *)salt, (int)salt_len, (int)iterations, digest, (int)key_length, (unsigned char*)ZSTR_VAL(out_buffer)) == 1) {
4056 ZSTR_VAL(out_buffer)[key_length] = 0;

Completed in 50 milliseconds