Searched defs:patnum (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dstring.c2822 int patnum; /* number of patterns */ member in struct:__anon4
2843 static inline void php_strtr_populate_shift(PATNREPL *patterns, int patnum, int B, STRLEN m, SHIFT_TAB *shift) argument
2853 for (i = 0; i < patnum; i++) {
2961 /* {{{ PPRES *php_strtr_array_prepare(STR *text, PATNREPL *patterns, int patnum, int B, int Bp) */
2962 static PPRES *php_strtr_array_prepare(STR *text, PATNREPL *patterns, int patnum, int B, int Bp) argument
2968 for (i = 0; i < patnum; i++) {
2979 php_strtr_populate_shift(patterns, patnum, B, res->m, res->shift);
2984 res->patterns = safe_emalloc(patnum, sizeof(*res->patterns), 0);
2985 memcpy(res->patterns, patterns, sizeof(*patterns) * patnum);
2987 zend_qsort_r(res->patterns, patnum, sizeo
[all...]

Completed in 11 milliseconds