Home
last modified time | relevance | path

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

1234

/external/icu/icu4c/source/common/
Dmessagepattern.cpp162 MessagePattern::MessagePattern(const UnicodeString &pattern, UParseError *parseError, UErrorCode &e… in MessagePattern() argument
168 parse(pattern, parseError, errorCode); in MessagePattern()
268 MessagePattern::parse(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode)… in parse() argument
269 preParse(pattern, parseError, errorCode); in parse()
270 parseMessage(0, 0, 0, UMSGPAT_ARG_TYPE_NONE, parseError, errorCode); in parse()
277 UParseError *parseError, UErrorCode &errorCode) { in parseChoiceStyle() argument
278 preParse(pattern, parseError, errorCode); in parseChoiceStyle()
279 parseChoiceStyle(0, 0, parseError, errorCode); in parseChoiceStyle()
286 UParseError *parseError, UErrorCode &errorCode) { in parsePluralStyle() argument
287 preParse(pattern, parseError, errorCode); in parsePluralStyle()
[all …]
Duidna.cpp200 UParseError* parseError, in _internal_toASCII() argument
253 …en = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, status); in _internal_toASCII()
269 … b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Len, namePrepOptions, parseError, status); in _internal_toASCII()
306 uprv_syntaxError(b1,failPos, b1Len,parseError); in _internal_toASCII()
309 uprv_syntaxError(b1,0,b1Len,parseError); in _internal_toASCII()
312 uprv_syntaxError(b1, (b1Len>0) ? b1Len-1 : b1Len, b1Len,parseError); in _internal_toASCII()
374 uprv_syntaxError(b1,0,b1Len,parseError); in _internal_toASCII()
400 UParseError* parseError, in _internal_toUnicode() argument
458 …en = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, status); in _internal_toUnicode()
470 … b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Len, namePrepOptions, parseError, status); in _internal_toUnicode()
[all …]
Dusprep.cpp440 UParseError* parseError){ in uprv_syntaxError() argument
441 if(parseError == NULL){ in uprv_syntaxError()
444 parseError->offset = pos; in uprv_syntaxError()
445 parseError->line = 0 ; // we are not using line numbers in uprv_syntaxError()
451 u_memcpy(parseError->preContext,rules+start,limit-start); in uprv_syntaxError()
453 parseError->preContext[limit-start] = 0; in uprv_syntaxError()
462 u_memcpy(parseError->postContext,rules+start,limit-start); in uprv_syntaxError()
465 parseError->postContext[limit-start]= 0; in uprv_syntaxError()
514 UParseError* parseError, in usprep_map() argument
543 uprv_syntaxError(src,srcIndex-U16_LENGTH(ch), srcLength,parseError); in usprep_map()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtranstst.cpp237 UParseError parseError; in TestInstantiation() local
240 UTRANS_FORWARD, parseError,status); in TestInstantiation()
250 ", line " + parseError.line + in TestInstantiation()
251 ", offset " + parseError.offset + in TestInstantiation()
252 ", pre-context " + prettify(parseError.preContext, TRUE) + in TestInstantiation()
253 ", post-context " +prettify(parseError.postContext,TRUE) + in TestInstantiation()
270 rules, UTRANS_FORWARD, parseError,status); in TestInstantiation()
275 ", line " + parseError.line + in TestInstantiation()
276 ", offset " + parseError.offset + in TestInstantiation()
277 ", context " + prettify(parseError.preContext, TRUE) + in TestInstantiation()
[all …]
Dtransapi.cpp74 UParseError parseError; in TestgetID() local
76 Transliterator* t= Transliterator::createInstance(trans, UTRANS_FORWARD, parseError, status); in TestgetID()
93 t = Transliterator::createInstance(ID, UTRANS_FORWARD, parseError, status); in TestgetID()
107 …terator* t1=Transliterator::createInstance("Latin-Devanagari", UTRANS_FORWARD, parseError, status); in TestgetID()
108 …Transliterator* t2=Transliterator::createInstance("Latin-Greek", UTRANS_FORWARD, parseError, statu… in TestgetID()
122 …terator* t5=Transliterator::createInstance("Latin-Devanagari", UTRANS_FORWARD, parseError, status); in TestgetID()
138 UParseError parseError; in TestgetInverse() local
139 …ator* t1 = Transliterator::createInstance("Katakana-Latin", UTRANS_FORWARD, parseError, status); in TestgetInverse()
140 …ator* invt1 = Transliterator::createInstance("Latin-Katakana", UTRANS_FORWARD, parseError, status); in TestgetInverse()
141 …or* t2 = Transliterator::createInstance("Latin-Devanagari", UTRANS_FORWARD, parseError, status); in TestgetInverse()
[all …]
Dcpdtrtst.cpp44 UParseError parseError; in TestConstruction() local
46 Transliterator* t1=Transliterator::createInstance(names[0], UTRANS_FORWARD, parseError, status); in TestConstruction()
47 Transliterator* t2=Transliterator::createInstance(names[1], UTRANS_FORWARD, parseError, status); in TestConstruction()
48 Transliterator* t3=Transliterator::createInstance(names[2], UTRANS_FORWARD, parseError, status); in TestConstruction()
49 Transliterator* t4=Transliterator::createInstance(names[3], UTRANS_FORWARD, parseError, status); in TestConstruction()
77 CompoundTransliterator *cpdtrans=new CompoundTransliterator(IDs[i],parseError, status); in TestConstruction()
103 …CompoundTransliterator cpdTrans(UnicodeString("Latin-Hangul"),UTRANS_REVERSE,NULL,parseError,err); in TestConstruction()
119 UParseError parseError; in TestCloneEqual() local
120 …dTransliterator *ct1=new CompoundTransliterator("Greek-Latin;Latin-Devanagari",parseError,status); in TestCloneEqual()
126 CompoundTransliterator *ct2=new CompoundTransliterator("Greek-Latin", parseError, status); in TestCloneEqual()
[all …]
Dtestidna.cpp419 UParseError parseError; in debug() local
422 NamePrepTransform* trans = NamePrepTransform::createInstance(parseError,transStatus); in debug()
429 …transOutLength = trans->process(src,srcLength,transOut, 0, prepOptions>0, &parseError, transStatu… in debug()
433 … = trans->process(src,srcLength,transOut, transOutLength, prepOptions>0, &parseError, transStatus); in debug()
436 …usprep_prepare(prep.getAlias(), src, srcLength, prepOut, 0, prepOptions, &parseError, &prepStatus); in debug()
441 …re(prep.getAlias(), src, srcLength, prepOut, prepOutLength, prepOptions, &parseError, &prepStatus); in debug()
463 UParseError parseError; in testAPI() local
474 destLen = func(src,-1,NULL,0,options, &parseError , &status); in testAPI()
479 destLen = func(src,-1,dest,destLen+1,options, &parseError, &status); in testAPI()
504 destLen = func(src,-1,NULL,0,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status); in testAPI()
[all …]
Didnaref.cpp249 UParseError* parseError, in idnaref_toASCII() argument
298 b1Len = prep->process(src,srcLength,b1, b1Capacity,allowUnassigned,parseError,*status); in idnaref_toASCII()
311 b1Len = prep->process(src,srcLength,b1, b1Len,allowUnassigned, parseError, *status); in idnaref_toASCII()
418 UParseError* parseError, in idnaref_toUnicode() argument
488 b1Len = prep->process(src,srcLength,b1,b1Capacity,allowUnassigned, parseError, *status); in idnaref_toUnicode()
500 b1Len = prep->process(src,srcLength,b1, b1Len,allowUnassigned, parseError, *status); in idnaref_toUnicode()
550 b3Len = idnaref_toASCII(b2,b2Len,b3,b3Capacity,options,parseError, status); in idnaref_toUnicode()
563 b3Len = idnaref_toASCII(b2,b2Len,b3,b3Len, options, parseError, status); in idnaref_toUnicode()
592 uprv_syntaxError(src,failPos, srcLength,parseError); in idnaref_toUnicode()
595 uprv_syntaxError(src,0,srcLength,parseError); in idnaref_toUnicode()
[all …]
Dtrnserr.cpp59 UParseError parseError; in TestTransliteratorErrors() local
66 Transliterator* t= Transliterator::createInstance(trans, UTRANS_FORWARD, parseError, status); in TestTransliteratorErrors()
138 Transliterator* t1= Transliterator::createInstance(bogusID, UTRANS_FORWARD, parseError, status); in TestTransliteratorErrors()
144 …rator* t2 = Transliterator::createFromRules(newID, newIDRules, UTRANS_FORWARD, parseError, status); in TestTransliteratorErrors()
155 …rator* t4 = Transliterator::createFromRules(newID, bogusRules, UTRANS_FORWARD, parseError, status); in TestTransliteratorErrors()
158 if (parseError.offset != -1) { in TestTransliteratorErrors()
160 } else if (parseError.postContext[0] == 0 || parseError.preContext[0] == 0) { in TestTransliteratorErrors()
Didnaref.h67 UParseError* parseError,
105 UParseError* parseError,
148 UParseError* parseError,
187 UParseError* parseError,
Dnptrans.h44 NamePrepTransform(UParseError& parseError, UErrorCode& status);
49 static NamePrepTransform* createInstance(UParseError& parseError, UErrorCode& status);
87 UParseError* parseError,
108 UParseError* parseError,
Djamotest.cpp29 UParseError parseError; in JamoTest() local
33 UTRANS_FORWARD, parseError, status); in JamoTest()
42 UTRANS_REVERSE, parseError, status); in JamoTest()
68 UParseError parseError; in TestJamo() local
70 …ator* latinJamo = Transliterator::createInstance("Latin-Jamo", UTRANS_FORWARD, parseError, status); in TestJamo()
375 UParseError parseError; in TestRealText() local
377 …ator* latinJamo = Transliterator::createInstance("Latin-Jamo", UTRANS_FORWARD, parseError, status); in TestRealText()
378 …rator* jamoHangul = Transliterator::createInstance("NFC(NFD)", UTRANS_FORWARD, parseError, status); in TestRealText()
Dnptrans.cpp39 NamePrepTransform* NamePrepTransform::createInstance(UParseError& parseError, UErrorCode& status){ in createInstance() argument
40 NamePrepTransform* transform = new NamePrepTransform(parseError, status); in createInstance()
49 NamePrepTransform::NamePrepTransform(UParseError& parseError, UErrorCode& status) in NamePrepTransform() argument
74 UTRANS_FORWARD, parseError,status); in NamePrepTransform()
189 UParseError* parseError, in process() argument
210 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status); in process()
218 … b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status); in process()
/external/icu/icu4c/source/test/cintltst/
Dspreptst.c326 UParseError parseError; in Test_nfs4_cis_prep() local
332 … destLen = nfs4_cis_prepare(src , (int32_t)strlen(src), dest, destLen, &parseError, &status); in Test_nfs4_cis_prep()
336 … destLen = nfs4_cis_prepare( src , (int32_t)strlen(src), dest, destLen, &parseError, &status); in Test_nfs4_cis_prep()
451 UParseError parseError; in Test_nfs4_mixed_prep() local
457 destLen = nfs4_mixed_prepare(src, srcLen, NULL, 0, &parseError, &status); in Test_nfs4_mixed_prep()
461 destLen = nfs4_mixed_prepare(src, srcLen, dest, destLen, &parseError, &status); in Test_nfs4_mixed_prep()
476 UParseError parseError; in Test_nfs4_mixed_prep() local
480 nfs4_mixed_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, &parseError, &status); in Test_nfs4_mixed_prep()
504 UParseError parseError; in Test_nfs4_cs_prep() local
508 …int32_t destLen = nfs4_cs_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, FALSE, &parseError, &status); in Test_nfs4_cs_prep()
[all …]
Dnfsprep.c45 UParseError* parseError, in nfs4_prepare() argument
94 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Capacity, USPREP_DEFAULT, parseError, status); in nfs4_prepare()
102 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Len, USPREP_DEFAULT, parseError, status); in nfs4_prepare()
210 UParseError* parseError, in nfs4_mixed_prepare() argument
236 … pLen = nfs4_prepare(prefix, prefixLen, p, pCapacity, NFS4_MIXED_PREP_PREFIX, parseError, status); in nfs4_mixed_prepare()
244 pLen = nfs4_prepare(prefix, prefixLen, p, pLen, NFS4_MIXED_PREP_PREFIX, parseError, status); in nfs4_mixed_prepare()
249 … sLen = nfs4_prepare(suffix, suffixLen, s, sCapacity, NFS4_MIXED_PREP_SUFFIX, parseError, status); in nfs4_mixed_prepare()
257 … sLen = nfs4_prepare(suffix, suffixLen, s, sLen, NFS4_MIXED_PREP_SUFFIX, parseError, status); in nfs4_mixed_prepare()
284 UParseError* parseError, in nfs4_cis_prepare() argument
286 return nfs4_prepare(src, srcLength, dest, destCapacity, NFS4_CIS_PREP, parseError, status); in nfs4_cis_prepare()
[all …]
Dnfsprep.h57 UParseError* parseError,
72 UParseError* parseError,
87 UParseError* parseError,
103 UParseError* parseError,
/external/icu/icu4c/source/i18n/
Ddecimalformatpattern.cpp40 UParseError& parseError) { in syntaxError() argument
41 parseError.offset = pos; in syntaxError()
42 parseError.line=0; // we are not using line number in syntaxError()
48 pattern.extract(start,stop-start,parseError.preContext,0); in syntaxError()
50 parseError.preContext[stop-start] = 0; in syntaxError()
56 pattern.extract(start,stop-start,parseError.postContext,0); in syntaxError()
58 parseError.postContext[stop-start]= 0; in syntaxError()
139 UParseError& parseError, in applyPatternWithoutExpandAffix() argument
148 parseError.offset = -1; in applyPatternWithoutExpandAffix()
149 parseError.preContext[0] = parseError.postContext[0] = (UChar)0; in applyPatternWithoutExpandAffix()
[all …]
Ducol_sit.cpp336 UParseError *parseError, UErrorCode *status) in ucol_sit_readSpecs() argument
347 parseError->offset = (int32_t)(string - definition); in ucol_sit_readSpecs()
432 UParseError *parseError, in ucol_prepareShortStringOpen() argument
439 if(!parseError) { in ucol_prepareShortStringOpen()
440 parseError = &internalParseError; in ucol_prepareShortStringOpen()
442 parseError->line = 0; in ucol_prepareShortStringOpen()
443 parseError->offset = 0; in ucol_prepareShortStringOpen()
444 parseError->preContext[0] = 0; in ucol_prepareShortStringOpen()
445 parseError->postContext[0] = 0; in ucol_prepareShortStringOpen()
455 ucol_sit_readSpecs(&s, definition, parseError, status); in ucol_prepareShortStringOpen()
[all …]
Dformat.cpp176 UParseError& parseError) { in syntaxError() argument
177 parseError.offset = pos; in syntaxError()
178 parseError.line=0; // we are not using line number in syntaxError()
184 pattern.extract(start,stop-start,parseError.preContext,0); in syntaxError()
186 parseError.preContext[stop-start] = 0; in syntaxError()
192 pattern.extract(start,stop-start,parseError.postContext,0); in syntaxError()
194 parseError.postContext[stop-start]= 0; in syntaxError()
Dcpdtrans.h78 UParseError& parseError,
86 UParseError& parseError,
193 UParseError& parseError,
197 UParseError& parseError,
202 UParseError& parseError,
/external/icu/icu4c/source/common/unicode/
Dmessagepattern.h401 MessagePattern(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode);
442 UParseError *parseError, UErrorCode &errorCode);
462 UParseError *parseError, UErrorCode &errorCode);
482 UParseError *parseError, UErrorCode &errorCode);
502 UParseError *parseError, UErrorCode &errorCode);
833 void preParse(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode);
839 UParseError *parseError, UErrorCode &errorCode);
842 UParseError *parseError, UErrorCode &errorCode);
844 int32_t parseSimpleStyle(int32_t index, UParseError *parseError, UErrorCode &errorCode);
847 UParseError *parseError, UErrorCode &errorCode);
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dumsg.h290 UParseError *parseError,
319 UParseError* parseError,
347 UParseError *parseError,
376 UParseError *parseError,
403 UParseError *parseError,
483 UParseError* parseError,
/external/deqp/scripts/log/
Dlog_parser.py125 self.parseError("Invalid #sessionInfo")
131 self.parseError("Invalid #beginTestCaseResult")
136 self.parseError("Invalid #endTestCaseResult")
142 self.parseError("Invalid #terminateTestCaseResult")
168 self.parseError("Expected 1 <Result>, found %d" % len(resultItems))
178 def parseError (self, message): member in BatchResultParser
/external/r8/src/main/java/com/android/tools/r8/shaking/
DProguardConfigurationParser.java137 throw parseError("Unsupported option: -" + option); in parseOption()
219 throw parseError("Unknown option"); in parseOption()
229 throw parseError("Included file '" + included.toString() + "' not found", e); in parseInclude()
231 throw parseError("Failed to read included file '" + included.toString() + "'", e); in parseInclude()
249 throw parseError("Expected attribute pattern list"); in parseKeepAttributes()
409 throw parseError("Unknown option"); in parseRuleTypeAndModifiers()
493 throw parseError("Expected interface|class|enum"); in parseClassType()
665 throw parseError("Expected specific type"); in parseMemberPattern()
671 throw parseError("Expected integer value"); in parseMemberPattern()
677 throw parseError("Expected integer value"); in parseMemberPattern()
[all …]
/external/icu/icu4c/source/tools/gencfu/
Dgencfu.cpp228 UParseError parseError; in main() local
229 parseError.line = 0; in main()
230 parseError.offset = 0; in main()
234 &errType, &parseError, &status); in main()
237 u_errorName(status), confFileName, (int)parseError.line, (int)parseError.offset); in main()

1234