Searched refs:prop_name (Results 1 - 16 of 16) 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);
135 zend_string * spl_gen_private_prop_name(zend_class_entry *ce, char *prop_name, int prop_len TSRMLS_DC) /* {{{ */ argument
137 return zend_mangle_property_name(ce->name->val, ce->name->len, prop_name, prop_len, 0);
H A Dspl_functions.h46 #define REGISTER_SPL_PROPERTY(class_name, prop_name, prop_flags) \
47 spl_register_property(spl_ce_ ## class_name, prop_name, sizeof(prop_name)-1, prop_flags TSRMLS_CC);
56 void spl_register_property( zend_class_entry * class_entry, char *prop_name, int prop_name_len, int prop_flags TSRMLS_DC);
69 zend_string *spl_gen_private_prop_name(zend_class_entry *ce, char *prop_name, int prop_len TSRMLS_DC);
/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);
/PHP_TRUNK/Zend/
H A Dzend_object_handlers.c381 const char *prop_name; local
386 zend_unmangle_property_name_ex(prop_info_name, &class_name, &prop_name, &prop_name_len);
387 member = zend_string_init(prop_name, prop_name_len, 0);
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);
H A Dzend_compile.h500 #define zend_unmangle_property_name(mangled_property, class_name, prop_name) \
501 zend_unmangle_property_name_ex(mangled_property, class_name, prop_name, NULL)
502 ZEND_API int zend_unmangle_property_name_ex(const zend_string *name, const char **class_name, const char **prop_name, size_t *prop_len);
H A Dzend_compile.c1101 zend_string *prop_name = zend_string_alloc(prop_name_length, internal); local
1103 prop_name->val[0] = '\0';
1104 memcpy(prop_name->val + 1, src1, src1_length+1);
1105 memcpy(prop_name->val + 1 + src1_length + 1, src2, src2_length+1);
1106 return prop_name;
1118 ZEND_API int zend_unmangle_property_name_ex(const zend_string *name, const char **class_name, const char **prop_name, size_t *prop_len) /* {{{ */ argument
1125 *prop_name = name->val;
1133 *prop_name = name->val;
1143 *prop_name = name->val;
1151 *prop_name
[all...]
H A Dzend_inheritance.c1356 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
1362 if (zend_hash_exists(&ce->traits[i]->properties_info, prop_name)) {
1378 zend_string* prop_name; local
1397 prop_name = zend_string_copy(property_info->name);
1405 prop_name = zend_string_init(pname, pname_len, 0);
1409 if ((coliding_prop = zend_hash_find_ptr(&ce->properties_info, prop_name)) != NULL) {
1411 zend_hash_del(&ce->properties_info, prop_name);
1436 find_first_definition(ce, i, prop_name, coliding_prop->ce)->name->val,
1438 prop_name->val,
1443 find_first_definition(ce, i, prop_name, coliding_pro
[all...]
H A Dzend_builtin_functions.c1049 const char *prop_name, *class_name; local
1051 zend_unmangle_property_name_ex(key, &class_name, &prop_name, &prop_len);
1052 zend_hash_str_add_new(Z_ARRVAL_P(return_value), prop_name, prop_len, value); local
H A Dzend_vm_def.h4741 const char *class_name, *prop_name; variable
4744 p->key, &class_name, &prop_name, &prop_name_len);
4745 ZVAL_STRINGL(EX_VAR((opline+1)->result.var), prop_name, prop_name_len); variable
H A Dzend_vm_execute.h17022 const char *class_name, *prop_name; local
17025 p->key, &class_name, &prop_name, &prop_name_len);
17026 ZVAL_STRINGL(EX_VAR((opline+1)->result.var), prop_name, prop_name_len); local
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c1974 const char *prop_name; local
1979 zend_unmangle_property_name(str_key, &class_name, &prop_name);
1981 prop_name = str_key->val;
1983 if (prop_name) {
1984 xmlNodeSetName(property, BAD_CAST(prop_name));
/PHP_TRUNK/ext/standard/
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);
242 const char *prop_name, *class_name; local
247 zend_unmangle_property_name(key, &class_name, &prop_name);
252 php_printf("\"%s\":protected", prop_name);
254 php_printf("\"%s\":\"%s\":private", prop_name, class_name);
257 php_printf("\"%s\"", prop_name);
430 const char *class_name, *prop_name; local
[all...]
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);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_utils.c554 const char *prop_name, *class_name; local
555 int unmangle = zend_unmangle_property_name(key, &class_name, &prop_name);
558 phpdbg_xml(" name=\"%s\"", prop_name);
/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);
1303 const char *class_name, *prop_name; local
4807 const char *class_name, *prop_name; local
4961 const char *class_name, *prop_name; local
5037 const char *class_name, *prop_name; local
5058 const char *prop_name, *class_name; local
[all...]

Completed in 109 milliseconds