Lines Matching refs:translate
1118 /* Perhaps we should print the translate table? */
1875 char *translate,
1884 char *translate,
1892 as an array index (in, e.g., `translate'). */
1893 /* ifdef MBS_SUPPORT, we translate only if character <= 0xff,
1901 if (translate && (c <= 0xff)) c = (UCHAR_T) translate[c]; \
1907 if (translate) c = (unsigned char) translate[c]; \
1923 /* If `translate' is non-null, return translate[D], else just D. We
1924 cast the subscript to translate because some data is declared as
1927 /* ifdef MBS_SUPPORT, we translate only if character <= 0xff,
1934 ((translate && ((UCHAR_T) (d)) <= 0xff) \
1935 ? (char) translate[(unsigned char) (d)] : (d))
1938 (translate ? (char) translate[(unsigned char) (d)] : (d))
2274 Assumes the `allocated' (and perhaps `buffer') and `translate'
2339 /* How to translate the characters in the pattern. */
2340 RE_TRANSLATE_TYPE translate = bufp->translate;
2781 ret = wcs_compile_range (range_start, &p, pend, translate,
2796 ret = wcs_compile_range (c, &p, pend, translate, syntax, b,
3188 = byte_compile_range (range_start, &p, pend, translate,
3201 ret = byte_compile_range (c, &p, pend, translate, syntax, b);
3258 if (translate && (is_upper || is_lower)
3307 if ( translate && (is_upper || is_lower)
3658 /* Do not translate the character after the \, so that we can
3660 translate, e.g., B to b. */
4098 not to translate; but if we don't translate it
4373 RE_TRANSLATE_TYPE translate, reg_syntax_t syntax,
4457 RE_TRANSLATE_TYPE translate, reg_syntax_t syntax,
4505 e.g. If translate[p[0]] = 0xff, end_char may equals to 0xffffffff.
5034 register RE_TRANSLATE_TYPE translate = bufp->translate;
5185 /* Written out as an if-else to avoid testing `translate'
5187 if (translate)
5190 translate[(unsigned char) *d++]])
5454 int len, char *translate);
5613 RE_TRANSLATE_TYPE translate = bufp->translate;
6230 testing `translate' inside the loop. */
6231 if (translate)
6239 if ((UCHAR_T) translate[(unsigned char) *d++]
6249 if ((UCHAR_T) translate[(unsigned char) *d++]
6898 if (translate
6899 ? PREFIX(bcmp_translate) (d, d2, mcnt, translate)
7844 RE_TRANSLATE_TYPE translate)
7851 if (((*p1<=0xff)?translate[*p1++]:*p1++)
7852 != ((*p2<=0xff)?translate[*p2++]:*p2++))
7855 if (translate[*p1++] != translate[*p2++]) return 1;
7872 Assumes the `allocated' (and perhaps `buffer') and `translate' fields
8046 preg->translate =
8049 if (preg->translate == NULL)
8054 preg->translate[i] = ISUPPER (i) ? TOLOWER (i) : i;
8057 preg->translate = NULL;
8240 if (preg->translate != NULL)
8241 free (preg->translate);
8242 preg->translate = NULL;