Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/text/
DStringPrepParseException.java148 buf.append(preContext); in toString()
171 private StringBuffer preContext = new StringBuffer(); field in StringPrepParseException
188 preContext.append(str,start,len); in setPreContext()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DStringPrepParseException.java164 buf.append(preContext); in toString()
187 private StringBuffer preContext = new StringBuffer(); field in StringPrepParseException
204 preContext.append(str,start,len); in setPreContext()
/external/icu/icu4c/source/i18n/
Dformat.cpp182 pattern.extract(start,stop-start,parseError.preContext,0); in syntaxError()
184 parseError.preContext[stop-start] = 0; in syntaxError()
Duspoof_build.cpp67 pe->preContext[0] = 0; in uspoof_openFromSource()
Ddecimalformatpattern.cpp46 pattern.extract(start,stop-start,parseError.preContext,0); in syntaxError()
48 parseError.preContext[stop-start] = 0; in syntaxError()
147 parseError.preContext[0] = parseError.postContext[0] = (UChar)0; in applyPatternWithoutExpandAffix()
Drbt_set.cpp148 r.extract(0, len, parseError.preContext); in maskingError()
149 parseError.preContext[len] = 0; in maskingError()
Dcollationruleparser.cpp79 parseError->preContext[0] = 0; in parse()
844 rules->extract(start, length, parseError->preContext); in setErrorContext()
845 parseError->preContext[length] = 0; in setErrorContext()
Ducol_sit.cpp442 parseError->preContext[0] = 0; in ucol_prepareShortStringOpen()
505 parseError->preContext[0] = 0; in ucol_openFromShortString()
Drbnf.cpp367 pe.preContext[0] = 0; in parse()
554 u_strncpy(pe.preContext, start, (int32_t)(p-start)); in parseError()
555 pe.preContext[p-start] = 0; in parseError()
Drbt_pars.cpp1484 rule.extract(start,stop-start,parseError.preContext); in syntaxError()
1486 parseError.preContext[stop-start] = 0; in syntaxError()
Dregexcmp.cpp3908 uprv_memset(fParseErr->preContext, 0, sizeof(fParseErr->preContext)); in error()
3910 …at->fPattern, fScanIndex-U_PARSE_CONTEXT_LEN+1, fScanIndex, fParseErr->preContext, U_PARSE_CONTEXT… in error()
/external/icu/icu4c/source/common/unicode/
Dparseerr.h81 UChar preContext[U_PARSE_CONTEXT_LEN]; member
/external/icu/icu4c/source/test/cintltst/
Dcallcoll.c1199 u_memset(parseError.preContext,0x0000,U_PARSE_CONTEXT_LEN); in TestInvalidRules()
1204 if(u_strcmp(parseError.preContext,preContextExp)!=0){ in TestInvalidRules()
1206 aescstrdup(parseError.preContext, -1)); in TestInvalidRules()
1221 char preContext[200]={0}; in TestJitterbug1098() local
1246 u_memset(parseError.preContext,0x0000,U_PARSE_CONTEXT_LEN); in TestJitterbug1098()
1255 u_UCharsToChars(parseError.preContext,preContext,20); in TestJitterbug1098()
1257 log_verbose("\n\tPre-Context: %s \n\tPost-Context:%s \n",preContext,postContext); in TestJitterbug1098()
Dcmsccoll.c3848 … parseError.offset, aescstrdup(parseError.preContext, -1), aescstrdup(parseError.postContext, -1)); in TestTailor6179()
4236 aescstrdup(parse_error.preContext, -1), in doTestOneTestCase()
/external/icu/icu4c/source/tools/toolutil/
Ducbuf.c226 char preContext[CONTEXT_LEN+1]; in ucbuf_fillucbuf() local
252 memcpy(preContext,cbuf+start,stop-start); in ucbuf_fillucbuf()
254 preContext[stop-start] = 0; in ucbuf_fillucbuf()
266 fprintf(stderr,"\tPre-context: %s\n",preContext); in ucbuf_fillucbuf()
/external/icu/icu4c/source/test/intltest/
Ditrbnfp.cpp137 …rror line: %x offset: %x context: %s|%s", perr.line, perr.offset, perr.preContext, perr.postContex… in TestParse()
Dtranstst.cpp250 ", pre-context " + prettify(parseError.preContext, TRUE) + in TestInstantiation()
275 ", context " + prettify(parseError.preContext, TRUE) + in TestInstantiation()
897 " context=" + parseError.preContext; in TestJ329()
2647 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestDevanagariLatinRT()
2695 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestTeluguLatinRT()
2755 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestSanskritLatinRT()
2824 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestCompoundLatinRT()
2964 UnicodeString err(pe.preContext); in TestParseError()
2984 else if (UnicodeString("a > x;") != UnicodeString(pe.preContext)) { in TestParseError()
3002 UnicodeString err(pe.preContext); in TestOutputSet()
[all …]
Dtrnserr.cpp158 } else if (parseError.postContext[0] == 0 || parseError.preContext[0] == 0) { in TestTransliteratorErrors()
Dtransapi.cpp296 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestTransliterate1()
420 if (parseError.preContext[0]) { in TestSimpleKeyboardTransliterator()
421 context += (UnicodeString)" at " + parseError.preContext; in TestSimpleKeyboardTransliterator()
Dtransrt.cpp572 + "\n\tpreContext : " + prettify(parseError.preContext) in test2()
581 + "\n\tpreContext : " + prettify(parseError.preContext) in test2()
Dcollationtest.cpp1256 if(parseError.preContext[0] != 0 || parseError.postContext[0] != 0) { in buildTailoring()
1258 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.cpp411 parseError->preContext[0]=0; in preParse()
1162 msg.extract(index-length, length, parseError->preContext); in setParseError()
1163 parseError->preContext[length]=0; in setParseError()
Drbbiscan.cpp613 fRB->fParseError->preContext[0] = 0; in error()
/external/icu/icu4c/source/tools/genrb/
Dparse.cpp965 if(parseError.preContext[0] != 0 || parseError.postContext[0] != 0) { in addCollation()
968 escape(parseError.preContext, preBuffer); in addCollation()