Lines Matching refs:flag
337 u8_validate(char *u8str, size_t n, char **list, int flag, int *errnum)
361 no_need_to_validate_entire = ! (flag & U8_VALIDATE_ENTIRE);
362 check_additional = flag & U8_VALIDATE_CHECK_ADDITIONAL;
363 validate_ucs2_range_only = flag & U8_VALIDATE_UCS2_RANGE;
1729 int flag, int *errnum)
1748 is_it_toupper = flag & U8_TEXTPREP_TOUPPER;
1749 is_it_tolower = flag & U8_TEXTPREP_TOLOWER;
1750 canonical_decomposition = flag & U8_CANON_DECOMP;
1751 compatibility_decomposition = flag & U8_COMPAT_DECOMP;
1752 canonical_composition = flag & U8_CANON_COMP;
1844 u8_strcmp(const char *s1, const char *s2, size_t n, int flag, size_t uv,
1855 * normalization flag values.
1863 if (flag == 0) {
1864 flag = U8_STRCMP_CS;
1866 f = flag & (U8_STRCMP_CS | U8_STRCMP_CI_UPPER |
1869 flag |= U8_STRCMP_CS;
1873 flag = U8_STRCMP_CS;
1876 f = flag & (U8_CANON_DECOMP | U8_COMPAT_DECOMP | U8_CANON_COMP);
1880 flag = U8_STRCMP_CS;
1884 if (flag == U8_STRCMP_CS) {
1901 if (flag == U8_STRCMP_CI_UPPER) {
1904 } else if (flag == U8_STRCMP_CI_LOWER) {
1910 flag, errnum));
1915 int flag, size_t unicode_version, int *errnum)
1941 f = flag & (U8_TEXTPREP_TOUPPER | U8_TEXTPREP_TOLOWER);
1947 f = flag & (U8_CANON_DECOMP | U8_COMPAT_DECOMP | U8_CANON_COMP);
1967 do_not_ignore_null = !(flag & U8_TEXTPREP_IGNORE_NULL);
1968 do_not_ignore_invalid = !(flag & U8_TEXTPREP_IGNORE_INVALID);
1969 is_it_toupper = flag & U8_TEXTPREP_TOUPPER;
1970 is_it_tolower = flag & U8_TEXTPREP_TOLOWER;
1975 * If we don't have a normalization flag set, we do the simple case
2063 canonical_decomposition = flag & U8_CANON_DECOMP;
2064 compatibility_decomposition = flag & U8_COMPAT_DECOMP;
2065 canonical_composition = flag & U8_CANON_COMP;