Lines Matching refs:pats
2974 static void php_strtr_array(zval *return_value, zend_string *input, HashTable *pats) argument
2996 ZEND_HASH_FOREACH_STR_KEY(pats, str_key) {
3023 zend_hash_init(&str_hash, zend_hash_num_elements(pats), NULL, NULL, 0);
3024 ZEND_HASH_FOREACH_KEY_VAL(pats, num_key, str_key, entry) {
3055 pats = &str_hash;
3060 if (pats == &str_hash) {
3077 entry = zend_hash_str_find(pats, key, len);
3103 if (pats == &str_hash) {
3456 HashTable *pats = Z_ARRVAL_P(from); local
3458 if (zend_hash_num_elements(pats) < 1) {
3460 } else if (zend_hash_num_elements(pats) == 1) {
3465 ZEND_HASH_FOREACH_KEY_VAL(pats, num_key, str_key, entry) {
3493 php_strtr_array(return_value, str, pats);