/external/pdfium/core/fxcrt/ |
D | fx_string_unittest.cpp | 156 EXPECT_FLOAT_EQ(0.0, StringToDouble("")); in TEST() 157 EXPECT_FLOAT_EQ(0.0, StringToDouble("0")); in TEST() 158 EXPECT_FLOAT_EQ(0.0, StringToDouble("0.0")); in TEST() 159 EXPECT_FLOAT_EQ(0.0, StringToDouble("-0.0")); in TEST() 161 EXPECT_FLOAT_EQ(0.25, StringToDouble("0.25")); in TEST() 162 EXPECT_FLOAT_EQ(-0.25, StringToDouble("-0.25")); in TEST() 164 EXPECT_FLOAT_EQ(100.0, StringToDouble("100")); in TEST() 165 EXPECT_FLOAT_EQ(100.0, StringToDouble("100.0")); in TEST() 166 EXPECT_FLOAT_EQ(100.0, StringToDouble(" 100.0")); in TEST() 167 EXPECT_FLOAT_EQ(-100.0, StringToDouble("-100.0000")); in TEST() [all …]
|
D | fx_string.cpp | 153 double StringToDouble(ByteStringView strc) { in StringToDouble() function 158 double StringToDouble(WideStringView wsStr) { in StringToDouble() function 159 return StringToDouble(FX_UTF8Encode(wsStr).c_str()); in StringToDouble()
|
D | fx_string.h | 28 double StringToDouble(ByteStringView str); 29 double StringToDouble(WideStringView wsStr);
|
/external/perfetto/src/base/ |
D | string_utils_unittest.cc | 132 TEST(StringUtilsTest, StringToDouble) { in TEST() argument 133 EXPECT_DOUBLE_EQ(StringToDouble("0").value(), 0l); in TEST() 134 EXPECT_DOUBLE_EQ(StringToDouble("1").value(), 1l); in TEST() 135 EXPECT_DOUBLE_EQ(StringToDouble("-42").value(), -42l); in TEST() 136 EXPECT_DOUBLE_EQ(StringToDouble("-42.5").value(), -42.5l); in TEST() 137 EXPECT_DOUBLE_EQ(StringToDouble("0.5").value(), .5l); in TEST() 138 EXPECT_DOUBLE_EQ(StringToDouble(".5").value(), .5l); in TEST() 139 EXPECT_EQ(StringToDouble(""), nullopt); in TEST() 140 EXPECT_EQ(StringToDouble("!?"), nullopt); in TEST() 141 EXPECT_EQ(StringToDouble("abc"), nullopt); in TEST() [all …]
|
/external/ImageMagick/MagickCore/ |
D | geometry.c | 225 value=StringToDouble(p,&q); in GetGeometry() 244 *width=((size_t) floor(StringToDouble(p,&p)+0.5)) & 0x7fffffff; in GetGeometry() 263 *height=((size_t) floor(StringToDouble(p,&p)+0.5)) & 0x7fffffff; in GetGeometry() 282 *x=((ssize_t) ceil(StringToDouble(p,&p)-0.5)) & 0x7fffffff; in GetGeometry() 303 *y=((ssize_t) ceil(StringToDouble(p,&p)-0.5)) & 0x7fffffff; in GetGeometry() 665 value=StringToDouble(geometry,&p); in IsSceneGeometry() 781 affine_matrix->sx=StringToDouble(token,(char **) NULL); in ParseAffineGeometry() 786 affine_matrix->rx=StringToDouble(token,(char **) NULL); in ParseAffineGeometry() 791 affine_matrix->ry=StringToDouble(token,(char **) NULL); in ParseAffineGeometry() 796 affine_matrix->sy=StringToDouble(token,(char **) NULL); in ParseAffineGeometry() [all …]
|
D | string-private.h | 43 static inline double StringToDouble(const char *magick_restrict string, in StringToDouble() function
|
D | quantum.c | 440 quantum_info->minimum=StringToDouble(option,(char **) NULL); in GetQuantumInfo() 443 quantum_info->maximum=StringToDouble(option,(char **) NULL); in GetQuantumInfo() 457 quantum_info->scale=StringToDouble(option,(char **) NULL); in GetQuantumInfo()
|
D | colorspace.c | 723 white_luminance=StringToDouble(value,(char **) NULL); in sRGBTransformImage() 942 gamma=PerceptibleReciprocal(StringToDouble(value,(char **) NULL)); in sRGBTransformImage() 946 film_gamma=StringToDouble(value,(char **) NULL); in sRGBTransformImage() 950 reference_black=StringToDouble(value,(char **) NULL); in sRGBTransformImage() 954 reference_white=StringToDouble(value,(char **) NULL); in sRGBTransformImage() 2306 white_luminance=StringToDouble(value,(char **) NULL); in TransformsRGBImage() 2520 gamma=PerceptibleReciprocal(StringToDouble(value,(char **) NULL)); in TransformsRGBImage() 2524 film_gamma=StringToDouble(value,(char **) NULL); in TransformsRGBImage() 2528 reference_black=StringToDouble(value,(char **) NULL); in TransformsRGBImage() 2532 reference_white=StringToDouble(value,(char **) NULL); in TransformsRGBImage()
|
/external/libchrome/libchrome_tools/patch/ |
D | dmg_fp.patch | 63 bool StringToDouble(const std::string& input, double* output) { 76 @@ -433,10 +443,11 @@ bool StringToDouble(const std::string& input, double* output) { 93 @@ -754,20 +754,8 @@ TEST(StringNumberConversionsTest, StringToDouble) { 116 @@ -797,7 +785,8 @@ TEST(StringNumberConversionsTest, StringToDouble) { 120 - EXPECT_EQ(cases[i].success, StringToDouble(cases[i].input, &output)); 121 + EXPECT_EQ(cases[i].success, StringToDouble(cases[i].input, &output))
|
/external/icu/libicu/cts_headers/ |
D | double-conversion-string-to-double.h | 200 double StringToDouble(const char* buffer, 205 double StringToDouble(const uc16* buffer,
|
/external/icu/icu4c/source/i18n/ |
D | double-conversion-string-to-double.h | 200 double StringToDouble(const char* buffer, 205 double StringToDouble(const uc16* buffer,
|
/external/ImageMagick/coders/ |
D | msl.c | 801 draw_info->affine.sx=StringToDouble(p,&p); in MSLStartElement() 804 draw_info->affine.rx=StringToDouble(p,&p); in MSLStartElement() 807 draw_info->affine.ry=StringToDouble(p,&p); in MSLStartElement() 810 draw_info->affine.sy=StringToDouble(p,&p); in MSLStartElement() 813 draw_info->affine.tx=StringToDouble(p,&p); in MSLStartElement() 816 draw_info->affine.ty=StringToDouble(p,&p); in MSLStartElement() 919 draw_info->pointsize=StringToDouble(value,(char **) NULL); in MSLStartElement() 931 angle=StringToDouble(value,(char **) NULL); in MSLStartElement() 956 angle=StringToDouble(value,(char **) NULL); in MSLStartElement() 963 angle=StringToDouble(value,(char **) NULL); in MSLStartElement() [all …]
|
D | svg.c | 695 value=StringToDouble(token,&next_token); in GetUserSpaceCoordinateValue() 2158 affine.sx=StringToDouble(value,(char **) NULL); in SVGStartElement() 2162 affine.rx=StringToDouble(token,&next_token); in SVGStartElement() 2166 affine.ry=StringToDouble(token,&next_token); in SVGStartElement() 2170 affine.sy=StringToDouble(token,&next_token); in SVGStartElement() 2174 affine.tx=StringToDouble(token,&next_token); in SVGStartElement() 2178 affine.ty=StringToDouble(token,&next_token); in SVGStartElement() 2556 affine.sx=StringToDouble(value,(char **) NULL); in SVGStartElement() 2560 affine.rx=StringToDouble(token,&next_token); in SVGStartElement() 2564 affine.ry=StringToDouble(token,&next_token); in SVGStartElement() [all …]
|
D | cube.c | 210 cube[n].r=StringToDouble(r,&r); in ReadCUBEImage() 211 cube[n].g=StringToDouble(r,&r); in ReadCUBEImage() 212 cube[n].b=StringToDouble(r,&r); in ReadCUBEImage()
|
D | sct.c | 210 height=StringToDouble((char *) buffer,(char **) NULL); in ReadSCTImage() 212 width=StringToDouble((char *) buffer,(char **) NULL); in ReadSCTImage()
|
D | dpx.c | 1738 dpx.orientation.x_center=StringToDouble(value,(char **) NULL); in WriteDPXImage() 1743 dpx.orientation.y_center=StringToDouble(value,(char **) NULL); in WriteDPXImage() 1861 dpx.film.frame_rate=StringToDouble(value,(char **) NULL); in WriteDPXImage() 1866 dpx.film.shutter_angle=StringToDouble(value,(char **) NULL); in WriteDPXImage() 1914 dpx.television.horizontal_sample_rate=StringToDouble(value,(char **) NULL); in WriteDPXImage() 1919 dpx.television.vertical_sample_rate=StringToDouble(value,(char **) NULL); in WriteDPXImage() 1924 dpx.television.frame_rate=StringToDouble(value,(char **) NULL); in WriteDPXImage() 1929 dpx.television.time_offset=StringToDouble(value,(char **) NULL); in WriteDPXImage() 1934 dpx.television.gamma=StringToDouble(value,(char **) NULL); in WriteDPXImage() 1939 dpx.television.black_level=StringToDouble(value,(char **) NULL); in WriteDPXImage() [all …]
|
D | fits.c | 365 fits_info.max_data=StringToDouble(p,(char **) NULL); in ReadFITSImage() 367 fits_info.min_data=StringToDouble(p,(char **) NULL); in ReadFITSImage() 369 fits_info.zero=StringToDouble(p,(char **) NULL); in ReadFITSImage() 371 fits_info.scale=StringToDouble(p,(char **) NULL); in ReadFITSImage()
|
/external/oss-fuzz/projects/double-conversion/ |
D | string_to_double_fuzzer.cc | 36 converter.StringToDouble(reinterpret_cast<const char*>(data), size, in LLVMFuzzerTestOneInput()
|
/external/libchrome/base/strings/ |
D | string_number_conversions_unittest.cc | 718 TEST(StringNumberConversionsTest, StringToDouble) { in TEST() argument 788 EXPECT_EQ(cases[i].success, StringToDouble(cases[i].input, &output)) in TEST() 801 EXPECT_FALSE(StringToDouble(input_string, &output)); in TEST() 889 EXPECT_TRUE(StringToDouble(test.input, &output)); in TEST()
|
D | string_number_conversions_fuzzer.cc | 43 base::StringToDouble(string_input, &out_double); in LLVMFuzzerTestOneInput()
|
D | string_number_conversions.h | 123 BASE_EXPORT bool StringToDouble(const std::string& input, double* output);
|
/external/perfetto/src/trace_processor/importers/systrace/ |
D | systrace_line_tokenizer.cc | 93 base::Optional<double> maybe_ts = base::StringToDouble(ts_str); in Tokenize()
|
D | systrace_line_parser.cc | 118 base::Optional<double> new_state = base::StringToDouble(args["state"]); in ParseLine() 220 auto target = base::StringToDouble(args["target"]); in ParseLine()
|
/external/perfetto/src/traced/probes/initial_display_state/ |
D | initial_display_state_data_source.cc | 99 screen_brightness_str ? base::StringToDouble(*screen_brightness_str) in WriteState()
|
/external/libchrome/base/metrics/ |
D | field_trial_params.cc | 88 if (!base::StringToDouble(value_as_string, &value_as_double)) { in GetFieldTrialParamByFeatureAsDouble()
|