/third_party/icu/icu4c/source/test/intltest/ |
D | numfmtdatadriventest.cpp | 348 … UnicodeString("Parse succeeded: ") + result.getDouble() + ", but was expected to fail."); in isParsePass() 352 if (!uprv_isNaN(result.getDouble())) { in isParsePass() 353 … appendErrorMessage.append(UnicodeString("Expected NaN, but got: ") + result.getDouble()); in isParsePass() 358 if (!uprv_isInfinite(result.getDouble()) || result.getDouble() < 0) { in isParsePass() 359 … appendErrorMessage.append(UnicodeString("Expected Inf, but got: ") + result.getDouble()); in isParsePass() 364 if (!uprv_isInfinite(result.getDouble()) || result.getDouble() > 0) { in isParsePass() 365 … appendErrorMessage.append(UnicodeString("Expected -Inf, but got: ") + result.getDouble()); in isParsePass() 370 if (!std::signbit(result.getDouble()) || result.getDouble() != 0) { in isParsePass() 371 … appendErrorMessage.append(UnicodeString("Expected -0.0, but got: ") + result.getDouble()); in isParsePass()
|
D | nmfmapts.cpp | 144 logln((UnicodeString) "" + (int32_t) fD.getDouble() + " formatted to " + res5); in testAPI() 164 if(result1.getType() != Formattable::kDouble && result1.getDouble() != d) { in testAPI() 167 logln(text + " parsed into " + (int32_t) result1.getDouble()); in testAPI() 170 if(result2.getType() != Formattable::kDouble && result2.getDouble() != d) { in testAPI() 173 logln(text + " parsed into " + (int32_t) result2.getDouble()); in testAPI() 180 if(result3.getType() != Formattable::kDouble && result3.getDouble() != d) { in testAPI() 183 logln(text + " parsed into " + (int32_t) result3.getDouble()); in testAPI()
|
D | nmfmtrt.cpp | 243 s = fmt->format(value.getDouble(), s); in test() 263 s2 = fmt->format(n.getDouble(), s2); in test() 300 … escape(s) + " P> " + (n.getType() == Formattable::kDouble ? n.getDouble() : (double)n.getLong()) in test() 312 aa = a.getDouble(); in proportionalError() 317 bb = b.getDouble(); in proportionalError()
|
D | numrgts.cpp | 429 ? result.getDouble() : result.getLong()); in assignFloatValue() 610 dstr = df->format(d.getDouble(), dstr, fp); in Test4068693() 612 errln(UnicodeString("Result -> ") + d.getDouble()); in Test4068693() 761 if (d2.getDouble() != d1) in Test4095713() 762 errln(UnicodeString("Bug 4095713 test failed, new double value : ") + d2.getDouble()); in Test4095713() 1438 temp = df->format(num.getDouble(), temp, pos); in Test4108738() 1447 temp = df->format(num.getDouble(), temp, pos); in Test4108738() 1970 double val = num.getDouble(); in Test4145457() 1980 double val2 = num.getDouble(); in Test4145457() 2161 double e = n.getDouble(); [all …]
|
D | msfmrgts.cpp | 226 case Formattable::kDouble: fmt->format(obj.getDouble(), temp); break; in Test4031438() 241 case Formattable::kDouble: fmt->format(obj1.getDouble(), temp1); break; in Test4031438() 312 if (pos.getErrorIndex() != -1 && obj.getDouble() == -1.0) in Test4052223() 317 if (pos.getErrorIndex() != -1 && obj.getDouble() == 0.0) in Test4052223() 322 if (pos.getErrorIndex() == -1 && ! uprv_isNaN(obj.getDouble())) in Test4052223() 727 …String)" " + (objs[0].getType() == Formattable::kLong ? objs[0].getLong() : objs[0].getDouble())); in Test4118592() 777 if (newobjs[0].getDouble() != 3.1) in Test4118594() 778 errln( UnicodeString("newobjs[0] = ") + newobjs[0].getDouble()); in Test4118594()
|
D | numbertest_parse.cpp | 149 cas.expectedResultDouble, resultObject.getDouble(status)); in testBasic() 164 resultObject.getDouble(status)); in testBasic() 181 cas.expectedResultDouble, resultObject.getDouble(status)); in testBasic() 376 assertEquals("Greedy Parse, expected double", -5.0, resultObject.getDouble(status)); in test20360_BidiOverflow() 409 assertEquals("Unlimited recursion, expected double", -5.0, resultObject.getDouble(status)); in testInfiniteRecursion()
|
D | units_test.cpp | 663 assertEqualsNear(msg.data(), testCase.expected[i].getNumber().getDouble(status), in testComplexUnitsConverter() 664 measures[i]->getNumber().getDouble(status), testCase.accuracy); in testComplexUnitsConverter() 666 assertEquals(msg.data(), testCase.expected[i].getNumber().getDouble(status), in testComplexUnitsConverter() 667 measures[i]->getNumber().getDouble(status)); in testComplexUnitsConverter() 764 assertEqualsNear(testCase.msg, testCase.expected[i].getNumber().getDouble(), in testComplexUnitsConverterSorting() 765 actual[i]->getNumber().getDouble(), testCase.accuracy); in testComplexUnitsConverterSorting() 868 testMessage.append(std::to_string(actual[i]->getNumber().getDouble(status)), status); in checkOutput() 883 actual[i]->getNumber().getDouble(status), permittedDiff); in checkOutput()
|
D | tsnmfmt.cpp | 324 fFormat->format(number[i].getDouble(), string[i]); in tryIt() 357 logln((UnicodeString)"" + k + ": " + number[k].getDouble() + " F> " + in tryIt() 388 + ", doubleValue=" + number.getDouble() in tryIt()
|
D | numfmtst.cpp | 588 a = af.getDouble(); in TestExponential() 647 + " Double: " + af.getDouble() in TestExponential() 1255 logln((UnicodeString)"parse(" + testCase + ") = " + n.getDouble()); in TestLenientParse() 1258 n.getDouble() != 0.25) { in TestLenientParse() 1261 + "; got: " + n.getDouble(status)); in TestLenientParse() 1270 logln((UnicodeString)"parse(" + testCase + ") = " + n.getDouble()); in TestLenientParse() 1273 n.getDouble() != -0.25) { in TestLenientParse() 1276 + "; got: " + n.getDouble(status)); in TestLenientParse() 2821 … return (double) a.getLong() == b.getDouble(); // TODO check use of double instead of long in equalValue() 2825 return a.getDouble() == (double) b.getLong(); in equalValue() [all …]
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | DoubleArrayListTest.java | 123 assertEquals(1D, TERTIARY_LIST.getDouble(0), 0.0); in testGetDouble() 124 assertEquals(2D, TERTIARY_LIST.getDouble(1), 0.0); in testGetDouble() 125 assertEquals(3D, TERTIARY_LIST.getDouble(2), 0.0); in testGetDouble() 227 assertEquals(3D, list.getDouble(0), 0.0); in testSet() 230 assertEquals(0D, list.getDouble(1), 0.0); in testSet() 252 assertEquals(0D, list.getDouble(0), 0.0); in testSetDouble() 255 assertEquals(0D, list.getDouble(1), 0.0); in testSetDouble() 319 assertEquals(1D, list.getDouble(0), 0.0); in testAddAll()
|
/third_party/protobuf/objectivec/Tests/ |
D | GPBDictionaryTests+Int32.m | 2255 XCTAssertFalse([dict getDouble:NULL forKey:11]); 2269 XCTAssertTrue([dict getDouble:NULL forKey:11]); 2270 XCTAssertTrue([dict getDouble:&value forKey:11]); 2272 XCTAssertFalse([dict getDouble:NULL forKey:12]); 2291 XCTAssertTrue([dict getDouble:NULL forKey:11]); 2292 XCTAssertTrue([dict getDouble:&value forKey:11]); 2294 XCTAssertTrue([dict getDouble:NULL forKey:12]); 2295 XCTAssertTrue([dict getDouble:&value forKey:12]); 2297 XCTAssertTrue([dict getDouble:NULL forKey:13]); 2298 XCTAssertTrue([dict getDouble:&value forKey:13]); [all …]
|
D | GPBDictionaryTests+String.m | 2255 XCTAssertFalse([dict getDouble:NULL forKey:@"foo"]); 2269 XCTAssertTrue([dict getDouble:NULL forKey:@"foo"]); 2270 XCTAssertTrue([dict getDouble:&value forKey:@"foo"]); 2272 XCTAssertFalse([dict getDouble:NULL forKey:@"bar"]); 2291 XCTAssertTrue([dict getDouble:NULL forKey:@"foo"]); 2292 XCTAssertTrue([dict getDouble:&value forKey:@"foo"]); 2294 XCTAssertTrue([dict getDouble:NULL forKey:@"bar"]); 2295 XCTAssertTrue([dict getDouble:&value forKey:@"bar"]); 2297 XCTAssertTrue([dict getDouble:NULL forKey:@"baz"]); 2298 XCTAssertTrue([dict getDouble:&value forKey:@"baz"]); [all …]
|
D | GPBDictionaryTests+UInt64.m | 2255 XCTAssertFalse([dict getDouble:NULL forKey:31ULL]); 2269 XCTAssertTrue([dict getDouble:NULL forKey:31ULL]); 2270 XCTAssertTrue([dict getDouble:&value forKey:31ULL]); 2272 XCTAssertFalse([dict getDouble:NULL forKey:32ULL]); 2291 XCTAssertTrue([dict getDouble:NULL forKey:31ULL]); 2292 XCTAssertTrue([dict getDouble:&value forKey:31ULL]); 2294 XCTAssertTrue([dict getDouble:NULL forKey:32ULL]); 2295 XCTAssertTrue([dict getDouble:&value forKey:32ULL]); 2297 XCTAssertTrue([dict getDouble:NULL forKey:33ULL]); 2298 XCTAssertTrue([dict getDouble:&value forKey:33ULL]); [all …]
|
D | GPBDictionaryTests+Int64.m | 2255 XCTAssertFalse([dict getDouble:NULL forKey:21LL]); 2269 XCTAssertTrue([dict getDouble:NULL forKey:21LL]); 2270 XCTAssertTrue([dict getDouble:&value forKey:21LL]); 2272 XCTAssertFalse([dict getDouble:NULL forKey:22LL]); 2291 XCTAssertTrue([dict getDouble:NULL forKey:21LL]); 2292 XCTAssertTrue([dict getDouble:&value forKey:21LL]); 2294 XCTAssertTrue([dict getDouble:NULL forKey:22LL]); 2295 XCTAssertTrue([dict getDouble:&value forKey:22LL]); 2297 XCTAssertTrue([dict getDouble:NULL forKey:23LL]); 2298 XCTAssertTrue([dict getDouble:&value forKey:23LL]); [all …]
|
D | GPBDictionaryTests+UInt32.m | 2255 XCTAssertFalse([dict getDouble:NULL forKey:1U]); 2269 XCTAssertTrue([dict getDouble:NULL forKey:1U]); 2270 XCTAssertTrue([dict getDouble:&value forKey:1U]); 2272 XCTAssertFalse([dict getDouble:NULL forKey:2U]); 2291 XCTAssertTrue([dict getDouble:NULL forKey:1U]); 2292 XCTAssertTrue([dict getDouble:&value forKey:1U]); 2294 XCTAssertTrue([dict getDouble:NULL forKey:2U]); 2295 XCTAssertTrue([dict getDouble:&value forKey:2U]); 2297 XCTAssertTrue([dict getDouble:NULL forKey:3U]); 2298 XCTAssertTrue([dict getDouble:&value forKey:3U]); [all …]
|
D | GPBDictionaryTests+Bool.m | 1900 XCTAssertFalse([dict getDouble:NULL forKey:YES]); 1914 XCTAssertTrue([dict getDouble:NULL forKey:YES]); 1915 XCTAssertTrue([dict getDouble:&value forKey:YES]); 1917 XCTAssertFalse([dict getDouble:NULL forKey:NO]); 1936 XCTAssertTrue([dict getDouble:NULL forKey:YES]); 1937 XCTAssertTrue([dict getDouble:&value forKey:YES]); 1939 XCTAssertTrue([dict getDouble:NULL forKey:NO]); 1940 XCTAssertTrue([dict getDouble:&value forKey:NO]); 2091 XCTAssertTrue([dict getDouble:NULL forKey:YES]); 2092 XCTAssertTrue([dict getDouble:&value forKey:YES]); [all …]
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
D | deRandom.hpp | 45 double getDouble (void) { return deRandom_getDouble(&m_rnd); } in getDouble() function in de::Random 49 double getDouble (double min, double max); 87 inline double Random::getDouble (double min, double max) in getDouble() function in de::Random 90 return min + (max-min)*getDouble(); in getDouble()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | measfmt.cpp | 321 if (hms[0].getDouble() < 0.0) { in toHMS() 331 if (hms[1].getDouble() < 0.0) { in toHMS() 341 if (hms[2].getDouble() < 0.0) { in toHMS() 512 result.quantity.setToDouble(measure.getNumber().getDouble(status)); in formatMeasurePerUnit() 712 result.quantity.setToDouble(amtNumber.getDouble(status)); in formatMeasure() 735 double hours = hms[0].getDouble(status); in formatNumeric() 736 double minutes = hms[1].getDouble(status); in formatNumeric() 737 double seconds = hms[2].getDouble(status); in formatNumeric()
|
D | fmtable.cpp | 494 Formattable::getDouble(UErrorCode& status) const in getDouble() function in Formattable 514 getNumber().getDouble(status); in getDouble() 760 output.setToDouble(this->getDouble()); in populateDecimalQuantity() 859 stream << obj.getDouble() << 'D'; 945 return obj->getDouble(*status); in ufmt_getDouble()
|
/third_party/icu/icu4c/source/i18n/ |
D | measfmt.cpp | 321 if (hms[0].getDouble() < 0.0) { in toHMS() 331 if (hms[1].getDouble() < 0.0) { in toHMS() 341 if (hms[2].getDouble() < 0.0) { in toHMS() 512 result.quantity.setToDouble(measure.getNumber().getDouble(status)); in formatMeasurePerUnit() 712 result.quantity.setToDouble(amtNumber.getDouble(status)); in formatMeasure() 735 double hours = hms[0].getDouble(status); in formatNumeric() 736 double minutes = hms[1].getDouble(status); in formatNumeric() 737 double seconds = hms[2].getDouble(status); in formatNumeric()
|
/third_party/node/deps/icu-small/source/i18n/ |
D | measfmt.cpp | 321 if (hms[0].getDouble() < 0.0) { in toHMS() 331 if (hms[1].getDouble() < 0.0) { in toHMS() 341 if (hms[2].getDouble() < 0.0) { in toHMS() 512 result.quantity.setToDouble(measure.getNumber().getDouble(status)); in formatMeasurePerUnit() 712 result.quantity.setToDouble(amtNumber.getDouble(status)); in formatMeasure() 735 double hours = hms[0].getDouble(status); in formatNumeric() 736 double minutes = hms[1].getDouble(status); in formatNumeric() 737 double seconds = hms[2].getDouble(status); in formatNumeric()
|
D | fmtable.cpp | 494 Formattable::getDouble(UErrorCode& status) const in getDouble() function in Formattable 514 getNumber().getDouble(status); in getDouble() 760 output.setToDouble(this->getDouble()); in populateDecimalQuantity() 859 stream << obj.getDouble() << 'D'; 945 return obj->getDouble(*status); in ufmt_getDouble()
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | UnsafeUtil.java | 160 static double getDouble(Object target, long offset) { in getDouble() method in UnsafeUtil 161 return MEMORY_ACCESSOR.getDouble(target, offset); in getDouble() 222 static double getDouble(double[] target, long index) { in getDouble() method in UnsafeUtil 223 return MEMORY_ACCESSOR.getDouble( in getDouble() 577 public abstract double getDouble(Object target, long offset); in getDouble() method in UnsafeUtil.MemoryAccessor 683 public double getDouble(Object target, long offset) { in getDouble() method in UnsafeUtil.JvmMemoryAccessor 684 return unsafe.getDouble(target, offset); in getDouble() 791 public double getDouble(Object target, long offset) { in getDouble() method in UnsafeUtil.Android64MemoryAccessor 911 public double getDouble(Object target, long offset) { in getDouble() method in UnsafeUtil.Android32MemoryAccessor
|
/third_party/flutter/engine/flutter/testing/dart/ |
D | plugin_utilities_test.dart | 14 double getDouble() => 1.0; 41 expect(PluginUtilities.getCallbackHandle(foo.getDouble), isNull);
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | fmtable.cpp | 494 Formattable::getDouble(UErrorCode& status) const in getDouble() function in Formattable 514 getNumber().getDouble(status); in getDouble() 755 output.setToDouble(this->getDouble()); in populateDecimalQuantity() 854 stream << obj.getDouble() << 'D'; 940 return obj->getDouble(*status); in ufmt_getDouble()
|