Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DStringPrepParseException.java168 buf.append(preContext); in toString()
191 private StringBuffer preContext = new StringBuffer(); field in StringPrepParseException
208 preContext.append(str,start,len); in setPreContext()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DStringPrepParseException.java152 buf.append(preContext); in toString()
175 private StringBuffer preContext = new StringBuffer(); field in StringPrepParseException
192 preContext.append(str,start,len); in setPreContext()
/external/icu/icu4c/source/i18n/
Dformat.cpp184 pattern.extract(start,stop-start,parseError.preContext,0); in syntaxError()
186 parseError.preContext[stop-start] = 0; in syntaxError()
Duspoof_build.cpp68 pe->preContext[0] = 0; in uspoof_openFromSource()
Drbt_set.cpp150 r.extract(0, len, parseError.preContext); in maskingError()
151 parseError.preContext[len] = 0; in maskingError()
Dcollationruleparser.cpp81 parseError->preContext[0] = 0; in parse()
846 rules->extract(start, length, parseError->preContext); in setErrorContext()
847 parseError->preContext[length] = 0; in setErrorContext()
Ducol_sit.cpp444 parseError->preContext[0] = 0; in ucol_prepareShortStringOpen()
514 parseError->preContext[0] = 0; in ucol_openFromShortString()
Drbnf.cpp393 pe.preContext[0] = 0; in parse()
580 u_strncpy(pe.preContext, start, (int32_t)(p-start)); in parseError()
581 pe.preContext[p-start] = 0; in parseError()
Drbt_pars.cpp1486 rule.extract(start,stop-start,parseError.preContext); in syntaxError()
1488 parseError.preContext[stop-start] = 0; in syntaxError()
Dregexcmp.cpp3917 uprv_memset(fParseErr->preContext, 0, sizeof(fParseErr->preContext)); in error()
3919 …at->fPattern, fScanIndex-U_PARSE_CONTEXT_LEN+1, fScanIndex, fParseErr->preContext, U_PARSE_CONTEXT… in error()
/external/icu/icu4c/source/test/cintltst/
Dcallcoll.c1204 u_memset(parseError.preContext,0x0000,U_PARSE_CONTEXT_LEN); in TestInvalidRules()
1209 if(u_strcmp(parseError.preContext,preContextExp)!=0){ in TestInvalidRules()
1211 aescstrdup(parseError.preContext, -1)); in TestInvalidRules()
1226 char preContext[200]={0}; in TestJitterbug1098() local
1251 u_memset(parseError.preContext,0x0000,U_PARSE_CONTEXT_LEN); in TestJitterbug1098()
1260 u_UCharsToChars(parseError.preContext,preContext,20); in TestJitterbug1098()
1262 log_verbose("\n\tPre-Context: %s \n\tPost-Context:%s \n",preContext,postContext); in TestJitterbug1098()
/external/icu/libandroidicu/include/unicode/
Dparseerr.h83 UChar preContext[U_PARSE_CONTEXT_LEN]; member
/external/icu/icu4c/source/common/unicode/
Dparseerr.h83 UChar preContext[U_PARSE_CONTEXT_LEN]; member
/external/icu/icu4c/source/tools/toolutil/
Ducbuf.cpp228 char preContext[CONTEXT_LEN+1]; in ucbuf_fillucbuf() local
254 memcpy(preContext,cbuf+start,stop-start); in ucbuf_fillucbuf()
256 preContext[stop-start] = 0; in ucbuf_fillucbuf()
268 fprintf(stderr,"\tPre-context: %s\n",preContext); in ucbuf_fillucbuf()
/external/icu/icu4c/source/test/intltest/
Ditrbnfp.cpp139 …rror line: %x offset: %x context: %s|%s", perr.line, perr.offset, perr.preContext, perr.postContex… in TestParse()
Dtranstst.cpp253 ", pre-context " + prettify(parseError.preContext, TRUE) + in TestInstantiation()
278 ", context " + prettify(parseError.preContext, TRUE) + in TestInstantiation()
900 " context=" + parseError.preContext; in TestJ329()
2650 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestDevanagariLatinRT()
2698 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestTeluguLatinRT()
2758 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestSanskritLatinRT()
2827 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestCompoundLatinRT()
2967 UnicodeString err(pe.preContext); in TestParseError()
2987 else if (UnicodeString("a > x;") != UnicodeString(pe.preContext)) { in TestParseError()
3005 UnicodeString err(pe.preContext); in TestOutputSet()
[all …]
Dtrnserr.cpp160 } else if (parseError.postContext[0] == 0 || parseError.preContext[0] == 0) { in TestTransliteratorErrors()
Dtransapi.cpp299 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestTransliterate1()
423 if (parseError.preContext[0]) { in TestSimpleKeyboardTransliterator()
424 context += (UnicodeString)" at " + parseError.preContext; in TestSimpleKeyboardTransliterator()
Dtransrt.cpp575 + "\n\tpreContext : " + prettify(parseError.preContext) in test2()
584 + "\n\tpreContext : " + prettify(parseError.preContext) in test2()
Dcollationtest.cpp1254 if(parseError.preContext[0] != 0 || parseError.postContext[0] != 0) { in buildTailoring()
1256 parseError.preContext + "(!)" + parseError.postContext + "..."); in buildTailoring()
/external/icu/icu4c/source/common/
Dusprep.cpp449 u_memcpy(parseError->preContext,rules+start,limit-start); in uprv_syntaxError()
451 parseError->preContext[limit-start] = 0; in uprv_syntaxError()
Dmessagepattern.cpp413 parseError->preContext[0]=0; in preParse()
1164 msg.extract(index-length, length, parseError->preContext); in setParseError()
1165 parseError->preContext[length]=0; in setParseError()
Drbbiscan.cpp646 fRB->fParseError->preContext[0] = 0; in error()
/external/icu/icu4c/source/tools/genrb/
Dparse.cpp967 if(parseError.preContext[0] != 0 || parseError.postContext[0] != 0) { in addCollation()
970 escape(parseError.preContext, preBuffer); in addCollation()
/external/cldr/tools/c/genldml/
Dgenldml.cpp3000 u_memcpy(parseError->preContext,rules+start,stop-start); in syntaxError()
3002 parseError->preContext[stop-start] = 0; in syntaxError()
3014 prettify(UnicodeString(parseError->preContext),preCon); in syntaxError()

12