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

/PHP_TRUNK/ext/standard/
H A Dstring.c2825 int patnum; /* number of patterns */ member in struct:__anon4
2846 static inline void php_strtr_populate_shift(PATNREPL *patterns, int patnum, int B, STRLEN m, SHIFT_TAB *shift) argument
2856 for (i = 0; i < patnum; i++) {
2964 /* {{{ PPRES *php_strtr_array_prepare(STR *text, PATNREPL *patterns, int patnum, int B, int Bp) */
2965 static PPRES *php_strtr_array_prepare(STR *text, PATNREPL *patterns, int patnum, int B, int Bp) argument
2971 for (i = 0; i < patnum; i++) {
2982 php_strtr_populate_shift(patterns, patnum, B, res->m, res->shift);
2987 res->patterns = safe_emalloc(patnum, sizeof(*res->patterns), 0);
2988 memcpy(res->patterns, patterns, sizeof(*patterns) * patnum);
2990 zend_qsort_r(res->patterns, patnum, sizeo
[all...]

Completed in 11 milliseconds