Searched refs:EREG (Results 1 – 2 of 2) sorted by relevance
/PHP-5.5/ext/ereg/ |
H A D | php_ereg.h | 57 #define EREG(v) TSRMG(ereg_globals_id, zend_ereg_globals *, v) macro 59 #define EREG(v) (ereg_globals.v) macro
|
H A D | ereg.c | 145 if (zend_hash_num_elements(&EREG(ht_rc)) >= EREG_CACHE_SIZE) { in _php_regcomp() 147 …if (EREG(lru_counter) >= (1 << 31) || zend_hash_sort(&EREG(ht_rc), zend_qsort, ereg_lru_cmp, 0 TSR… in _php_regcomp() 148 zend_hash_clean(&EREG(ht_rc)); in _php_regcomp() 149 EREG(lru_counter) = 0; in _php_regcomp() 156 if(zend_hash_find(&EREG(ht_rc), (char *) pattern, patlen+1, (void **) &rc) == SUCCESS in _php_regcomp() 164 zend_hash_clean(&EREG(ht_rc)); in _php_regcomp() 165 EREG(lru_counter) = 0; in _php_regcomp() 177 rcp.lastuse = ++(EREG(lru_counter)); in _php_regcomp() 185 zend_hash_update(&EREG(ht_rc), (char *) pattern, patlen+1, in _php_regcomp() 196 rcp.lastuse = ++(EREG(lru_counter)); [all …]
|
Completed in 9 milliseconds