/PHP-5.5/Zend/ |
H A D | zend_ini.c | 206 if ((zend_get_configuration_directive(p->name, p->name_length, &default_value)) == SUCCESS) { in zend_register_ini_entries() 262 if (zend_hash_find(EG(ini_directives), name, name_length, (void **) &ini_entry) == FAILURE) { in zend_alter_ini_entry_ex() 309 ZEND_API int zend_restore_ini_entry(char *name, uint name_length, int stage) /* {{{ */ in zend_restore_ini_entry() argument 314 if (zend_hash_find(EG(ini_directives), name, name_length, (void **) &ini_entry) == FAILURE || in zend_restore_ini_entry() 321 zend_hash_del(EG(modified_ini_directives), name, name_length); in zend_restore_ini_entry() 348 ZEND_API long zend_ini_long(char *name, uint name_length, int orig) /* {{{ */ in zend_ini_long() argument 353 if (zend_hash_find(EG(ini_directives), name, name_length, (void **) &ini_entry) == SUCCESS) { in zend_ini_long() 365 ZEND_API double zend_ini_double(char *name, uint name_length, int orig) /* {{{ */ in zend_ini_double() argument 370 if (zend_hash_find(EG(ini_directives), name, name_length, (void **) &ini_entry) == SUCCESS) { in zend_ini_double() 406 ZEND_API char *zend_ini_string(char *name, uint name_length, int orig) /* {{{ */ in zend_ini_string() argument [all …]
|
H A D | zend_API.h | 177 class_container.name_length = _len; \ 307 ZEND_API int zend_declare_property_null(zend_class_entry *ce, const char *name, int name_length, in… 314 ZEND_API int zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_length… 315 …_declare_class_constant_null(zend_class_entry *ce, const char *name, size_t name_length TSRMLS_DC); 324 …_property_null(zend_class_entry *scope, zval *object, const char *name, int name_length TSRMLS_DC); 332 …_update_static_property_null(zend_class_entry *scope, const char *name, int name_length TSRMLS_DC); 685 #define ZEND_SET_SYMBOL_WITH_LENGTH(symtable, name, name_length, var, _refcount, _is_ref) \ argument 689 if (zend_hash_find(symtable, (name), (name_length), (void **) &orig_var)==SUCCESS \ 705 zend_hash_update(symtable, (name), (name_length), &(var), sizeof(zval *), NULL); \ 713 #define ZEND_SET_GLOBAL_VAR_WITH_LENGTH(name, name_length, var, _refcount, _is_ref) \ argument [all …]
|
H A D | zend_ini.h | 67 uint name_length; member 97 ZEND_API int zend_alter_ini_entry(char *name, uint name_length, char *new_value, uint new_value_len… 98 ZEND_API int zend_alter_ini_entry_ex(char *name, uint name_length, char *new_value, uint new_value_… 99 ZEND_API int zend_restore_ini_entry(char *name, uint name_length, int stage); 102 ZEND_API long zend_ini_long(char *name, uint name_length, int orig); 103 ZEND_API double zend_ini_double(char *name, uint name_length, int orig); 104 ZEND_API char *zend_ini_string(char *name, uint name_length, int orig); 105 ZEND_API char *zend_ini_string_ex(char *name, uint name_length, int orig, zend_bool *exists); 107 ZEND_API int zend_ini_register_displayer(char *name, uint name_length, void (*displayer)(zend_ini_e…
|
H A D | zend_API.c | 254 *class_name_len = ce->name_length; in zend_get_object_classname() 3050 ptr += fcc->calling_scope->name_length; in zend_is_callable_ex() 3130 ptr += fcc->calling_scope->name_length; in zend_is_callable_ex() 3418 ulong h = zend_get_hash_value(name, name_length+1); in zend_declare_property_ex() 3466 …e_property_name(&priv_name, &priv_name_length, ce->name, ce->name_length, name, name_length, ce->t… in zend_declare_property_ex() 3468 property_info.name_length = priv_name_length; in zend_declare_property_ex() 3477 property_info.name_length = prot_name_length; in zend_declare_property_ex() 3484 …e = ce->type & ZEND_INTERNAL_CLASS ? zend_strndup(name, name_length) : estrndup(name, name_length); in zend_declare_property_ex() 3486 property_info.name_length = name_length; in zend_declare_property_ex() 3716 ZVAL_STRINGL(property, name, name_length, 1); in zend_update_property() [all …]
|
H A D | zend_object_handlers.c | 345 EG(std_property_info).name_length = Z_STRLEN_P(member); in zend_get_property_info_quick() 395 info.name_length = Z_STRLEN_P(member); in zend_get_property_guard() 399 …zend_unmangle_property_name(property_info->name, property_info->name_length, &class_name, &prop_na… in zend_get_property_guard() 403 info.name_length = strlen(prop_name); in zend_get_property_guard() 404 info.h = zend_get_hash_value(info.name, info.name_length+1); in zend_get_property_guard() 615 …zend_hash_quick_update(zobj->properties, property_info->name, property_info->name_length+1, proper… in zend_std_write_property() 823 …d_hash_quick_del(zobj->properties, property_info->name, property_info->name_length+1, property_inf… in zend_std_unset_property() 1170 if (function_name_strlen == ce->name_length && ce->constructor) { in zend_std_get_static_method() 1171 lc_class_name = zend_str_tolower_dup(ce->name, ce->name_length); in zend_std_get_static_method() 1521 *class_name_len = ce->name_length; in zend_std_object_get_class_name() [all …]
|
H A D | zend_constants.c | 244 const_name_len = sizeof("\0__CLASS__") + EG(scope)->name_length; in zend_get_special_constant() 247 …nd_str_tolower_copy(const_name + sizeof("\0__CLASS__")-1, EG(scope)->name, EG(scope)->name_length); in zend_get_special_constant() 251 Z_STRVAL((**c).value) = estrndup(EG(scope)->name, EG(scope)->name_length); in zend_get_special_constant() 252 Z_STRLEN((**c).value) = EG(scope)->name_length; in zend_get_special_constant()
|
H A D | zend_execute_API.c | 1008 ZEND_API int zend_lookup_class_ex(const char *name, int name_length, const zend_literal *key, int u… in zend_lookup_class_ex() argument 1028 if (name == NULL || !name_length) { in zend_lookup_class_ex() 1032 lc_free = lc_name = do_alloca(name_length + 1, use_heap); in zend_lookup_class_ex() 1033 zend_str_tolower_copy(lc_name, name, name_length); in zend_lookup_class_ex() 1034 lc_length = name_length + 1; in zend_lookup_class_ex() 1062 …4\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377\\") != name_length) { in zend_lookup_class_ex() 1086 ZVAL_STRINGL(class_name_ptr, name+1, name_length-1, 1); in zend_lookup_class_ex() 1088 ZVAL_STRINGL(class_name_ptr, name, name_length, 1); in zend_lookup_class_ex() 1133 ZEND_API int zend_lookup_class(const char *name, int name_length, zend_class_entry ***ce TSRMLS_DC)… in zend_lookup_class() argument 1135 return zend_lookup_class_ex(name, name_length, NULL, 1, ce TSRMLS_CC); in zend_lookup_class()
|
H A D | zend_builtin_functions.c | 761 RETURN_STRINGL(EG(scope)->name, EG(scope)->name_length, 1); in ZEND_FUNCTION() 784 RETURN_STRINGL(EG(called_scope)->name, EG(called_scope)->name_length, 1); in ZEND_FUNCTION() 800 zend_uint name_length; in ZEND_FUNCTION() local 809 RETURN_STRINGL(ce->parent->name, ce->parent->name_length, 1); in ZEND_FUNCTION() 817 && Z_OBJ_HT_P(arg)->get_class_name(arg, &name, &name_length, 1 TSRMLS_CC) == SUCCESS) { in ZEND_FUNCTION() 818 RETURN_STRINGL(name, name_length, 0); in ZEND_FUNCTION() 831 RETURN_STRINGL(ce->parent->name, ce->parent->name_length, 1); in ZEND_FUNCTION() 1651 (ce->name_length != hash_key->nKeyLength - 1 || in copy_class_or_interface_name() 1652 !same_name(hash_key->arKey, ce->name, ce->name_length))) { in copy_class_or_interface_name() 1655 add_next_index_stringl(array, ce->name, ce->name_length, 1); in copy_class_or_interface_name()
|
H A D | zend_execute.h | 64 ZEND_API int zend_lookup_class(const char *name, int name_length, zend_class_entry ***ce TSRMLS_DC); 65 ZEND_API int zend_lookup_class_ex(const char *name, int name_length, const zend_literal *key, int u…
|
H A D | zend.h | 479 zend_uint name_length; member 550 int (*get_configuration_directive)(const char *name, uint name_length, zval *contents); 729 ZEND_API int zend_get_configuration_directive(const char *name, uint name_length, zval *contents);
|
H A D | zend_compile.c | 156 result->value.str.len = 1+name_length+strlen(filename)+char_pos_len; in build_runtime_defined_function_key() 3168 fe_class_name_len = proto->common.scope->name_length; in zend_do_perform_implementation_check() 3171 fe_class_name_len = fe->common.scope->name_length; in zend_do_perform_implementation_check() 3182 proto_class_name_len = proto->common.scope->name_length; in zend_do_perform_implementation_check() 3253 offset += fptr->common.scope->name_length; in zend_get_function_declaration() 3277 class_name_len = fptr->common.scope->name_length; in zend_get_function_declaration() 3280 class_name_len = fptr->common.scope->parent->name_length; in zend_get_function_declaration() 3865 } else if (ce->name_length + 1 == mname_len) { in zend_add_magic_methods() 3866 char *lowercase_name = emalloc(ce->name_length + 1); in zend_add_magic_methods() 4121 zend_uint name_length = strlen(class_name); in zend_traits_init_trait_structures() local [all …]
|
H A D | zend_objects.c | 196 …if (zend_hash_quick_find(new_object->properties, prop_info->name, prop_info->name_length+1, prop_i… in zend_objects_clone_members()
|
/PHP-5.5/ext/spl/ |
H A D | spl_functions.c | 83 size_t len = pce->name_length; in spl_add_class_name() 88 ZVAL_STRINGL(tmp, pce->name, pce->name_length, 1); in spl_add_class_name() 140 zend_mangle_property_name(&rv, name_len, ce->name, ce->name_length, prop_name, prop_len, 0); in spl_gen_private_prop_name()
|
/PHP-5.5/ext/snmp/ |
H A D | snmp.c | 105 php_snmp_add_property((a), (b)[i].name, (b)[i].name_length, \ 730 rootlen = objid_query->vars[0].name_length; in php_snmp_internal() 814 snprint_objid(buf, sizeof(buf), vars->name, vars->name_length); in php_snmp_internal() 846 ….name_length == vars->name_length && snmp_oid_compare(objid_query->vars[count].name, objid_query->… in php_snmp_internal() 863 while(count < vars->name_length){ in php_snmp_internal() 890 objid_query->vars[0].name_length = vars->name_length; in php_snmp_internal() 918 snprint_objid(buf, sizeof(buf), vars->name, vars->name_length); in php_snmp_internal() 1097 objid_query->vars[0].name_length = MAX_NAME_LEN; in php_snmp_parse_oid() 1106 objid_query->vars[0].name_length = sizeof(objid_mib) / sizeof(oid); in php_snmp_parse_oid() 1110 objid_query->vars[objid_query->offset].name_length = MAX_OID_LEN; in php_snmp_parse_oid() [all …]
|
H A D | php_snmp.h | 107 size_t name_length; member 117 size_t name_length; member
|
/PHP-5.5/ext/dom/ |
H A D | php_dom.c | 215 …return zend_hash_update(doc_props->classmap, basece->name, basece->name_length + 1, &ce, sizeof(ze… in dom_set_doc_classmap() 217 zend_hash_del(doc_props->classmap, basece->name, basece->name_length + 1); in dom_set_doc_classmap() 231 …if (zend_hash_find(doc_props->classmap, basece->name, basece->name_length + 1, (void**) &ce) == S… in dom_get_doc_classmap() 718 …zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_node_prop_handlers, sizeof(dom_node_prop… in PHP_MINIT_FUNCTION() 734 …zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_node_prop_handlers, sizeof(dom_node_prop… in PHP_MINIT_FUNCTION() 798 …zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_attr_prop_handlers, sizeof(dom_attr_prop… in PHP_MINIT_FUNCTION() 813 …zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_text_prop_handlers, sizeof(dom_text_prop… in PHP_MINIT_FUNCTION() 883 …zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_entity_prop_handlers, sizeof(dom_entity_… in PHP_MINIT_FUNCTION() 886 …zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_node_prop_handlers, sizeof(dom_entity_pr… in PHP_MINIT_FUNCTION() 905 …zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_xpath_prop_handlers, sizeof(dom_xpath_pr… in PHP_MINIT_FUNCTION() [all …]
|
/PHP-5.5/sapi/fpm/fpm/ |
H A D | fpm_php.c | 26 static int fpm_php_zend_ini_alter_master(char *name, int name_length, char *new_value, int new_valu… in fpm_php_zend_ini_alter_master() argument 31 if (zend_hash_find(EG(ini_directives), name, name_length, (void **) &ini_entry) == FAILURE) { in fpm_php_zend_ini_alter_master()
|
/PHP-5.5/main/ |
H A D | php_ini.h | 31 PHPAPI zval *cfg_get_entry(const char *name, uint name_length);
|
H A D | php_ini.c | 132 PHPWRITE(ini_entry->name, ini_entry->name_length - 1); in php_ini_displayer() 139 PHPWRITE(ini_entry->name, ini_entry->name_length - 1); in php_ini_displayer() 880 PHPAPI zval *cfg_get_entry(const char *name, uint name_length) argument 884 if (zend_hash_find(&configuration_hash, name, name_length, (void **) &tmp) == SUCCESS) {
|
/PHP-5.5/ext/mysqli/ |
H A D | mysqli.c | 56 zend_declare_property_null((a), (b)[i].name, (b)[i].name_length, ZEND_ACC_PUBLIC TSRMLS_CC); \ 505 zend_hash_find(&classes, mysqli_base_class->name, mysqli_base_class->name_length + 1, in mysqli_objects_new() 653 …zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_driver_properties, sizeof(mysqli_driv… in PHP_MINIT_FUNCTION() 661 …zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_link_properties, sizeof(mysqli_link_p… in PHP_MINIT_FUNCTION() 669 …zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_warning_properties, sizeof(mysqli_war… in PHP_MINIT_FUNCTION() 679 …zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_result_properties, sizeof(mysqli_resu… in PHP_MINIT_FUNCTION() 686 …zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_stmt_properties, sizeof(mysqli_stmt_p… in PHP_MINIT_FUNCTION()
|
/PHP-5.5/ext/opcache/ |
H A D | zend_persist_calc.c | 226 ADD_INTERNED_STRING(prop->name, prop->name_length + 1); 240 ADD_INTERNED_STRING(ce->name, ce->name_length + 1);
|
/PHP-5.5/ext/mysqlnd/ |
H A D | mysqlnd_result_meta.c | 184 field_packet->metadata->name_length + 1, in MYSQLND_METHOD() 191 field_packet->metadata->name_length + 1); in MYSQLND_METHOD()
|
/PHP-5.5/ext/reflection/ |
H A D | php_reflection.c | 1197 ZVAL_STRINGL(name, ce->name, ce->name_length, 1); in zend_reflection_class_factory() 1303 ZVAL_STRINGL(classname, method->common.scope->name, method->common.scope->name_length, 1); in reflection_method_factory() 1324 zend_unmangle_property_name(prop->name, prop->name_length, &class_name, &prop_name); in reflection_property_factory() 1346 ZVAL_STRINGL(classname, prop->ce->name, prop->ce->name_length, 1); in reflection_property_factory() 2750 ZVAL_STRINGL(classname, mptr->common.scope->name, mptr->common.scope->name_length, 1); in ZEND_METHOD() 3331 ZVAL_STRINGL(classname, (*ce)->name, (*ce)->name_length, 1); in reflection_class_object_ctor() 3864 property_info_tmp.name_length = name_len; in ZEND_METHOD() 4843 ZVAL_STRINGL(classname, property_info->ce->name, property_info->ce->name_length, 1); in ZEND_METHOD() 4846 ZVAL_STRINGL(classname, ce->name, ce->name_length, 1); in ZEND_METHOD() 4856 reference->prop.name_length = Z_STRLEN_P(propname); in ZEND_METHOD() [all …]
|
/PHP-5.5/ext/standard/ |
H A D | var.c | 678 …zend_mangle_property_name(&priv_name, &prop_name_length, ce->name, ce->name_length, Z_STRVAL_PP(na… in php_var_serialize_class() 781 smart_str_append_long(buf, (int)Z_OBJCE_P(struc)->name_length); in php_var_serialize_intern() 783 smart_str_appendl(buf, Z_OBJCE_P(struc)->name, Z_OBJCE_P(struc)->name_length); in php_var_serialize_intern()
|
/PHP-5.5/ext/com_dotnet/ |
H A D | com_saproxy.c | 348 …*class_name = estrndup(php_com_saproxy_class_entry->name, php_com_saproxy_class_entry->name_length… in saproxy_class_name_get() 349 *class_name_len = php_com_saproxy_class_entry->name_length; in saproxy_class_name_get()
|