Home
last modified time | relevance | path

Searched refs:ConsumeNumber (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils.cc78 static bool ConsumeNumber(StringPiece* in, int* val) { in ConsumeNumber() function
130 if (p->has_replica && !ConsumeNumber(&fullname, &p->replica)) { in ParseFullName()
137 if (p->has_task && !ConsumeNumber(&fullname, &p->task)) { in ParseFullName()
151 if (p->has_id && !ConsumeNumber(&fullname, &p->id)) { in ParseFullName()
164 if (p->has_id && !ConsumeNumber(&fullname, &p->id)) { in ParseFullName()
174 if (p->has_id && !ConsumeNumber(&fullname, &p->id)) { in ParseFullName()
380 if (!ConsumeNumber(&name, &p->id)) { in ParseLocalName()
/external/libchrome/base/json/
Djson_parser_unittest.cc136 std::unique_ptr<Value> value(parser->ConsumeNumber()); in TEST_F()
149 value = parser->ConsumeNumber(); in TEST_F()
161 value = parser->ConsumeNumber(); in TEST_F()
174 value = parser->ConsumeNumber(); in TEST_F()
186 value = parser->ConsumeNumber(); in TEST_F()
198 value = parser->ConsumeNumber(); in TEST_F()
Djson_parser.h202 std::unique_ptr<Value> ConsumeNumber();
Djson_parser.cc324 return ConsumeNumber(); in ParseToken()
673 std::unique_ptr<Value> JSONParser::ConsumeNumber() { in ConsumeNumber() function in base::internal::JSONParser
/external/protobuf/src/google/protobuf/io/
Dtokenizer.cc422 Tokenizer::TokenType Tokenizer::ConsumeNumber(bool started_with_zero, in ConsumeNumber() function in google::protobuf::io::Tokenizer
605 current_.type = ConsumeNumber(true, false); in Next()
619 current_.type = ConsumeNumber(false, true); in Next()
624 current_.type = ConsumeNumber(false, false); in Next()
Dtokenizer.h334 TokenType ConsumeNumber(bool started_with_zero, bool started_with_dot);
/external/protobuf/src/google/protobuf/compiler/
Dparser.h175 bool ConsumeNumber(double* output, const char* error);
Dparser.cc235 bool Parser::ConsumeNumber(double* output, const char* error) { in ConsumeNumber() function in google::protobuf::compiler::Parser
1158 DO(ConsumeNumber(&value, "Expected number.")); in ParseDefaultAssignment()
1388 DO(ConsumeNumber(&value, "Expected number.")); in ParseOption()