Lines Matching refs:lcname
252 char *lcname = do_alloca(name_len + 1, use_heap); in zend_get_constant_str_impl() local
253 zend_str_tolower_copy(lcname, name, name_len); in zend_get_constant_str_impl()
254 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, name_len)) != NULL) { in zend_get_constant_str_impl()
261 free_alloca(lcname, use_heap); in zend_get_constant_str_impl()
281 char *lcname = do_alloca(ZSTR_LEN(name) + 1, use_heap); in zend_get_constant_impl() local
282 zend_str_tolower_copy(lcname, ZSTR_VAL(name), ZSTR_LEN(name)); in zend_get_constant_impl()
283 zv = zend_hash_str_find(EG(zend_constants), lcname, ZSTR_LEN(name)); in zend_get_constant_impl()
292 free_alloca(lcname, use_heap); in zend_get_constant_impl()
420 char *lcname; in zend_get_constant_ex() local
425 lcname = do_alloca(lcname_len + 1, use_heap); in zend_get_constant_ex()
426 zend_str_tolower_copy(lcname, name, prefix_len); in zend_get_constant_ex()
429 lcname[prefix_len] = '\\'; in zend_get_constant_ex()
430 memcpy(lcname + prefix_len + 1, constant_name, const_name_len + 1); in zend_get_constant_ex()
432 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, lcname_len)) == NULL) { in zend_get_constant_ex()
434 zend_str_tolower(lcname + prefix_len + 1, const_name_len); in zend_get_constant_ex()
435 if ((c = zend_hash_str_find_ptr(EG(zend_constants), lcname, lcname_len)) != NULL) { in zend_get_constant_ex()
441 free_alloca(lcname, use_heap); in zend_get_constant_ex()