/external/webrtc/rtc_base/ |
D | string_to_number_unittest.cc | 49 EXPECT_EQ(min_value, StringToNumber<T>(min_string)); in TYPED_TEST_P() 50 EXPECT_EQ(min_value, StringToNumber<T>(min_string.c_str())); in TYPED_TEST_P() 51 EXPECT_EQ(max_value, StringToNumber<T>(max_string)); in TYPED_TEST_P() 52 EXPECT_EQ(max_value, StringToNumber<T>(max_string.c_str())); in TYPED_TEST_P() 53 EXPECT_EQ(zero_value, StringToNumber<T>("0")); in TYPED_TEST_P() 54 EXPECT_EQ(zero_value, StringToNumber<T>("-0")); in TYPED_TEST_P() 55 EXPECT_EQ(zero_value, StringToNumber<T>(std::string("-0000000000000"))); in TYPED_TEST_P() 72 EXPECT_EQ(absl::nullopt, StringToNumber<T>(too_low_string)); in TYPED_TEST_P() 73 EXPECT_EQ(absl::nullopt, StringToNumber<T>(too_low_string.c_str())); in TYPED_TEST_P() 74 EXPECT_EQ(absl::nullopt, StringToNumber<T>(too_large_string)); in TYPED_TEST_P() [all …]
|
D | string_to_number.h | 60 StringToNumber(const char* str, int base = 10) { 81 StringToNumber(const char* str, int base = 10) { 98 StringToNumber(const char* str, int base = 10) { 109 auto StringToNumber(const std::string& str, int base = 10) 110 -> decltype(StringToNumber<T>(str.c_str(), base)) { 111 return StringToNumber<T>(str.c_str(), base);
|
D | unique_id_generator.cc | 56 absl::optional<uint32_t> int_value = StringToNumber<uint32_t>(value); in AddKnownId()
|
/external/webrtc/test/fuzzers/ |
D | string_to_number_fuzzer.cc | 22 rtc::StringToNumber<int8_t>(number_to_parse); in FuzzOneInput() 23 rtc::StringToNumber<int16_t>(number_to_parse); in FuzzOneInput() 24 rtc::StringToNumber<int32_t>(number_to_parse); in FuzzOneInput() 25 rtc::StringToNumber<int64_t>(number_to_parse); in FuzzOneInput() 26 rtc::StringToNumber<uint8_t>(number_to_parse); in FuzzOneInput() 27 rtc::StringToNumber<uint16_t>(number_to_parse); in FuzzOneInput() 28 rtc::StringToNumber<uint32_t>(number_to_parse); in FuzzOneInput() 29 rtc::StringToNumber<uint64_t>(number_to_parse); in FuzzOneInput() 30 rtc::StringToNumber<float>(number_to_parse); in FuzzOneInput() 31 rtc::StringToNumber<double>(number_to_parse); in FuzzOneInput() [all …]
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | datapiece.cc | 120 if (type_ == TYPE_STRING) return StringToNumber<int32>(safe_strto32); in ToInt32() 133 return StringToNumber<uint32>(safe_strtou32); in ToUint32() 145 if (type_ == TYPE_STRING) return StringToNumber<int64>(safe_strto64); in ToInt64() 158 return StringToNumber<uint64>(safe_strtou64); in ToUint64() 177 StatusOr<double> value = StringToNumber<double>(safe_strtod); in ToDouble() 199 return StringToNumber<float>(SafeStrToFloat); in ToFloat() 209 return StringToNumber<bool>(safe_strtob); in ToBool() 356 StatusOr<To> DataPiece::StringToNumber(bool (*func)(StringPiece, in StringToNumber() function in google::protobuf::util::converter::DataPiece
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/ |
D | StringToNumber.pbtxt | 2 name: "StringToNumber" 26 name: "StringToNumber"
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/ |
D | StringToNumber.pbtxt | 2 name: "StringToNumber" 26 name: "StringToNumber"
|
/external/webrtc/rtc_tools/ |
D | video_file_reader.cc | 158 width = rtc::StringToNumber<int>(suffix); in OpenY4mFile() 161 height = rtc::StringToNumber<int>(suffix); in OpenY4mFile() 177 rtc::StringToNumber<int>(fraction[0]); in OpenY4mFile() 179 rtc::StringToNumber<int>(fraction[1]); in OpenY4mFile()
|
D | video_replay.cc | 125 return rtc::StringToNumber<uint32_t>(ssrc_string).has_value(); in ValidateSsrc() 161 return rtc::StringToNumber<uint32_t>(absl::GetFlag(FLAGS_ssrc)).value(); in Ssrc() 165 return rtc::StringToNumber<uint32_t>(absl::GetFlag(FLAGS_ssrc_rtx)).value(); in SsrcRtx()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/ |
D | mark_ops_for_outside_compilation.mlir | 142 // CHECK: "tf.StringToNumber" 148 %2 = "tf.StringToNumber"(%arg0) {out_type = f32} : (tensor<!tf.string>) -> tensor<f32> 182 // CHECK: "tf.StringToNumber" 186 %3 = "tf.StringToNumber"(%arg1) {out_type = f32} : (tensor<!tf.string>) -> tensor<f32> 214 // CHECK-NEXT: "tf.StringToNumber" 217 %5 = "tf.StringToNumber"(%4) {out_type = f32} : (tensor<!tf.string>) -> tensor<f32> 247 // CHECK-NEXT: "tf.StringToNumber" 250 %7 = "tf.StringToNumber"(%6) {out_type = f32} : (tensor<!tf.string>) -> tensor<f32> 277 // CHECK: "tf.StringToNumber" 289 %3 = "tf.StringToNumber"(%arg1) {out_type = f32} : (tensor<!tf.string>) -> tensor<f32>
|
/external/tensorflow/tensorflow/core/api_def/python_api/ |
D | api_def_StringToNumber.pbtxt | 2 graph_op_name: "StringToNumber"
|
/external/tensorflow/tensorflow/core/api_def/java_api/ |
D | api_def_StringToNumber.pbtxt | 2 graph_op_name: "StringToNumber"
|
/external/tensorflow/tensorflow/core/kernels/fuzzing/ |
D | string_to_number_fuzz.cc | 23 SINGLE_INPUT_OP_BUILDER(DT_STRING, StringToNumber);
|
/external/flatbuffers/include/flatbuffers/ |
D | util.h | 325 template<typename T> inline bool StringToNumber(const char *s, T *val) { in StringToNumber() function 349 template<> inline bool StringToNumber<int64_t>(const char *str, int64_t *val) { 354 inline bool StringToNumber<uint64_t>(const char *str, uint64_t *val) { 375 template<> inline bool StringToNumber(const char *s, float *val) { in StringToNumber() function 379 template<> inline bool StringToNumber(const char *s, double *val) { in StringToNumber() function
|
/external/webrtc/media/base/ |
D | sdp_fmtp_utils.cc | 34 rtc::StringToNumber<int>(max_frame_rate_it->second); in ParsePositiveNumberFromParams()
|
D | vp9_profile.cc | 36 const absl::optional<int> i = rtc::StringToNumber<int>(str); in StringToVP9Profile()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_StringToNumber.pbtxt | 2 graph_op_name: "StringToNumber"
|
/external/webrtc/modules/audio_coding/codecs/opus/ |
D | audio_coder_opus_common.cc | 40 auto conv = rtc::StringToNumber<int>(substring_with_number); in GetFormatParameter()
|
D | audio_coder_opus_common.h | 31 return rtc::StringToNumber<T>(GetFormatParameter(format, param).value_or("")); in GetFormatParameter()
|
/external/webrtc/api/audio_codecs/isac/ |
D | audio_encoder_isac_fix.cc | 28 const auto ptime = rtc::StringToNumber<int>(ptime_iter->second); in SdpToConfig()
|
D | audio_encoder_isac_float.cc | 34 const auto ptime = rtc::StringToNumber<int>(ptime_iter->second); in SdpToConfig()
|
/external/webrtc/api/audio_codecs/ilbc/ |
D | audio_encoder_ilbc.cc | 50 auto ptime = rtc::StringToNumber<int>(ptime_iter->second); in SdpToConfig()
|
/external/webrtc/api/audio_codecs/g722/ |
D | audio_encoder_g722.cc | 35 auto ptime = rtc::StringToNumber<int>(ptime_iter->second); in SdpToConfig()
|
/external/webrtc/api/audio_codecs/L16/ |
D | audio_encoder_L16.cc | 34 const auto ptime = rtc::StringToNumber<int>(ptime_iter->second); in SdpToConfig()
|
/external/webrtc/api/audio_codecs/g711/ |
D | audio_encoder_g711.cc | 36 const auto ptime = rtc::StringToNumber<int>(ptime_iter->second); in SdpToConfig()
|