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

/PHP_5_4/Zend/
H A Dzend_constants.c240 int const_name_len; local
244 const_name_len = sizeof("\0__CLASS__") + EG(scope)->name_length;
245 const_name = do_alloca(const_name_len, use_heap);
248 if (zend_hash_find(EG(zend_constants), const_name, const_name_len, (void**)c) == FAILURE) {
249 zend_hash_add(EG(zend_constants), const_name, const_name_len, (void*)&tmp, sizeof(zend_constant), (void**)c); local
334 int const_name_len = name_len - class_name_len - 2; local
380 if (zend_hash_find(&ce->constants_table, constant_name, const_name_len+1, (void **) &ret_constant) != SUCCESS) {
397 int const_name_len = name_len - prefix_len - 1; local
406 lcname = erealloc(lcname, prefix_len + 1 + const_name_len + 1);
408 memcpy(lcname + prefix_len + 1, constant_name, const_name_len
[all...]
/PHP_5_4/ext/standard/
H A Dbasic_functions.c3803 int const_name_len; local
3805 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &const_name, &const_name_len) == FAILURE) {
3809 if (!zend_get_constant_ex(const_name, const_name_len, return_value, NULL, ZEND_FETCH_CLASS_SILENT TSRMLS_CC)) {

Completed in 11 milliseconds