Searched refs:ConsumeNumber (Results 1 – 8 of 8) sorted by relevance
/external/libchrome/base/json/ |
D | json_parser_unittest.cc | 152 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()
|
D | json_parser.h | 189 Optional<Value> ConsumeNumber();
|
D | json_parser.cc | 317 return ConsumeNumber(); in ParseToken() 620 Optional<Value> JSONParser::ConsumeNumber() { in ConsumeNumber() function in base::internal::JSONParser
|
/external/tensorflow/tensorflow/core/util/ |
D | device_name_utils.cc | 68 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/ |
D | tokenizer.cc | 426 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()
|
D | tokenizer.h | 336 TokenType ConsumeNumber(bool started_with_zero, bool started_with_dot);
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser.h | 178 bool ConsumeNumber(double* output, const char* error);
|
D | parser.cc | 291 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()
|