Home
last modified time | relevance | path

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

12

/PHP-5.6/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.h179 class_container.name_length = _len; \
310 ZEND_API int zend_declare_property_null(zend_class_entry *ce, const char *name, int name_length, in…
317 ZEND_API int zend_declare_class_constant(zend_class_entry *ce, const char *name, size_t name_length
318 …_declare_class_constant_null(zend_class_entry *ce, const char *name, size_t name_length TSRMLS_DC);
333 …unset_property(zend_class_entry *scope, zval *object, const char *name, int name_length TSRMLS_DC);
336 …_update_static_property_null(zend_class_entry *scope, const char *name, int name_length TSRMLS_DC);
717 #define ZEND_SET_SYMBOL_WITH_LENGTH(symtable, name, name_length, var, _refcount, _is_ref) \ argument
721 if (zend_hash_find(symtable, (name), (name_length), (void **) &orig_var)==SUCCESS \
737 zend_hash_update(symtable, (name), (name_length), &(var), sizeof(zval *), NULL); \
745 #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()
3106 ptr += fcc->calling_scope->name_length; in zend_is_callable_ex()
3186 ptr += fcc->calling_scope->name_length; in zend_is_callable_ex()
3474 ulong h = zend_get_hash_value(name, name_length+1); in zend_declare_property_ex()
3523 property_info.name_length = priv_name_length; in zend_declare_property_ex()
3532 property_info.name_length = prot_name_length; in zend_declare_property_ex()
3539 …e = ce->type & ZEND_INTERNAL_CLASS ? zend_strndup(name, name_length) : estrndup(name, name_length); in zend_declare_property_ex()
3541 property_info.name_length = name_length; in zend_declare_property_ex()
3771 ZVAL_STRINGL(property, name, name_length, 1); in zend_update_property()
3795 ZVAL_STRINGL(property, name, name_length, 1); in zend_unset_property()
[all …]
H A Dzend_object_handlers.c377 EG(std_property_info).name_length = Z_STRLEN_P(member); in zend_get_property_info_quick()
427 info.name_length = Z_STRLEN_P(member); in zend_get_property_guard()
431 …zend_unmangle_property_name(property_info->name, property_info->name_length, &class_name, &prop_na… in zend_get_property_guard()
435 info.name_length = strlen(prop_name); in zend_get_property_guard()
436 info.h = zend_get_hash_value(info.name, info.name_length+1); in zend_get_property_guard()
647 …zend_hash_quick_update(zobj->properties, property_info->name, property_info->name_length+1, proper… in zend_std_write_property()
855 …d_hash_quick_del(zobj->properties, property_info->name, property_info->name_length+1, property_inf… in zend_std_unset_property()
1200 if (function_name_strlen == ce->name_length && ce->constructor) { in zend_std_get_static_method()
1201 lc_class_name = zend_str_tolower_dup(ce->name, ce->name_length); in zend_std_get_static_method()
1551 *class_name_len = ce->name_length; in zend_std_object_get_class_name()
[all …]
H A Dzend_constants.c231 const_name_len = sizeof("\0__CLASS__") + EG(scope)->name_length; in zend_get_special_constant()
234 …nd_str_tolower_copy(const_name + sizeof("\0__CLASS__")-1, EG(scope)->name, EG(scope)->name_length); in zend_get_special_constant()
238 Z_STRVAL((**c).value) = estrndup(EG(scope)->name, EG(scope)->name_length); in zend_get_special_constant()
239 Z_STRLEN((**c).value) = EG(scope)->name_length; in zend_get_special_constant()
H A Dzend_execute_API.c906 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
926 if (name == NULL || !name_length) { in zend_lookup_class_ex()
930 lc_free = lc_name = do_alloca(name_length + 1, use_heap); in zend_lookup_class_ex()
931 zend_str_tolower_copy(lc_name, name, name_length); in zend_lookup_class_ex()
932 lc_length = name_length + 1; in zend_lookup_class_ex()
960 …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()
984 ZVAL_STRINGL(class_name_ptr, name+1, name_length-1, 1); in zend_lookup_class_ex()
986 ZVAL_STRINGL(class_name_ptr, name, name_length, 1); in zend_lookup_class_ex()
1031 ZEND_API int zend_lookup_class(const char *name, int name_length, zend_class_entry ***ce TSRMLS_DC)… in zend_lookup_class() argument
1033 return zend_lookup_class_ex(name, name_length, NULL, 1, ce TSRMLS_CC); in zend_lookup_class()
H A Dzend_builtin_functions.c764 RETURN_STRINGL(EG(scope)->name, EG(scope)->name_length, 1); in ZEND_FUNCTION()
787 RETURN_STRINGL(EG(called_scope)->name, EG(called_scope)->name_length, 1); in ZEND_FUNCTION()
803 zend_uint name_length; in ZEND_FUNCTION() local
812 RETURN_STRINGL(ce->parent->name, ce->parent->name_length, 1); in ZEND_FUNCTION()
820 && Z_OBJ_HT_P(arg)->get_class_name(arg, &name, &name_length, 1 TSRMLS_CC) == SUCCESS) { in ZEND_FUNCTION()
821 RETURN_STRINGL(name, name_length, 0); in ZEND_FUNCTION()
834 RETURN_STRINGL(ce->parent->name, ce->parent->name_length, 1); in ZEND_FUNCTION()
1661 (ce->name_length != hash_key->nKeyLength - 1 || in copy_class_or_interface_name()
1662 !same_name(hash_key->arKey, ce->name, ce->name_length))) { in copy_class_or_interface_name()
1665 add_next_index_stringl(array, ce->name, ce->name_length, 1); in copy_class_or_interface_name()
H A Dzend_execute.h64 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 Dzend.h481 zend_uint name_length; member
553 int (*get_configuration_directive)(const char *name, uint name_length, zval *contents);
738 ZEND_API int zend_get_configuration_directive(const char *name, uint name_length, zval *contents);
H A Dzend_compile.c156 Z_STRLEN_P(result) = 1+name_length+strlen(filename)+char_pos_len; in build_runtime_defined_function_key()
3308 fe_class_name_len = proto->common.scope->name_length; in zend_do_perform_implementation_check()
3311 fe_class_name_len = fe->common.scope->name_length; in zend_do_perform_implementation_check()
3322 proto_class_name_len = proto->common.scope->name_length; in zend_do_perform_implementation_check()
3386 offset += fptr->common.scope->name_length; in zend_get_function_declaration()
3410 class_name_len = fptr->common.scope->name_length; in zend_get_function_declaration()
3413 class_name_len = fptr->common.scope->parent->name_length; in zend_get_function_declaration()
4008 } else if (ce->name_length + 1 == mname_len) { in zend_add_magic_methods()
4009 char *lowercase_name = emalloc(ce->name_length + 1); in zend_add_magic_methods()
4264 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.6/sapi/phpdbg/
H A Dphpdbg_utils.c324 PHPDBG_API const phpdbg_color_t *phpdbg_get_color(const char *name, size_t name_length TSRMLS_DC) /… in phpdbg_get_color()
329 if (name_length == color->name_length && in phpdbg_get_color()
330 memcmp(name, color->name, name_length) == SUCCESS) { in phpdbg_get_color()
332 "phpdbg_get_color(%s, %lu): %s", name, name_length, color->code); in phpdbg_get_color()
339 "phpdbg_get_color(%s, %lu): failed", name, name_length); in phpdbg_get_color()
349 PHPDBG_API void phpdbg_set_color_ex(int element, const char *name, size_t name_length TSRMLS_DC) /*… in phpdbg_set_color_ex()
351 const phpdbg_color_t *color = phpdbg_get_color(name, name_length TSRMLS_CC); in phpdbg_set_color_ex()
367 if (len == element->name_length) { in phpdbg_get_element()
H A Dphpdbg_utils.h102 size_t name_length; member
108 size_t name_length; member
112 PHPDBG_API const phpdbg_color_t *phpdbg_get_color(const char *name, size_t name_length TSRMLS_DC);
114 PHPDBG_API void phpdbg_set_color_ex(int element, const char *name, size_t name_length TSRMLS_DC);
/PHP-5.6/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.6/ext/snmp/
H A Dsnmp.c105 php_snmp_add_property((a), (b)[i].name, (b)[i].name_length, \
728 rootlen = objid_query->vars[0].name_length; in php_snmp_internal()
812 snprint_objid(buf, sizeof(buf), vars->name, vars->name_length); in php_snmp_internal()
844 ….name_length == vars->name_length && snmp_oid_compare(objid_query->vars[count].name, objid_query->… in php_snmp_internal()
861 while(count < vars->name_length){ in php_snmp_internal()
888 objid_query->vars[0].name_length = vars->name_length; in php_snmp_internal()
916 snprint_objid(buf, sizeof(buf), vars->name, vars->name_length); in php_snmp_internal()
1095 objid_query->vars[0].name_length = MAX_NAME_LEN; in php_snmp_parse_oid()
1104 objid_query->vars[0].name_length = sizeof(objid_mib) / sizeof(oid); in php_snmp_parse_oid()
1108 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.6/ext/dom/
H A Dphp_dom.c216 …return zend_hash_update(doc_props->classmap, basece->name, basece->name_length + 1, &ce, sizeof(ze… in dom_set_doc_classmap()
218 zend_hash_del(doc_props->classmap, basece->name, basece->name_length + 1); in dom_set_doc_classmap()
232 …if (zend_hash_find(doc_props->classmap, basece->name, basece->name_length + 1, (void**) &ce) == S… in dom_get_doc_classmap()
723 …zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_node_prop_handlers, sizeof(dom_node_prop… in PHP_MINIT_FUNCTION()
739 …zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_node_prop_handlers, sizeof(dom_node_prop… in PHP_MINIT_FUNCTION()
803 …zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_attr_prop_handlers, sizeof(dom_attr_prop… in PHP_MINIT_FUNCTION()
818 …zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_text_prop_handlers, sizeof(dom_text_prop… in PHP_MINIT_FUNCTION()
888 …zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_entity_prop_handlers, sizeof(dom_entity_… in PHP_MINIT_FUNCTION()
891 …zend_hash_add(&classes, ce.name, ce.name_length + 1, &dom_node_prop_handlers, sizeof(dom_entity_pr… in PHP_MINIT_FUNCTION()
910 …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.6/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.6/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()
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.6/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()
655 …zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_driver_properties, sizeof(mysqli_driv… in PHP_MINIT_FUNCTION()
663 …zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_link_properties, sizeof(mysqli_link_p… in PHP_MINIT_FUNCTION()
671 …zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_warning_properties, sizeof(mysqli_war… in PHP_MINIT_FUNCTION()
681 …zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_result_properties, sizeof(mysqli_resu… in PHP_MINIT_FUNCTION()
688 …zend_hash_add(&classes, ce->name, ce->name_length+1, &mysqli_stmt_properties, sizeof(mysqli_stmt_p… in PHP_MINIT_FUNCTION()
/PHP-5.6/ext/mysqlnd/
H A Dmysqlnd_result_meta.c184 field_packet->metadata->name_length + 1, in MYSQLND_METHOD()
191 field_packet->metadata->name_length + 1); in MYSQLND_METHOD()
/PHP-5.6/ext/opcache/
H A Dzend_persist_calc.c255 ADD_INTERNED_STRING(prop->name, prop->name_length + 1);
269 ADD_INTERNED_STRING(ce->name, ce->name_length + 1);
/PHP-5.6/ext/reflection/
H A Dphp_reflection.c1235 ZVAL_STRINGL(name, ce->name, ce->name_length, 1); in zend_reflection_class_factory()
1341 ZVAL_STRINGL(classname, method->common.scope->name, method->common.scope->name_length, 1); in reflection_method_factory()
1362 zend_unmangle_property_name(prop->name, prop->name_length, &class_name, &prop_name); in reflection_property_factory()
1384 ZVAL_STRINGL(classname, prop->ce->name, prop->ce->name_length, 1); in reflection_property_factory()
2816 ZVAL_STRINGL(classname, mptr->common.scope->name, mptr->common.scope->name_length, 1); in ZEND_METHOD()
3405 ZVAL_STRINGL(classname, (*ce)->name, (*ce)->name_length, 1); in reflection_class_object_ctor()
3938 property_info_tmp.name_length = name_len; in ZEND_METHOD()
4917 ZVAL_STRINGL(classname, property_info->ce->name, property_info->ce->name_length, 1); in ZEND_METHOD()
4920 ZVAL_STRINGL(classname, ce->name, ce->name_length, 1); in ZEND_METHOD()
4930 reference->prop.name_length = Z_STRLEN_P(propname); in ZEND_METHOD()
[all …]

Completed in 175 milliseconds

12