Lines Matching refs:ce

151 	zend_class_entry *ce;  in PHPDBG_PRINT()  local
153 if (phpdbg_safe_class_lookup(param->str, param->len, &ce) == SUCCESS) { in PHPDBG_PRINT()
155 (ce->type == ZEND_USER_CLASS) ? in PHPDBG_PRINT()
157 (ce->ce_flags & ZEND_ACC_INTERFACE) ? in PHPDBG_PRINT()
159 (ce->ce_flags & ZEND_ACC_ABSTRACT) ? in PHPDBG_PRINT()
162 ZSTR_VAL(ce->name), in PHPDBG_PRINT()
163 zend_hash_num_elements(&ce->function_table)); in PHPDBG_PRINT()
167 if (zend_hash_num_elements(&ce->function_table)) { in PHPDBG_PRINT()
170 ZEND_HASH_FOREACH_PTR(&ce->function_table, method) { in PHPDBG_PRINT()
185 zend_class_entry *ce; in PHPDBG_PRINT() local
187 if (phpdbg_safe_class_lookup(param->method.class, strlen(param->method.class), &ce) == SUCCESS) { in PHPDBG_PRINT()
192 if ((fbc = zend_hash_find_ptr(&ce->function_table, lcname))) { in PHPDBG_PRINT()
287 static void phpdbg_print_opcodes_method_ce(zend_class_entry *ce, const char *function) { in phpdbg_print_opcodes_method_ce() argument
290 if (ce->type != ZEND_USER_CLASS) { in phpdbg_print_opcodes_method_ce()
291 phpdbg_out("function name: %s::%s (internal)\n", ce->name->val, function); in phpdbg_print_opcodes_method_ce()
295 if (!(func = zend_hash_str_find_ptr(&ce->function_table, function, strlen(function)))) { in phpdbg_print_opcodes_method_ce()
299 phpdbg_out("function name: %s::%s\n", ce->name->val, function); in phpdbg_print_opcodes_method_ce()
304 zend_class_entry *ce; in phpdbg_print_opcodes_method() local
306 if (phpdbg_safe_class_lookup(class, strlen(class), &ce) != SUCCESS) { in phpdbg_print_opcodes_method()
308 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), rt_name, ce) { in phpdbg_print_opcodes_method()
309 if (ce->type == ZEND_USER_CLASS && *rt_name->val == '\0') { in phpdbg_print_opcodes_method()
310 …if (ce->name->len == strlen(class) && !zend_binary_strcasecmp(class, strlen(class), ce->name->val,… in phpdbg_print_opcodes_method()
311 phpdbg_print_opcodes_method_ce(ce, function); in phpdbg_print_opcodes_method()
319 phpdbg_print_opcodes_method_ce(ce, function); in phpdbg_print_opcodes_method()
322 static void phpdbg_print_opcodes_ce(zend_class_entry *ce) { in phpdbg_print_opcodes_ce() argument
328 (ce->type == ZEND_USER_CLASS) ? in phpdbg_print_opcodes_ce()
330 (ce->ce_flags & ZEND_ACC_INTERFACE) ? in phpdbg_print_opcodes_ce()
332 (ce->ce_flags & ZEND_ACC_ABSTRACT) ? in phpdbg_print_opcodes_ce()
335 ZSTR_VAL(ce->name)); in phpdbg_print_opcodes_ce()
337 if (ce->type != ZEND_USER_CLASS) { in phpdbg_print_opcodes_ce()
341 phpdbg_out("%d methods: ", zend_hash_num_elements(&ce->function_table)); in phpdbg_print_opcodes_ce()
342 ZEND_HASH_FOREACH_PTR(&ce->function_table, method) { in phpdbg_print_opcodes_ce()
355 ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->function_table, method_name, method) { in phpdbg_print_opcodes_ce()
362 zend_class_entry *ce; in phpdbg_print_opcodes_class() local
364 if (phpdbg_safe_class_lookup(class, strlen(class), &ce) != SUCCESS) { in phpdbg_print_opcodes_class()
366 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), rt_name, ce) { in phpdbg_print_opcodes_class()
367 if (ce->type == ZEND_USER_CLASS && *rt_name->val == '\0') { in phpdbg_print_opcodes_class()
368 …if (ce->name->len == strlen(class) && !zend_binary_strcasecmp(class, strlen(class), ce->name->val,… in phpdbg_print_opcodes_class()
369 phpdbg_print_opcodes_ce(ce); in phpdbg_print_opcodes_class()
377 phpdbg_print_opcodes_ce(ce); in phpdbg_print_opcodes_class()
388 zend_class_entry *ce; in phpdbg_print_opcodes() local
399 ZEND_HASH_FOREACH_PTR(EG(class_table), ce) { in phpdbg_print_opcodes()
400 if (ce->type == ZEND_USER_CLASS) { in phpdbg_print_opcodes()
402 phpdbg_print_opcodes_ce(ce); in phpdbg_print_opcodes()