/PHP-5.5/ext/opcache/ |
H A D | zend_accelerator_hash.c | 88 hash_value = zend_inline_hash_func(key, key_length); in zend_accel_hash_update() 95 && entry->key_length == key_length in zend_accel_hash_update() 96 && !memcmp(entry->key, key, key_length)) { in zend_accel_hash_update() 134 entry->key_length = key_length; in zend_accel_hash_update() 149 hash_value = zend_inline_hash_func(key, key_length); in zend_accel_hash_find() 155 && entry->key_length == key_length in zend_accel_hash_find() 156 && !memcmp(entry->key, key, key_length)) { in zend_accel_hash_find() 183 && entry->key_length == key_length in zend_accel_hash_find_entry() 184 && !memcmp(entry->key, key, key_length)) { in zend_accel_hash_find_entry() 208 && entry->key_length == key_length in zend_accel_hash_unlink() [all …]
|
H A D | zend_accelerator_hash.h | 50 zend_uint key_length; member 70 zend_uint key_length, 77 zend_uint key_length); 82 zend_uint key_length); 87 zend_uint key_length);
|
H A D | zend_persist.h | 26 …_script_persist_calc(zend_persistent_script *script, char *key, unsigned int key_length TSRMLS_DC); 27 …ccel_script_persist(zend_persistent_script *script, char **key, unsigned int key_length TSRMLS_DC);
|
H A D | ZendAccelerator.c | 922 int key_length; in accel_make_persistent_key_ex() local 1011 if ((size_t)key_length >= sizeof(ZCG(key))) { in accel_make_persistent_key_ex() 1031 ZCG(key)[key_length] = '\0'; in accel_make_persistent_key_ex() 1034 key_length = path_length; in accel_make_persistent_key_ex() 1042 *key_len = ZCG(key_len) = key_length; in accel_make_persistent_key_ex() 1115 memcpy(new_key, key, key_length + 1); in zend_accel_add_key() 1297 key_length = ZCG(key_len); in compile_and_cache_file() 1456 int key_length; local 1503 key_length = ZCG(key_len); 1816 int key_length; local [all …]
|
H A D | zend_persist_calc.c | 333 …t_calc(zend_persistent_script *new_persistent_script, char *key, unsigned int key_length TSRMLS_DC) 340 ADD_DUP_SIZE(key, key_length + 1);
|
H A D | zend_accelerator_module.c | 312 int key_length; in filename_is_in_cache() local 328 if ((key = accel_make_persistent_key_ex(&handle, filename_len, &key_length TSRMLS_CC)) != NULL) { in filename_is_in_cache() 329 persistent_script = zend_accel_hash_find(&ZCSG(hash), key, key_length + 1); in filename_is_in_cache() 538 …zend_hash_update(return_value->value.ht, cache_entry->key, cache_entry->key_length, &persistent_sc… in accelerator_get_scripts()
|
H A D | zend_persist.c | 668 …accel_script_persist(zend_persistent_script *script, char **key, unsigned int key_length TSRMLS_DC) 674 *key = zend_accel_memdup(*key, key_length + 1);
|
/PHP-5.5/sapi/apache/ |
H A D | mod_php5.c | 76 uint key_length; member 569 …zend_alter_ini_entry(per_dir_entry->key, per_dir_entry->key_length+1, per_dir_entry->value, per_di… in php_apache_alter_ini_entries() 726 per_dir_entry->key = (char *) malloc(tmp.key_length+1); in copy_per_dir_entry() 727 memcpy(per_dir_entry->key, tmp.key, tmp.key_length); in copy_per_dir_entry() 728 per_dir_entry->key[per_dir_entry->key_length] = 0; in copy_per_dir_entry() 815 per_dir_entry.key_length = strlen(arg1); in php_apache_value_handler_ex() 818 per_dir_entry.key = (char *) malloc(per_dir_entry.key_length+1); in php_apache_value_handler_ex() 819 memcpy(per_dir_entry.key, arg1, per_dir_entry.key_length); in php_apache_value_handler_ex() 820 per_dir_entry.key[per_dir_entry.key_length] = 0; in php_apache_value_handler_ex() 826 …zend_hash_update(conf, per_dir_entry.key, per_dir_entry.key_length, &per_dir_entry, sizeof(php_per… in php_apache_value_handler_ex()
|
/PHP-5.5/ext/session/ |
H A D | php_session.h | 256 uint key_length; \ 265 …(key_type = zend_hash_get_current_key_ex(_ht, &key, &key_length, &num_key, 0, NULL)) != HASH_KEY_N… 271 key_length--; \ 272 if (php_get_session_var(key, key_length, &struc TSRMLS_CC) == SUCCESS) { \
|
H A D | session.c | 896 if (key_length > PS_BIN_MAX) continue; in PS_SERIALIZER_ENCODE_FUNC() 897 smart_str_appendc(&buf, (unsigned char) key_length); in PS_SERIALIZER_ENCODE_FUNC() 898 smart_str_appendl(&buf, key, key_length); in PS_SERIALIZER_ENCODE_FUNC() 901 if (key_length > PS_BIN_MAX) continue; 902 smart_str_appendc(&buf, (unsigned char) (key_length & PS_BIN_UNDEF)); 903 smart_str_appendl(&buf, key, key_length); 983 smart_str_appendl(&buf, key, key_length); 984 if (memchr(key, PS_DELIMITER, key_length) || memchr(key, PS_UNDEF_MARKER, key_length)) { 994 smart_str_appendl(&buf, key, key_length);
|
/PHP-5.5/sapi/apache_hooks/ |
H A D | mod_php5.c | 100 uint key_length; member 619 …zend_alter_ini_entry(per_dir_entry->key, per_dir_entry->key_length+1, per_dir_entry->value, per_di… in php_apache_alter_ini_entries() 779 per_dir_entry->key = (char *) malloc(tmp.key_length+1); in copy_per_dir_entry() 780 memcpy(per_dir_entry->key, tmp.key, tmp.key_length); in copy_per_dir_entry() 781 per_dir_entry->key[per_dir_entry->key_length] = 0; in copy_per_dir_entry() 913 per_dir_entry.key_length = strlen(arg1); in php_apache_value_handler_ex() 916 per_dir_entry.key = (char *) malloc(per_dir_entry.key_length+1); in php_apache_value_handler_ex() 917 memcpy(per_dir_entry.key, arg1, per_dir_entry.key_length); in php_apache_value_handler_ex() 918 per_dir_entry.key[per_dir_entry.key_length] = 0; in php_apache_value_handler_ex() 924 …zend_hash_update(conf, per_dir_entry.key, per_dir_entry.key_length, &per_dir_entry, sizeof(php_per… in php_apache_value_handler_ex()
|
/PHP-5.5/ext/pcntl/ |
H A D | pcntl.c | 753 uint key_length; in PHP_FUNCTION() local 792 …switch (return_val = zend_hash_get_current_key_ex(envs_hash, &key, &key_length, &key_num, 0, NULL)… in PHP_FUNCTION() 796 key_length = strlen(key); in PHP_FUNCTION() 806 pair_length = Z_STRLEN_PP(element) + key_length + 2; in PHP_FUNCTION() 808 strlcpy(*pair, key, key_length); in PHP_FUNCTION()
|
/PHP-5.5/ext/wddx/ |
H A D | wddx.c | 275 php_wddx_serialize_var(packet, *struc, key, key_length TSRMLS_CC); in PS_SERIALIZER_ENCODE_FUNC() 298 uint key_length; in PS_SERIALIZER_DECODE_FUNC() local 318 hash_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(retval), &key, &key_length, &idx, 0, NULL); in PS_SERIALIZER_DECODE_FUNC() 322 key_length = slprintf(tmp, sizeof(tmp), "%ld", idx) + 1; in PS_SERIALIZER_DECODE_FUNC() 326 php_set_session_var(key, key_length-1, *ent, NULL TSRMLS_CC); in PS_SERIALIZER_DECODE_FUNC()
|
/PHP-5.5/ext/openssl/ |
H A D | openssl.c | 258 ZEND_ARG_INFO(0, key_length) 3481 long key_length = 0, iterations = 0; in PHP_FUNCTION() local 3492 &key_length, &iterations, in PHP_FUNCTION() 3497 if (key_length <= 0) { in PHP_FUNCTION() 3512 out_buffer = emalloc(key_length + 1); in PHP_FUNCTION() 3513 out_buffer[key_length] = '\0'; in PHP_FUNCTION() 3515 …rd, password_len, (unsigned char *)salt, salt_len, iterations, digest, key_length, out_buffer) == … in PHP_FUNCTION() 3516 RETVAL_STRINGL((char *)out_buffer, key_length, 0); in PHP_FUNCTION()
|