Home
last modified time | relevance | path

Searched refs:U_PARSE_CONTEXT_LEN (Results 1 – 13 of 13) sorted by relevance

/external/icu/icu4c/source/common/unicode/
Dparseerr.h25 enum { U_PARSE_CONTEXT_LEN = 16 }; enumerator
81 UChar preContext[U_PARSE_CONTEXT_LEN];
88 UChar postContext[U_PARSE_CONTEXT_LEN];
/external/icu/icu4c/source/i18n/
Dformat.cpp179 int32_t start = (pos < U_PARSE_CONTEXT_LEN)? 0 : (pos - (U_PARSE_CONTEXT_LEN-1 in syntaxError()
188 stop = ((pos+U_PARSE_CONTEXT_LEN)<=pattern.length()) ? (pos+(U_PARSE_CONTEXT_LEN-1)) : in syntaxError()
Ddecimalformatpattern.cpp43 int32_t start = (pos < U_PARSE_CONTEXT_LEN)? 0 : (pos - (U_PARSE_CONTEXT_LEN-1 in syntaxError()
52 stop = ((pos+U_PARSE_CONTEXT_LEN)<=pattern.length()) ? (pos+(U_PARSE_CONTEXT_LEN-1)) : in syntaxError()
Drbt_set.cpp147 len = uprv_min(r.length(), U_PARSE_CONTEXT_LEN-1); in maskingError()
154 len = uprv_min(r.length(), U_PARSE_CONTEXT_LEN-1); in maskingError()
Dcollationruleparser.cpp837 int32_t start = ruleIndex - (U_PARSE_CONTEXT_LEN - 1); in setErrorContext()
849 if(length >= U_PARSE_CONTEXT_LEN) { in setErrorContext()
850 length = U_PARSE_CONTEXT_LEN - 1; in setErrorContext()
Dregexcmp.cpp3910 …_extract(fRXPat->fPattern, fScanIndex-U_PARSE_CONTEXT_LEN+1, fScanIndex, fParseErr->preContext, U_… in error()
3911 …t(fRXPat->fPattern, fScanIndex, fScanIndex+U_PARSE_CONTEXT_LEN-1, fParseErr->postContext, U_PARSE_… in error()
Drbnf.cpp540 const UChar* start = p - U_PARSE_CONTEXT_LEN - 1; in parseError()
550 const UChar* limit = p + U_PARSE_CONTEXT_LEN - 1; in parseError()
Drbt_pars.cpp1480 const int32_t LEN = U_PARSE_CONTEXT_LEN - 1; in syntaxError()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationRuleParser.java852 private static final int U_PARSE_CONTEXT_LEN = 16; field in CollationRuleParser
865 int start = ruleIndex - (U_PARSE_CONTEXT_LEN - 1); in appendErrorContext()
876 if(length >= U_PARSE_CONTEXT_LEN) { in appendErrorContext()
877 length = U_PARSE_CONTEXT_LEN - 1; in appendErrorContext()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationRuleParser.java856 private static final int U_PARSE_CONTEXT_LEN = 16; field in CollationRuleParser
869 int start = ruleIndex - (U_PARSE_CONTEXT_LEN - 1); in appendErrorContext()
880 if(length >= U_PARSE_CONTEXT_LEN) { in appendErrorContext()
881 length = U_PARSE_CONTEXT_LEN - 1; in appendErrorContext()
/external/icu/icu4c/source/common/
Dusprep.cpp446 int32_t start = (pos < U_PARSE_CONTEXT_LEN)? 0 : (pos - (U_PARSE_CONTEXT_LEN-1)); in uprv_syntaxError()
455 limit = start + (U_PARSE_CONTEXT_LEN-1); in uprv_syntaxError()
Dmessagepattern.cpp1156 if(length>=U_PARSE_CONTEXT_LEN) { in setParseError()
1157 length=U_PARSE_CONTEXT_LEN-1; in setParseError()
1167 if(length>=U_PARSE_CONTEXT_LEN) { in setParseError()
1168 length=U_PARSE_CONTEXT_LEN-1; in setParseError()
/external/icu/icu4c/source/test/cintltst/
Dcallcoll.c1199 u_memset(parseError.preContext,0x0000,U_PARSE_CONTEXT_LEN); in TestInvalidRules()
1200 u_memset(parseError.postContext,0x0000,U_PARSE_CONTEXT_LEN); in TestInvalidRules()
1246 u_memset(parseError.preContext,0x0000,U_PARSE_CONTEXT_LEN); in TestJitterbug1098()
1247 u_memset(parseError.postContext,0x0000,U_PARSE_CONTEXT_LEN); in TestJitterbug1098()