Searched refs:key_length (Results 1 - 10 of 10) 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 TSRMLS_DC);
27 zend_persistent_script *zend_accel_script_persist(zend_persistent_script *script, char **key, unsigned int key_length TSRMLS_DC);
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_accelerator_module.c284 int key_length; local
299 if ((key = accel_make_persistent_key_ex(&handle, filename_len, &key_length TSRMLS_CC)) != 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-1, &persistent_script_report);
H A Dzend_persist.c713 zend_persistent_script *zend_accel_script_persist(zend_persistent_script *script, char **key, unsigned int key_length TSRMLS_DC)
720 *key = zend_accel_memdup(*key, key_length + 1);
H A Dzend_persist_calc.c339 uint zend_accel_script_persist_calc(zend_persistent_script *new_persistent_script, char *key, unsigned int key_length TSRMLS_DC)
348 ADD_DUP_SIZE(key, key_length + 1);
H A DZendAccelerator.c916 int key_length; local
995 key_length = cwd_len + path_length + include_path_len + 2;
997 key_length += parent_script_len + 1;
1005 if ((size_t)key_length >= sizeof(ZCG(key))) {
1025 ZCG(key)[key_length] = '\0';
1028 key_length = path_length;
1029 if ((size_t)key_length >= sizeof(ZCG(key))) {
1033 memcpy(ZCG(key), file_handle->filename, key_length + 1); local
1036 *key_len = ZCG(key_len) = key_length;
1095 static void zend_accel_add_key(char *key, unsigned int key_length, zend_accel_hash_entr argument
1116 cache_script_in_shared_memory(zend_persistent_script *new_persistent_script, char *key, unsigned int key_length, int *from_shared_memory TSRMLS_DC) argument
1275 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 TSRMLS_DC) argument
1443 int key_length; local
1740 int key_length; local
[all...]
/PHP_TRUNK/ext/openssl/
H A Dopenssl.c265 ZEND_ARG_INFO(0, key_length)
3872 /* {{{ proto string openssl_pbkdf2(string password, string salt, long key_length, long iterations [, string digest_method = "sha1"])
3876 zend_long key_length = 0, iterations = 0; local
3890 &key_length, &iterations,
3895 if (key_length <= 0) {
3910 out_buffer = zend_string_alloc(key_length, 0);
3912 if (PKCS5_PBKDF2_HMAC(password, password_len, (unsigned char *)salt, salt_len, iterations, digest, key_length, (unsigned char*)out_buffer->val) == 1) {
3913 out_buffer->val[key_length] = 0;
/PHP_TRUNK/sapi/apache/
H A Dmod_php7.c76 uint key_length; member in struct:_php_per_dir_entry
569 zend_string *key = STR_INIT(per_dir_entry->key, per_dir_entry->key_length, 0);
735 new_per_dir_entry->key = (char *) malloc(old_per_dir_entry->key_length+1);
736 memcpy(new_per_dir_entry->key, old_per_dir_entry->key, old_per_dir_entry->key_length);
737 new_per_dir_entry->key[new_per_dir_entry->key_length] = 0;
825 per_dir_entry.key_length = strlen(arg1);
828 per_dir_entry.key = (char *) malloc(per_dir_entry.key_length+1);
829 memcpy(per_dir_entry.key, arg1, per_dir_entry.key_length);
830 per_dir_entry.key[per_dir_entry.key_length] = 0;
836 zend_hash_str_update_mem(conf, per_dir_entry.key, per_dir_entry.key_length,
[all...]
/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php7.c100 uint key_length; member in struct:_php_per_dir_entry
619 zend_alter_ini_entry(per_dir_entry->key, per_dir_entry->key_length+1, per_dir_entry->value, per_dir_entry->value_length, per_dir_entry->type, PHP_INI_STAGE_ACTIVATE);
779 per_dir_entry->key = (char *) malloc(tmp.key_length+1);
780 memcpy(per_dir_entry->key, tmp.key, tmp.key_length);
781 per_dir_entry->key[per_dir_entry->key_length] = 0;
913 per_dir_entry.key_length = strlen(arg1);
916 per_dir_entry.key = (char *) malloc(per_dir_entry.key_length+1);
917 memcpy(per_dir_entry.key, arg1, per_dir_entry.key_length);
918 per_dir_entry.key[per_dir_entry.key_length] = 0;
924 zend_hash_update(conf, per_dir_entry.key, per_dir_entry.key_length,
[all...]

Completed in 38 milliseconds