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

/PHP_TRUNK/ext/opcache/
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;
143 void* zend_accel_hash_find(zend_accel_hash *accel_hash, char *key, uint32_t key_length) argument
149 hash_value = zend_inline_hash_func(key, key_length);
155 && entry->key_length
171 zend_accel_hash_find_entry(zend_accel_hash *accel_hash, char *key, uint32_t key_length) argument
196 zend_accel_hash_unlink(zend_accel_hash *accel_hash, char *key, uint32_t key_length) argument
[all...]
H A Dzend_accelerator_hash.h50 uint32_t key_length; member in struct:_zend_accel_hash_entry
70 uint32_t key_length,
77 uint32_t key_length);
82 uint32_t key_length);
87 uint32_t key_length);
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_module.c284 int key_length; local
299 if ((key = accel_make_persistent_key_ex(&handle, filename_len, &key_length)) != NULL) {
300 persistent_script = zend_accel_hash_find(&ZCSG(hash), key, key_length);
502 zend_hash_str_update(Z_ARRVAL_P(return_value), cache_entry->key, cache_entry->key_length, &persistent_script_report);
H A Dzend_persist_calc.c352 uint zend_accel_script_persist_calc(zend_persistent_script *new_persistent_script, char *key, unsigned int key_length) argument
361 ADD_DUP_SIZE(key, key_length + 1);
H A Dzend_persist.c783 zend_persistent_script *zend_accel_script_persist(zend_persistent_script *script, char **key, unsigned int key_length) argument
790 *key = zend_accel_memdup(*key, key_length + 1);
H A DZendAccelerator.c919 int key_length; local
998 key_length = cwd_len + path_length + include_path_len + 2;
1000 key_length += parent_script_len + 1;
1008 if ((size_t)key_length >= sizeof(ZCG(key))) {
1028 ZCG(key)[key_length] = '\0';
1031 key_length = path_length;
1032 if ((size_t)key_length >= sizeof(ZCG(key))) {
1036 memcpy(ZCG(key), file_handle->filename, key_length + 1); local
1039 *key_len = ZCG(key_len) = key_length;
1098 static void zend_accel_add_key(char *key, unsigned int key_length, zend_accel_hash_entr argument
1119 cache_script_in_shared_memory(zend_persistent_script *new_persistent_script, char *key, unsigned int key_length, int *from_shared_memory) argument
1289 compile_and_cache_file(zend_file_handle *file_handle, int type, char *key, unsigned int key_length, zend_op_array **op_array_p, int *from_shared_memory) argument
1457 int key_length; local
1754 int key_length; local
[all...]
/PHP_TRUNK/ext/openssl/
H A Dopenssl.c265 ZEND_ARG_INFO(0, key_length)
3937 /* {{{ proto string openssl_pbkdf2(string password, string salt, long key_length, long iterations [, string digest_method = "sha1"])
3941 zend_long key_length = 0, iterations = 0; local
3955 &key_length, &iterations,
3960 if (key_length <= 0) {
3975 out_buffer = zend_string_alloc(key_length, 0);
3977 if (PKCS5_PBKDF2_HMAC(password, (int)password_len, (unsigned char *)salt, (int)salt_len, (int)iterations, digest, (int)key_length, (unsigned char*)out_buffer->val) == 1) {
3978 out_buffer->val[key_length] = 0;

Completed in 30 milliseconds