Lines Matching refs:ce

124 	zend_class_entry *ce;  in PHPDBG_PRINT()  local
126 if (phpdbg_safe_class_lookup(param->str, param->len, &ce) == SUCCESS) { in PHPDBG_PRINT()
128 (ce->type == ZEND_USER_CLASS) ? in PHPDBG_PRINT()
130 (ce->ce_flags & ZEND_ACC_INTERFACE) ? in PHPDBG_PRINT()
132 (ce->ce_flags & ZEND_ACC_ABSTRACT) ? in PHPDBG_PRINT()
135 ZSTR_VAL(ce->name), in PHPDBG_PRINT()
136 zend_hash_num_elements(&ce->function_table)); in PHPDBG_PRINT()
138 if (zend_hash_num_elements(&ce->function_table)) { in PHPDBG_PRINT()
141 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, method) { in PHPDBG_PRINT()
154 zend_class_entry *ce; in PHPDBG_PRINT() local
156 if (phpdbg_safe_class_lookup(param->method.class, strlen(param->method.class), &ce) == SUCCESS) { in PHPDBG_PRINT()
161 if ((fbc = zend_hash_find_ptr(&ce->function_table, lcname))) { in PHPDBG_PRINT()
246 static void phpdbg_print_opcodes_method_ce(zend_class_entry *ce, const char *function) { in phpdbg_print_opcodes_method_ce() argument
249 if (ce->type != ZEND_USER_CLASS) { in phpdbg_print_opcodes_method_ce()
250 phpdbg_out("function name: %s::%s (internal)\n", ce->name->val, function); in phpdbg_print_opcodes_method_ce()
254 if (!(func = zend_hash_str_find_ptr(&ce->function_table, function, strlen(function)))) { in phpdbg_print_opcodes_method_ce()
255 phpdbg_error("The method %s::%s could not be found", ZSTR_VAL(ce->name), function); in phpdbg_print_opcodes_method_ce()
263 zend_class_entry *ce; in phpdbg_print_opcodes_method() local
265 if (phpdbg_safe_class_lookup(class, strlen(class), &ce) != SUCCESS) { in phpdbg_print_opcodes_method()
270 phpdbg_print_opcodes_method_ce(ce, function); in phpdbg_print_opcodes_method()
273 static void phpdbg_print_opcodes_ce(zend_class_entry *ce) { in phpdbg_print_opcodes_ce() argument
278 (ce->type == ZEND_USER_CLASS) ? in phpdbg_print_opcodes_ce()
280 (ce->ce_flags & ZEND_ACC_INTERFACE) ? in phpdbg_print_opcodes_ce()
282 (ce->ce_flags & ZEND_ACC_ABSTRACT) ? in phpdbg_print_opcodes_ce()
285 ZSTR_VAL(ce->name)); in phpdbg_print_opcodes_ce()
287 if (ce->type != ZEND_USER_CLASS) { in phpdbg_print_opcodes_ce()
291 phpdbg_out("%d methods: ", zend_hash_num_elements(&ce->function_table)); in phpdbg_print_opcodes_ce()
292 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, method) { in phpdbg_print_opcodes_ce()
305 ZEND_HASH_MAP_FOREACH_PTR(&ce->function_table, method) { in phpdbg_print_opcodes_ce()
311 zend_class_entry *ce; in phpdbg_print_opcodes_class() local
313 if (phpdbg_safe_class_lookup(class, strlen(class), &ce) != SUCCESS) { in phpdbg_print_opcodes_class()
318 phpdbg_print_opcodes_ce(ce); in phpdbg_print_opcodes_class()
329 zend_class_entry *ce; in phpdbg_print_opcodes() local
339 ZEND_HASH_MAP_FOREACH_PTR(EG(class_table), ce) { in phpdbg_print_opcodes()
340 if (ce->type == ZEND_USER_CLASS) { in phpdbg_print_opcodes()
342 phpdbg_print_opcodes_ce(ce); in phpdbg_print_opcodes()