Searched defs:parseError (Results 1 - 25 of 59) sorted by relevance

123

/external/icu/icu4c/source/i18n/
H A Drbt_pars.h69 UParseError parseError; member in class:TransliteratorParser
H A Dcollationruleparser.h185 UParseError *parseError; member in class:CollationRuleParser
H A Dformat.cpp169 * @param pattern The pattern to copy into the parseError
171 * @param parseError The UParseError object to fill in
176 UParseError& parseError) {
177 parseError.offset = pos;
178 parseError.line=0; // we are not using line number
184 pattern.extract(start,stop-start,parseError.preContext,0);
186 parseError.preContext[stop-start] = 0;
192 pattern.extract(start,stop-start,parseError.postContext,0);
194 parseError.postContext[stop-start]= 0;
174 syntaxError(const UnicodeString& pattern, int32_t pos, UParseError& parseError) argument
H A Drbt.cpp35 UParseError& parseError,
44 parser.parse(rules, direction, parseError, status);
66 * @param parseError Struct to recieve information on position
77 UParseError& parseError,
80 _construct(rules, direction,parseError,status);
100 UParseError parseError;
101 _construct(rules, direction,parseError, status);
113 UParseError parseError;
114 _construct(rules, direction,parseError, status);
125 UParseError parseError;
33 _construct(const UnicodeString& rules, UTransDirection direction, UParseError& parseError, UErrorCode& status) argument
72 RuleBasedTransliterator( const UnicodeString& id, const UnicodeString& rules, UTransDirection direction, UnicodeFilter* adoptedFilter, UParseError& parseError, UErrorCode& status) argument
[all...]
H A Dutrans.cpp140 UParseError *parseError,
151 if(parseError == NULL){
152 parseError = &temp;
161 trans = Transliterator::createInstance(ID, dir, *parseError, *status);
173 trans = Transliterator::createFromRules(ID, ruleStr, dir, *parseError, *status);
187 UParseError* parseError, /* may be Null */
192 parseError, status);
135 utrans_openU(const UChar *id, int32_t idLength, UTransDirection dir, const UChar *rules, int32_t rulesLength, UParseError *parseError, UErrorCode *status) argument
H A Ddecimalformatpattern.cpp40 UParseError& parseError) {
41 parseError.offset = pos;
42 parseError.line=0; // we are not using line number
48 pattern.extract(start,stop-start,parseError.preContext,0);
50 parseError.preContext[stop-start] = 0;
56 pattern.extract(start,stop-start,parseError.postContext,0);
58 parseError.postContext[stop-start]= 0;
139 UParseError& parseError,
148 parseError.offset = -1;
149 parseError
38 syntaxError(const UnicodeString& pattern, int32_t pos, UParseError& parseError) argument
136 applyPatternWithoutExpandAffix( const UnicodeString& pattern, DecimalFormatPattern& out, UParseError& parseError, UErrorCode& status) argument
[all...]
H A Drbt_set.cpp141 UParseError& parseError) {
145 parseError.line = parseError.offset = -1;
150 r.extract(0, len, parseError.preContext);
151 parseError.preContext[len] = 0;
157 r.extract(0, len, parseError.postContext);
158 parseError.postContext[len] = 0;
275 void TransliterationRuleSet::freeze(UParseError& parseError,UErrorCode& status) { argument
379 maskingError(*r1, *r2, parseError);
139 maskingError(const icu::TransliterationRule& rule1, const icu::TransliterationRule& rule2, UParseError& parseError) argument
H A Dchoicfmt.cpp126 UParseError& parseError,
131 applyPattern(newPattern,parseError, status);
237 UParseError& parseError,
240 msgPattern.parseChoiceStyle(pattern, &parseError, status);
125 ChoiceFormat(const UnicodeString& newPattern, UParseError& parseError, UErrorCode& status) argument
236 applyPattern(const UnicodeString& pattern, UParseError& parseError, UErrorCode& status) argument
H A Dumsg.cpp105 UParseError *parseError,
115 actLen = u_vformatMessageWithError(locale,pattern,patternLength,result,resultLength,parseError,ap,status);
128 UParseError *parseError,
134 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,parseError,status);
229 UParseError *parseError,
243 if(parseError==NULL)
245 parseError = &tErr;
251 MessageFormat* retVal = new MessageFormat(patString,Locale(locale),*parseError,*status);
316 UParseError* parseError,
329 if(parseError
100 u_formatMessageWithError(const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, UParseError *parseError, UErrorCode *status, ...) argument
123 u_vformatMessageWithError( const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, UParseError *parseError, va_list ap, UErrorCode *status) argument
226 umsg_open( const UChar *pattern, int32_t patternLength, const char *locale, UParseError *parseError, UErrorCode *status) argument
313 umsg_applyPattern(UMessageFormat *fmt, const UChar* pattern, int32_t patternLength, UParseError* parseError, UErrorCode* status) argument
336 ((MessageFormat*)fmt)->applyPattern(UnicodeString(pattern,patternLength),*parseError,*status); local
[all...]
H A Dunum.cpp757 UParseError *parseError,
763 if(parseError == NULL){
764 parseError = &tParseError;
779 df->applyLocalizedPattern(pat,*parseError, *status);
781 df->applyPattern(pat,*parseError, *status);
753 unum_applyPattern( UNumberFormat *fmt, UBool localized, const UChar *pattern, int32_t patternLength, UParseError *parseError, UErrorCode* status) argument
/external/icu/icu4c/source/common/
H A Drbbirb.cpp234 UParseError *parseError,
243 RBBIRuleBuilder builder(rules, parseError, status);
233 createRuleBasedBreakIterator( const UnicodeString &rules, UParseError *parseError, UErrorCode &status) argument
H A Duidna.cpp200 UParseError* parseError,
253 b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, status);
269 b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Len, namePrepOptions, parseError, status);
303 /* populate the parseError struct */
306 uprv_syntaxError(b1,failPos, b1Len,parseError);
309 uprv_syntaxError(b1,0,b1Len,parseError);
312 uprv_syntaxError(b1, (b1Len>0) ? b1Len-1 : b1Len, b1Len,parseError);
374 uprv_syntaxError(b1,0,b1Len,parseError);
400 UParseError* parseError,
458 b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, statu
196 _internal_toASCII(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UStringPrepProfile* nameprep, UParseError* parseError, UErrorCode* status) argument
396 _internal_toUnicode(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UStringPrepProfile* nameprep, UParseError* parseError, UErrorCode* status) argument
612 uidna_toASCII(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument
641 uidna_toUnicode(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument
670 uidna_IDNToASCII( const UChar *src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError *parseError, UErrorCode *status) argument
763 uidna_IDNToUnicode( const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument
876 UParseError parseError; local
[all...]
H A Dusprep.cpp440 UParseError* parseError){
441 if(parseError == NULL){
444 parseError->offset = pos;
445 parseError->line = 0 ; // we are not using line numbers
451 u_memcpy(parseError->preContext,rules+start,limit-start);
453 parseError->preContext[limit-start] = 0;
462 u_memcpy(parseError->postContext,rules+start,limit-start);
465 parseError->postContext[limit-start]= 0;
514 UParseError* parseError,
543 uprv_syntaxError(src,srcIndex-U16_LENGTH(ch), srcLength,parseError);
437 uprv_syntaxError(const UChar* rules, int32_t pos, int32_t rulesLen, UParseError* parseError) argument
510 usprep_map( const UStringPrepProfile* profile, const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status ) argument
642 usprep_prepare( const UStringPrepProfile* profile, const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status ) argument
[all...]
/external/llvm/include/llvm/DebugInfo/CodeView/
H A DCVSymbolVisitor.h63 return parseError(); \
92 void parseError() { HadError = true; } function in class:llvm::codeview::CVSymbolVisitor
/external/deqp/scripts/log/
H A 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 class:BatchResultParser
/external/icu/icu4c/source/test/intltest/
H A Dnptrans.cpp39 NamePrepTransform* NamePrepTransform::createInstance(UParseError& parseError, UErrorCode& status){ argument
40 NamePrepTransform* transform = new NamePrepTransform(parseError, status);
49 NamePrepTransform::NamePrepTransform(UParseError& parseError, UErrorCode& status) argument
74 UTRANS_FORWARD, parseError,status);
144 UParseError* /*parseError*/,
189 UParseError* parseError,
210 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status);
218 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status);
186 process( const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, UBool allowUnassigned, UParseError* parseError, UErrorCode& status ) argument
H A Dtrnserr.cpp59 UParseError parseError; local
66 Transliterator* t= Transliterator::createInstance(trans, UTRANS_FORWARD, parseError, status);
138 Transliterator* t1= Transliterator::createInstance(bogusID, UTRANS_FORWARD, parseError, status);
144 Transliterator* t2 = Transliterator::createFromRules(newID, newIDRules, UTRANS_FORWARD, parseError, status);
155 Transliterator* t4 = Transliterator::createFromRules(newID, bogusRules, UTRANS_FORWARD, parseError, status);
158 if (parseError.offset != -1) {
160 } else if (parseError.postContext[0] == 0 || parseError.preContext[0] == 0) {
H A Dcpdtrtst.cpp44 UParseError parseError; local
46 Transliterator* t1=Transliterator::createInstance(names[0], UTRANS_FORWARD, parseError, status);
47 Transliterator* t2=Transliterator::createInstance(names[1], UTRANS_FORWARD, parseError, status);
48 Transliterator* t3=Transliterator::createInstance(names[2], UTRANS_FORWARD, parseError, status);
49 Transliterator* t4=Transliterator::createInstance(names[3], UTRANS_FORWARD, parseError, status);
77 CompoundTransliterator *cpdtrans=new CompoundTransliterator(IDs[i],parseError, status);
103 CompoundTransliterator cpdTrans(UnicodeString("Latin-Hangul"),UTRANS_REVERSE,NULL,parseError,err);
119 UParseError parseError; local
120 CompoundTransliterator *ct1=new CompoundTransliterator("Greek-Latin;Latin-Devanagari",parseError,status);
126 CompoundTransliterator *ct2=new CompoundTransliterator("Greek-Latin", parseError, statu
194 UParseError parseError; local
243 UParseError parseError; local
349 UParseError parseError; local
[all...]
H A Djamotest.cpp29 UParseError parseError; local
33 UTRANS_FORWARD, parseError, status);
42 UTRANS_REVERSE, parseError, status);
68 UParseError parseError; local
70 Transliterator* latinJamo = Transliterator::createInstance("Latin-Jamo", UTRANS_FORWARD, parseError, status);
375 UParseError parseError; local
377 Transliterator* latinJamo = Transliterator::createInstance("Latin-Jamo", UTRANS_FORWARD, parseError, status);
378 Transliterator* jamoHangul = Transliterator::createInstance("NFC(NFD)", UTRANS_FORWARD, parseError, status);
H A Duobjtest.cpp73 delete testClass(Transliterator::createInstance(UnicodeString(t), UTRANS_FORWARD,parseError,status), #c, "Transliterator: " #t, c ::getStaticClassID()); \
333 UParseError parseError; local
354 //TESTCLASSID_FACTORY(CompoundTransliterator, Transliterator::createInstance(UnicodeString("Any-Jex;Hangul-Jamo"), UTRANS_FORWARD, parseError, status));
360 TESTCLASSID_CTOR(RuleBasedNumberFormat, (UnicodeString("%default: -x: minus >>;"), parseError, status));
416 TESTCLASSID_FACTORY(RuleBasedTransliterator, Transliterator::createFromRules(UnicodeString("abcd"),UnicodeString("a>b;"),UTRANS_FORWARD,parseError,status));
H A Didnaref.cpp249 UParseError* parseError,
298 b1Len = prep->process(src,srcLength,b1, b1Capacity,allowUnassigned,parseError,*status);
311 b1Len = prep->process(src,srcLength,b1, b1Len,allowUnassigned, parseError, *status);
418 UParseError* parseError,
440 // UParseError parseError;
488 b1Len = prep->process(src,srcLength,b1,b1Capacity,allowUnassigned, parseError, *status);
500 b1Len = prep->process(src,srcLength,b1, b1Len,allowUnassigned, parseError, *status);
550 b3Len = idnaref_toASCII(b2,b2Len,b3,b3Capacity,options,parseError, status);
563 b3Len = idnaref_toASCII(b2,b2Len,b3,b3Len, options, parseError, status);
589 /* populate the parseError struc
246 idnaref_toASCII(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument
415 idnaref_toUnicode(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument
680 idnaref_IDNToASCII( const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument
835 idnaref_IDNToUnicode( const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument
1005 UParseError parseError; local
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dnfsprep.c45 UParseError* parseError,
94 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Capacity, USPREP_DEFAULT, parseError, status);
102 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Len, USPREP_DEFAULT, parseError, status);
210 UParseError* parseError,
236 pLen = nfs4_prepare(prefix, prefixLen, p, pCapacity, NFS4_MIXED_PREP_PREFIX, parseError, status);
244 pLen = nfs4_prepare(prefix, prefixLen, p, pLen, NFS4_MIXED_PREP_PREFIX, parseError, status);
249 sLen = nfs4_prepare(suffix, suffixLen, s, sCapacity, NFS4_MIXED_PREP_SUFFIX, parseError, status);
257 sLen = nfs4_prepare(suffix, suffixLen, s, sLen, NFS4_MIXED_PREP_SUFFIX, parseError, status);
284 UParseError* parseError,
286 return nfs4_prepare(src, srcLength, dest, destCapacity, NFS4_CIS_PREP, parseError, statu
42 nfs4_prepare( const char* src, int32_t srcLength, char* dest, int32_t destCapacity, NFS4ProfileState state, UParseError* parseError, UErrorCode* status) argument
208 nfs4_mixed_prepare( const char* src, int32_t srcLength, char* dest, int32_t destCapacity, UParseError* parseError, UErrorCode* status) argument
282 nfs4_cis_prepare( const char* src, int32_t srcLength, char* dest, int32_t destCapacity, UParseError* parseError, UErrorCode* status) argument
291 nfs4_cs_prepare( const char* src, int32_t srcLength, char* dest, int32_t destCapacity, UBool isCaseSensitive, UParseError* parseError, UErrorCode* status) argument
[all...]
H A Dspreptst.c326 UParseError parseError; local
332 destLen = nfs4_cis_prepare(src , (int32_t)strlen(src), dest, destLen, &parseError, &status);
336 destLen = nfs4_cis_prepare( src , (int32_t)strlen(src), dest, destLen, &parseError, &status);
451 UParseError parseError; local
457 destLen = nfs4_mixed_prepare(src, srcLen, NULL, 0, &parseError, &status);
461 destLen = nfs4_mixed_prepare(src, srcLen, dest, destLen, &parseError, &status);
476 UParseError parseError; local
480 nfs4_mixed_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, &parseError, &status);
504 UParseError parseError; local
508 int32_t destLen = nfs4_cs_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, FALSE, &parseError,
527 UParseError parseError; local
550 UParseError parseError; local
575 UParseError parseError; local
600 UParseError parseError; local
619 UParseError parseError; local
[all...]
H A Dcmsgtst.c155 UParseError parseError; local
160 &parseError,&status, 1, 3456.00, d1);
195 UParseError parseError; local
204 umsg_applyPattern(formatter,testCasePatterns[i],patternLength,&parseError,&ec);
387 UParseError parseError; local
413 fmt = umsg_open(pattern,u_strlen(pattern),"en_US",&parseError,&status);
426 u_formatMessageWithError( "en_US", pattern, u_strlen(pattern), result, resultlength,&parseError, &status, d1, str, 7);
489 UParseError parseError; local
514 resultLengthOut=u_formatMessageWithError( "en_US", pattern, u_strlen(pattern), result, resultlength,&parseError, &status, d1, str, 7);
520 u_formatMessageWithError( "en_US", pattern, u_strlen(pattern), result, resultlength,&parseError,
1029 UParseError parseError; local
[all...]
/external/swiftshader/src/OpenGL/compiler/preprocessor/
H A DDirectiveParser.cpp243 parseError(token);
510 void DirectiveParser::parseError(Token* token) function in class:pp::DirectiveParser

Completed in 473 milliseconds

123