Home
last modified time | relevance | path

Searched refs:name_length (Results 1 – 25 of 39) sorted by relevance

12

/PHP-5.4/Zend/
H A Dzend_ini.c206 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 Dzend_API.h177 class_container.name_length = _len; \
305 ZEND_API int zend_declare_property_null(zend_class_entry *ce, const char *name, int name_length, in…
312 ZEND_API int zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_length
313 …_declare_class_constant_null(zend_class_entry *ce, const char *name, size_t name_length TSRMLS_DC);
322 …_property_null(zend_class_entry *scope, zval *object, const char *name, int name_length TSRMLS_DC);
330 …_update_static_property_null(zend_class_entry *scope, const char *name, int name_length TSRMLS_DC);
681 #define ZEND_SET_SYMBOL_WITH_LENGTH(symtable, name, name_length, var, _refcount, _is_ref) \ argument
685 if (zend_hash_find(symtable, (name), (name_length), (void **) &orig_var)==SUCCESS \
701 zend_hash_update(symtable, (name), (name_length), &(var), sizeof(zval *), NULL); \
709 #define ZEND_SET_GLOBAL_VAR_WITH_LENGTH(name, name_length, var, _refcount, _is_ref) \ argument
[all …]
H A Dzend_ini.h67 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 Dzend_API.c254 *class_name_len = ce->name_length; in zend_get_object_classname()
2987 ptr += fcc->calling_scope->name_length; in zend_is_callable_ex()
3067 ptr += fcc->calling_scope->name_length; in zend_is_callable_ex()
3355 ulong h = zend_get_hash_value(name, name_length+1); in zend_declare_property_ex()
3403 …e_property_name(&priv_name, &priv_name_length, ce->name, ce->name_length, name, name_length, ce->t… in zend_declare_property_ex()
3405 property_info.name_length = priv_name_length; in zend_declare_property_ex()
3414 property_info.name_length = prot_name_length; in zend_declare_property_ex()
3421 …e = ce->type & ZEND_INTERNAL_CLASS ? zend_strndup(name, name_length) : estrndup(name, name_length); in zend_declare_property_ex()
3423 property_info.name_length = name_length; in zend_declare_property_ex()
3653 ZVAL_STRINGL(property, name, name_length, 1); in zend_update_property()
[all …]
H A Dzend_object_handlers.c345 EG(std_property_info).name_length = Z_STRLEN_P(member); in zend_get_property_info_quick()
394 info.name_length = Z_STRLEN_P(member); in zend_get_property_guard()
398 …zend_unmangle_property_name(property_info->name, property_info->name_length, &class_name, &prop_na… in zend_get_property_guard()
402 info.name_length = strlen(prop_name); in zend_get_property_guard()
403 info.h = zend_get_hash_value(info.name, info.name_length+1); in zend_get_property_guard()
614 …zend_hash_quick_update(zobj->properties, property_info->name, property_info->name_length+1, proper… in zend_std_write_property()
817 …d_hash_quick_del(zobj->properties, property_info->name, property_info->name_length+1, property_inf… in zend_std_unset_property()
1164 if (function_name_strlen == ce->name_length && ce->constructor) { in zend_std_get_static_method()
1165 lc_class_name = zend_str_tolower_dup(ce->name, ce->name_length); in zend_std_get_static_method()
1515 *class_name_len = ce->name_length; in zend_std_object_get_class_name()
[all …]
H A Dzend_constants.c244 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 Dzend_execute_API.c1031 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
1051 if (name == NULL || !name_length) { in zend_lookup_class_ex()
1055 lc_free = lc_name = do_alloca(name_length + 1, use_heap); in zend_lookup_class_ex()
1056 zend_str_tolower_copy(lc_name, name, name_length); in zend_lookup_class_ex()
1057 lc_length = name_length + 1; in zend_lookup_class_ex()
1085 …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()
1109 ZVAL_STRINGL(class_name_ptr, name+1, name_length-1, 1); in zend_lookup_class_ex()
1111 ZVAL_STRINGL(class_name_ptr, name, name_length, 1); in zend_lookup_class_ex()
1156 ZEND_API int zend_lookup_class(const char *name, int name_length, zend_class_entry ***ce TSRMLS_DC)… in zend_lookup_class() argument
1158 return zend_lookup_class_ex(name, name_length, NULL, 1, ce TSRMLS_CC); in zend_lookup_class()
H A Dzend_builtin_functions.c761 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()
1666 (ce->name_length != hash_key->nKeyLength - 1 || in copy_class_or_interface_name()
1667 !same_name(hash_key->arKey, ce->name, ce->name_length))) { in copy_class_or_interface_name()
1670 add_next_index_stringl(array, ce->name, ce->name_length, 1); in copy_class_or_interface_name()
H A Dzend.h469 zend_uint name_length; member
540 int (*get_configuration_directive)(const char *name, uint name_length, zval *contents);
719 ZEND_API int zend_get_configuration_directive(const char *name, uint name_length, zval *contents);
H A Dzend_execute.h70 ZEND_API int zend_lookup_class(const char *name, int name_length, zend_class_entry ***ce TSRMLS_DC);
71 ZEND_API int zend_lookup_class_ex(const char *name, int name_length, const zend_literal *key, int u…
H A Dzend_compile.c156 result->value.str.len = 1+name_length+strlen(filename)+char_pos_len; in build_runtime_defined_function_key()
2976 fe_class_name_len = proto->common.scope->name_length; in zend_do_perform_implementation_check()
2979 fe_class_name_len = fe->common.scope->name_length; in zend_do_perform_implementation_check()
2990 proto_class_name_len = proto->common.scope->name_length; in zend_do_perform_implementation_check()
3061 offset += fptr->common.scope->name_length; in zend_get_function_declaration()
3085 class_name_len = fptr->common.scope->name_length; in zend_get_function_declaration()
3088 class_name_len = fptr->common.scope->parent->name_length; in zend_get_function_declaration()
3673 } else if (ce->name_length + 1 == mname_len) { in zend_add_magic_methods()
3674 char *lowercase_name = emalloc(ce->name_length + 1); in zend_add_magic_methods()
3924 zend_uint name_length = strlen(class_name); in zend_traits_init_trait_structures() local
[all …]
H A Dzend_objects.c196 …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.4/ext/spl/
H A Dspl_functions.c83 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.4/ext/snmp/
H A Dsnmp.c105 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 Dphp_snmp.h107 size_t name_length; member
117 size_t name_length; member
/PHP-5.4/ext/dom/
H A Dphp_dom.c215 …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.4/sapi/fpm/fpm/
H A Dfpm_php.c26 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.4/main/
H A Dphp_ini.h31 PHPAPI zval *cfg_get_entry(const char *name, uint name_length);
H A Dphp_ini.c132 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()
845 PHPAPI zval *cfg_get_entry(const char *name, uint name_length) argument
849 if (zend_hash_find(&configuration_hash, name, name_length, (void **) &tmp) == SUCCESS) {
/PHP-5.4/ext/mysqlnd/
H A Dmysqlnd_result_meta.c232 meta->fields[i].name_length TSRMLS_CC); in MYSQLND_METHOD()
247 field_packet->metadata->name_length + 1, in MYSQLND_METHOD()
254 field_packet->metadata->name_length + 1); in MYSQLND_METHOD()
/PHP-5.4/ext/mysqli/
H A Dmysqli.c56 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.4/ext/reflection/
H A Dphp_reflection.c1194 ZVAL_STRINGL(name, ce->name, ce->name_length, 1); in zend_reflection_class_factory()
1321 zend_unmangle_property_name(prop->name, prop->name_length, &class_name, &prop_name); in reflection_property_factory()
1343 ZVAL_STRINGL(classname, prop->ce->name, prop->ce->name_length, 1); in reflection_property_factory()
2747 ZVAL_STRINGL(classname, mptr->common.scope->name, mptr->common.scope->name_length, 1); in ZEND_METHOD()
3320 ZVAL_STRINGL(classname, (*ce)->name, (*ce)->name_length, 1); in reflection_class_object_ctor()
3853 property_info_tmp.name_length = name_len; in ZEND_METHOD()
4818 ZVAL_STRINGL(classname, property_info->ce->name, property_info->ce->name_length, 1); in ZEND_METHOD()
4821 ZVAL_STRINGL(classname, ce->name, ce->name_length, 1); in ZEND_METHOD()
4831 reference->prop.name_length = Z_STRLEN_P(propname); in ZEND_METHOD()
5344 add_assoc_zval_ex(class_array, (*pce)->name, (*pce)->name_length + 1, zclass); in add_extension_class()
[all …]
/PHP-5.4/ext/standard/
H A Dvar.c678 …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()
H A Dinfo.c203 static void php_print_gpcse_array(char *name, uint name_length TSRMLS_DC) in php_print_gpcse_array()
210 zend_is_auto_global(name, name_length TSRMLS_CC); in php_print_gpcse_array()
212 if (zend_hash_find(&EG(symbol_table), name, name_length+1, (void **) &data)!=FAILURE in php_print_gpcse_array()
/PHP-5.4/ext/com_dotnet/
H A Dcom_handlers.c450 *class_name = estrndup(obj->ce->name, obj->ce->name_length); in com_class_name_get()
451 *class_name_len = obj->ce->name_length; in com_class_name_get()

Completed in 158 milliseconds

12