Searched refs:key_length (Results 1 – 6 of 6) sorted by relevance
/PHP-5.4/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.4/ext/session/ |
H A D | php_session.h | 247 uint key_length; \ 256 …(key_type = zend_hash_get_current_key_ex(_ht, &key, &key_length, &num_key, 0, NULL)) != HASH_KEY_N… 262 key_length--; \ 263 if (php_get_session_var(key, key_length, &struc TSRMLS_CC) == SUCCESS) { \
|
H A D | session.c | 802 if (key_length > PS_BIN_MAX) continue; in PHP_INI_END() 803 smart_str_appendc(&buf, (unsigned char) key_length); in PHP_INI_END() 804 smart_str_appendl(&buf, key, key_length); in PHP_INI_END() 807 if (key_length > PS_BIN_MAX) continue; 808 smart_str_appendc(&buf, (unsigned char) (key_length & PS_BIN_UNDEF)); 809 smart_str_appendl(&buf, key, key_length); 888 smart_str_appendl(&buf, key, key_length); 889 if (memchr(key, PS_DELIMITER, key_length) || memchr(key, PS_UNDEF_MARKER, key_length)) { 899 smart_str_appendl(&buf, key, key_length);
|
/PHP-5.4/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.4/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.4/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 315 hash_type = zend_hash_get_current_key_ex(Z_ARRVAL_P(retval), &key, &key_length, &idx, 0, NULL); in PS_SERIALIZER_DECODE_FUNC() 319 key_length = slprintf(tmp, sizeof(tmp), "%ld", idx) + 1; in PS_SERIALIZER_DECODE_FUNC() 323 php_set_session_var(key, key_length-1, *ent, NULL TSRMLS_CC); in PS_SERIALIZER_DECODE_FUNC()
|
Completed in 41 milliseconds