/external/tensorflow/tensorflow/core/platform/ |
D | numbers_test.cc | 323 TEST(safe_strtod, Double) { in TEST() argument 326 EXPECT_TRUE(safe_strtod("0.1234567890123", &result)); in TEST() 328 EXPECT_FALSE(safe_strtod("0.1234567890123abc", &result)); in TEST() 334 EXPECT_FALSE(safe_strtod(test_str, &result)); in TEST() 337 EXPECT_TRUE(safe_strtod("1e310", &result)); in TEST() 340 EXPECT_TRUE(safe_strtod("-1e310", &result)); in TEST() 343 EXPECT_TRUE(safe_strtod("1e-325", &result)); in TEST() 346 EXPECT_TRUE(safe_strtod(" -0x1c", &result)); in TEST() 349 EXPECT_TRUE(safe_strtod("50 \t", &result)); in TEST() 352 EXPECT_TRUE(safe_strtod("\t82.0\t ", &result)); in TEST() [all …]
|
D | numbers.h | 124 bool safe_strtod(StringPiece str, double* value); 147 return safe_strtod(s, value); in ProtoParseNumeric()
|
D | numbers.cc | 356 bool safe_strtod(StringPiece str, double* value) { in safe_strtod() function
|
/external/tensorflow/tensorflow/core/framework/ |
D | run_handler_util.cc | 29 return (val && strings::safe_strtod(val, &num)) ? num : default_value; in ParamFromEnvWithDefault() 43 if (strings::safe_strtod(split, &num)) { in ParamFromEnvWithDefault()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | strutil.h | 428 PROTOBUF_EXPORT bool safe_strtod(const char* str, double* value); 432 inline bool safe_strtod(const string& str, double* value) { in safe_strtod() function 433 return safe_strtod(str.c_str(), value); in safe_strtod() 438 inline bool safe_strtod(StringPiece str, double* value) { in safe_strtod() function 439 return safe_strtod(str.ToString(), value); in safe_strtod()
|
D | strutil.cc | 1352 bool safe_strtod(const char* str, double* value) { in safe_strtod() function
|
/external/dynamic_depth/internal/strings/ |
D | numbers.h | 67 bool safe_strtod(const string& str, double* value);
|
D | numbers.cc | 491 bool safe_strtod(const string& piece, double* value) { in safe_strtod() function
|
/external/tensorflow/tensorflow/core/kernels/ |
D | spectrogram_test_utils.cc | 144 strings::safe_strtod(*j, &imaginary_part); in ReadCSVFileToComplexVectorOrDie() 146 strings::safe_strtod(*j, &real_part); in ReadCSVFileToComplexVectorOrDie()
|
D | decode_csv_op.cc | 168 OP_REQUIRES(ctx, strings::safe_strtod(fields[f], &value), in Compute()
|
D | lookup_util.cc | 240 if (!strings::safe_strtod(token.c_str(), &value)) { in SetValue()
|
/external/dynamic_depth/internal/xmpmeta/xml/ |
D | deserializer_impl.cc | 309 if (!dynamic_depth::strings::safe_strtod(GetLiNodeContent(li_node), in ParseDoubleArray()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | datapiece.cc | 177 StatusOr<double> value = StringToNumber<double>(safe_strtod); in ToDouble()
|
D | utility.cc | 393 if (!safe_strtod(str, &double_value)) { in SafeStrToFloat()
|
D | json_stream_parser.cc | 506 if (!safe_strtod(number, &result->double_val)) { in ParseDoubleHelper()
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | csv_dataset_op.cc | 772 if (!strings::safe_strtod(field, &value)) { in FieldToOutput()
|