Lines Matching refs:name_length
230 PHPDBG_API const phpdbg_color_t *phpdbg_get_color(const char *name, size_t name_length) /* {{{ */ in phpdbg_get_color() argument
235 if (name_length == color->name_length && in phpdbg_get_color()
236 memcmp(name, color->name, name_length) == SUCCESS) { in phpdbg_get_color()
237 phpdbg_debug("phpdbg_get_color(%s, %lu): %s", name, name_length, color->code); in phpdbg_get_color()
243 phpdbg_debug("phpdbg_get_color(%s, %lu): failed", name, name_length); in phpdbg_get_color()
253 PHPDBG_API void phpdbg_set_color_ex(int element, const char *name, size_t name_length) /* {{{ */ in phpdbg_set_color_ex() argument
255 const phpdbg_color_t *color = phpdbg_get_color(name, name_length); in phpdbg_set_color_ex()
271 if (len == element->name_length) { in phpdbg_get_element()
381 int phpdbg_safe_class_lookup(const char *name, int name_length, zend_class_entry **ce) { in phpdbg_safe_class_lookup() argument
386 if (name == NULL || !name_length) { in phpdbg_safe_class_lookup()
390 lc_free = lc_name = emalloc(name_length + 1); in phpdbg_safe_class_lookup()
391 zend_str_tolower_copy(lc_name, name, name_length); in phpdbg_safe_class_lookup()
392 lc_length = name_length + 1; in phpdbg_safe_class_lookup()
402 …gnalsegv", "class=\"%.*s\"", "Could not fetch class %.*s, invalid data source", name_length, name); in phpdbg_safe_class_lookup()
407 zend_string *str_name = zend_string_init(name, name_length, 0); in phpdbg_safe_class_lookup()