Home
last modified time | relevance | path

Searched refs:preContext (Results 1 – 25 of 31) 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.java151 buf.append(preContext); in toString()
174 private StringBuffer preContext = new StringBuffer(); field in StringPrepParseException
191 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()
849 rules->extract(start, length, parseError->preContext); in setErrorContext()
850 parseError->preContext[length] = 0; in setErrorContext()
Ducol_sit.cpp440 parseError->preContext[0] = 0; in ucol_prepareShortStringOpen()
509 parseError->preContext[0] = 0; in ucol_openFromShortString()
Dnumber_skeletons.cpp429 perror->preContext[0] = 0; in create()
452 skeletonString.extract(contextStart, errOffset - contextStart, perror->preContext, 0); in create()
453 perror->preContext[errOffset - contextStart] = 0; in create()
Drbnf.cpp399 pe.preContext[0] = 0; in parse()
586 u_strncpy(pe.preContext, start, (int32_t)(p-start)); in parseError()
587 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()
/external/icu/libandroidicu/include/unicode/
Dparseerr.h83 UChar preContext[U_PARSE_CONTEXT_LEN]; member
/external/icu/libicu/cts_headers/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/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()
Dunumberrangeformattertst.c153 assertUEquals("Should have correct pre context", u"0 measure-unit/", perror.preContext); in TestSkeletonParseError()
Dunumberformattertst.c258 assertUEquals("Should have correct pre context", u"0 measure-unit/", perror.preContext); in TestSkeletonParseError()
/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.cpp254 ", pre-context " + prettify(parseError.preContext, TRUE) + in TestInstantiation()
279 ", context " + prettify(parseError.preContext, TRUE) + in TestInstantiation()
901 " context=" + parseError.preContext; in TestJ329()
2728 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestDevanagariLatinRT()
2776 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestTeluguLatinRT()
2836 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestSanskritLatinRT()
2905 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestCompoundLatinRT()
3045 UnicodeString err(pe.preContext); in TestParseError()
3065 else if (UnicodeString("a > x;") != UnicodeString(pe.preContext)) { in TestParseError()
3083 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()
Dnumbertest_skeletons.cpp275 assertEquals(skeletonString, expectedPreContext, perror.preContext); in stemsRequiringOption()
Dtransrt.cpp576 + "\n\tpreContext : " + prettify(parseError.preContext) in test2()
585 + "\n\tpreContext : " + prettify(parseError.preContext) in test2()
/external/icu/icu4c/source/common/
Dusprep.cpp448 u_memcpy(parseError->preContext,rules+start,limit-start); in uprv_syntaxError()
450 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()

12