Searched defs:class_name (Results 1 - 25 of 35) sorted by relevance

12

/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.c72 efree((char*)bp->class_name);
85 if (bp->class_name) {
86 efree((char*)bp->class_name);
152 ((phpdbg_breakmethod_t*)brake)->class_name,
159 ((phpdbg_breakopline_t*)brake)->class_name,
174 ((phpdbg_breakopline_t*)brake)->class_name,
297 PHPDBG_API void phpdbg_set_breakpoint_method(const char *class_name, const char *func_name TSRMLS_DC) /* {{{ */ argument
300 size_t class_len = strlen(class_name);
304 if (zend_hash_find(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD], class_name,
309 class_name, class_le
1372 char *class_name = NULL; local
1451 char *class_name = NULL, *method_name = NULL; local
[all...]
H A Dphpdbg_bp.h59 phpdbg_breakbase(class_name);
71 const char *class_name; member in struct:_phpdbg_breakopline_t
114 PHPDBG_API void phpdbg_set_breakpoint_method(const char* class_name, const char* func_name TSRMLS_DC);
H A Dphpdbg_cmd.c74 char *class_name, *func_name; local
91 } else if (phpdbg_is_class_method(str, len+1, &class_name, &func_name)) {
92 param->method.class = class_name;
120 if (phpdbg_is_class_method(str, line_pos - str, &class_name, &func_name)) {
121 param->method.class = class_name;
/PHP_TRUNK/Zend/
H A Dzend.c158 const char *prop_name, *class_name; local
160 int mangled = zend_unmangle_property_name_ex(string_key->val, string_key->len, &class_name, &prop_name, &prop_len);
163 if (class_name && mangled == SUCCESS) {
164 if (class_name[0]=='*') {
168 ZEND_PUTS_EX(class_name);
335 zend_string *class_name = NULL; local
338 class_name = Z_OBJ_HANDLER_P(expr, get_class_name)(Z_OBJ_P(expr), 0 TSRMLS_CC);
340 if (class_name) {
341 zend_printf("%s Object (", class_name->val);
345 if (class_name) {
396 zend_string *class_name = NULL; local
[all...]
H A Dzend_builtin_functions.c145 ZEND_ARG_INFO(0, class_name)
150 ZEND_ARG_INFO(0, class_name)
887 zend_string *class_name; local
894 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zS|b", &obj, &class_name, &allow_string) == FAILURE) {
900 Z_PARAM_STR(class_name)
923 ce = zend_lookup_class_ex(class_name, NULL, 0 TSRMLS_CC);
938 /* {{{ proto bool is_subclass_of(mixed object_or_string, string class_name [, bool allow_string=true])
947 /* {{{ proto bool is_a(mixed object_or_string, string class_name [, bool allow_string=false])
1004 /* {{{ proto array get_class_vars(string class_name)
1008 zend_string *class_name; local
1036 const char *prop_name, *class_name; local
1268 zend_string *class_name; local
1439 zend_string *class_name; local
2113 zend_string *class_name = NULL; local
2301 zend_string *class_name; local
[all...]
H A Dzend_closures.c93 zend_string *class_name = zval_get_string(scope_arg); local
94 if ((class_name->len == sizeof("static") - 1) &&
95 (memcmp("static", class_name->val, sizeof("static") - 1) == 0)) {
97 } else if ((ce = zend_lookup_class_ex(class_name, NULL, 1 TSRMLS_CC)) == NULL) {
98 zend_error(E_WARNING, "Class '%s' not found", class_name->val);
99 STR_RELEASE(class_name);
102 STR_RELEASE(class_name);
H A Dzend_constants.c331 zend_string *class_name; local
351 class_name = STR_INIT(name, class_name_len, 0);
386 ce = zend_fetch_class(class_name, flags TSRMLS_CC);
393 zend_error(E_ERROR, "Undefined class constant '%s::%s'", class_name->val, constant_name->val);
399 STR_RELEASE(class_name);
H A Dzend_exceptions.c495 zend_string *class_name; local
499 class_name = zend_get_object_classname(Z_OBJ_P(arg) TSRMLS_CC);
501 TRACE_APPEND_STRL(class_name->val, class_name->len);
H A Dzend_execute.c528 ZEND_API char * zend_verify_arg_class_kind(const zend_arg_info *cur_arg_info, ulong fetch_type, char **class_name, zend_class_entry **pce TSRMLS_DC) argument
533 STR_ALLOCA_INIT(key, cur_arg_info->class_name, cur_arg_info->class_name_len, use_heap);
537 *class_name = (*pce) ? (*pce)->name->val : (char*)cur_arg_info->class_name;
595 if (cur_arg_info->class_name) {
596 char *class_name; local
600 need_msg = zend_verify_arg_class_kind(cur_arg_info, fetch_type, &class_name, &ce TSRMLS_CC);
602 zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, need_msg, class_name, "instance of ", Z_OBJCE_P(arg)->name->val, arg TSRMLS_CC);
605 need_msg = zend_verify_arg_class_kind(cur_arg_info, fetch_type, &class_name, &ce TSRMLS_CC);
606 zend_verify_arg_error(E_RECOVERABLE_ERROR, zf, arg_num, need_msg, class_name, zend_zval_type_nam
645 char *class_name; local
667 const char *class_name = EX(func)->common.scope ? EX(func)->common.scope->name->val : ""; local
[all...]
H A Dzend_language_parser.y902 | class_name T_PAAMAYIM_NEKUDOTAYIM variable_name { $$.u.op.opline_num = zend_do_begin_class_member_function_call(&$1, &$3 TSRMLS_CC); }
904 | class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects { zend_do_end_variable_parse(&$3, BP_VAR_R, 0 TSRMLS_CC); zend_do_begin_class_member_function_call(&$1, &$3 TSRMLS_CC); }
914 class_name: label
930 class_name { zend_do_fetch_class(&$$, &$1 TSRMLS_CC); }
988 class_name T_PAAMAYIM_NEKUDOTAYIM T_STRING { zend_do_fetch_constant(&$$, &$1, &$3, ZEND_CT, 0 TSRMLS_CC); }
1143 class_name T_PAAMAYIM_NEKUDOTAYIM variable_without_objects { $$ = $3; zend_do_fetch_static_member(&$$, &$1 TSRMLS_CC); }
1287 class_name T_PAAMAYIM_NEKUDOTAYIM T_STRING { zend_do_fetch_constant(&$$, &$1, &$3, ZEND_RT, 0 TSRMLS_CC); }
1292 class_name T_PAAMAYIM_NEKUDOTAYIM T_CLASS { zend_do_resolve_class_name(&$$, &$1, 1 TSRMLS_CC); }
1296 class_name T_PAAMAYIM_NEKUDOTAYIM T_CLASS { zend_do_resolve_class_name(&$$, &$1, 0 TSRMLS_CC); }
H A Dzend_list.c114 const char *class_name; local
119 class_name = get_active_class_name(&space TSRMLS_CC);
120 zend_error(E_WARNING, "%s%s%s(): no %s resource supplied", class_name, space, get_active_function_name(TSRMLS_C), resource_type_name);
125 class_name = get_active_class_name(&space TSRMLS_CC);
126 zend_error(E_WARNING, "%s%s%s(): supplied argument is not a valid %s resource", class_name, space, get_active_function_name(TSRMLS_C), resource_type_name);
134 class_name = get_active_class_name(&space TSRMLS_CC);
135 zend_error(E_WARNING, "%s%s%s(): %d is not a valid %s resource", class_name, space, get_active_function_name(TSRMLS_C), default_id, resource_type_name);
156 class_name = get_active_class_name(&space TSRMLS_CC);
157 zend_error(E_WARNING, "%s%s%s(): supplied resource is not a valid %s resource", class_name, space, get_active_function_name(TSRMLS_C), resource_type_name);
H A Dzend_object_handlers.c397 const char *class_name = NULL; local
403 zend_unmangle_property_name_ex(prop_info_name->val, prop_info_name->len, &class_name, &prop_name, &prop_name_len);
413 if (class_name && class_name[0] != '*') {
436 const char *class_name = NULL, *prop_name = NULL; local
437 zend_unmangle_property_name(property_info->name->val, property_info->name->len, &class_name, &prop_name);
438 if (class_name) {
/PHP_TRUNK/ext/mysql/
H A Dphp_mysql.c209 ZEND_ARG_INFO(0, class_name)
2080 zend_string *class_name = NULL; local
2082 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|Sz", &res, &class_name, &ctor_params) == FAILURE) {
2089 ce = zend_fetch_class(class_name, ZEND_FETCH_CLASS_AUTO TSRMLS_CC);
2092 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not find class '%s'", class_name->val);
2241 /* {{{ proto object mysql_fetch_object(resource result [, string class_name [, NULL|array ctor_params]])
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c55 ZEND_ARG_INFO(0, class_name)
65 ZEND_ARG_INFO(0, class_name)
1295 /* {{{ proto mixed PDOStatement::fetchObject([string class_name [, NULL|array ctor_args]])
1302 zend_string *class_name = NULL; local
1309 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|S!a", &class_name, &ctor_args)) {
1332 if (class_name && !error) {
1333 stmt->fetch.cls.ce = zend_fetch_class(class_name, ZEND_FETCH_CLASS_AUTO TSRMLS_CC);
1382 /* {{{ proto array PDOStatement::fetchAll([int $how = PDO_FETCH_BOTH [, string class_name [, NULL|array ctor_args]]])
/PHP_TRUNK/ext/readline/
H A Dreadline_cli.c527 zend_string *class_name; local
533 class_name = STR_ALLOC(class_name_len, 0);
534 zend_str_tolower_copy(class_name->val, text, class_name_len);
535 if ((ce = zend_lookup_class(class_name TSRMLS_CC)) == NULL) {
536 STR_RELEASE(class_name);
567 STR_RELEASE(class_name);
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c1986 const char *class_name; local
1988 zend_unmangle_property_name(str_key->val, str_key->len, &class_name, &prop_name);
/PHP_TRUNK/ext/spl/
H A Dspl_functions.c31 void spl_register_interface(zend_class_entry ** ppce, char * class_name, const zend_function_entry * functions TSRMLS_DC) argument
35 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), functions);
41 PHPAPI void spl_register_std_class(zend_class_entry ** ppce, char * class_name, void * obj_ctor, const zend_function_entry * function_list TSRMLS_DC) argument
45 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), function_list);
56 PHPAPI void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char * class_name, void *obj_ctor, const zend_function_entry * function_list TSRMLS_DC) argument
60 INIT_CLASS_ENTRY_EX(ce, class_name, strlen(class_name), function_list);
H A Dspl_iterators.c1494 zend_string *class_name; local
1496 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O|S", &zobject, ce_inner, &class_name) == FAILURE) {
1503 if (!(ce_cast = zend_lookup_class(class_name TSRMLS_CC))
H A Dphp_spl.c177 #define SPL_ADD_CLASS(class_name, z_list, sub, allow, ce_flags) \
178 spl_add_classes(spl_ce_ ## class_name, z_list, sub, allow, ce_flags TSRMLS_CC)
248 static int spl_autoload(zend_string *class_name, zend_string *lc_name, const char *ext, int ext_len TSRMLS_DC) /* {{{ */ argument
306 /* {{{ proto void spl_autoload(string class_name [, string file_extensions])
312 zend_string *class_name, *lc_name, *file_exts = SPL_G(autoload_extensions); local
314 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "S|S", &class_name, &file_exts) == FAILURE) {
326 lc_name = STR_ALLOC(class_name->len, 0);
327 zend_str_tolower_copy(lc_name->val, class_name->val, class_name->len);
335 if (spl_autoload(class_name, lc_nam
409 zval *class_name, *retval = NULL; local
423 zend_call_method(Z_ISUNDEF(alfi->obj)? NULL : &alfi->obj, alfi->ce, &alfi->func_ptr, func_name->val, func_name->len, retval, 1, class_name, NULL TSRMLS_CC); local
[all...]
/PHP_TRUNK/ext/standard/
H A Dincomplete_class.c39 zend_string *class_name; local
41 class_name = php_lookup_class_name(object);
43 if (class_name) {
44 php_error_docref(NULL TSRMLS_CC, error_type, INCOMPLETE_CLASS_MSG, class_name->val);
45 STR_RELEASE(class_name);
H A Dvar.c72 const char *prop_name, *class_name; local
77 int unmangle = zend_unmangle_property_name(key->val, key->len, &class_name, &prop_name);
80 if (class_name && unmangle == SUCCESS) {
81 if (class_name[0] == '*') {
84 php_printf("\"%s\":\"%s\":private", prop_name, class_name);
100 zend_string *class_name; local
167 class_name = Z_OBJ_HANDLER_P(struc, get_class_name)(Z_OBJ_P(struc), 0 TSRMLS_CC);
168 php_printf("%sobject(%s)#%d (%d) {\n", COMMON, class_name->val, Z_OBJ_HANDLE_P(struc), myht ? zend_obj_num_elements(myht) : 0);
169 STR_RELEASE(class_name);
245 const char *prop_name, *class_name; local
271 zend_string *class_name; local
433 const char *class_name; /* ignored, but must be passed to unmangle */ local
460 zend_string *class_name; local
[all...]
H A Dvar_unserializer.c630 zend_string *class_name; local
672 class_name = STR_INIT(str, len, 0);
677 ce = zend_lookup_class(class_name TSRMLS_CC);
681 STR_RELEASE(class_name);
689 STR_RELEASE(class_name);
703 ZVAL_STR(&args[0], STR_COPY(class_name));
708 STR_RELEASE(class_name);
723 STR_RELEASE(class_name);
730 if ((ce = zend_lookup_class(class_name TSRMLS_CC)) == NULL) {
749 php_store_class_name(rval, class_name
[all...]
/PHP_TRUNK/ext/wddx/
H A Dwddx.c465 php_wddx_add_chunk_ex(packet, class_name->val, class_name->len);
495 php_wddx_add_chunk_ex(packet, class_name->val, class_name->len);
507 const char *class_name, *prop_name; local
510 zend_unmangle_property_name(key->val, key->len, &class_name, &prop_name);
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dcompact_literals.c385 zval *class_name = &op_array->literals[(info[i].u.num < i) ? map[info[i].u.num] : info[i].u.num]; local
386 key_len = Z_STRLEN_P(class_name) + sizeof("::") + Z_STRLEN(op_array->literals[i]);
388 memcpy(key->val, Z_STRVAL_P(class_name), Z_STRLEN_P(class_name));
389 memcpy(key->val + Z_STRLEN_P(class_name), "::", sizeof("::") - 1);
390 memcpy(key->val + Z_STRLEN_P(class_name) + sizeof("::") - 1,
/PHP_TRUNK/ext/mysqli/
H A Dmysqli.c1246 zend_string *class_name = NULL; local
1248 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O|Sz", &mysql_result, mysqli_result_class_entry, &class_name, &ctor_params) == FAILURE) {
1251 if (class_name == NULL) {
1254 ce = zend_fetch_class(class_name, ZEND_FETCH_CLASS_AUTO TSRMLS_CC);
1257 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not find class '%s'", class_name->val);

Completed in 54 milliseconds

12