Home
last modified time | relevance | path

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

/external/libchrome/base/json/
Djson_parser_unittest.cc152 Optional<Value> value(parser->ConsumeNumber()); in TEST_F()
165 value = parser->ConsumeNumber(); in TEST_F()
177 value = parser->ConsumeNumber(); in TEST_F()
190 value = parser->ConsumeNumber(); in TEST_F()
202 value = parser->ConsumeNumber(); in TEST_F()
214 value = parser->ConsumeNumber(); in TEST_F()
Djson_parser.h189 Optional<Value> ConsumeNumber();
Djson_parser.cc317 return ConsumeNumber(); in ParseToken()
620 Optional<Value> JSONParser::ConsumeNumber() { in ConsumeNumber() function in base::internal::JSONParser
/external/tensorflow/tensorflow/core/util/
Ddevice_name_utils.cc68 static bool ConsumeNumber(StringPiece* in, int* val) { in ConsumeNumber() function
120 if (p->has_replica && !ConsumeNumber(&fullname, &p->replica)) { in ParseFullName()
127 if (p->has_task && !ConsumeNumber(&fullname, &p->task)) { in ParseFullName()
141 if (p->has_id && !ConsumeNumber(&fullname, &p->id)) { in ParseFullName()
154 if (p->has_id && !ConsumeNumber(&fullname, &p->id)) { in ParseFullName()
164 if (p->has_id && !ConsumeNumber(&fullname, &p->id)) { in ParseFullName()
512 if (!ConsumeNumber(&name, &p->id)) { in ParseLocalName()
/external/protobuf/src/google/protobuf/io/
Dtokenizer.cc426 Tokenizer::TokenType Tokenizer::ConsumeNumber(bool started_with_zero, in ConsumeNumber() function in google::protobuf::io::Tokenizer
607 current_.type = ConsumeNumber(true, false); in Next()
622 current_.type = ConsumeNumber(false, true); in Next()
627 current_.type = ConsumeNumber(false, false); in Next()
Dtokenizer.h336 TokenType ConsumeNumber(bool started_with_zero, bool started_with_dot);
/external/protobuf/src/google/protobuf/compiler/
Dparser.h178 bool ConsumeNumber(double* output, const char* error);
Dparser.cc291 bool Parser::ConsumeNumber(double* output, const char* error) { in ConsumeNumber() function in google::protobuf::compiler::Parser
1284 DO(ConsumeNumber(&value, "Expected number.")); in ParseDefaultAssignment()
1519 DO(ConsumeNumber(&value, "Expected number.")); in ParseOption()