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

/external/icu/icu4c/source/common/unicode/
H A Dparseerr.h39 * <p>The preContext and postContext strings include some part of the
45 * preContext postContext
83 UChar preContext[U_PARSE_CONTEXT_LEN]; member in struct:UParseError
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DStringPrepParseException.java152 buf.append(". preContext: ");
153 buf.append(preContext);
176 private StringBuffer preContext = new StringBuffer(); field in class:StringPrepParseException
193 preContext.append(str,start,len);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DStringPrepParseException.java168 buf.append(". preContext: ");
169 buf.append(preContext);
192 private StringBuffer preContext = new StringBuffer(); field in class:StringPrepParseException
209 preContext.append(str,start,len);
/external/icu/icu4c/source/i18n/
H A Duspoof_build.cpp68 pe->preContext[0] = 0;
H A Dformat.cpp184 pattern.extract(start,stop-start,parseError.preContext,0);
186 parseError.preContext[stop-start] = 0;
H A Ddecimalformatpattern.cpp48 pattern.extract(start,stop-start,parseError.preContext,0);
50 parseError.preContext[stop-start] = 0;
149 parseError.preContext[0] = parseError.postContext[0] = (UChar)0;
H A Drbt_set.cpp150 r.extract(0, len, parseError.preContext);
151 parseError.preContext[len] = 0;
H A Ducol_sit.cpp444 parseError->preContext[0] = 0;
507 parseError->preContext[0] = 0;
H A Dcollationruleparser.cpp81 parseError->preContext[0] = 0;
846 rules->extract(start, length, parseError->preContext);
847 parseError->preContext[length] = 0;
H A Drbnf.cpp369 pe.preContext[0] = 0;
556 u_strncpy(pe.preContext, start, (int32_t)(p-start));
557 pe.preContext[p-start] = 0;
H A Drbt_pars.cpp1486 rule.extract(start,stop-start,parseError.preContext);
1488 parseError.preContext[stop-start] = 0;
H A Dregexcmp.cpp3918 uprv_memset(fParseErr->preContext, 0, sizeof(fParseErr->preContext));
3920 utext_extract(fRXPat->fPattern, fScanIndex-U_PARSE_CONTEXT_LEN+1, fScanIndex, fParseErr->preContext, U_PARSE_CONTEXT_LEN, &status);
/external/icu/icu4c/source/test/intltest/
H A Ditrbnfp.cpp139 logln("perror line: %x offset: %x context: %s|%s", perr.line, perr.offset, perr.preContext, perr.postContext);
H A Dtrnserr.cpp160 } else if (parseError.postContext[0] == 0 || parseError.preContext[0] == 0) {
H A Dtranstst.cpp252 ", pre-context " + prettify(parseError.preContext, TRUE) +
277 ", context " + prettify(parseError.preContext, TRUE) +
899 " context=" + parseError.preContext;
2188 // errln("PreContext: " + prettify(parseError.preContext) + "PostContext: " + prettify( parseError.postContext) );
2649 dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseError.postContext) );
2697 dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseError.postContext) );
2757 dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseError.postContext) );
2826 dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseError.postContext) );
2966 UnicodeString err(pe.preContext);
2986 else if (UnicodeString("a > x;") != UnicodeString(pe.preContext)) {
[all...]
H A Dtransapi.cpp299 dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseError.postContext) );
423 if (parseError.preContext[0]) {
424 context += (UnicodeString)" at " + parseError.preContext;
H A Dtransrt.cpp575 + "\n\tpreContext : " + prettify(parseError.preContext)
584 + "\n\tpreContext : " + prettify(parseError.preContext)
H A Dcollationtest.cpp1258 if(parseError.preContext[0] != 0 || parseError.postContext[0] != 0) {
1260 parseError.preContext + "(!)" + parseError.postContext + "...");
/external/icu/icu4c/source/tools/toolutil/
H A Ducbuf.cpp228 char preContext[CONTEXT_LEN+1]; local
254 memcpy(preContext,cbuf+start,stop-start);
256 preContext[stop-start] = 0;
268 fprintf(stderr,"\tPre-context: %s\n",preContext);
/external/icu/icu4c/source/test/cintltst/
H A Dcallcoll.c1201 u_memset(parseError.preContext,0x0000,U_PARSE_CONTEXT_LEN);
1206 if(u_strcmp(parseError.preContext,preContextExp)!=0){
1207 log_err_status(status, "preContext in UParseError for ucol_openRules does not match: \"%s\"\n",
1208 aescstrdup(parseError.preContext, -1));
1223 char preContext[200]={0}; local
1248 u_memset(parseError.preContext,0x0000,U_PARSE_CONTEXT_LEN);
1257 u_UCharsToChars(parseError.preContext,preContext,20);
1259 log_verbose("\n\tPre-Context: %s \n\tPost-Context:%s \n",preContext,postContext);
H A Dcmsccoll.c3847 parseError.offset, aescstrdup(parseError.preContext, -1), aescstrdup(parseError.postContext, -1));
4235 aescstrdup(parse_error.preContext, -1),
/external/icu/icu4c/source/common/
H A Dusprep.cpp451 u_memcpy(parseError->preContext,rules+start,limit-start);
453 parseError->preContext[limit-start] = 0;
H A Dmessagepattern.cpp413 parseError->preContext[0]=0;
1155 // Set preContext to some of msg before index.
1164 msg.extract(index-length, length, parseError->preContext);
1165 parseError->preContext[length]=0;
H A Drbbiscan.cpp641 fRB->fParseError->preContext[0] = 0;
/external/icu/icu4c/source/tools/genrb/
H A Dparse.cpp967 if(parseError.preContext[0] != 0 || parseError.postContext[0] != 0) {
970 escape(parseError.preContext, preBuffer);

Completed in 2005 milliseconds