Lines Matching defs:flags
50 char16_t ParsedPatternInfo::charAt(int32_t flags, int32_t index) const {
51 const Endpoints& endpoints = getEndpoints(flags);
58 int32_t ParsedPatternInfo::length(int32_t flags) const {
59 return getLengthFromEndpoints(getEndpoints(flags));
66 UnicodeString ParsedPatternInfo::getString(int32_t flags) const {
67 const Endpoints& endpoints = getEndpoints(flags);
75 const Endpoints& ParsedPatternInfo::getEndpoints(int32_t flags) const {
76 bool prefix = (flags & AFFIX_PREFIX) != 0;
77 bool isNegative = (flags & AFFIX_NEGATIVE_SUBPATTERN) != 0;
78 bool padding = (flags & AFFIX_PADDING) != 0;
1073 // Resolve the flags for the affix pattern.
1074 int flags = 0;
1076 flags |= AffixPatternProvider::AFFIX_NEGATIVE_SUBPATTERN;
1079 flags |= AffixPatternProvider::AFFIX_PREFIX;
1083 flags |= plural;
1111 int length = patternInfo.length(flags) + (prependSign ? 1 : 0);
1120 candidate = patternInfo.charAt(flags, index - 1);
1122 candidate = patternInfo.charAt(flags, index);