Lines Matching refs:ce

149 	zend_class_entry *ce;  in PHPDBG_PRINT()  local
151 if (phpdbg_safe_class_lookup(param->str, param->len, &ce) == SUCCESS) { in PHPDBG_PRINT()
153 (ce->type == ZEND_USER_CLASS) ? in PHPDBG_PRINT()
155 (ce->ce_flags & ZEND_ACC_INTERFACE) ? in PHPDBG_PRINT()
157 (ce->ce_flags & ZEND_ACC_ABSTRACT) ? in PHPDBG_PRINT()
160 ZSTR_VAL(ce->name), in PHPDBG_PRINT()
161 zend_hash_num_elements(&ce->function_table)); in PHPDBG_PRINT()
165 if (zend_hash_num_elements(&ce->function_table)) { in PHPDBG_PRINT()
168 ZEND_HASH_FOREACH_PTR(&ce->function_table, method) { in PHPDBG_PRINT()
183 zend_class_entry *ce; in PHPDBG_PRINT() local
185 if (phpdbg_safe_class_lookup(param->method.class, strlen(param->method.class), &ce) == SUCCESS) { in PHPDBG_PRINT()
190 if ((fbc = zend_hash_find_ptr(&ce->function_table, lcname))) { in PHPDBG_PRINT()
285 static void phpdbg_print_opcodes_method_ce(zend_class_entry *ce, const char *function) { in phpdbg_print_opcodes_method_ce() argument
288 if (ce->type != ZEND_USER_CLASS) { in phpdbg_print_opcodes_method_ce()
289 phpdbg_out("function name: %s::%s (internal)\n", ce->name->val, function); in phpdbg_print_opcodes_method_ce()
293 if (!(func = zend_hash_str_find_ptr(&ce->function_table, function, strlen(function)))) { in phpdbg_print_opcodes_method_ce()
297 phpdbg_out("function name: %s::%s\n", ce->name->val, function); in phpdbg_print_opcodes_method_ce()
302 zend_class_entry *ce; in phpdbg_print_opcodes_method() local
304 if (phpdbg_safe_class_lookup(class, strlen(class), &ce) != SUCCESS) { in phpdbg_print_opcodes_method()
306 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), rt_name, ce) { in phpdbg_print_opcodes_method()
307 if (ce->type == ZEND_USER_CLASS && *rt_name->val == '\0') { in phpdbg_print_opcodes_method()
308 …if (ce->name->len == strlen(class) && !zend_binary_strcasecmp(class, strlen(class), ce->name->val,… in phpdbg_print_opcodes_method()
309 phpdbg_print_opcodes_method_ce(ce, function); in phpdbg_print_opcodes_method()
317 phpdbg_print_opcodes_method_ce(ce, function); in phpdbg_print_opcodes_method()
320 static void phpdbg_print_opcodes_ce(zend_class_entry *ce) { in phpdbg_print_opcodes_ce() argument
326 (ce->type == ZEND_USER_CLASS) ? in phpdbg_print_opcodes_ce()
328 (ce->ce_flags & ZEND_ACC_INTERFACE) ? in phpdbg_print_opcodes_ce()
330 (ce->ce_flags & ZEND_ACC_ABSTRACT) ? in phpdbg_print_opcodes_ce()
333 ZSTR_VAL(ce->name)); in phpdbg_print_opcodes_ce()
335 if (ce->type != ZEND_USER_CLASS) { in phpdbg_print_opcodes_ce()
339 phpdbg_out("%d methods: ", zend_hash_num_elements(&ce->function_table)); in phpdbg_print_opcodes_ce()
340 ZEND_HASH_FOREACH_PTR(&ce->function_table, method) { in phpdbg_print_opcodes_ce()
353 ZEND_HASH_FOREACH_STR_KEY_PTR(&ce->function_table, method_name, method) { in phpdbg_print_opcodes_ce()
360 zend_class_entry *ce; in phpdbg_print_opcodes_class() local
362 if (phpdbg_safe_class_lookup(class, strlen(class), &ce) != SUCCESS) { in phpdbg_print_opcodes_class()
364 ZEND_HASH_FOREACH_STR_KEY_PTR(EG(class_table), rt_name, ce) { in phpdbg_print_opcodes_class()
365 if (ce->type == ZEND_USER_CLASS && *rt_name->val == '\0') { in phpdbg_print_opcodes_class()
366 …if (ce->name->len == strlen(class) && !zend_binary_strcasecmp(class, strlen(class), ce->name->val,… in phpdbg_print_opcodes_class()
367 phpdbg_print_opcodes_ce(ce); in phpdbg_print_opcodes_class()
375 phpdbg_print_opcodes_ce(ce); in phpdbg_print_opcodes_class()
386 zend_class_entry *ce; in phpdbg_print_opcodes() local
397 ZEND_HASH_FOREACH_PTR(EG(class_table), ce) { in phpdbg_print_opcodes()
398 if (ce->type == ZEND_USER_CLASS) { in phpdbg_print_opcodes()
400 phpdbg_print_opcodes_ce(ce); in phpdbg_print_opcodes()