Home
last modified time | relevance | path

Searched refs:parseResult (Results 1 – 18 of 18) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Ditrbnfrt.cpp300 Formattable parseResult; in doTest() local
301 formatter->parse(formatResult, parseResult, status); in doTest()
307 double rt = (parseResult.getType() == Formattable::kDouble) ? in doTest()
308 parseResult.getDouble() : in doTest()
309 (double)parseResult.getLong(); in doTest()
327 Formattable parseResult; in doTest() local
328 formatter->parse(formatResult, parseResult, status); in doTest()
334 double rt = (parseResult.getType() == Formattable::kDouble) ? in doTest()
335 parseResult.getDouble() : in doTest()
336 (double)parseResult.getLong(); in doTest()
Dnumfmtst.cpp3718 Formattable parseResult; in TestCurrencyIsoPluralFormat() local
3719 numFmt->parse(oneCurrencyFormatResult, parseResult, status); in TestCurrencyIsoPluralFormat()
3721 (parseResult.getType() == Formattable::kDouble && in TestCurrencyIsoPluralFormat()
3722 parseResult.getDouble() != numberToBeFormat) || in TestCurrencyIsoPluralFormat()
3723 (parseResult.getType() == Formattable::kLong && in TestCurrencyIsoPluralFormat()
3724 parseResult.getLong() != numberToBeFormat)) { in TestCurrencyIsoPluralFormat()
3727 if (parseResult.getType() == Formattable::kDouble) { in TestCurrencyIsoPluralFormat()
3728 … errln((UnicodeString)"expected: " + numberToBeFormat + "; actual: " +parseResult.getDouble()); in TestCurrencyIsoPluralFormat()
3730 … errln((UnicodeString)"expected: " + numberToBeFormat + "; actual: " +parseResult.getLong()); in TestCurrencyIsoPluralFormat()
3833 Formattable parseResult; in TestCurrencyParsing() local
[all …]
Dtmsgfmt.cpp1565 Formattable* parseResult = fmt->parse(result, count, ec); in TestRBNF() local
1568 } else if (parseResult[0] != args[0]) { in TestRBNF()
1569 … errln((UnicodeString)"parsed argument " + toString(parseResult[0]) + " != " + toString(args[0])); in TestRBNF()
1571 delete []parseResult; in TestRBNF()
Ditrbnf.cpp120 Formattable parseResult; in TestHebrewFraction() local
Ddtfmttst.cpp2428 UnicodeString parseResult; in TestRelative() local
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DIssue1364.java76 …ParseResult<CompilationUnit> parseResult = javaParser.parse(ParseStart.COMPILATION_UNIT, Providers… in resolveSubClassOfObject() local
77 assertTrue(parseResult.isSuccessful()); in resolveSubClassOfObject()
78 assertTrue(parseResult.getResult().isPresent()); in resolveSubClassOfObject()
80 …List<MethodCallExpr> methodCallExprs = parseResult.getResult().get().findAll(MethodCallExpr.class); in resolveSubClassOfObject()
/external/deqp/executor/tools/
DxeExtractValues.cpp163 xe::TestResultParser::ParseResult parseResult; in testCaseResultComplete() local
166 parseResult = m_testResultParser.parse(caseData->getData(), caseData->getDataSize()); in testCaseResultComplete()
168 …if ((parseResult != xe::TestResultParser::PARSERESULT_ERROR && fullResult.statusCode != xe::TESTST… in testCaseResultComplete()
176 DE_ASSERT(parseResult == xe::TestResultParser::PARSERESULT_ERROR); in testCaseResultComplete()
181 if (parseResult != xe::TestResultParser::PARSERESULT_ERROR) in testCaseResultComplete()
DxeExtractShaderPrograms.cpp159 xe::TestResultParser::ParseResult parseResult; in testCaseResultComplete() local
162 parseResult = m_testResultParser.parse(caseData->getData(), caseData->getDataSize()); in testCaseResultComplete()
163 DE_UNREF(parseResult); in testCaseResultComplete()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DLexicalPreservingPrinter.java83 ParseResult<N> parseResult = new JavaParser().parse(parseStart, provider); in setup() local
84 if (!parseResult.isSuccessful()) { in setup()
86 + parseResult.getProblems()); in setup()
88 …servingPrinter lexicalPreservingPrinter = new LexicalPreservingPrinter(parseResult.getResult().get… in setup()
89 return new Pair<>(parseResult, lexicalPreservingPrinter); in setup()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DSourceRoot.java384 final ParseResult<CompilationUnit> parseResult = new ParseResult<>( in add() local
389 cache.put(path, parseResult); in add()
402 final ParseResult<CompilationUnit> parseResult = new ParseResult<>( in add() local
407 cache.put(path, parseResult); in add()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/
DCommentParsingSteps.java77 …ParseResult<CompilationUnit> parseResult = new JavaParser(new ParserConfiguration()).parse(COMPILA… in givenTheClassWithEncoding() local
78 commentsCollection = parseResult.getCommentsCollection().orElse(new CommentsCollection()); in givenTheClassWithEncoding()
83 …ParseResult<CompilationUnit> parseResult = new JavaParser(new ParserConfiguration()).parse(COMPILA… in whenTheClassIsParsedByTheCommentParser() local
84 commentsCollection = parseResult.getCommentsCollection().orElse(new CommentsCollection()); in whenTheClassIsParsedByTheCommentParser()
/external/aac/libSACdec/src/
Dsac_dec_lib.cpp1377 int parseResult, bitsRead; in mpegSurroundDecoder_Parse() local
1390 parseResult = ((err == MPS_OK) ? bitsRead : -bitsRead); in mpegSurroundDecoder_Parse()
1392 if (parseResult < 0) { in mpegSurroundDecoder_Parse()
1393 parseResult = -parseResult; in mpegSurroundDecoder_Parse()
1408 pMpegSurroundDecoder->mpsDataBits -= parseResult; in mpegSurroundDecoder_Parse()
/external/deqp/executor/
DxeTestResultParser.cpp885 …const TestResultParser::ParseResult parseResult = parser->parse(data.getData(), data.getDataSize()… in parseTestCaseResultFromData() local
891 if (parseResult == TestResultParser::PARSERESULT_ERROR) in parseTestCaseResultFromData()
893 else if (parseResult != TestResultParser::PARSERESULT_COMPLETE) in parseTestCaseResultFromData()
/external/icu/icu4c/source/test/cintltst/
Dcnumtst.c802 int32_t parseResult; in TestNumberFormat() local
806 parseResult = unum_parse(spellout_def, buffer, len, &pp, &status); in TestNumberFormat()
809 } else if (parseResult != value) { in TestNumberFormat()
810 log_err("unum_format result %d != value %d\n", parseResult, value); in TestNumberFormat()
823 double parseResult = 0.0; in TestNumberFormat() local
829 parseResult = unum_parseDouble(dec_en, numPercent, -1, NULL, &status); in TestNumberFormat()
831 if ( U_FAILURE(status) || parseResult != 12.0 ) { in TestNumberFormat()
833 myErrorName(status), parseResult); in TestNumberFormat()
/external/icu/icu4c/source/i18n/
Dnumfmt.cpp733 Formattable parseResult; in parseCurrency() local
735 parse(text, parseResult, pos); in parseCurrency()
741 LocalPointer<CurrencyAmount> currAmt(new CurrencyAmount(parseResult, curr, ec), ec); in parseCurrency()
/external/antlr/tool/src/main/java/org/antlr/codegen/
DCodeGenerator.java1077 ANTLRParser.rewrite_template_return parseResult = null; in translateTemplateConstructor() local
1079 parseResult = parser.rewrite_template(); in translateTemplateConstructor()
1090 GrammarAST rewriteTree = parseResult.getTree(); in translateTemplateConstructor()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatTest.java2236 CurrencyAmount parseResult = (CurrencyAmount) mfmt.parseObject(str); in TestCases() local
2238 target, parseResult); in TestCases()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTest.java2233 CurrencyAmount parseResult = (CurrencyAmount) mfmt.parseObject(str); in TestCases() local
2235 target, parseResult); in TestCases()