/external/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 …]
|
/external/llvm-project/mlir/examples/toy/Ch7/include/toy/ |
D | Parser.h | 59 return parseError<ModuleAST>("'def' or 'struct'", in parseModule() 69 return parseError<ModuleAST>("nothing", "at end of module"); in parseModule() 122 return parseError<ExprAST>("<num> or [", "in literal expression"); in parseTensorLiteralExpr() 132 return parseError<ExprAST>("] or ,", "in literal expression"); in parseTensorLiteralExpr() 137 return parseError<ExprAST>("<something>", "to fill literal expression"); in parseTensorLiteralExpr() 150 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 161 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 164 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 192 return parseError<ExprAST>("{, [, or number", in parseStructLiteralExpr() 203 return parseError<ExprAST>("} or ,", "in struct literal expression"); in parseStructLiteralExpr() [all …]
|
/external/llvm-project/mlir/examples/toy/Ch4/include/toy/ |
D | Parser.h | 54 return parseError<ModuleAST>("nothing", "at end of module"); in parseModule() 107 return parseError<ExprAST>("<num> or [", "in literal expression"); in parseTensorLiteralExpr() 117 return parseError<ExprAST>("] or ,", "in literal expression"); in parseTensorLiteralExpr() 122 return parseError<ExprAST>("<something>", "to fill literal expression"); in parseTensorLiteralExpr() 135 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 146 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 149 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 165 return parseError<ExprAST>(")", "to close expression with parentheses"); in parseParenExpr() 196 return parseError<ExprAST>(", or )", "in argument list"); in parseIdentifierExpr() 205 return parseError<ExprAST>("<single arg>", "as argument to print()"); in parseIdentifierExpr() [all …]
|
/external/llvm-project/mlir/examples/toy/Ch2/include/toy/ |
D | Parser.h | 54 return parseError<ModuleAST>("nothing", "at end of module"); in parseModule() 107 return parseError<ExprAST>("<num> or [", "in literal expression"); in parseTensorLiteralExpr() 117 return parseError<ExprAST>("] or ,", "in literal expression"); in parseTensorLiteralExpr() 122 return parseError<ExprAST>("<something>", "to fill literal expression"); in parseTensorLiteralExpr() 135 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 146 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 149 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 165 return parseError<ExprAST>(")", "to close expression with parentheses"); in parseParenExpr() 196 return parseError<ExprAST>(", or )", "in argument list"); in parseIdentifierExpr() 205 return parseError<ExprAST>("<single arg>", "as argument to print()"); in parseIdentifierExpr() [all …]
|
/external/llvm-project/mlir/examples/toy/Ch5/include/toy/ |
D | Parser.h | 54 return parseError<ModuleAST>("nothing", "at end of module"); in parseModule() 107 return parseError<ExprAST>("<num> or [", "in literal expression"); in parseTensorLiteralExpr() 117 return parseError<ExprAST>("] or ,", "in literal expression"); in parseTensorLiteralExpr() 122 return parseError<ExprAST>("<something>", "to fill literal expression"); in parseTensorLiteralExpr() 135 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 146 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 149 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 165 return parseError<ExprAST>(")", "to close expression with parentheses"); in parseParenExpr() 196 return parseError<ExprAST>(", or )", "in argument list"); in parseIdentifierExpr() 205 return parseError<ExprAST>("<single arg>", "as argument to print()"); in parseIdentifierExpr() [all …]
|
/external/llvm-project/mlir/examples/toy/Ch6/include/toy/ |
D | Parser.h | 54 return parseError<ModuleAST>("nothing", "at end of module"); in parseModule() 107 return parseError<ExprAST>("<num> or [", "in literal expression"); in parseTensorLiteralExpr() 117 return parseError<ExprAST>("] or ,", "in literal expression"); in parseTensorLiteralExpr() 122 return parseError<ExprAST>("<something>", "to fill literal expression"); in parseTensorLiteralExpr() 135 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 146 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 149 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 165 return parseError<ExprAST>(")", "to close expression with parentheses"); in parseParenExpr() 196 return parseError<ExprAST>(", or )", "in argument list"); in parseIdentifierExpr() 205 return parseError<ExprAST>("<single arg>", "as argument to print()"); in parseIdentifierExpr() [all …]
|
/external/llvm-project/mlir/examples/toy/Ch1/include/toy/ |
D | Parser.h | 54 return parseError<ModuleAST>("nothing", "at end of module"); in parseModule() 107 return parseError<ExprAST>("<num> or [", "in literal expression"); in parseTensorLiteralExpr() 117 return parseError<ExprAST>("] or ,", "in literal expression"); in parseTensorLiteralExpr() 122 return parseError<ExprAST>("<something>", "to fill literal expression"); in parseTensorLiteralExpr() 135 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 146 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 149 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 165 return parseError<ExprAST>(")", "to close expression with parentheses"); in parseParenExpr() 196 return parseError<ExprAST>(", or )", "in argument list"); in parseIdentifierExpr() 205 return parseError<ExprAST>("<single arg>", "as argument to print()"); in parseIdentifierExpr() [all …]
|
/external/llvm-project/mlir/examples/toy/Ch3/include/toy/ |
D | Parser.h | 54 return parseError<ModuleAST>("nothing", "at end of module"); in parseModule() 107 return parseError<ExprAST>("<num> or [", "in literal expression"); in parseTensorLiteralExpr() 117 return parseError<ExprAST>("] or ,", "in literal expression"); in parseTensorLiteralExpr() 122 return parseError<ExprAST>("<something>", "to fill literal expression"); in parseTensorLiteralExpr() 135 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 146 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 149 return parseError<ExprAST>("uniform well-nested dimensions", in parseTensorLiteralExpr() 165 return parseError<ExprAST>(")", "to close expression with parentheses"); in parseParenExpr() 196 return parseError<ExprAST>(", or )", "in argument list"); in parseIdentifierExpr() 205 return parseError<ExprAST>("<single arg>", "as argument to print()"); in parseIdentifierExpr() [all …]
|
/external/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()
|
D | idnaref.h | 67 UParseError* parseError, 105 UParseError* parseError, 148 UParseError* parseError, 187 UParseError* parseError,
|
/external/icu/icu4c/source/test/cintltst/ |
D | spreptst.c | 327 UParseError parseError; in Test_nfs4_cis_prep() local 333 … destLen = nfs4_cis_prepare(src , (int32_t)strlen(src), dest, destLen, &parseError, &status); in Test_nfs4_cis_prep() 337 … destLen = nfs4_cis_prepare( src , (int32_t)strlen(src), dest, destLen, &parseError, &status); in Test_nfs4_cis_prep() 452 UParseError parseError; in Test_nfs4_mixed_prep() local 458 destLen = nfs4_mixed_prepare(src, srcLen, NULL, 0, &parseError, &status); in Test_nfs4_mixed_prep() 462 destLen = nfs4_mixed_prepare(src, srcLen, dest, destLen, &parseError, &status); in Test_nfs4_mixed_prep() 477 UParseError parseError; in Test_nfs4_mixed_prep() local 481 nfs4_mixed_prepare(src, srcLen, dest, MAX_BUFFER_SIZE, &parseError, &status); in Test_nfs4_mixed_prep() 505 UParseError parseError; in Test_nfs4_cs_prep() local 509 …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 …]
|
D | nfsprep.h | 57 UParseError* parseError, 72 UParseError* parseError, 87 UParseError* parseError, 103 UParseError* parseError,
|
/external/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()
|
/external/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 …]
|
/external/icu/libicu/cts_headers/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 …]
|
/external/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 …]
|
/external/icu/libicu/cts_headers/ |
D | cpdtrans.h | 78 UParseError& parseError, 86 UParseError& parseError, 193 UParseError& parseError, 197 UParseError& parseError, 202 UParseError& parseError,
|