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

/PHP_5_6/Zend/
H A Dzend_constants.c227 int const_name_len; local
231 const_name_len = sizeof("\0__CLASS__") + EG(scope)->name_length;
232 const_name = do_alloca(const_name_len, use_heap);
235 if (zend_hash_find(EG(zend_constants), const_name, const_name_len, (void**)c) == FAILURE) {
236 zend_hash_add(EG(zend_constants), const_name, const_name_len, (void*)&tmp, sizeof(zend_constant), (void**)c); local
321 int const_name_len = name_len - class_name_len - 2; local
367 if (zend_hash_find(&ce->constants_table, constant_name, const_name_len+1, (void **) &ret_constant) != SUCCESS) {
384 int const_name_len = name_len - prefix_len - 1; local
393 lcname = erealloc(lcname, prefix_len + 1 + const_name_len + 1);
395 memcpy(lcname + prefix_len + 1, constant_name, const_name_len
[all...]
/PHP_5_6/ext/standard/
H A Dbasic_functions.c3825 int const_name_len; local
3827 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &const_name, &const_name_len) == FAILURE) {
3831 if (!zend_get_constant_ex(const_name, const_name_len, return_value, NULL, ZEND_FETCH_CLASS_SILENT TSRMLS_CC)) {

Completed in 30 milliseconds