/external/tensorflow/tensorflow/core/platform/ |
D | numbers_test.cc | 187 TEST(safe_strto64, Int64s) { in TEST() argument 190 EXPECT_EQ(true, safe_strto64("1", &result)); in TEST() 192 EXPECT_EQ(true, safe_strto64("123", &result)); in TEST() 194 EXPECT_EQ(true, safe_strto64(" -123 ", &result)); in TEST() 196 EXPECT_EQ(true, safe_strto64("9223372036854775807", &result)); in TEST() 198 EXPECT_EQ(true, safe_strto64("-9223372036854775808", &result)); in TEST() 204 EXPECT_EQ(false, safe_strto64(" 132as ", &result)); in TEST() 205 EXPECT_EQ(false, safe_strto64(" 132.2 ", &result)); in TEST() 206 EXPECT_EQ(false, safe_strto64(" -", &result)); in TEST() 207 EXPECT_EQ(false, safe_strto64("", &result)); in TEST() [all …]
|
D | numbers.h | 107 bool safe_strto64(StringPiece str, int64* value); 135 return safe_strto64(s, value); in ProtoParseNumeric()
|
D | numbers.cc | 231 bool safe_strto64(StringPiece str, int64* value) { in safe_strto64() function
|
/external/protobuf/src/google/protobuf/stubs/ |
D | strutil.h | 412 PROTOBUF_EXPORT bool safe_strto64(const string& str, int64* value); 414 inline bool safe_strto64(const char* str, int64* value) { in safe_strto64() function 415 return safe_strto64(string(str), value); in safe_strto64() 417 inline bool safe_strto64(StringPiece str, int64* value) { in safe_strto64() function 418 return safe_strto64(str.ToString(), value); in safe_strto64()
|
D | strutil.cc | 1372 bool safe_strto64(const string& str, int64* value) { in safe_strto64() function
|
/external/tensorflow/tensorflow/core/util/ |
D | env_var.cc | 55 if (strings::safe_strto64(tf_env_var_val, value)) { in ReadInt64FromEnvVar()
|
D | saved_tensor_slice_util.cc | 114 if (!strings::safe_strto64(s, &dim)) { in ParseShapeAndSlice()
|
/external/tensorflow/tensorflow/core/kernels/hexagon/ |
D | hexagon_rewriter_transform.cc | 61 CHECK(strings::safe_strto64(dim, &tmp)); in RewriteQuantizedStrippedModelForHexagon()
|
/external/tensorflow/tensorflow/core/framework/ |
D | tensor_slice.cc | 59 if (sl.size() != 2 || !strings::safe_strto64(sl[0], &s) || in Parse() 60 !strings::safe_strto64(sl[1], &l)) { in Parse()
|
D | shape_inference_testutil.cc | 202 if (!strings::safe_strto64(expected_dim, &value)) { in InferShapes() 250 !strings::safe_strto64(match, &dim_size)) { in MakeShapeFromString()
|
D | op_def_builder.cc | 98 if (!strings::safe_strto64(match, &value)) { in ConsumeAttrNumber()
|
/external/dynamic_depth/internal/strings/ |
D | numbers.h | 50 inline bool safe_strto64(const string& text, int64* value) { in safe_strto64() function
|
/external/tensorflow/tensorflow/core/platform/cloud/ |
D | gcs_file_system.cc | 243 strings::safe_strto64(result_value.asCString(), result)) { in GetInt64Value() 838 if (GetEnvVar(kResolveCacheSecs, strings::safe_strto64, in GcsFileSystem() 898 if (GetEnvVar(kThrottleRate, strings::safe_strto64, &token_value)) { in GcsFileSystem() 903 if (GetEnvVar(kThrottleBucket, strings::safe_strto64, &token_value)) { in GcsFileSystem() 907 if (GetEnvVar(kTokensPerRequest, strings::safe_strto64, &token_value)) { in GcsFileSystem() 911 if (GetEnvVar(kInitialTokens, strings::safe_strto64, &token_value)) { in GcsFileSystem() 1206 if (strings::safe_strto64(range_str, &tmp)) { in RequestUploadSessionStatus()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | remote_fused_graph_rewriter_transform.cc | 124 CHECK(strings::safe_strto64(dim, &tmp)); in PlaceShapeType()
|
D | decode_csv_op.cc | 129 OP_REQUIRES(ctx, strings::safe_strto64(fields[f], &value), in Compute()
|
D | lookup_util.cc | 222 if (!strings::safe_strto64(token.c_str(), &value)) { in SetValue()
|
D | conv_ops.cc | 626 if (strings::safe_strto64(workspace_limit_in_mb_str, in GetDnnWorkspaceLimit()
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_channel.cc | 87 if (strings::safe_strto64(name_value[1], &value)) { in CreateDefaultChannelArguments()
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | datapiece.cc | 145 if (type_ == TYPE_STRING) return StringToNumber<int64>(safe_strto64); in ToInt64()
|
D | json_stream_parser.cc | 584 if (safe_strto64(number, &result->int_val)) { in ParseNumberHelper()
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | transform_utils.cc | 605 if (strings::safe_strto64(dim, &tmp)) { in TensorShapeFromString() 668 if (!strings::safe_strto64(StringPiece(string_value), result)) { in GetOneInt64Parameter()
|
/external/tensorflow/tensorflow/core/debug/ |
D | debug_graph_utils.cc | 436 if (!::tensorflow::strings::safe_strto64(attr_value, &int_value)) { in SetDebugNodeAttributes()
|
/external/tensorflow/tensorflow/core/platform/s3/ |
D | s3_file_system.cc | 142 strings::safe_strto64(connect_timeout_str, &connect_timeout); in GetDefaultClientConfig() 149 strings::safe_strto64(request_timeout_str, &request_timeout); in GetDefaultClientConfig()
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | csv_dataset_op.cc | 742 if (!strings::safe_strto64(field, &value)) { in FieldToOutput()
|
/external/tensorflow/tensorflow/core/summary/ |
D | summary_db_writer.cc | 269 if (!strings::safe_strto64(name.substr(i + 1, name.size() - i - 1), in SaveNodeInputs()
|