Lines Matching refs:trans
22 RE_TRANSLATE_TYPE trans, int icase,
41 RE_TRANSLATE_TYPE trans, int icase, const re_dfa_t *dfa)
50 re_string_construct_common (str, len, pstr, trans, icase, dfa);
69 RE_TRANSLATE_TYPE trans, int icase, const re_dfa_t *dfa)
73 re_string_construct_common (str, len, pstr, trans, icase, dfa);
114 if (trans != NULL)
172 RE_TRANSLATE_TYPE trans, int icase,
178 pstr->trans = trans;
180 pstr->mbs_allocated = (trans != NULL || icase);
226 if (BE (pstr->trans != NULL, 0))
233 buf[i] = pstr->mbs[byte_idx + i] = pstr->trans[ch];
246 if (BE (pstr->trans != NULL, 0))
247 wc = pstr->trans[wc];
289 if (! pstr->map_notascii && pstr->trans == NULL && !pstr->offsets_needed)
369 if (BE (pstr->trans != NULL, 0))
376 buf[i] = pstr->trans[ch];
461 if (BE (pstr->trans != NULL, 0))
462 ch = pstr->trans [ch];
540 if (BE (pstr->trans != NULL, 0))
541 ch = pstr->trans[ch];
563 pstr->mbs[buf_idx] = pstr->trans[ch];
722 if (isascii (*p) && BE (pstr->trans == NULL, 1))
740 if (BE (pstr->trans != NULL, 0))
744 buf[i] = pstr->trans[p[i]];
790 if (pstr->trans)
791 c = pstr->trans[c];
824 else if (pstr->trans != NULL)