/PHP-5.6/ext/opcache/ |
H A D | zend_accelerator_hash.c | 91 hash_value = zend_inline_hash_func(key, key_length); in zend_accel_hash_update() 101 && entry->key_length == key_length in zend_accel_hash_update() 102 && !memcmp(entry->key, key, key_length)) { in zend_accel_hash_update() 140 entry->key_length = key_length; in zend_accel_hash_update() 158 hash_value = zend_inline_hash_func(key, key_length); in zend_accel_hash_find() 167 && entry->key_length == key_length in zend_accel_hash_find() 168 && !memcmp(entry->key, key, key_length)) { in zend_accel_hash_find() 201 && entry->key_length == key_length in zend_accel_hash_find_entry() 202 && !memcmp(entry->key, key, key_length)) { in zend_accel_hash_find_entry() 232 && 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 | 951 int key_length; in accel_make_persistent_key_ex() local 1040 if ((size_t)key_length >= sizeof(ZCG(key))) { in accel_make_persistent_key_ex() 1060 ZCG(key)[key_length] = '\0'; in accel_make_persistent_key_ex() 1063 key_length = path_length; in accel_make_persistent_key_ex() 1071 *key_len = ZCG(key_len) = key_length; in accel_make_persistent_key_ex() 1144 memcpy(new_key, key, key_length + 1); in zend_accel_add_key() 1330 key_length = ZCG(key_len); in compile_and_cache_file() 1489 int key_length; local 1536 key_length = ZCG(key_len); 1893 int key_length; local [all …]
|
H A D | zend_persist_calc.c | 362 …t_calc(zend_persistent_script *new_persistent_script, char *key, unsigned int key_length TSRMLS_DC) 369 ADD_DUP_SIZE(key, key_length + 1);
|
H A D | zend_accelerator_module.c | 320 int key_length; in filename_is_in_cache() local 336 if ((key = accel_make_persistent_key_ex(&handle, filename_len, &key_length TSRMLS_CC)) != NULL) { in filename_is_in_cache() 337 persistent_script = zend_accel_hash_find(&ZCSG(hash), key, key_length + 1); in filename_is_in_cache() 546 …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 | 705 …accel_script_persist(zend_persistent_script *script, char **key, unsigned int key_length TSRMLS_DC) 711 *key = zend_accel_memdup(*key, key_length + 1);
|
/PHP-5.6/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.6/ext/session/ |
H A D | php_session.h | 257 uint key_length; \ 266 …(key_type = zend_hash_get_current_key_ex(_ht, &key, &key_length, &num_key, 0, NULL)) != HASH_KEY_N… 272 key_length--; \ 273 if (php_get_session_var(key, key_length, &struc TSRMLS_CC) == SUCCESS) { \
|
H A D | session.c | 897 if (key_length > PS_BIN_MAX) continue; in PS_SERIALIZER_ENCODE_FUNC() 898 smart_str_appendc(&buf, (unsigned char) key_length); in PS_SERIALIZER_ENCODE_FUNC() 899 smart_str_appendl(&buf, key, key_length); in PS_SERIALIZER_ENCODE_FUNC() 902 if (key_length > PS_BIN_MAX) continue; 903 smart_str_appendc(&buf, (unsigned char) (key_length & PS_BIN_UNDEF)); 904 smart_str_appendl(&buf, key, key_length); 989 smart_str_appendl(&buf, key, key_length); 990 if (memchr(key, PS_DELIMITER, key_length) || memchr(key, PS_UNDEF_MARKER, key_length)) { 1000 smart_str_appendl(&buf, key, key_length);
|
/PHP-5.6/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.6/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.6/ext/wddx/ |
H A D | wddx.c | 274 php_wddx_serialize_var(packet, *struc, key, key_length TSRMLS_CC); in PS_SERIALIZER_ENCODE_FUNC() 297 uint key_length; in PS_SERIALIZER_DECODE_FUNC() local 317 hash_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(retval), &key, &key_length, &idx, 0, NULL); in PS_SERIALIZER_DECODE_FUNC() 321 key_length = slprintf(tmp, sizeof(tmp), "%ld", idx) + 1; in PS_SERIALIZER_DECODE_FUNC() 325 php_set_session_var(key, key_length-1, *ent, NULL TSRMLS_CC); in PS_SERIALIZER_DECODE_FUNC()
|
/PHP-5.6/ext/openssl/ |
H A D | openssl.c | 265 ZEND_ARG_INFO(0, key_length) 4046 long key_length = 0, iterations = 0; in PHP_FUNCTION() local 4057 &key_length, &iterations, in PHP_FUNCTION() 4062 if (key_length <= 0 || key_length > INT_MAX) { in PHP_FUNCTION() 4077 out_buffer = emalloc(key_length + 1); in PHP_FUNCTION() 4078 out_buffer[key_length] = '\0'; in PHP_FUNCTION() 4080 …rd, password_len, (unsigned char *)salt, salt_len, iterations, digest, key_length, out_buffer) == … in PHP_FUNCTION() 4081 RETVAL_STRINGL((char *)out_buffer, key_length, 0); in PHP_FUNCTION()
|