Home
last modified time | relevance | path

Searched refs:parse_func (Results 1 – 21 of 21) sorted by relevance

/external/ltp/lib/
Drandom_range.c102 int (*parse_func)(), char **rangeptr, char **errptr) in parse_ranges() argument
119 if (parse_func == NULL) { in parse_ranges()
120 parse_func = str_to_int; in parse_ranges()
154 if ((*parse_func) (n1str, &rp->min) < 0) { in parse_ranges()
174 if ((*parse_func) (n2str, &rp->max) < 0) { in parse_ranges()
192 if ((*parse_func) (multstr, &rp->mult) < 0) { in parse_ranges()
/external/rust/crates/structopt-derive/src/
Dparse.rs199 pub parse_func: Option<Expr>, field
208 let parse_func = match eq_token { in parse() localVariable
215 parse_func, in parse()
Dattrs.rs155 let func = match spec.parse_func { in from_spec()
/external/angle/third_party/abseil-cpp/absl/strings/
Dnumbers_test.cc689 void test_random_integer_parse_base(bool (*parse_func)(absl::string_view, in test_random_integer_parse_base()
706 EXPECT_TRUE(parse_func(str_value, &parsed_value, base)); in test_random_integer_parse_base()
711 parse_func(absl::StrCat(std::numeric_limits<IntType>::max(), value), in test_random_integer_parse_base()
717 parse_func(absl::StrCat(std::numeric_limits<IntType>::min(), value), in test_random_integer_parse_base()
720 EXPECT_FALSE(parse_func(absl::StrCat("-", value), &parsed_value, base)); in test_random_integer_parse_base()
745 constexpr auto parse_func = &absl::numbers_internal::safe_strtou128_base; in TEST() local
762 EXPECT_TRUE(parse_func(str_value, &parsed_value, base)); in TEST()
769 EXPECT_FALSE(parse_func(s, &parsed_value, base)); in TEST()
774 EXPECT_FALSE(parse_func(s, &parsed_value, base)); in TEST()
785 constexpr auto parse_func = &absl::numbers_internal::safe_strto128_base; in TEST() local
[all …]
/external/openscreen/third_party/abseil/src/absl/strings/
Dnumbers_test.cc667 void test_random_integer_parse_base(bool (*parse_func)(absl::string_view, in test_random_integer_parse_base()
684 EXPECT_TRUE(parse_func(str_value, &parsed_value, base)); in test_random_integer_parse_base()
689 parse_func(absl::StrCat(std::numeric_limits<IntType>::max(), value), in test_random_integer_parse_base()
695 parse_func(absl::StrCat(std::numeric_limits<IntType>::min(), value), in test_random_integer_parse_base()
698 EXPECT_FALSE(parse_func(absl::StrCat("-", value), &parsed_value, base)); in test_random_integer_parse_base()
723 constexpr auto parse_func = &absl::numbers_internal::safe_strtou128_base; in TEST() local
740 EXPECT_TRUE(parse_func(str_value, &parsed_value, base)); in TEST()
747 EXPECT_FALSE(parse_func(s, &parsed_value, base)); in TEST()
752 EXPECT_FALSE(parse_func(s, &parsed_value, base)); in TEST()
763 constexpr auto parse_func = &absl::numbers_internal::safe_strto128_base; in TEST() local
[all …]
/external/python/cpython3/Tools/c-analyzer/c_analyzer/parser/
Ddeclarations.py184 def parse_func(stmt, body): function
279 _parse_func=parse_func,
/external/tensorflow/tensorflow/lite/tools/
Dcommand_line_flags.cc38 const std::function<bool(const std::string&)>& parse_func, in ParseFlag() argument
41 *value_parsing_ok = parse_func(arg); in ParseFlag()
52 *value_parsing_ok = parse_func(arg.substr(flag_prefix.size())); in ParseFlag()
/external/abseil-cpp/absl/strings/
Dnumbers_test.cc633 void test_random_integer_parse_base(bool (*parse_func)(absl::string_view, in test_random_integer_parse_base()
650 EXPECT_TRUE(parse_func(str_value, &parsed_value, base)); in test_random_integer_parse_base()
655 parse_func(absl::StrCat(std::numeric_limits<IntType>::max(), value), in test_random_integer_parse_base()
661 parse_func(absl::StrCat(std::numeric_limits<IntType>::min(), value), in test_random_integer_parse_base()
664 EXPECT_FALSE(parse_func(absl::StrCat("-", value), &parsed_value, base)); in test_random_integer_parse_base()
689 constexpr auto parse_func = &absl::numbers_internal::safe_strtou128_base; in TEST() local
706 EXPECT_TRUE(parse_func(str_value, &parsed_value, base)); in TEST()
713 EXPECT_FALSE(parse_func(s, &parsed_value, base)); in TEST()
718 EXPECT_FALSE(parse_func(s, &parsed_value, base)); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dnumbers_test.cc640 void test_random_integer_parse_base(bool (*parse_func)(absl::string_view, in test_random_integer_parse_base()
657 EXPECT_TRUE(parse_func(str_value, &parsed_value, base)); in test_random_integer_parse_base()
662 parse_func(absl::StrCat(std::numeric_limits<IntType>::max(), value), in test_random_integer_parse_base()
668 parse_func(absl::StrCat(std::numeric_limits<IntType>::min(), value), in test_random_integer_parse_base()
671 EXPECT_FALSE(parse_func(absl::StrCat("-", value), &parsed_value, base)); in test_random_integer_parse_base()
696 constexpr auto parse_func = &absl::numbers_internal::safe_strtou128_base; in TEST() local
713 EXPECT_TRUE(parse_func(str_value, &parsed_value, base)); in TEST()
720 EXPECT_FALSE(parse_func(s, &parsed_value, base)); in TEST()
725 EXPECT_FALSE(parse_func(s, &parsed_value, base)); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dnumbers_test.cc633 void test_random_integer_parse_base(bool (*parse_func)(absl::string_view, in test_random_integer_parse_base()
650 EXPECT_TRUE(parse_func(str_value, &parsed_value, base)); in test_random_integer_parse_base()
655 parse_func(absl::StrCat(std::numeric_limits<IntType>::max(), value), in test_random_integer_parse_base()
661 parse_func(absl::StrCat(std::numeric_limits<IntType>::min(), value), in test_random_integer_parse_base()
664 EXPECT_FALSE(parse_func(absl::StrCat("-", value), &parsed_value, base)); in test_random_integer_parse_base()
689 constexpr auto parse_func = &absl::numbers_internal::safe_strtou128_base; in TEST() local
706 EXPECT_TRUE(parse_func(str_value, &parsed_value, base)); in TEST()
713 EXPECT_FALSE(parse_func(s, &parsed_value, base)); in TEST()
718 EXPECT_FALSE(parse_func(s, &parsed_value, base)); in TEST()
/external/libtextclassifier/abseil-cpp/absl/strings/
Dnumbers_test.cc640 void test_random_integer_parse_base(bool (*parse_func)(absl::string_view, in test_random_integer_parse_base()
657 EXPECT_TRUE(parse_func(str_value, &parsed_value, base)); in test_random_integer_parse_base()
662 parse_func(absl::StrCat(std::numeric_limits<IntType>::max(), value), in test_random_integer_parse_base()
668 parse_func(absl::StrCat(std::numeric_limits<IntType>::min(), value), in test_random_integer_parse_base()
671 EXPECT_FALSE(parse_func(absl::StrCat("-", value), &parsed_value, base)); in test_random_integer_parse_base()
696 constexpr auto parse_func = &absl::numbers_internal::safe_strtou128_base; in TEST() local
713 EXPECT_TRUE(parse_func(str_value, &parsed_value, base)); in TEST()
720 EXPECT_FALSE(parse_func(s, &parsed_value, base)); in TEST()
725 EXPECT_FALSE(parse_func(s, &parsed_value, base)); in TEST()
/external/python/cpython3/Lib/test/test_tools/test_c_analyzer/test_parser/
Dtest_declarations.py8 parse_func, _parse_var, parse_compound,
444 name, signature = parse_func(stmt, body)
/external/angle/third_party/abseil-cpp/absl/debugging/internal/
Ddemangle.cc337 static bool OneOrMore(ParseFunc parse_func, State *state) { in OneOrMore() argument
338 if (parse_func(state)) { in OneOrMore()
339 while (parse_func(state)) { in OneOrMore()
350 static bool ZeroOrMore(ParseFunc parse_func, State *state) { in ZeroOrMore() argument
351 while (parse_func(state)) { in ZeroOrMore()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/debugging/internal/
Ddemangle.cc337 static bool OneOrMore(ParseFunc parse_func, State *state) { in OneOrMore() argument
338 if (parse_func(state)) { in OneOrMore()
339 while (parse_func(state)) { in OneOrMore()
350 static bool ZeroOrMore(ParseFunc parse_func, State *state) { in ZeroOrMore() argument
351 while (parse_func(state)) { in ZeroOrMore()
/external/webrtc/third_party/abseil-cpp/absl/debugging/internal/
Ddemangle.cc336 static bool OneOrMore(ParseFunc parse_func, State *state) { in OneOrMore() argument
337 if (parse_func(state)) { in OneOrMore()
338 while (parse_func(state)) { in OneOrMore()
349 static bool ZeroOrMore(ParseFunc parse_func, State *state) { in ZeroOrMore() argument
350 while (parse_func(state)) { in ZeroOrMore()
/external/openscreen/third_party/abseil/src/absl/debugging/internal/
Ddemangle.cc337 static bool OneOrMore(ParseFunc parse_func, State *state) { in OneOrMore() argument
338 if (parse_func(state)) { in OneOrMore()
339 while (parse_func(state)) { in OneOrMore()
350 static bool ZeroOrMore(ParseFunc parse_func, State *state) { in ZeroOrMore() argument
351 while (parse_func(state)) { in ZeroOrMore()
/external/abseil-cpp/absl/debugging/internal/
Ddemangle.cc336 static bool OneOrMore(ParseFunc parse_func, State *state) { in OneOrMore() argument
337 if (parse_func(state)) { in OneOrMore()
338 while (parse_func(state)) { in OneOrMore()
349 static bool ZeroOrMore(ParseFunc parse_func, State *state) { in ZeroOrMore() argument
350 while (parse_func(state)) { in ZeroOrMore()
/external/libtextclassifier/abseil-cpp/absl/debugging/internal/
Ddemangle.cc337 static bool OneOrMore(ParseFunc parse_func, State *state) { in OneOrMore() argument
338 if (parse_func(state)) { in OneOrMore()
339 while (parse_func(state)) { in OneOrMore()
350 static bool ZeroOrMore(ParseFunc parse_func, State *state) { in ZeroOrMore() argument
351 while (parse_func(state)) { in ZeroOrMore()
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Devp_test.cc148 EVP_PKEY *(*parse_func)(CBS *cbs), in ImportKey()
157 bssl::UniquePtr<EVP_PKEY> pkey(parse_func(&cbs)); in ImportKey()
/external/boringssl/src/crypto/evp/
Devp_test.cc148 EVP_PKEY *(*parse_func)(CBS *cbs), in ImportKey()
157 bssl::UniquePtr<EVP_PKEY> pkey(parse_func(&cbs)); in ImportKey()
/external/fmtlib/include/fmt/
Dformat.h3173 using parse_func = const Char* (*)(parse_context_type&);
3176 parse_func parse_funcs_[num_args > 0 ? num_args : 1];