Home
last modified time | relevance | path

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

12345678

/external/chromium_org/third_party/icu/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
457 …en = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, status); in _internal_toUnicode()
469 … b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Len, namePrepOptions, parseError, status); in _internal_toUnicode()
[all …]
/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
457 …en = usprep_prepare(nameprep, src, srcLength, b1, b1Capacity, namePrepOptions, parseError, status); in _internal_toUnicode()
469 … b1Len = usprep_prepare(nameprep, src, srcLength, b1, b1Len, namePrepOptions, parseError, status); in _internal_toUnicode()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLTokenizer.cpp324 parseError(); in nextToken()
330 parseError(); in nextToken()
347 parseError(); in nextToken()
350 parseError(); in nextToken()
355 parseError(); in nextToken()
372 parseError(); in nextToken()
605 parseError(); in nextToken()
621 parseError(); in nextToken()
640 parseError(); in nextToken()
754 parseError(); in nextToken()
[all …]
DHTMLTreeBuilder.cpp444 parseError(token); in processDoctypeToken()
623 parseError(token); in processStartTagForInBody()
633 parseError(token); in processStartTagForInBody()
678 parseError(token); in processStartTagForInBody()
693 parseError(token); in processStartTagForInBody()
717 parseError(token); in processStartTagForInBody()
730 parseError(token); in processStartTagForInBody()
748 parseError(token); in processStartTagForInBody()
779 parseError(token); in processStartTagForInBody()
874 parseError(token); in processStartTagForInBody()
[all …]
/external/chromium_org/third_party/icu/source/test/intltest/
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 …]
Dtranstst.cpp236 UParseError parseError; in TestInstantiation() local
239 UTRANS_FORWARD, parseError,status); in TestInstantiation()
249 ", line " + parseError.line + in TestInstantiation()
250 ", offset " + parseError.offset + in TestInstantiation()
251 ", pre-context " + prettify(parseError.preContext, TRUE) + in TestInstantiation()
252 ", post-context " +prettify(parseError.postContext,TRUE) + in TestInstantiation()
269 rules, UTRANS_FORWARD, parseError,status); in TestInstantiation()
274 ", line " + parseError.line + in TestInstantiation()
275 ", offset " + parseError.offset + in TestInstantiation()
276 ", context " + prettify(parseError.preContext, TRUE) + in TestInstantiation()
[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 …]
/external/icu/icu4c/source/test/intltest/
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 …]
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 …]
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 …]
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGFELightElement.cpp100 SVGParsingError parseError = NoError; in parseAttribute() local
103 m_azimuth->setBaseValueAsString(value, parseError); in parseAttribute()
105 m_elevation->setBaseValueAsString(value, parseError); in parseAttribute()
107 m_x->setBaseValueAsString(value, parseError); in parseAttribute()
109 m_y->setBaseValueAsString(value, parseError); in parseAttribute()
111 m_z->setBaseValueAsString(value, parseError); in parseAttribute()
113 m_pointsAtX->setBaseValueAsString(value, parseError); in parseAttribute()
115 m_pointsAtY->setBaseValueAsString(value, parseError); in parseAttribute()
117 m_pointsAtZ->setBaseValueAsString(value, parseError); in parseAttribute()
119 m_specularExponent->setBaseValueAsString(value, parseError); in parseAttribute()
[all …]
DSVGMaskElement.cpp77 SVGParsingError parseError = NoError; in parseAttribute() local
82 m_maskUnits->setBaseValueAsString(value, parseError); in parseAttribute()
84 m_maskContentUnits->setBaseValueAsString(value, parseError); in parseAttribute()
86 m_x->setBaseValueAsString(value, parseError); in parseAttribute()
88 m_y->setBaseValueAsString(value, parseError); in parseAttribute()
90 m_width->setBaseValueAsString(value, parseError); in parseAttribute()
92 m_height->setBaseValueAsString(value, parseError); in parseAttribute()
97 reportAttributeParsingError(parseError, name, value); in parseAttribute()
DSVGFEConvolveMatrixElement.cpp98 SVGParsingError parseError = NoError; in parseAttribute() local
101 m_in1->setBaseValueAsString(value, parseError); in parseAttribute()
103 m_divisor->setBaseValueAsString(value, parseError); in parseAttribute()
105 m_bias->setBaseValueAsString(value, parseError); in parseAttribute()
107 m_kernelUnitLength->setBaseValueAsString(value, parseError); in parseAttribute()
109 m_kernelMatrix->setBaseValueAsString(value, parseError); in parseAttribute()
111 m_preserveAlpha->setBaseValueAsString(value, parseError); in parseAttribute()
113 m_edgeMode->setBaseValueAsString(value, parseError); in parseAttribute()
115 m_targetX->setBaseValueAsString(value, parseError); in parseAttribute()
117 m_targetY->setBaseValueAsString(value, parseError); in parseAttribute()
[all …]
DSVGMarkerElement.cpp89 SVGParsingError parseError = NoError; in parseAttribute() local
94 m_markerUnits->setBaseValueAsString(value, parseError); in parseAttribute()
96 m_refX->setBaseValueAsString(value, parseError); in parseAttribute()
98 m_refY->setBaseValueAsString(value, parseError); in parseAttribute()
100 m_markerWidth->setBaseValueAsString(value, parseError); in parseAttribute()
102 m_markerHeight->setBaseValueAsString(value, parseError); in parseAttribute()
104 m_orientAngle->setBaseValueAsString(value, parseError); in parseAttribute()
105 else if (SVGFitToViewBox::parseAttribute(name, value, document(), parseError)) { in parseAttribute()
109 reportAttributeParsingError(parseError, name, value); in parseAttribute()
/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.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 …]
/external/chromium_org/third_party/icu/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.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 …]
/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 …]
/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/chromium_org/third_party/icu/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/chromium_org/third_party/icu/source/i18n/
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()

12345678