Home
last modified time | relevance | path

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

1234

/external/icu/icu4c/source/common/
Dmessagepattern.cpp160 MessagePattern::MessagePattern(const UnicodeString &pattern, UParseError *parseError, UErrorCode &e… in MessagePattern() argument
166 parse(pattern, parseError, errorCode); in MessagePattern()
266 MessagePattern::parse(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode)… in parse() argument
267 preParse(pattern, parseError, errorCode); in parse()
268 parseMessage(0, 0, 0, UMSGPAT_ARG_TYPE_NONE, parseError, errorCode); in parse()
275 UParseError *parseError, UErrorCode &errorCode) { in parseChoiceStyle() argument
276 preParse(pattern, parseError, errorCode); in parseChoiceStyle()
277 parseChoiceStyle(0, 0, parseError, errorCode); in parseChoiceStyle()
284 UParseError *parseError, UErrorCode &errorCode) { in parsePluralStyle() argument
285 preParse(pattern, parseError, errorCode); in parsePluralStyle()
[all …]
Duidna.cpp198 UParseError* parseError, in _internal_toASCII() argument
251 …en = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, status); in _internal_toASCII()
267 … b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Len, namePrepOptions, parseError, status); in _internal_toASCII()
304 uprv_syntaxError(b1,failPos, b1Len,parseError); in _internal_toASCII()
307 uprv_syntaxError(b1,0,b1Len,parseError); in _internal_toASCII()
310 uprv_syntaxError(b1, (b1Len>0) ? b1Len-1 : b1Len, b1Len,parseError); in _internal_toASCII()
372 uprv_syntaxError(b1,0,b1Len,parseError); in _internal_toASCII()
398 UParseError* parseError, in _internal_toUnicode() argument
456 …en = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, status); in _internal_toUnicode()
468 … b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Len, namePrepOptions, parseError, status); in _internal_toUnicode()
[all …]
Dusprep.cpp438 UParseError* parseError){ in uprv_syntaxError() argument
439 if(parseError == NULL){ in uprv_syntaxError()
442 parseError->offset = pos; in uprv_syntaxError()
443 parseError->line = 0 ; // we are not using line numbers in uprv_syntaxError()
449 u_memcpy(parseError->preContext,rules+start,limit-start); in uprv_syntaxError()
451 parseError->preContext[limit-start] = 0; in uprv_syntaxError()
460 u_memcpy(parseError->postContext,rules+start,limit-start); in uprv_syntaxError()
463 parseError->postContext[limit-start]= 0; in uprv_syntaxError()
512 UParseError* parseError, in usprep_map() argument
541 uprv_syntaxError(src,srcIndex-U16_LENGTH(ch), srcLength,parseError); in usprep_map()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtranstst.cpp235 UParseError parseError; in TestInstantiation() local
238 UTRANS_FORWARD, parseError,status); in TestInstantiation()
248 ", line " + parseError.line + in TestInstantiation()
249 ", offset " + parseError.offset + in TestInstantiation()
250 ", pre-context " + prettify(parseError.preContext, TRUE) + in TestInstantiation()
251 ", post-context " +prettify(parseError.postContext,TRUE) + in TestInstantiation()
268 rules, UTRANS_FORWARD, parseError,status); in TestInstantiation()
273 ", line " + parseError.line + in TestInstantiation()
274 ", offset " + parseError.offset + in TestInstantiation()
275 ", context " + prettify(parseError.preContext, TRUE) + in TestInstantiation()
[all …]
Dtransapi.cpp71 UParseError parseError; in TestgetID() local
73 Transliterator* t= Transliterator::createInstance(trans, UTRANS_FORWARD, parseError, status); in TestgetID()
90 t = Transliterator::createInstance(ID, UTRANS_FORWARD, parseError, status); in TestgetID()
104 …terator* t1=Transliterator::createInstance("Latin-Devanagari", UTRANS_FORWARD, parseError, status); in TestgetID()
105 …Transliterator* t2=Transliterator::createInstance("Latin-Greek", UTRANS_FORWARD, parseError, statu… in TestgetID()
119 …terator* t5=Transliterator::createInstance("Latin-Devanagari", UTRANS_FORWARD, parseError, status); in TestgetID()
135 UParseError parseError; in TestgetInverse() local
136 …ator* t1 = Transliterator::createInstance("Katakana-Latin", UTRANS_FORWARD, parseError, status); in TestgetInverse()
137 …ator* invt1 = Transliterator::createInstance("Latin-Katakana", UTRANS_FORWARD, parseError, status); in TestgetInverse()
138 …or* t2 = Transliterator::createInstance("Latin-Devanagari", UTRANS_FORWARD, parseError, status); in TestgetInverse()
[all …]
Dcpdtrtst.cpp42 UParseError parseError; in TestConstruction() local
44 Transliterator* t1=Transliterator::createInstance(names[0], UTRANS_FORWARD, parseError, status); in TestConstruction()
45 Transliterator* t2=Transliterator::createInstance(names[1], UTRANS_FORWARD, parseError, status); in TestConstruction()
46 Transliterator* t3=Transliterator::createInstance(names[2], UTRANS_FORWARD, parseError, status); in TestConstruction()
47 Transliterator* t4=Transliterator::createInstance(names[3], UTRANS_FORWARD, parseError, status); in TestConstruction()
75 CompoundTransliterator *cpdtrans=new CompoundTransliterator(IDs[i],parseError, status); in TestConstruction()
101 …CompoundTransliterator cpdTrans(UnicodeString("Latin-Hangul"),UTRANS_REVERSE,NULL,parseError,err); in TestConstruction()
117 UParseError parseError; in TestCloneEqual() local
118 …dTransliterator *ct1=new CompoundTransliterator("Greek-Latin;Latin-Devanagari",parseError,status); in TestCloneEqual()
124 CompoundTransliterator *ct2=new CompoundTransliterator("Greek-Latin", parseError, status); in TestCloneEqual()
[all …]
Dtestidna.cpp416 UParseError parseError; in debug() local
419 NamePrepTransform* trans = NamePrepTransform::createInstance(parseError,transStatus); in debug()
426 …transOutLength = trans->process(src,srcLength,transOut, 0, prepOptions>0, &parseError, transStatu… in debug()
430 … = trans->process(src,srcLength,transOut, transOutLength, prepOptions>0, &parseError, transStatus); in debug()
433 …usprep_prepare(prep.getAlias(), src, srcLength, prepOut, 0, prepOptions, &parseError, &prepStatus); in debug()
438 …re(prep.getAlias(), src, srcLength, prepOut, prepOutLength, prepOptions, &parseError, &prepStatus); in debug()
460 UParseError parseError; in testAPI() local
471 destLen = func(src,-1,NULL,0,options, &parseError , &status); in testAPI()
476 destLen = func(src,-1,dest,destLen+1,options, &parseError, &status); in testAPI()
501 destLen = func(src,-1,NULL,0,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status); in testAPI()
[all …]
Didnaref.cpp247 UParseError* parseError, in idnaref_toASCII() argument
296 b1Len = prep->process(src,srcLength,b1, b1Capacity,allowUnassigned,parseError,*status); in idnaref_toASCII()
309 b1Len = prep->process(src,srcLength,b1, b1Len,allowUnassigned, parseError, *status); in idnaref_toASCII()
416 UParseError* parseError, in idnaref_toUnicode() argument
486 b1Len = prep->process(src,srcLength,b1,b1Capacity,allowUnassigned, parseError, *status); in idnaref_toUnicode()
498 b1Len = prep->process(src,srcLength,b1, b1Len,allowUnassigned, parseError, *status); in idnaref_toUnicode()
548 b3Len = idnaref_toASCII(b2,b2Len,b3,b3Capacity,options,parseError, status); in idnaref_toUnicode()
561 b3Len = idnaref_toASCII(b2,b2Len,b3,b3Len, options, parseError, status); in idnaref_toUnicode()
590 uprv_syntaxError(src,failPos, srcLength,parseError); in idnaref_toUnicode()
593 uprv_syntaxError(src,0,srcLength,parseError); in idnaref_toUnicode()
[all …]
Dtrnserr.cpp57 UParseError parseError; in TestTransliteratorErrors() local
64 Transliterator* t= Transliterator::createInstance(trans, UTRANS_FORWARD, parseError, status); in TestTransliteratorErrors()
136 Transliterator* t1= Transliterator::createInstance(bogusID, UTRANS_FORWARD, parseError, status); in TestTransliteratorErrors()
142 …rator* t2 = Transliterator::createFromRules(newID, newIDRules, UTRANS_FORWARD, parseError, status); in TestTransliteratorErrors()
153 …rator* t4 = Transliterator::createFromRules(newID, bogusRules, UTRANS_FORWARD, parseError, status); in TestTransliteratorErrors()
156 if (parseError.offset != -1) { in TestTransliteratorErrors()
158 } else if (parseError.postContext[0] == 0 || parseError.preContext[0] == 0) { in TestTransliteratorErrors()
Didnaref.h65 UParseError* parseError,
103 UParseError* parseError,
146 UParseError* parseError,
185 UParseError* parseError,
Dnptrans.h42 NamePrepTransform(UParseError& parseError, UErrorCode& status);
47 static NamePrepTransform* createInstance(UParseError& parseError, UErrorCode& status);
85 UParseError* parseError,
106 UParseError* parseError,
Djamotest.cpp26 UParseError parseError; in JamoTest() local
30 UTRANS_FORWARD, parseError, status); in JamoTest()
39 UTRANS_REVERSE, parseError, status); in JamoTest()
65 UParseError parseError; in TestJamo() local
67 …ator* latinJamo = Transliterator::createInstance("Latin-Jamo", UTRANS_FORWARD, parseError, status); in TestJamo()
372 UParseError parseError; in TestRealText() local
374 …ator* latinJamo = Transliterator::createInstance("Latin-Jamo", UTRANS_FORWARD, parseError, status); in TestRealText()
375 …rator* jamoHangul = Transliterator::createInstance("NFC(NFD)", UTRANS_FORWARD, parseError, status); in TestRealText()
Dnptrans.cpp37 NamePrepTransform* NamePrepTransform::createInstance(UParseError& parseError, UErrorCode& status){ in createInstance() argument
38 NamePrepTransform* transform = new NamePrepTransform(parseError, status); in createInstance()
47 NamePrepTransform::NamePrepTransform(UParseError& parseError, UErrorCode& status) in NamePrepTransform() argument
72 UTRANS_FORWARD, parseError,status); in NamePrepTransform()
187 UParseError* parseError, in process() argument
208 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status); in process()
216 … b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status); in process()
/external/icu/icu4c/source/test/cintltst/
Dspreptst.c323 UParseError parseError; in Test_nfs4_cis_prep() local
329 … destLen = nfs4_cis_prepare(src , (int32_t)strlen(src), dest, destLen, &parseError, &status); in Test_nfs4_cis_prep()
333 … destLen = nfs4_cis_prepare( src , (int32_t)strlen(src), dest, destLen, &parseError, &status); in Test_nfs4_cis_prep()
448 UParseError parseError; in Test_nfs4_mixed_prep() local
454 destLen = nfs4_mixed_prepare(src, srcLen, NULL, 0, &parseError, &status); in Test_nfs4_mixed_prep()
458 destLen = nfs4_mixed_prepare(src, srcLen, dest, destLen, &parseError, &status); in Test_nfs4_mixed_prep()
473 UParseError parseError; in Test_nfs4_mixed_prep() local
477 nfs4_mixed_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, &parseError, &status); in Test_nfs4_mixed_prep()
501 UParseError parseError; in Test_nfs4_cs_prep() local
505 …int32_t destLen = nfs4_cs_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, FALSE, &parseError, &status); in Test_nfs4_cs_prep()
[all …]
Dnfsprep.c43 UParseError* parseError, in nfs4_prepare() argument
92 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Capacity, USPREP_DEFAULT, parseError, status); in nfs4_prepare()
100 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Len, USPREP_DEFAULT, parseError, status); in nfs4_prepare()
208 UParseError* parseError, in nfs4_mixed_prepare() argument
234 … pLen = nfs4_prepare(prefix, prefixLen, p, pCapacity, NFS4_MIXED_PREP_PREFIX, parseError, status); in nfs4_mixed_prepare()
242 pLen = nfs4_prepare(prefix, prefixLen, p, pLen, NFS4_MIXED_PREP_PREFIX, parseError, status); in nfs4_mixed_prepare()
247 … sLen = nfs4_prepare(suffix, suffixLen, s, sCapacity, NFS4_MIXED_PREP_SUFFIX, parseError, status); in nfs4_mixed_prepare()
255 … sLen = nfs4_prepare(suffix, suffixLen, s, sLen, NFS4_MIXED_PREP_SUFFIX, parseError, status); in nfs4_mixed_prepare()
282 UParseError* parseError, in nfs4_cis_prepare() argument
284 return nfs4_prepare(src, srcLength, dest, destCapacity, NFS4_CIS_PREP, parseError, status); in nfs4_cis_prepare()
[all …]
Dnfsprep.h55 UParseError* parseError,
70 UParseError* parseError,
85 UParseError* parseError,
101 UParseError* parseError,
/external/icu/icu4c/source/i18n/
Ddecimalformatpattern.cpp53 UParseError& parseError) { in syntaxError() argument
54 parseError.offset = pos; in syntaxError()
55 parseError.line=0; // we are not using line number in syntaxError()
61 pattern.extract(start,stop-start,parseError.preContext,0); in syntaxError()
63 parseError.preContext[stop-start] = 0; in syntaxError()
69 pattern.extract(start,stop-start,parseError.postContext,0); in syntaxError()
71 parseError.postContext[stop-start]= 0; in syntaxError()
152 UParseError& parseError, in applyPatternWithoutExpandAffix() argument
161 parseError.offset = -1; in applyPatternWithoutExpandAffix()
162 parseError.preContext[0] = parseError.postContext[0] = (UChar)0; in applyPatternWithoutExpandAffix()
[all …]
Ducol_sit.cpp334 UParseError *parseError, UErrorCode *status) in ucol_sit_readSpecs() argument
345 parseError->offset = (int32_t)(string - definition); in ucol_sit_readSpecs()
430 UParseError *parseError, in ucol_prepareShortStringOpen() argument
437 if(!parseError) { in ucol_prepareShortStringOpen()
438 parseError = &internalParseError; in ucol_prepareShortStringOpen()
440 parseError->line = 0; in ucol_prepareShortStringOpen()
441 parseError->offset = 0; in ucol_prepareShortStringOpen()
442 parseError->preContext[0] = 0; in ucol_prepareShortStringOpen()
443 parseError->postContext[0] = 0; in ucol_prepareShortStringOpen()
453 ucol_sit_readSpecs(&s, definition, parseError, status); in ucol_prepareShortStringOpen()
[all …]
Dformat.cpp174 UParseError& parseError) { in syntaxError() argument
175 parseError.offset = pos; in syntaxError()
176 parseError.line=0; // we are not using line number in syntaxError()
182 pattern.extract(start,stop-start,parseError.preContext,0); in syntaxError()
184 parseError.preContext[stop-start] = 0; in syntaxError()
190 pattern.extract(start,stop-start,parseError.postContext,0); in syntaxError()
192 parseError.postContext[stop-start]= 0; in syntaxError()
Dcpdtrans.h76 UParseError& parseError,
84 UParseError& parseError,
191 UParseError& parseError,
195 UParseError& parseError,
200 UParseError& parseError,
Drbt_set.cpp139 UParseError& parseError) { in maskingError() argument
143 parseError.line = parseError.offset = -1; in maskingError()
148 r.extract(0, len, parseError.preContext); in maskingError()
149 parseError.preContext[len] = 0; in maskingError()
155 r.extract(0, len, parseError.postContext); in maskingError()
156 parseError.postContext[len] = 0; in maskingError()
273 void TransliterationRuleSet::freeze(UParseError& parseError,UErrorCode& status) { in freeze() argument
377 maskingError(*r1, *r2, parseError); in freeze()
/external/icu/icu4c/source/common/unicode/
Dmessagepattern.h399 MessagePattern(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode);
440 UParseError *parseError, UErrorCode &errorCode);
460 UParseError *parseError, UErrorCode &errorCode);
480 UParseError *parseError, UErrorCode &errorCode);
500 UParseError *parseError, UErrorCode &errorCode);
831 void preParse(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode);
837 UParseError *parseError, UErrorCode &errorCode);
840 UParseError *parseError, UErrorCode &errorCode);
842 int32_t parseSimpleStyle(int32_t index, UParseError *parseError, UErrorCode &errorCode);
845 UParseError *parseError, UErrorCode &errorCode);
[all …]
/external/deqp/modules/glshared/
DglsShaderLibrary.cpp176 void parseError (const std::string& errorStr);
227 void ShaderParser::parseError (const std::string& errorStr) in parseError() function in deqp::gls::sl::ShaderParser
574parseError((string("unexpected token '") + m_curTokenStr + "', expecting '" + getTokenName(token) … in assumeToken()
702 parseError(std::string() + "invalid shader stage name, got " + m_curTokenStr); in getShaderStageLiteralFlag()
725 parseError(std::string() + "unknown enum name, got " + enumName); in getGLEnumFromName()
777 parseError(string("unexpected token, expecting bool: " + m_curTokenStr)); in parseValueElement()
808 parseError(string("unexpected token encountered when parsing value classifier")); in parseValue()
814 parseError(string("unexpected token when parsing value data type: " + m_curTokenStr)); in parseValue()
826 parseError(string("unexpected token when parsing value name: " + m_curTokenStr)); in parseValue()
851 parseError(string("unexpected token in value element array: " + m_curTokenStr)); in parseValue()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dumsg.h288 UParseError *parseError,
317 UParseError* parseError,
345 UParseError *parseError,
374 UParseError *parseError,
401 UParseError *parseError,
481 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

1234