Home
last modified time | relevance | path

Searched refs:value_parsing_ok (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Dcommand_line_flags.cc32 bool* value_parsing_ok) { in ParseStringFlag() argument
33 *value_parsing_ok = true; in ParseStringFlag()
37 *value_parsing_ok = hook(string(arg)); in ParseStringFlag()
46 bool* value_parsing_ok) { in ParseInt32Flag() argument
47 *value_parsing_ok = true; in ParseInt32Flag()
56 *value_parsing_ok = false; in ParseInt32Flag()
58 *value_parsing_ok = hook(parsed_int32); in ParseInt32Flag()
68 bool* value_parsing_ok) { in ParseInt64Flag() argument
69 *value_parsing_ok = true; in ParseInt64Flag()
78 *value_parsing_ok = false; in ParseInt64Flag()
[all …]
Dcommand_line_flags.h91 bool Parse(string arg, bool* value_parsing_ok) const;
/external/tensorflow/tensorflow/lite/tools/benchmark/
Dcommand_line_flags.cc33 bool* value_parsing_ok) { in ParseFlag() argument
34 *value_parsing_ok = true; in ParseFlag()
40 *value_parsing_ok = has_value; in ParseFlag()
42 *value_parsing_ok = parse_func(arg.substr(flag_prefix.size())); in ParseFlag()
124 bool Flag::Parse(const std::string& arg, bool* value_parsing_ok) const { in Parse()
125 return ParseFlag(arg, name_, value_hook_, value_parsing_ok); in Parse()
160 bool value_parsing_ok; in Parse() local
161 was_found = flag.Parse(argv[i], &value_parsing_ok); in Parse()
162 if (!value_parsing_ok) { in Parse()
Dcommand_line_flags.h86 bool Parse(const std::string& arg, bool* value_parsing_ok) const;