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

123

/external/icu4c/i18n/
H A Drbt_pars.h67 UParseError parseError; member in class:TransliteratorParser
H A Drbt.cpp32 UParseError& parseError,
41 parser.parse(rules, direction, parseError, status);
63 * @param parseError Struct to recieve information on position
74 UParseError& parseError,
77 _construct(rules, direction,parseError,status);
97 UParseError parseError;
98 _construct(rules, direction,parseError, status);
110 UParseError parseError;
111 _construct(rules, direction,parseError, status);
122 UParseError parseError;
30 _construct(const UnicodeString& rules, UTransDirection direction, UParseError& parseError, UErrorCode& status) argument
69 RuleBasedTransliterator( const UnicodeString& id, const UnicodeString& rules, UTransDirection direction, UnicodeFilter* adoptedFilter, UParseError& parseError, UErrorCode& status) argument
[all...]
H A Dformat.cpp163 * @param pattern The pattern to copy into the parseError
165 * @param parseError The UParseError object to fill in
170 UParseError& parseError) {
171 parseError.offset = pos;
172 parseError.line=0; // we are not using line number
178 pattern.extract(start,stop-start,parseError.preContext,0);
180 parseError.preContext[stop-start] = 0;
186 pattern.extract(start,stop-start,parseError.postContext,0);
188 parseError.postContext[stop-start]= 0;
168 syntaxError(const UnicodeString& pattern, int32_t pos, UParseError& parseError) argument
H A Dutrans.cpp137 UParseError *parseError,
148 if(parseError == NULL){
149 parseError = &temp;
158 trans = Transliterator::createInstance(ID, dir, *parseError, *status);
170 trans = Transliterator::createFromRules(ID, ruleStr, dir, *parseError, *status);
184 UParseError* parseError, /* may be Null */
189 parseError, status);
132 utrans_openU(const UChar *id, int32_t idLength, UTransDirection dir, const UChar *rules, int32_t rulesLength, UParseError *parseError, UErrorCode *status) argument
H A Drbt_set.cpp138 UParseError& parseError) {
142 parseError.line = parseError.offset = -1;
147 r.extract(0, len, parseError.preContext);
148 parseError.preContext[len] = 0;
154 r.extract(0, len, parseError.postContext);
155 parseError.postContext[len] = 0;
272 void TransliterationRuleSet::freeze(UParseError& parseError,UErrorCode& status) { argument
376 maskingError(*r1, *r2, parseError);
136 maskingError(const U_NAMESPACE_QUALIFIER TransliterationRule& rule1, const U_NAMESPACE_QUALIFIER TransliterationRule& rule2, UParseError& parseError) argument
H A Dumsg.cpp103 UParseError *parseError,
113 actLen = u_vformatMessageWithError(locale,pattern,patternLength,result,resultLength,parseError,ap,status);
126 UParseError *parseError,
132 UMessageFormat *fmt = umsg_open(pattern,patternLength,locale,parseError,status);
227 UParseError *parseError,
241 if(parseError==NULL)
243 parseError = &tErr;
249 MessageFormat* retVal = new MessageFormat(patString,Locale(locale),*parseError,*status);
314 UParseError* parseError,
327 if(parseError
98 u_formatMessageWithError(const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, UParseError *parseError, UErrorCode *status, ...) argument
121 u_vformatMessageWithError( const char *locale, const UChar *pattern, int32_t patternLength, UChar *result, int32_t resultLength, UParseError *parseError, va_list ap, UErrorCode *status) argument
224 umsg_open( const UChar *pattern, int32_t patternLength, const char *locale, UParseError *parseError, UErrorCode *status) argument
311 umsg_applyPattern(UMessageFormat *fmt, const UChar* pattern, int32_t patternLength, UParseError* parseError, UErrorCode* status) argument
334 ((MessageFormat*)fmt)->applyPattern(UnicodeString(pattern,patternLength),*parseError,*status); local
[all...]
H A Dunum.cpp862 UParseError *parseError,
868 if(parseError == NULL){
869 parseError = &tParseError;
884 df->applyLocalizedPattern(pat,*parseError, *status);
886 df->applyPattern(pat,*parseError, *status);
858 unum_applyPattern( UNumberFormat *fmt, UBool localized, const UChar *pattern, int32_t patternLength, UParseError *parseError, UErrorCode* status) argument
/external/webkit/Source/WebKit/chromium/src/
H A DWebIDBKeyPath.cpp48 WebIDBKeyPath::WebIDBKeyPath(const WTF::Vector<IDBKeyPathElement>& elements, int parseError) argument
50 , m_parseError(parseError)
54 int WebIDBKeyPath::parseError() const function in class:WebKit::WebIDBKeyPath
/external/icu4c/common/
H A Drbbirb.cpp232 UParseError *parseError,
241 RBBIRuleBuilder builder(rules, parseError, status);
231 createRuleBasedBreakIterator( const UnicodeString &rules, UParseError *parseError, UErrorCode &status) argument
H A Duidna.cpp198 UParseError* parseError,
251 b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, status);
267 b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Len, namePrepOptions, parseError, status);
301 /* populate the parseError struct */
304 uprv_syntaxError(b1,failPos, b1Len,parseError);
307 uprv_syntaxError(b1,0,b1Len,parseError);
310 uprv_syntaxError(b1, (b1Len>0) ? b1Len-1 : b1Len, b1Len,parseError);
372 uprv_syntaxError(b1,0,b1Len,parseError);
398 UParseError* parseError,
457 b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, statu
194 _internal_toASCII(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UStringPrepProfile* nameprep, UParseError* parseError, UErrorCode* status) argument
394 _internal_toUnicode(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UStringPrepProfile* nameprep, UParseError* parseError, UErrorCode* status) argument
611 uidna_toASCII(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument
640 uidna_toUnicode(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument
669 uidna_IDNToASCII( const UChar *src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError *parseError, UErrorCode *status) argument
762 uidna_IDNToUnicode( const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument
875 UParseError parseError; local
[all...]
/external/webkit/Source/JavaScriptCore/parser/
H A DParser.cpp51 const char* parseError = jsParse(globalData, parameters, strictness, mode, m_source); local
56 if (parseError || lexError) {
58 *errMsg = parseError ? parseError : "Parse error";
/external/icu4c/test/intltest/
H A Dnptrans.cpp37 NamePrepTransform* NamePrepTransform::createInstance(UParseError& parseError, UErrorCode& status){ argument
38 NamePrepTransform* transform = new NamePrepTransform(parseError, status);
47 NamePrepTransform::NamePrepTransform(UParseError& parseError, UErrorCode& status) argument
72 UTRANS_FORWARD, parseError,status);
142 UParseError* /*parseError*/,
187 UParseError* parseError,
208 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status);
216 b1Len = map(src, srcLength, b1, b1String.getCapacity(), allowUnassigned, parseError, status);
184 process( const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, UBool allowUnassigned, UParseError* parseError, UErrorCode& status ) argument
H A Dtrnserr.cpp57 UParseError parseError; local
64 Transliterator* t= Transliterator::createInstance(trans, UTRANS_FORWARD, parseError, status);
136 Transliterator* t1= Transliterator::createInstance(bogusID, UTRANS_FORWARD, parseError, status);
142 Transliterator* t2 = Transliterator::createFromRules(newID, newIDRules, UTRANS_FORWARD, parseError, status);
153 Transliterator* t4 = Transliterator::createFromRules(newID, bogusRules, UTRANS_FORWARD, parseError, status);
156 if (parseError.offset != -1) {
158 } else if (parseError.postContext[0] == 0 || parseError.preContext[0] == 0) {
H A Dcpdtrtst.cpp42 UParseError parseError; local
44 Transliterator* t1=Transliterator::createInstance(names[0], UTRANS_FORWARD, parseError, status);
45 Transliterator* t2=Transliterator::createInstance(names[1], UTRANS_FORWARD, parseError, status);
46 Transliterator* t3=Transliterator::createInstance(names[2], UTRANS_FORWARD, parseError, status);
47 Transliterator* t4=Transliterator::createInstance(names[3], UTRANS_FORWARD, parseError, status);
75 CompoundTransliterator *cpdtrans=new CompoundTransliterator(IDs[i],parseError, status);
101 CompoundTransliterator cpdTrans(UnicodeString("Latin-Hangul"),UTRANS_REVERSE,NULL,parseError,err);
117 UParseError parseError; local
118 CompoundTransliterator *ct1=new CompoundTransliterator("Greek-Latin;Latin-Devanagari",parseError,status);
124 CompoundTransliterator *ct2=new CompoundTransliterator("Greek-Latin", parseError, statu
192 UParseError parseError; local
241 UParseError parseError; local
347 UParseError parseError; local
[all...]
H A Djamotest.cpp26 UParseError parseError; local
30 UTRANS_FORWARD, parseError, status);
39 UTRANS_REVERSE, parseError, status);
65 UParseError parseError; local
67 Transliterator* latinJamo = Transliterator::createInstance("Latin-Jamo", UTRANS_FORWARD, parseError, status);
372 UParseError parseError; local
374 Transliterator* latinJamo = Transliterator::createInstance("Latin-Jamo", UTRANS_FORWARD, parseError, status);
375 Transliterator* jamoHangul = Transliterator::createInstance("NFC(NFD)", UTRANS_FORWARD, parseError, status);
H A Ducaconf.cpp71 UParseError parseError; local
79 &parseError, &status);
H A Duobjtest.cpp71 delete testClass(Transliterator::createInstance(UnicodeString(t), UTRANS_FORWARD,parseError,status), #c, "Transliterator: " #t, c ::getStaticClassID()); \
329 UParseError parseError; local
350 //TESTCLASSID_FACTORY(CompoundTransliterator, Transliterator::createInstance(UnicodeString("Any-Jex;Hangul-Jamo"), UTRANS_FORWARD, parseError, status));
356 TESTCLASSID_CTOR(RuleBasedNumberFormat, (UnicodeString("%default: -x: minus >>;"), parseError, status));
410 TESTCLASSID_FACTORY(RuleBasedTransliterator, Transliterator::createFromRules(UnicodeString("abcd"),UnicodeString("a>b;"),UTRANS_FORWARD,parseError,status));
H A Didnaref.cpp247 UParseError* parseError,
295 b1Len = prep->process(src,srcLength,b1, b1Capacity,allowUnassigned,parseError,*status);
308 b1Len = prep->process(src,srcLength,b1, b1Len,allowUnassigned, parseError, *status);
414 UParseError* parseError,
436 // UParseError parseError;
484 b1Len = prep->process(src,srcLength,b1,b1Capacity,allowUnassigned, parseError, *status);
496 b1Len = prep->process(src,srcLength,b1, b1Len,allowUnassigned, parseError, *status);
546 b3Len = idnaref_toASCII(b2,b2Len,b3,b3Capacity,options,parseError, status);
559 b3Len = idnaref_toASCII(b2,b2Len,b3,b3Len, options, parseError, status);
585 /* populate the parseError struc
244 idnaref_toASCII(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument
411 idnaref_toUnicode(const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument
676 idnaref_IDNToASCII( const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument
831 idnaref_IDNToUnicode( const UChar* src, int32_t srcLength, UChar* dest, int32_t destCapacity, int32_t options, UParseError* parseError, UErrorCode* status) argument
1001 UParseError parseError; local
[all...]
H A Dstrcase.cpp497 UParseError parseError; local
498 iter.adoptInstead(ubrk_openRules(rules, LENGTHOF(rules), NULL, 0, &parseError, &status));
/external/webkit/Source/WebKit/chromium/tests/
H A DIDBBindingUtilitiesTest.cpp63 IDBKeyPathParseError parseError; local
64 IDBParseKeyPath(keyPath, idbKeyPath, parseError);
65 EXPECT_EQ(IDBKeyPathParseErrorNone, parseError);
78 IDBKeyPathParseError parseError; local
79 IDBParseKeyPath(keyPath, idbKeyPath, parseError);
80 EXPECT_EQ(IDBKeyPathParseErrorNone, parseError);
/external/icu4c/test/cintltst/
H A Dnfsprep.c43 UParseError* parseError,
92 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Capacity, USPREP_DEFAULT, parseError, status);
100 b2Len = usprep_prepare(profile, b1, b1Len, b2, b2Len, USPREP_DEFAULT, parseError, status);
208 UParseError* parseError,
234 pLen = nfs4_prepare(prefix, prefixLen, p, pCapacity, NFS4_MIXED_PREP_PREFIX, parseError, status);
242 pLen = nfs4_prepare(prefix, prefixLen, p, pLen, NFS4_MIXED_PREP_PREFIX, parseError, status);
247 sLen = nfs4_prepare(suffix, suffixLen, s, sCapacity, NFS4_MIXED_PREP_SUFFIX, parseError, status);
255 sLen = nfs4_prepare(suffix, suffixLen, s, sLen, NFS4_MIXED_PREP_SUFFIX, parseError, status);
282 UParseError* parseError,
284 return nfs4_prepare(src, srcLength, dest, destCapacity, NFS4_CIS_PREP, parseError, statu
40 nfs4_prepare( const char* src, int32_t srcLength, char* dest, int32_t destCapacity, NFS4ProfileState state, UParseError* parseError, UErrorCode* status) argument
206 nfs4_mixed_prepare( const char* src, int32_t srcLength, char* dest, int32_t destCapacity, UParseError* parseError, UErrorCode* status) argument
280 nfs4_cis_prepare( const char* src, int32_t srcLength, char* dest, int32_t destCapacity, UParseError* parseError, UErrorCode* status) argument
289 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.c148 UParseError parseError; local
153 &parseError,&status, 1, 3456.00, d1);
188 UParseError parseError; local
197 umsg_applyPattern(formatter,testCasePatterns[i],patternLength,&parseError,&ec);
380 UParseError parseError; local
406 fmt = umsg_open(pattern,u_strlen(pattern),"en_US",&parseError,&status);
419 u_formatMessageWithError( "en_US", pattern, u_strlen(pattern), result, resultlength,&parseError, &status, d1, str, 7);
482 UParseError parseError; local
507 resultLengthOut=u_formatMessageWithError( "en_US", pattern, u_strlen(pattern), result, resultlength,&parseError, &status, d1, str, 7);
513 u_formatMessageWithError( "en_US", pattern, u_strlen(pattern), result, resultlength,&parseError,
1021 UParseError parseError; local
[all...]
/external/webkit/Source/WebCore/html/parser/
H A DHTMLTokenizer.cpp398 parseError();
404 parseError();
419 parseError();
422 parseError();
427 parseError();
446 parseError();
658 parseError();
674 parseError();
693 parseError();
800 parseError();
1688 inline void HTMLTokenizer::parseError() function in class:WebCore::HTMLTokenizer
[all...]
/external/webkit/Source/WebCore/xml/
H A DXPathParser.cpp480 int parseError = xpathyyparse(this); local
483 if (parseError) {

Completed in 797 milliseconds

123