Searched defs:prop_name (Results 1 - 12 of 12) sorted by relevance

/PHP_TRUNK/ext/spl/
H A Dspl_functions.c73 void spl_register_property( zend_class_entry * class_entry, char *prop_name, int prop_name_len, int prop_flags TSRMLS_DC) argument
75 zend_declare_property_null(class_entry, prop_name, prop_name_len, prop_flags TSRMLS_CC);
136 zend_string * spl_gen_private_prop_name(zend_class_entry *ce, char *prop_name, int prop_len TSRMLS_DC) /* {{{ */ argument
138 return zend_mangle_property_name(ce->name->val, ce->name->len, prop_name, prop_len, 0);
/PHP_TRUNK/Zend/
H A Dzend_builtin_functions.c1071 const char *prop_name, *class_name; local
1073 zend_unmangle_property_name_ex(key, &class_name, &prop_name, &prop_len);
1074 zend_hash_str_add_new(Z_ARRVAL_P(return_value), prop_name, prop_len, value); local
H A Dzend_object_handlers.c398 const char *prop_name; local
403 zend_unmangle_property_name_ex(prop_info_name, &class_name, &prop_name, &prop_name_len);
404 member = zend_string_init(prop_name, prop_name_len, 0);
436 const char *class_name = NULL, *prop_name = NULL; local
439 &prop_name, &prop_name_len);
442 str = info.name = zend_string_init(prop_name, prop_name_len, 0);
H A Dzend_compile.c2259 static zend_class_entry* find_first_definition(zend_class_entry *ce, size_t current_trait, zend_string *prop_name, zend_class_entry *coliding_ce) /* {{{ */ argument
2265 if (zend_hash_exists(&ce->traits[i]->properties_info, prop_name)) {
2281 zend_string* prop_name; local
2300 prop_name = zend_string_copy(property_info->name);
2308 prop_name = zend_string_init(pname, pname_len, 0);
2312 if ((coliding_prop = zend_hash_find_ptr(&ce->properties_info, prop_name)) != NULL) {
2314 zend_hash_del(&ce->properties_info, prop_name);
2339 find_first_definition(ce, i, prop_name, coliding_prop->ce)->name->val,
2341 prop_name->val,
2346 find_first_definition(ce, i, prop_name, coliding_pro
2674 zend_string *prop_name = zend_string_alloc(prop_name_length, internal); local
2691 zend_unmangle_property_name_ex(const zend_string *name, const char **class_name, const char **prop_name, size_t *prop_len) argument
[all...]
H A Dzend_vm_def.h4806 const char *class_name, *prop_name; variable
4809 p->key, &class_name, &prop_name, &prop_name_len);
4810 ZVAL_STRINGL(EX_VAR((opline+1)->result.var), prop_name, prop_name_len); variable
H A Dzend_vm_execute.h16766 const char *class_name, *prop_name; local
16769 p->key, &class_name, &prop_name, &prop_name_len);
16770 ZVAL_STRINGL(EX_VAR((opline+1)->result.var), prop_name, prop_name_len); local
[all...]
H A Dzend.c158 const char *prop_name, *class_name; local
160 int mangled = zend_unmangle_property_name_ex(string_key, &class_name, &prop_name, &prop_len);
162 ZEND_WRITE_EX(prop_name, prop_len);
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c351 static void _property_string(string *str, zend_property_info *prop, char *prop_name, char* indent TSRMLS_DC);
567 zend_string *prop_name; local
570 if (zend_hash_get_current_key_ex(properties, &prop_name, &index, 0, &pos) == HASH_KEY_IS_STRING) {
571 if (prop_name->len && prop_name->val[0]) { /* skip all private and protected properties */
572 if (!zend_hash_exists(&ce->properties_info, prop_name)) {
574 _property_string(&dyn, NULL, prop_name->val, sub_indent.buf->val TSRMLS_CC);
912 static void _property_string(string *str, zend_property_info *prop, char *prop_name, char* indent TSRMLS_DC) argument
918 string_printf(str, "<dynamic> public $%s", prop_name);
944 zend_unmangle_property_name(prop->name, &class_name, (const char**)&prop_name);
1300 const char *class_name, *prop_name; local
4799 const char *class_name, *prop_name; local
4953 const char *class_name, *prop_name; local
5029 const char *class_name, *prop_name; local
5050 const char *prop_name, *class_name; local
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c1982 const char *prop_name; local
1987 zend_unmangle_property_name(str_key, &class_name, &prop_name);
1989 prop_name = str_key->val;
1991 if (prop_name) {
1992 xmlNodeSetName(property, BAD_CAST(prop_name));
/PHP_TRUNK/ext/standard/
H A Dhttp.c36 const char *prop_name; local
69 zend_unmangle_property_name_ex(key, &tmp, &prop_name, &prop_len);
71 prop_name = key->val;
75 prop_name = NULL;
83 ekey = php_raw_url_encode(prop_name, prop_len);
85 ekey = php_url_encode(prop_name, prop_len);
158 ekey = php_raw_url_encode(prop_name, prop_len);
160 ekey = php_url_encode(prop_name, prop_len);
H A Dvar.c72 const char *prop_name, *class_name; local
77 int unmangle = zend_unmangle_property_name(key, &class_name, &prop_name);
82 php_printf("\"%s\":protected", prop_name);
84 php_printf("\"%s\":\"%s\":private", prop_name, class_name);
245 const char *prop_name, *class_name; local
250 zend_unmangle_property_name(key, &class_name, &prop_name);
255 php_printf("\"%s\":protected", prop_name);
257 php_printf("\"%s\":\"%s\":private", prop_name, class_name);
260 php_printf("\"%s\"", prop_name);
433 const char *class_name, *prop_name; local
[all...]
/PHP_TRUNK/ext/wddx/
H A Dwddx.c507 const char *class_name, *prop_name; local
511 zend_unmangle_property_name_ex(key, &class_name, &prop_name, &prop_name_len);
512 tmp = zend_string_init(prop_name, prop_name_len, 0);

Completed in 109 milliseconds