Lines Matching refs:ce
126 zend_class_entry *ce; in PHPDBG_PRINT() local
128 if (phpdbg_safe_class_lookup(param->str, param->len, &ce) == SUCCESS) { in PHPDBG_PRINT()
130 (ce->type == ZEND_USER_CLASS) ? in PHPDBG_PRINT()
132 (ce->ce_flags & ZEND_ACC_INTERFACE) ? in PHPDBG_PRINT()
134 (ce->ce_flags & ZEND_ACC_ABSTRACT) ? in PHPDBG_PRINT()
137 ZSTR_VAL(ce->name), in PHPDBG_PRINT()
138 zend_hash_num_elements(&ce->function_table)); in PHPDBG_PRINT()
140 if (zend_hash_num_elements(&ce->function_table)) { in PHPDBG_PRINT()
143 ZEND_HASH_FOREACH_PTR(&ce->function_table, method) { in PHPDBG_PRINT()
156 zend_class_entry *ce; in PHPDBG_PRINT() local
158 if (phpdbg_safe_class_lookup(param->method.class, strlen(param->method.class), &ce) == SUCCESS) { in PHPDBG_PRINT()
163 if ((fbc = zend_hash_find_ptr(&ce->function_table, lcname))) { in PHPDBG_PRINT()
248 static void phpdbg_print_opcodes_method_ce(zend_class_entry *ce, const char *function) { in phpdbg_print_opcodes_method_ce() argument
251 if (ce->type != ZEND_USER_CLASS) { in phpdbg_print_opcodes_method_ce()
252 phpdbg_out("function name: %s::%s (internal)\n", ce->name->val, function); in phpdbg_print_opcodes_method_ce()
256 if (!(func = zend_hash_str_find_ptr(&ce->function_table, function, strlen(function)))) { in phpdbg_print_opcodes_method_ce()
257 phpdbg_error("The method %s::%s could not be found", ZSTR_VAL(ce->name), function); in phpdbg_print_opcodes_method_ce()
265 zend_class_entry *ce; in phpdbg_print_opcodes_method() local
267 if (phpdbg_safe_class_lookup(class, strlen(class), &ce) != SUCCESS) { in phpdbg_print_opcodes_method()
272 phpdbg_print_opcodes_method_ce(ce, function); in phpdbg_print_opcodes_method()
275 static void phpdbg_print_opcodes_ce(zend_class_entry *ce) { in phpdbg_print_opcodes_ce() argument
280 (ce->type == ZEND_USER_CLASS) ? in phpdbg_print_opcodes_ce()
282 (ce->ce_flags & ZEND_ACC_INTERFACE) ? in phpdbg_print_opcodes_ce()
284 (ce->ce_flags & ZEND_ACC_ABSTRACT) ? in phpdbg_print_opcodes_ce()
287 ZSTR_VAL(ce->name)); in phpdbg_print_opcodes_ce()
289 if (ce->type != ZEND_USER_CLASS) { in phpdbg_print_opcodes_ce()
293 phpdbg_out("%d methods: ", zend_hash_num_elements(&ce->function_table)); in phpdbg_print_opcodes_ce()
294 ZEND_HASH_FOREACH_PTR(&ce->function_table, method) { in phpdbg_print_opcodes_ce()
307 ZEND_HASH_FOREACH_PTR(&ce->function_table, method) { in phpdbg_print_opcodes_ce()
313 zend_class_entry *ce; in phpdbg_print_opcodes_class() local
315 if (phpdbg_safe_class_lookup(class, strlen(class), &ce) != SUCCESS) { in phpdbg_print_opcodes_class()
320 phpdbg_print_opcodes_ce(ce); in phpdbg_print_opcodes_class()
331 zend_class_entry *ce; in phpdbg_print_opcodes() local
341 ZEND_HASH_FOREACH_PTR(EG(class_table), ce) { in phpdbg_print_opcodes()
342 if (ce->type == ZEND_USER_CLASS) { in phpdbg_print_opcodes()
344 phpdbg_print_opcodes_ce(ce); in phpdbg_print_opcodes()