/external/tensorflow/tensorflow/core/lib/strings/ |
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 | 348 bool safe_strtod(StringPiece str, double* value) { in safe_strtod() function
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_tensor.h | 60 CHECK(strings::safe_strtod(sstream.str().c_str(), &double_val)); in AddValue() 95 CHECK(strings::safe_strtod(sstream.str().c_str(), &double_val)); in BuildOutput() 123 CHECK(strings::safe_strtod(sstream.str().c_str(), &double_val)); in BuildOutput()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | strutil.h | 425 LIBPROTOBUF_EXPORT bool safe_strtod(const char* str, double* value); 429 inline bool safe_strtod(const string& str, double* value) { in safe_strtod() function 430 return safe_strtod(str.c_str(), value); in safe_strtod() 435 inline bool safe_strtod(StringPiece str, double* value) { in safe_strtod() function 436 return safe_strtod(str.ToString(), value); in safe_strtod()
|
D | strutil.cc | 1333 bool safe_strtod(const char* str, double* value) { in safe_strtod() function
|
/external/tensorflow/tensorflow/core/kernels/ |
D | spectrogram_test_utils.cc | 143 strings::safe_strtod(*j, &imaginary_part); in ReadCSVFileToComplexVectorOrDie() 145 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 | 233 if (!strings::safe_strtod(token.c_str(), &value)) { in SetValue()
|
/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/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 | utility.cc | 340 if (!safe_strtod(str, &double_value)) { in SafeStrToFloat()
|
D | datapiece.cc | 171 return StringToNumber<double>(safe_strtod); in ToDouble()
|
D | json_stream_parser.cc | 529 if (!safe_strtod(number, &result->double_val)) { in ParseNumberHelper()
|
/external/tensorflow/tensorflow/contrib/cloud/kernels/ |
D | bigquery_table_accessor.cc | 343 if (!strings::safe_strtod(column_value.asString().c_str(), in AppendValueToExample()
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | csv_dataset_op.cc | 710 if (!strings::safe_strtod(field, &value)) { in FieldToOutput()
|