Home
last modified time | relevance | path

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

/external/icu4c/test/intltest/
Ditrbnfrt.cpp298 Formattable parseResult; in doTest() local
299 formatter->parse(formatResult, parseResult, status); in doTest()
305 double rt = (parseResult.getType() == Formattable::kDouble) ? in doTest()
306 parseResult.getDouble() : in doTest()
307 (double)parseResult.getLong(); in doTest()
325 Formattable parseResult; in doTest() local
326 formatter->parse(formatResult, parseResult, status); in doTest()
332 double rt = (parseResult.getType() == Formattable::kDouble) ? in doTest()
333 parseResult.getDouble() : in doTest()
334 (double)parseResult.getLong(); in doTest()
Dnumfmtst.cpp3338 Formattable parseResult; in TestCurrencyIsoPluralFormat() local
3339 numFmt->parse(oneCurrencyFormatResult, parseResult, status); in TestCurrencyIsoPluralFormat()
3341 (parseResult.getType() == Formattable::kDouble && in TestCurrencyIsoPluralFormat()
3342 parseResult.getDouble() != numberToBeFormat) || in TestCurrencyIsoPluralFormat()
3343 (parseResult.getType() == Formattable::kLong && in TestCurrencyIsoPluralFormat()
3344 parseResult.getLong() != numberToBeFormat)) { in TestCurrencyIsoPluralFormat()
3347 if (parseResult.getType() == Formattable::kDouble) { in TestCurrencyIsoPluralFormat()
3348 … errln((UnicodeString)"expected: " + numberToBeFormat + "; actual: " +parseResult.getDouble()); in TestCurrencyIsoPluralFormat()
3350 … errln((UnicodeString)"expected: " + numberToBeFormat + "; actual: " +parseResult.getLong()); in TestCurrencyIsoPluralFormat()
3439 Formattable parseResult; in TestCurrencyParsing() local
[all …]
Dtmsgfmt.cpp1559 Formattable* parseResult = fmt->parse(result, count, ec); in TestRBNF() local
1562 } else if (parseResult[0] != args[0]) { in TestRBNF()
1563 … errln((UnicodeString)"parsed argument " + toString(parseResult[0]) + " != " + toString(args[0])); in TestRBNF()
1565 delete []parseResult; in TestRBNF()
Ditrbnf.cpp110 Formattable parseResult; in TestHebrewFraction() local
Ddtfmttst.cpp2313 UnicodeString parseResult; in TestRelative() local
/external/chromium_org/third_party/icu/source/test/intltest/
Ditrbnfrt.cpp298 Formattable parseResult; in doTest() local
299 formatter->parse(formatResult, parseResult, status); in doTest()
305 double rt = (parseResult.getType() == Formattable::kDouble) ? in doTest()
306 parseResult.getDouble() : in doTest()
307 (double)parseResult.getLong(); in doTest()
325 Formattable parseResult; in doTest() local
326 formatter->parse(formatResult, parseResult, status); in doTest()
332 double rt = (parseResult.getType() == Formattable::kDouble) ? in doTest()
333 parseResult.getDouble() : in doTest()
334 (double)parseResult.getLong(); in doTest()
Dnumfmtst.cpp3013 Formattable parseResult; in TestCurrencyIsoPluralFormat() local
3014 numFmt->parse(oneCurrencyFormatResult, parseResult, status); in TestCurrencyIsoPluralFormat()
3016 (parseResult.getType() == Formattable::kDouble && in TestCurrencyIsoPluralFormat()
3017 parseResult.getDouble() != numberToBeFormat) || in TestCurrencyIsoPluralFormat()
3018 (parseResult.getType() == Formattable::kLong && in TestCurrencyIsoPluralFormat()
3019 parseResult.getLong() != numberToBeFormat)) { in TestCurrencyIsoPluralFormat()
3022 if (parseResult.getType() == Formattable::kDouble) { in TestCurrencyIsoPluralFormat()
3023 … errln((UnicodeString)"expected: " + numberToBeFormat + "; actual: " +parseResult.getDouble()); in TestCurrencyIsoPluralFormat()
3025 … errln((UnicodeString)"expected: " + numberToBeFormat + "; actual: " +parseResult.getLong()); in TestCurrencyIsoPluralFormat()
3123 Formattable parseResult; in TestCurrencyParsing() local
[all …]
Dtmsgfmt.cpp1507 Formattable* parseResult = fmt->parse(result, count, ec); in TestRBNF() local
1510 } else if (parseResult[0] != args[0]) { in TestRBNF()
1511 … errln((UnicodeString)"parsed argument " + toString(parseResult[0]) + " != " + toString(args[0])); in TestRBNF()
1513 delete []parseResult; in TestRBNF()
Ditrbnf.cpp109 Formattable parseResult; in TestHebrewFraction() local
Ddtfmttst.cpp2041 UnicodeString parseResult; in TestRelative() local
/external/chromium_org/chrome/renderer/resources/extensions/
Domnibox_custom_bindings.js97 var parseResult = parseOmniboxDescription(details.description);
98 sendRequest(this.name, [parseResult], this.definition.parameters);
105 var parseResult = parseOmniboxDescription(
107 parseResult.content = userSuggestions[i].content;
108 $Array.push(suggestions, parseResult);
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DCanvasStyle.cpp67 …ColorParseResult parseResult = parseColor(parsedColor, colorString, canvas ? &canvas->document() :… in parseColorOrCurrentColor() local
68 switch (parseResult) { in parseColorOrCurrentColor()
129 ColorParseResult parseResult = parseColor(rgba, color, document); in createFromString() local
130 switch (parseResult) { in createFromString()
147 ColorParseResult parseResult = parseColor(rgba, color); in createFromStringWithOverrideAlpha() local
148 switch (parseResult) { in createFromStringWithOverrideAlpha()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcnumtst.c790 int32_t parseResult; in TestNumberFormat() local
795 parseResult = unum_parse(spellout_def, buffer, len, &pp, &status); in TestNumberFormat()
798 } else if (parseResult != value) { in TestNumberFormat()
799 log_err("unum_format result %d != value %d\n", parseResult, value); in TestNumberFormat()
812 double parseResult = 0.0; in TestNumberFormat() local
818 parseResult = unum_parseDouble(dec_en, numPercent, -1, NULL, &status); in TestNumberFormat()
820 if ( U_FAILURE(status) || parseResult != 12.0 ) { in TestNumberFormat()
822 myErrorName(status), parseResult); in TestNumberFormat()
/external/icu4c/test/cintltst/
Dcnumtst.c771 int32_t parseResult; in TestNumberFormat() local
775 parseResult = unum_parse(spellout_def, buffer, len, &pp, &status); in TestNumberFormat()
778 } else if (parseResult != value) { in TestNumberFormat()
779 log_err("unum_format result %d != value %d\n", parseResult, value); in TestNumberFormat()
792 double parseResult = 0.0; in TestNumberFormat() local
798 parseResult = unum_parseDouble(dec_en, numPercent, -1, NULL, &status); in TestNumberFormat()
800 if ( U_FAILURE(status) || parseResult != 12.0 ) { in TestNumberFormat()
802 myErrorName(status), parseResult); in TestNumberFormat()
/external/chromium_org/third_party/WebKit/Tools/Scripts/
Dbencher1169 def parseResult(result) method in BenchmarkOnVM
1236 def parseResult(result) method in BenchPlan
1238 @benchmarkOnVM.parseResult(result)
1382 result.plan.parseResult(result)
/external/icu4c/i18n/
Dnumfmt.cpp670 Formattable parseResult; in parseCurrency() local
672 parse(text, parseResult, pos); in parseCurrency()
678 LocalPointer<CurrencyAmount> currAmt(new CurrencyAmount(parseResult, curr, ec)); in parseCurrency()
Ddecimfmt.cpp1920 Formattable parseResult; in parseCurrency() local
1923 parse(text, parseResult, pos, curbuf); in parseCurrency()
1926 LocalPointer<CurrencyAmount> currAmt(new CurrencyAmount(parseResult, curbuf, ec)); in parseCurrency()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
DCodeGenerator.java1047 ANTLRParser.rewrite_template_return parseResult = null; in translateTemplateConstructor() local
1049 parseResult = parser.rewrite_template(); in translateTemplateConstructor()
1060 GrammarAST rewriteTree = (GrammarAST)parseResult.getTree(); in translateTemplateConstructor()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSParser-in.cpp6092 bool parseResult; in fastParseColor() local
6098 parseResult = fastParseColorInternal(rgb, name.characters8(), length, strict); in fastParseColor()
6100 parseResult = fastParseColorInternal(rgb, name.characters16(), length, strict); in fastParseColor()
6102 if (parseResult) in fastParseColor()