Home
last modified time | relevance | path

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

/external/icu/libandroidicu/include/unicode/
Dparseerr.h27 enum { U_PARSE_CONTEXT_LEN = 16 }; enumerator
83 UChar preContext[U_PARSE_CONTEXT_LEN];
90 UChar postContext[U_PARSE_CONTEXT_LEN];
/external/icu/icu4c/source/common/unicode/
Dparseerr.h27 enum { U_PARSE_CONTEXT_LEN = 16 }; enumerator
83 UChar preContext[U_PARSE_CONTEXT_LEN];
90 UChar postContext[U_PARSE_CONTEXT_LEN];
/external/icu/icu4c/source/i18n/
Dformat.cpp181 int32_t start = (pos < U_PARSE_CONTEXT_LEN)? 0 : (pos - (U_PARSE_CONTEXT_LEN-1 in syntaxError()
190 stop = ((pos+U_PARSE_CONTEXT_LEN)<=pattern.length()) ? (pos+(U_PARSE_CONTEXT_LEN-1)) : in syntaxError()
Drbt_set.cpp149 len = uprv_min(r.length(), U_PARSE_CONTEXT_LEN-1); in maskingError()
156 len = uprv_min(r.length(), U_PARSE_CONTEXT_LEN-1); in maskingError()
Dcollationruleparser.cpp839 int32_t start = ruleIndex - (U_PARSE_CONTEXT_LEN - 1); in setErrorContext()
851 if(length >= U_PARSE_CONTEXT_LEN) { in setErrorContext()
852 length = U_PARSE_CONTEXT_LEN - 1; in setErrorContext()
Dregexcmp.cpp3919 …_extract(fRXPat->fPattern, fScanIndex-U_PARSE_CONTEXT_LEN+1, fScanIndex, fParseErr->preContext, U_… in error()
3920 …t(fRXPat->fPattern, fScanIndex, fScanIndex+U_PARSE_CONTEXT_LEN-1, fParseErr->postContext, U_PARSE_… in error()
Drbnf.cpp566 const UChar* start = p - U_PARSE_CONTEXT_LEN - 1; in parseError()
576 const UChar* limit = p + U_PARSE_CONTEXT_LEN - 1; in parseError()
Drbt_pars.cpp1482 const int32_t LEN = U_PARSE_CONTEXT_LEN - 1; in syntaxError()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationRuleParser.java858 private static final int U_PARSE_CONTEXT_LEN = 16; field in CollationRuleParser
871 int start = ruleIndex - (U_PARSE_CONTEXT_LEN - 1); in appendErrorContext()
882 if(length >= U_PARSE_CONTEXT_LEN) { in appendErrorContext()
883 length = U_PARSE_CONTEXT_LEN - 1; in appendErrorContext()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationRuleParser.java854 private static final int U_PARSE_CONTEXT_LEN = 16; field in CollationRuleParser
867 int start = ruleIndex - (U_PARSE_CONTEXT_LEN - 1); in appendErrorContext()
878 if(length >= U_PARSE_CONTEXT_LEN) { in appendErrorContext()
879 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.cpp1158 if(length>=U_PARSE_CONTEXT_LEN) { in setParseError()
1159 length=U_PARSE_CONTEXT_LEN-1; in setParseError()
1169 if(length>=U_PARSE_CONTEXT_LEN) { in setParseError()
1170 length=U_PARSE_CONTEXT_LEN-1; in setParseError()
/external/icu/icu4c/source/test/cintltst/
Dcallcoll.c1204 u_memset(parseError.preContext,0x0000,U_PARSE_CONTEXT_LEN); in TestInvalidRules()
1205 u_memset(parseError.postContext,0x0000,U_PARSE_CONTEXT_LEN); in TestInvalidRules()
1251 u_memset(parseError.preContext,0x0000,U_PARSE_CONTEXT_LEN); in TestJitterbug1098()
1252 u_memset(parseError.postContext,0x0000,U_PARSE_CONTEXT_LEN); in TestJitterbug1098()
/external/cldr/tools/c/genldml/
Dgenldml.cpp2997 int32_t start = (pos <=U_PARSE_CONTEXT_LEN)? 0 : (pos - (U_PARSE_CONTEXT_LEN-1)); in syntaxError()
3006 stop = ((pos+U_PARSE_CONTEXT_LEN)<= rulesLen )? (pos+(U_PARSE_CONTEXT_LEN-1)) : in syntaxError()