/external/abseil-cpp/absl/strings/ |
D | numbers_test.cc | 49 using absl::numbers_internal::safe_strto32_base; 415 TEST(stringtest, safe_strto32_base) { in TEST() argument 417 EXPECT_TRUE(safe_strto32_base("0x34234324", &value, 16)); in TEST() 420 EXPECT_TRUE(safe_strto32_base("0X34234324", &value, 16)); in TEST() 423 EXPECT_TRUE(safe_strto32_base("34234324", &value, 16)); in TEST() 426 EXPECT_TRUE(safe_strto32_base("0", &value, 16)); in TEST() 429 EXPECT_TRUE(safe_strto32_base(" \t\n -0x34234324", &value, 16)); in TEST() 432 EXPECT_TRUE(safe_strto32_base(" \t\n -34234324", &value, 16)); in TEST() 435 EXPECT_TRUE(safe_strto32_base("7654321", &value, 8)); in TEST() 438 EXPECT_TRUE(safe_strto32_base("-01234", &value, 8)); in TEST() [all …]
|
D | numbers.h | 128 bool safe_strto32_base(absl::string_view text, int32_t* value, int base); 198 parsed = numbers_internal::safe_strto32_base(s, &val, base); in safe_strtoi_base()
|
D | numbers_benchmark.cc | 60 absl::numbers_internal::safe_strto32_base(str, &value, base)); in BM_safe_strto32_string()
|
D | numbers.cc | 943 bool safe_strto32_base(absl::string_view text, int32_t* value, int base) { in safe_strto32_base() function
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/ |
D | numbers_test.cc | 50 using absl::numbers_internal::safe_strto32_base; 422 TEST(stringtest, safe_strto32_base) { in TEST() argument 424 EXPECT_TRUE(safe_strto32_base("0x34234324", &value, 16)); in TEST() 427 EXPECT_TRUE(safe_strto32_base("0X34234324", &value, 16)); in TEST() 430 EXPECT_TRUE(safe_strto32_base("34234324", &value, 16)); in TEST() 433 EXPECT_TRUE(safe_strto32_base("0", &value, 16)); in TEST() 436 EXPECT_TRUE(safe_strto32_base(" \t\n -0x34234324", &value, 16)); in TEST() 439 EXPECT_TRUE(safe_strto32_base(" \t\n -34234324", &value, 16)); in TEST() 442 EXPECT_TRUE(safe_strto32_base("7654321", &value, 8)); in TEST() 445 EXPECT_TRUE(safe_strto32_base("-01234", &value, 8)); in TEST() [all …]
|
D | numbers.h | 128 bool safe_strto32_base(absl::string_view text, int32_t* value, int base); 198 parsed = numbers_internal::safe_strto32_base(s, &val, base); in safe_strtoi_base()
|
D | numbers_benchmark.cc | 60 absl::numbers_internal::safe_strto32_base(str, &value, base)); in BM_safe_strto32_string()
|
D | numbers.cc | 943 bool safe_strto32_base(absl::string_view text, int32_t* value, int base) { in safe_strto32_base() function
|
/external/webrtc/third_party/abseil-cpp/absl/strings/ |
D | numbers_test.cc | 49 using absl::numbers_internal::safe_strto32_base; 415 TEST(stringtest, safe_strto32_base) { in TEST() argument 417 EXPECT_TRUE(safe_strto32_base("0x34234324", &value, 16)); in TEST() 420 EXPECT_TRUE(safe_strto32_base("0X34234324", &value, 16)); in TEST() 423 EXPECT_TRUE(safe_strto32_base("34234324", &value, 16)); in TEST() 426 EXPECT_TRUE(safe_strto32_base("0", &value, 16)); in TEST() 429 EXPECT_TRUE(safe_strto32_base(" \t\n -0x34234324", &value, 16)); in TEST() 432 EXPECT_TRUE(safe_strto32_base(" \t\n -34234324", &value, 16)); in TEST() 435 EXPECT_TRUE(safe_strto32_base("7654321", &value, 8)); in TEST() 438 EXPECT_TRUE(safe_strto32_base("-01234", &value, 8)); in TEST() [all …]
|
D | numbers.h | 128 bool safe_strto32_base(absl::string_view text, int32_t* value, int base); 198 parsed = numbers_internal::safe_strto32_base(s, &val, base); in safe_strtoi_base()
|
D | numbers_benchmark.cc | 60 absl::numbers_internal::safe_strto32_base(str, &value, base)); in BM_safe_strto32_string()
|
D | numbers.cc | 943 bool safe_strto32_base(absl::string_view text, int32_t* value, int base) { in safe_strto32_base() function
|
/external/libtextclassifier/abseil-cpp/absl/strings/ |
D | numbers_test.cc | 50 using absl::numbers_internal::safe_strto32_base; 422 TEST(stringtest, safe_strto32_base) { in TEST() argument 424 EXPECT_TRUE(safe_strto32_base("0x34234324", &value, 16)); in TEST() 427 EXPECT_TRUE(safe_strto32_base("0X34234324", &value, 16)); in TEST() 430 EXPECT_TRUE(safe_strto32_base("34234324", &value, 16)); in TEST() 433 EXPECT_TRUE(safe_strto32_base("0", &value, 16)); in TEST() 436 EXPECT_TRUE(safe_strto32_base(" \t\n -0x34234324", &value, 16)); in TEST() 439 EXPECT_TRUE(safe_strto32_base(" \t\n -34234324", &value, 16)); in TEST() 442 EXPECT_TRUE(safe_strto32_base("7654321", &value, 8)); in TEST() 445 EXPECT_TRUE(safe_strto32_base("-01234", &value, 8)); in TEST() [all …]
|
D | numbers.h | 128 bool safe_strto32_base(absl::string_view text, int32_t* value, int base); 198 parsed = numbers_internal::safe_strto32_base(s, &val, base); in safe_strtoi_base()
|
D | numbers_benchmark.cc | 60 absl::numbers_internal::safe_strto32_base(str, &value, base)); in BM_safe_strto32_string()
|
D | numbers.cc | 943 bool safe_strto32_base(absl::string_view text, int32_t* value, int base) { in safe_strto32_base() function
|
/external/angle/third_party/abseil-cpp/absl/strings/ |
D | numbers_test.cc | 51 using absl::numbers_internal::safe_strto32_base; 471 TEST(stringtest, safe_strto32_base) { in TEST() argument 473 EXPECT_TRUE(safe_strto32_base("0x34234324", &value, 16)); in TEST() 476 EXPECT_TRUE(safe_strto32_base("0X34234324", &value, 16)); in TEST() 479 EXPECT_TRUE(safe_strto32_base("34234324", &value, 16)); in TEST() 482 EXPECT_TRUE(safe_strto32_base("0", &value, 16)); in TEST() 485 EXPECT_TRUE(safe_strto32_base(" \t\n -0x34234324", &value, 16)); in TEST() 488 EXPECT_TRUE(safe_strto32_base(" \t\n -34234324", &value, 16)); in TEST() 491 EXPECT_TRUE(safe_strto32_base("7654321", &value, 8)); in TEST() 494 EXPECT_TRUE(safe_strto32_base("-01234", &value, 8)); in TEST() [all …]
|
D | numbers.h | 128 bool safe_strto32_base(absl::string_view text, int32_t* value, int base); 200 parsed = numbers_internal::safe_strto32_base(s, &val, base); in safe_strtoi_base()
|
D | numbers_benchmark.cc | 60 absl::numbers_internal::safe_strto32_base(str, &value, base)); in BM_safe_strto32_string()
|
/external/openscreen/third_party/abseil/src/absl/strings/ |
D | numbers_test.cc | 50 using absl::numbers_internal::safe_strto32_base; 449 TEST(stringtest, safe_strto32_base) { in TEST() argument 451 EXPECT_TRUE(safe_strto32_base("0x34234324", &value, 16)); in TEST() 454 EXPECT_TRUE(safe_strto32_base("0X34234324", &value, 16)); in TEST() 457 EXPECT_TRUE(safe_strto32_base("34234324", &value, 16)); in TEST() 460 EXPECT_TRUE(safe_strto32_base("0", &value, 16)); in TEST() 463 EXPECT_TRUE(safe_strto32_base(" \t\n -0x34234324", &value, 16)); in TEST() 466 EXPECT_TRUE(safe_strto32_base(" \t\n -34234324", &value, 16)); in TEST() 469 EXPECT_TRUE(safe_strto32_base("7654321", &value, 8)); in TEST() 472 EXPECT_TRUE(safe_strto32_base("-01234", &value, 8)); in TEST() [all …]
|
D | numbers.h | 128 bool safe_strto32_base(absl::string_view text, int32_t* value, int base); 200 parsed = numbers_internal::safe_strto32_base(s, &val, base); in safe_strtoi_base()
|
D | numbers_benchmark.cc | 60 absl::numbers_internal::safe_strto32_base(str, &value, base)); in BM_safe_strto32_string()
|
/external/dynamic_depth/internal/strings/ |
D | numbers.h | 39 bool safe_strto32_base(const string& text, int32* value, int base); 47 return safe_strto32_base(text, value, 10); in safe_strto32()
|
D | numbers.cc | 446 bool safe_strto32_base(const string& text, int32* value, int base) { in safe_strto32_base() function
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | side_effect_util.cc | 135 if (!absl::numbers_internal::safe_strto32_base(parts[1], &core, 10)) { in ParseHostComputeCoreList()
|