Home
last modified time | relevance | path

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

/external/icu4c/i18n/
Drbt_rule.cpp139 postContext = NULL; in TransliterationRule()
141 postContext = new StringMatcher(pattern, anteContextLength + keyLength, pattern.length(), in TransliterationRule()
144 if (postContext == 0) { in TransliterationRule()
165 postContext(NULL), in TransliterationRule()
185 if (other.postContext != NULL) { in TransliterationRule()
186 postContext = (StringMatcher*) other.postContext->clone(); in TransliterationRule()
195 delete postContext; in ~TransliterationRule()
241 UnicodeMatcher *m = (key != NULL) ? key : postContext; in matchesIndexValue()
419 if (postContext != NULL) { in matchAndReplace()
428 match = postContext->matches(text, oText, pos.contextLimit, incremental); in matchAndReplace()
[all …]
Dformat.cpp185 pattern.extract(start,stop-start,parseError.postContext,0); in syntaxError()
187 parseError.postContext[stop-start]= 0; in syntaxError()
Duspoof_build.cpp66 pe->postContext[0] = 0; in uspoof_openFromSource()
Drbt_rule.h80 StringMatcher *postContext; variable
Drbt_set.cpp154 r.extract(0, len, parseError.postContext); in maskingError()
155 parseError.postContext[len] = 0; in maskingError()
Drbnf.cpp362 pe.postContext[0] = 0; in parse()
552 u_strncpy(pe.postContext, p, (int32_t)(limit-p)); in parseError()
553 pe.postContext[limit-p] = 0; in parseError()
Ducol_sit.cpp419 parseError->postContext[0] = 0; in ucol_prepareShortStringOpen()
482 parseError->postContext[0] = 0; in ucol_openFromShortString()
Dchoicfmt.cpp308 parseError.preContext[0] = parseError.postContext[0] = (UChar)0; in applyPattern()
Drbt_pars.cpp1486 rule.extract(start,stop-start,parseError.postContext); in syntaxError()
1488 parseError.postContext[stop-start]= 0; in syntaxError()
Ducol_tok.cpp232 u_memcpy(parseError->postContext,rules+start,stop-start); in syntaxError()
234 parseError->postContext[stop-start]= 0; in syntaxError()
236 parseError->postContext[0] = 0; in syntaxError()
Dregexcmp.cpp3606 uprv_memset(fParseErr->postContext, 0, sizeof(fParseErr->postContext)); in error()
3608 …at->fPattern, fScanIndex, fScanIndex+U_PARSE_CONTEXT_LEN-1, fParseErr->postContext, U_PARSE_CONTEX… in error()
Dmsgfmt.cpp607 parseError.preContext[0] = parseError.postContext[0] = (UChar)0; in applyPattern()
Ddecimfmt.cpp3682 parseError.preContext[0] = parseError.postContext[0] = (UChar)0; in applyPatternWithoutExpandAffix()
/external/webkit/Source/WebCore/icu/unicode/
Dparseerr.h84 UChar postContext[U_PARSE_CONTEXT_LEN]; member
/external/webkit/Source/WebKit/mac/icu/unicode/
Dparseerr.h84 UChar postContext[U_PARSE_CONTEXT_LEN]; member
/external/webkit/Source/JavaScriptCore/icu/unicode/
Dparseerr.h84 UChar postContext[U_PARSE_CONTEXT_LEN]; member
/external/icu4c/common/unicode/
Dparseerr.h88 UChar postContext[U_PARSE_CONTEXT_LEN]; member
/external/icu4c/test/cintltst/
Dcallcoll.c1162 u_memset(parseError.postContext,0x0000,U_PARSE_CONTEXT_LEN); in TestInvalidRules()
1168 if(u_strcmp(parseError.postContext,postContextExp)!=0){ in TestInvalidRules()
1181 char postContext[200]={0}; in TestJitterbug1098() local
1206 u_memset(parseError.postContext,0x0000,U_PARSE_CONTEXT_LEN); in TestJitterbug1098()
1215 u_UCharsToChars(parseError.postContext,postContext,20); in TestJitterbug1098()
1216 log_verbose("\n\tPre-Context: %s \n\tPost-Context:%s \n",preContext,postContext); in TestJitterbug1098()
/external/icu4c/tools/toolutil/
Ducbuf.c226 char postContext[CONTEXT_LEN+1]; in ucbuf_fillucbuf() local
259 memcpy(postContext,source,stop-start); in ucbuf_fillucbuf()
261 postContext[stop-start] = 0; in ucbuf_fillucbuf()
267 fprintf(stderr,"\tPost-context: %s\n", postContext); in ucbuf_fillucbuf()
/external/icu4c/test/intltest/
Ditrbnfp.cpp137 …or line: %x offset: %x context: %s|%s", perr.line, perr.offset, perr.preContext, perr.postContext); in TestParse()
Dtrnserr.cpp158 } else if (parseError.postContext[0] == 0 || parseError.preContext[0] == 0) { in TestTransliteratorErrors()
Dtranstst.cpp251 ", post-context " +prettify(parseError.postContext,TRUE) + in TestInstantiation()
2647 …text: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseError.postContext) ); in TestDevanagariLatinRT()
2695 …text: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseError.postContext) ); in TestTeluguLatinRT()
2755 …text: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseError.postContext) ); in TestSanskritLatinRT()
2824 …text: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseError.postContext) ); in TestCompoundLatinRT()
2965 err.append((UChar)124/*|*/).append(pe.postContext); in TestParseError()
2987 else if (UnicodeString("ab > y;") != UnicodeString(pe.postContext)) { in TestParseError()
3003 err.append((UChar)124/*|*/).append(pe.postContext); in TestOutputSet()
3022 err.append((UChar)124/*|*/).append(pe.postContext); in TestVariableRange()
3040 err.append((UChar)124/*|*/).append(pe.postContext); in TestInvalidPostContext()
[all …]
Dtransapi.cpp296 …text: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseError.postContext) ); in TestTransliterate1()
423 if (parseError.postContext[0]) { in TestSimpleKeyboardTransliterator()
424 context += (UnicodeString)" | " + parseError.postContext; in TestSimpleKeyboardTransliterator()
Dtransrt.cpp572 + "\n\tpostContext : " + prettify(parseError.postContext)); in test2()
581 + "\n\tpostContext : " + prettify(parseError.postContext)); in test2()
/external/icu4c/common/
Dusprep.cpp468 u_memcpy(parseError->postContext,rules+start,limit-start); in uprv_syntaxError()
471 parseError->postContext[limit-start]= 0; in uprv_syntaxError()