Home
last modified time | relevance | path

Searched refs:postContext (Results 1 – 25 of 38) sorted by relevance

12

/external/icu/icu4c/source/i18n/
Drbt_rule.cpp142 postContext = NULL; in TransliterationRule()
144 postContext = new StringMatcher(pattern, anteContextLength + keyLength, pattern.length(), in TransliterationRule()
147 if (postContext == 0) { in TransliterationRule()
168 postContext(NULL), in TransliterationRule()
188 if (other.postContext != NULL) { in TransliterationRule()
189 postContext = other.postContext->clone(); in TransliterationRule()
198 delete postContext; in ~TransliterationRule()
244 UnicodeMatcher *m = (key != NULL) ? key : postContext; in matchesIndexValue()
422 if (postContext != NULL) { in matchAndReplace()
431 match = postContext->matches(text, oText, pos.contextLimit, incremental); in matchAndReplace()
[all …]
Dformat.cpp192 pattern.extract(start,stop-start,parseError.postContext,0); in syntaxError()
194 parseError.postContext[stop-start]= 0; in syntaxError()
Duspoof_build.cpp69 pe->postContext[0] = 0; in uspoof_openFromSource()
Drbt_rule.h82 StringMatcher *postContext; variable
Drbt_set.cpp157 r.extract(0, len, parseError.postContext); in maskingError()
158 parseError.postContext[len] = 0; in maskingError()
Dcollationruleparser.cpp82 parseError->postContext[0] = 0; in parse()
860 rules->extract(ruleIndex, length, parseError->postContext); in setErrorContext()
861 parseError->postContext[length] = 0; in setErrorContext()
Ducol_sit.cpp441 parseError->postContext[0] = 0; in ucol_prepareShortStringOpen()
510 parseError->postContext[0] = 0; in ucol_openFromShortString()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTransliterationRule.java70 private StringMatcher postContext; field in TransliterationRule
216 postContext = null; in TransliterationRule()
218 postContext = new StringMatcher(pattern.substring(anteContextLength + keyLength), in TransliterationRule()
263 UnicodeMatcher m = (key != null) ? key : postContext; in matchesIndexValue()
441 if (postContext != null) { in matchAndReplace()
450 match = postContext.matches(text, intRef, pos.contextLimit, incremental); in matchAndReplace()
503 (anteContext != null) || (postContext != null); in toRule()
523 Utility.appendToRule(rule, postContext, escapeUnprintable, quoteBuf); in toRule()
DStringPrepParseException.java153 buf.append(postContext); in toString()
180 private StringBuffer postContext = new StringBuffer(); field in StringPrepParseException
202 postContext.append(str,start,len); in setPostContext()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DTransliterationRule.java69 private StringMatcher postContext; field in TransliterationRule
215 postContext = null; in TransliterationRule()
217 postContext = new StringMatcher(pattern.substring(anteContextLength + keyLength), in TransliterationRule()
262 UnicodeMatcher m = (key != null) ? key : postContext; in matchesIndexValue()
440 if (postContext != null) { in matchAndReplace()
449 match = postContext.matches(text, intRef, pos.contextLimit, incremental); in matchAndReplace()
502 (anteContext != null) || (postContext != null); in toRule()
522 Utility.appendToRule(rule, postContext, escapeUnprintable, quoteBuf); in toRule()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DStringPrepParseException.java170 buf.append(postContext); in toString()
197 private StringBuffer postContext = new StringBuffer(); field in StringPrepParseException
219 postContext.append(str,start,len); in setPostContext()
/external/icu/libandroidicu/include/unicode/
Dparseerr.h90 UChar postContext[U_PARSE_CONTEXT_LEN]; member
/external/icu/libicu/cts_headers/unicode/
Dparseerr.h90 UChar postContext[U_PARSE_CONTEXT_LEN]; member
/external/icu/icu4c/source/common/unicode/
Dparseerr.h90 UChar postContext[U_PARSE_CONTEXT_LEN]; member
/external/icu/icu4c/source/test/cintltst/
Dcallcoll.c1205 u_memset(parseError.postContext, 0x0000, U_PARSE_CONTEXT_LEN); in TestInvalidRules()
1213 if(u_strcmp(parseError.postContext,postContextExp)!=0){ in TestInvalidRules()
1215 aescstrdup(parseError.postContext, -1)); in TestInvalidRules()
1227 char postContext[200]={0}; in TestJitterbug1098() local
1252 u_memset(parseError.postContext,0x0000,U_PARSE_CONTEXT_LEN); in TestJitterbug1098()
1261 u_UCharsToChars(parseError.postContext,postContext,20); in TestJitterbug1098()
1262 log_verbose("\n\tPre-Context: %s \n\tPost-Context:%s \n",preContext,postContext); in TestJitterbug1098()
Dunumberrangeformattertst.c154 assertUEquals("Should have correct post context", u"typo", perror.postContext); in TestSkeletonParseError()
Dunumberformattertst.c259 assertUEquals("Should have correct post context", u"typo", perror.postContext); in TestSkeletonParseError()
/external/icu/libicu/cts_headers/
Drbt_rule.h82 StringMatcher *postContext; variable
/external/icu/icu4c/source/tools/toolutil/
Ducbuf.cpp229 char postContext[CONTEXT_LEN+1]; in ucbuf_fillucbuf() local
262 memcpy(postContext,source,stop-start); in ucbuf_fillucbuf()
264 postContext[stop-start] = 0; in ucbuf_fillucbuf()
270 fprintf(stderr,"\tPost-context: %s\n", postContext); in ucbuf_fillucbuf()
/external/icu/icu4c/source/test/intltest/
Ditrbnfp.cpp139 …or line: %x offset: %x context: %s|%s", perr.line, perr.offset, perr.preContext, perr.postContext); in TestParse()
Dtrnserr.cpp160 } else if (parseError.postContext[0] == 0 || parseError.preContext[0] == 0) { in TestTransliteratorErrors()
Dtranstst.cpp255 ", post-context " +prettify(parseError.postContext,TRUE) + in TestInstantiation()
2728 …text: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseError.postContext) ); in TestDevanagariLatinRT()
2776 …text: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseError.postContext) ); in TestTeluguLatinRT()
2836 …text: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseError.postContext) ); in TestSanskritLatinRT()
2905 …text: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseError.postContext) ); in TestCompoundLatinRT()
3046 err.append((UChar)124/*|*/).append(pe.postContext); in TestParseError()
3068 else if (UnicodeString("ab > y;") != UnicodeString(pe.postContext)) { in TestParseError()
3084 err.append((UChar)124/*|*/).append(pe.postContext); in TestOutputSet()
3103 err.append((UChar)124/*|*/).append(pe.postContext); in TestVariableRange()
3121 err.append((UChar)124/*|*/).append(pe.postContext); in TestInvalidPostContext()
[all …]
Dtransapi.cpp299 …text: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseError.postContext) ); in TestTransliterate1()
426 if (parseError.postContext[0]) { in TestSimpleKeyboardTransliterator()
427 context += (UnicodeString)" | " + parseError.postContext; in TestSimpleKeyboardTransliterator()
/external/icu/icu4c/source/common/
Dusprep.cpp459 u_memcpy(parseError->postContext,rules+start,limit-start); in uprv_syntaxError()
462 parseError->postContext[limit-start]= 0; in uprv_syntaxError()
Dmessagepattern.cpp414 parseError->postContext[0]=0; in preParse()
1175 msg.extract(index, length, parseError->postContext); in setParseError()
1176 parseError->postContext[length]=0; in setParseError()

12