Searched refs:const_name_len (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_constants.c239 int const_name_len; local
242 const_name_len = sizeof("\0__CLASS__") + EG(scope)->name->len;
243 const_name = zend_string_alloc(const_name_len, 0);
345 int const_name_len = name_len - class_name_len - 2; local
346 zend_string *constant_name = zend_string_init(colon + 1, const_name_len, 0);
411 int const_name_len = name_len - prefix_len - 1; local
417 lcname_len = prefix_len + 1 + const_name_len;
423 memcpy(lcname + prefix_len + 1, constant_name, const_name_len + 1);
427 zend_str_tolower(lcname + prefix_len + 1, const_name_len);
440 return zend_get_constant_str(constant_name, const_name_len TSRMLS_C
[all...]

Completed in 2 milliseconds