/third_party/node/deps/icu-small/source/common/ |
D | messagepattern.cpp | 162 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 …]
|
D | uidna.cpp | 198 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 …]
|
D | usprep.cpp | 437 UParseError* parseError){ in uprv_syntaxError() argument 438 if(parseError == nullptr){ in uprv_syntaxError() 441 parseError->offset = pos; in uprv_syntaxError() 442 parseError->line = 0 ; // we are not using line numbers in uprv_syntaxError() 448 u_memcpy(parseError->preContext,rules+start,limit-start); in uprv_syntaxError() 450 parseError->preContext[limit-start] = 0; in uprv_syntaxError() 459 u_memcpy(parseError->postContext,rules+start,limit-start); in uprv_syntaxError() 462 parseError->postContext[limit-start]= 0; in uprv_syntaxError() 511 UParseError* parseError, in usprep_map() argument 540 uprv_syntaxError(src,srcIndex-U16_LENGTH(ch), srcLength,parseError); in usprep_map() [all …]
|
/third_party/icu/icu4c/source/common/ |
D | messagepattern.cpp | 162 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 …]
|
D | uidna.cpp | 198 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 …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | messagepattern.cpp | 162 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 …]
|
D | uidna.cpp | 198 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 …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | transtst.cpp | 238 UParseError parseError; in TestInstantiation() local 241 UTRANS_FORWARD, parseError,status); in TestInstantiation() 252 ", line " + parseError.line + in TestInstantiation() 253 ", offset " + parseError.offset + in TestInstantiation() 254 ", pre-context " + prettify(parseError.preContext, true) + in TestInstantiation() 255 ", post-context " +prettify(parseError.postContext,true) + in TestInstantiation() 272 rules, UTRANS_FORWARD, parseError,status); in TestInstantiation() 277 ", line " + parseError.line + in TestInstantiation() 278 ", offset " + parseError.offset + in TestInstantiation() 279 ", context " + prettify(parseError.preContext, true) + in TestInstantiation() [all …]
|
D | transapi.cpp | 74 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 …]
|
D | cpdtrtst.cpp | 44 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 …]
|
D | testidna.cpp | 420 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() 484 destLen = func(src,-1,dest,destLen+1,options, &parseError, &status); in testAPI() 509 destLen = func(src,-1,NULL,0,options | UIDNA_ALLOW_UNASSIGNED, &parseError, &status); in testAPI() [all …]
|
D | idnaref.cpp | 260 UParseError* parseError, in idnaref_toASCII() argument 309 b1Len = prep->process(src,srcLength,b1, b1Capacity,allowUnassigned,parseError,*status); in idnaref_toASCII() 322 b1Len = prep->process(src,srcLength,b1, b1Len,allowUnassigned, parseError, *status); in idnaref_toASCII() 429 UParseError* parseError, in idnaref_toUnicode() argument 499 b1Len = prep->process(src,srcLength,b1,b1Capacity,allowUnassigned, parseError, *status); in idnaref_toUnicode() 511 b1Len = prep->process(src,srcLength,b1, b1Len,allowUnassigned, parseError, *status); in idnaref_toUnicode() 561 b3Len = idnaref_toASCII(b2,b2Len,b3,b3Capacity,options,parseError, status); in idnaref_toUnicode() 574 b3Len = idnaref_toASCII(b2,b2Len,b3,b3Len, options, parseError, status); in idnaref_toUnicode() 603 uprv_syntaxError(src,failPos, srcLength,parseError); in idnaref_toUnicode() 606 uprv_syntaxError(src,0,srcLength,parseError); in idnaref_toUnicode() [all …]
|
D | trnserr.cpp | 59 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()
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | spreptst.c | 328 UParseError parseError; in Test_nfs4_cis_prep() local 334 … destLen = nfs4_cis_prepare(src , (int32_t)strlen(src), dest, destLen, &parseError, &status); in Test_nfs4_cis_prep() 338 … destLen = nfs4_cis_prepare( src , (int32_t)strlen(src), dest, destLen, &parseError, &status); in Test_nfs4_cis_prep() 453 UParseError parseError; in Test_nfs4_mixed_prep() local 459 destLen = nfs4_mixed_prepare(src, srcLen, NULL, 0, &parseError, &status); in Test_nfs4_mixed_prep() 463 destLen = nfs4_mixed_prepare(src, srcLen, dest, destLen, &parseError, &status); in Test_nfs4_mixed_prep() 478 UParseError parseError; in Test_nfs4_mixed_prep() local 482 nfs4_mixed_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, &parseError, &status); in Test_nfs4_mixed_prep() 506 UParseError parseError; in Test_nfs4_cs_prep() local 510 …int32_t destLen = nfs4_cs_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, false, &parseError, &status); in Test_nfs4_cs_prep() [all …]
|
D | nfsprep.c | 45 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 …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | ucol_sit.cpp | 336 UParseError *parseError, UErrorCode *status) in ucol_sit_readSpecs() argument 347 parseError->offset = (int32_t)(string - definition); in ucol_sit_readSpecs() 429 UParseError *parseError, in ucol_prepareShortStringOpen() argument 436 if(!parseError) { in ucol_prepareShortStringOpen() 437 parseError = &internalParseError; in ucol_prepareShortStringOpen() 439 parseError->line = 0; in ucol_prepareShortStringOpen() 440 parseError->offset = 0; in ucol_prepareShortStringOpen() 441 parseError->preContext[0] = 0; in ucol_prepareShortStringOpen() 442 parseError->postContext[0] = 0; in ucol_prepareShortStringOpen() 451 ucol_sit_readSpecs(&s, definition, parseError, status); in ucol_prepareShortStringOpen() [all …]
|
D | format.cpp | 176 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()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | ucol_sit.cpp | 335 UParseError *parseError, UErrorCode *status) in ucol_sit_readSpecs() argument 346 parseError->offset = (int32_t)(string - definition); in ucol_sit_readSpecs() 428 UParseError *parseError, in ucol_prepareShortStringOpen() argument 435 if(!parseError) { in ucol_prepareShortStringOpen() 436 parseError = &internalParseError; in ucol_prepareShortStringOpen() 438 parseError->line = 0; in ucol_prepareShortStringOpen() 439 parseError->offset = 0; in ucol_prepareShortStringOpen() 440 parseError->preContext[0] = 0; in ucol_prepareShortStringOpen() 441 parseError->postContext[0] = 0; in ucol_prepareShortStringOpen() 450 ucol_sit_readSpecs(&s, definition, parseError, status); in ucol_prepareShortStringOpen() [all …]
|
D | format.cpp | 176 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()
|
/third_party/icu/icu4c/source/i18n/ |
D | ucol_sit.cpp | 335 UParseError *parseError, UErrorCode *status) in ucol_sit_readSpecs() argument 346 parseError->offset = (int32_t)(string - definition); in ucol_sit_readSpecs() 428 UParseError *parseError, in ucol_prepareShortStringOpen() argument 435 if(!parseError) { in ucol_prepareShortStringOpen() 436 parseError = &internalParseError; in ucol_prepareShortStringOpen() 438 parseError->line = 0; in ucol_prepareShortStringOpen() 439 parseError->offset = 0; in ucol_prepareShortStringOpen() 440 parseError->preContext[0] = 0; in ucol_prepareShortStringOpen() 441 parseError->postContext[0] = 0; in ucol_prepareShortStringOpen() 450 ucol_sit_readSpecs(&s, definition, parseError, status); in ucol_prepareShortStringOpen() [all …]
|
D | format.cpp | 176 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()
|
/third_party/node/deps/icu-small/source/common/unicode/ |
D | messagepattern.h | 403 MessagePattern(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode); 444 UParseError *parseError, UErrorCode &errorCode); 464 UParseError *parseError, UErrorCode &errorCode); 484 UParseError *parseError, UErrorCode &errorCode); 504 UParseError *parseError, UErrorCode &errorCode); 835 void preParse(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode); 841 UParseError *parseError, UErrorCode &errorCode); 844 UParseError *parseError, UErrorCode &errorCode); 846 int32_t parseSimpleStyle(int32_t index, UParseError *parseError, UErrorCode &errorCode); 849 UParseError *parseError, UErrorCode &errorCode); [all …]
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
D | messagepattern.h | 403 MessagePattern(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode); 444 UParseError *parseError, UErrorCode &errorCode); 464 UParseError *parseError, UErrorCode &errorCode); 484 UParseError *parseError, UErrorCode &errorCode); 504 UParseError *parseError, UErrorCode &errorCode); 835 void preParse(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode); 841 UParseError *parseError, UErrorCode &errorCode); 844 UParseError *parseError, UErrorCode &errorCode); 846 int32_t parseSimpleStyle(int32_t index, UParseError *parseError, UErrorCode &errorCode); 849 UParseError *parseError, UErrorCode &errorCode); [all …]
|
/third_party/icu/icu4c/source/common/unicode/ |
D | messagepattern.h | 403 MessagePattern(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode); 444 UParseError *parseError, UErrorCode &errorCode); 464 UParseError *parseError, UErrorCode &errorCode); 484 UParseError *parseError, UErrorCode &errorCode); 504 UParseError *parseError, UErrorCode &errorCode); 835 void preParse(const UnicodeString &pattern, UParseError *parseError, UErrorCode &errorCode); 841 UParseError *parseError, UErrorCode &errorCode); 844 UParseError *parseError, UErrorCode &errorCode); 846 int32_t parseSimpleStyle(int32_t index, UParseError *parseError, UErrorCode &errorCode); 849 UParseError *parseError, UErrorCode &errorCode); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | JSON.cpp | 213 return parseError("Invalid UTF-8 sequence"); in checkUTF8() 222 return parseError("Text after end of document"); in assertEnd() 240 bool parseError(const char *Msg); // always returns false 257 return parseError("Unexpected EOF"); in parseValue() 263 parseError("Invalid JSON value (null?)"); in parseValue() 267 parseError("Invalid JSON value (true?)"); in parseValue() 271 parseError("Invalid JSON value (false?)"); in parseValue() 300 return parseError("Expected , or ] after array element"); in parseValue() 314 return parseError("Expected object key"); in parseValue() 320 return parseError("Expected : after object key"); in parseValue() [all …]
|