Lines Matching refs:lcname
336 char *lcname; in zend_get_constant_ex() local
339 lcname = zend_str_tolower_dup(class_name, class_name_len); in zend_get_constant_ex()
349 !memcmp(lcname, "self", sizeof("self")-1)) { in zend_get_constant_ex()
356 efree(lcname); in zend_get_constant_ex()
358 !memcmp(lcname, "parent", sizeof("parent")-1)) { in zend_get_constant_ex()
366 efree(lcname); in zend_get_constant_ex()
368 !memcmp(lcname, "static", sizeof("static")-1)) { in zend_get_constant_ex()
374 efree(lcname); in zend_get_constant_ex()
376 efree(lcname); in zend_get_constant_ex()
399 char *lcname; in zend_get_constant_ex() local
402 lcname = zend_str_tolower_dup(name, prefix_len); in zend_get_constant_ex()
406 lcname = erealloc(lcname, prefix_len + 1 + const_name_len + 1); in zend_get_constant_ex()
407 lcname[prefix_len] = '\\'; in zend_get_constant_ex()
408 memcpy(lcname + prefix_len + 1, constant_name, const_name_len + 1); in zend_get_constant_ex()
410 …if (zend_hash_find(EG(zend_constants), lcname, prefix_len + 1 + const_name_len + 1, (void **) &c) … in zend_get_constant_ex()
414 zend_str_tolower(lcname + prefix_len + 1, const_name_len); in zend_get_constant_ex()
415 …if (zend_hash_find(EG(zend_constants), lcname, prefix_len + 1 + const_name_len + 1, (void **) &c) … in zend_get_constant_ex()
421 efree(lcname); in zend_get_constant_ex()