Home
last modified time | relevance | path

Searched refs:parseError (Results 1 – 25 of 89) 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()
251 ", line " + parseError.line + in TestInstantiation()
252 ", offset " + parseError.offset + in TestInstantiation()
253 ", pre-context " + prettify(parseError.preContext, TRUE) + in TestInstantiation()
254 ", post-context " +prettify(parseError.postContext,TRUE) + in TestInstantiation()
271 rules, UTRANS_FORWARD, parseError,status); in TestInstantiation()
276 ", line " + parseError.line + in TestInstantiation()
277 ", offset " + parseError.offset + in TestInstantiation()
278 ", 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.cpp420 UParseError parseError; in debug() local
423 NamePrepTransform* trans = NamePrepTransform::createInstance(parseError,transStatus); in debug()
430 …transOutLength = trans->process(src,srcLength,transOut, 0, prepOptions>0, &parseError, transStatu… in debug()
434 … = trans->process(src,srcLength,transOut, transOutLength, prepOptions>0, &parseError, transStatus); in debug()
437 …usprep_prepare(prep.getAlias(), src, srcLength, prepOut, 0, prepOptions, &parseError, &prepStatus); in debug()
442 …re(prep.getAlias(), src, srcLength, prepOut, prepOutLength, prepOptions, &parseError, &prepStatus); in debug()
464 UParseError parseError; in testAPI() local
475 destLen = func(src,-1,NULL,0,options, &parseError , &status); in testAPI()
480 destLen = func(src,-1,dest,destLen+1,options, &parseError, &status); in testAPI()
505 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,
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.h44 NamePrepTransform(UParseError& parseError, UErrorCode& status);
49 static NamePrepTransform* createInstance(UParseError& parseError, UErrorCode& status);
87 UParseError* parseError,
108 UParseError* parseError,
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,
Drbt_set.cpp141 UParseError& parseError) { in maskingError() argument
145 parseError.line = parseError.offset = -1; in maskingError()
150 r.extract(0, len, parseError.preContext); in maskingError()
151 parseError.preContext[len] = 0; in maskingError()
157 r.extract(0, len, parseError.postContext); in maskingError()
158 parseError.postContext[len] = 0; in maskingError()
275 void TransliterationRuleSet::freeze(UParseError& parseError,UErrorCode& status) { in freeze() argument
379 maskingError(*r1, *r2, parseError); in freeze()
/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")
171 self.parseError("Expected 1 <Result>, found %d" % len(resultItems))
181 def parseError (self, message): member in BatchResultParser
/external/deqp/framework/opengl/
DgluShaderLibrary.cpp398 void parseError (const std::string& errorStr);
449 void ShaderParser::parseError (const std::string& errorStr) in parseError() function in glu::sl::ShaderParser
796parseError((string("unexpected token '") + m_curTokenStr + "', expecting '" + getTokenName(token) … in assumeToken()
924 parseError(std::string() + "invalid shader stage name, got " + m_curTokenStr); in getShaderStageLiteralFlag()
947 parseError(std::string() + "unknown enum name, got " + enumName); in getGLEnumFromName()
999 parseError(string("unexpected token, expecting bool: " + m_curTokenStr)); in parseValueElement()
1032 parseError(string("unexpected token encountered when parsing value classifier")); in parseValue()
1038 parseError(string("unexpected token when parsing value data type: " + m_curTokenStr)); in parseValue()
1050 parseError(string("unexpected token when parsing value name: " + m_curTokenStr)); in parseValue()
1083 parseError(string("unexpected token in value element array: " + m_curTokenStr)); in parseValue()
[all …]

1234