Searched refs:ConsumeNumber (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/core/util/ |
D | device_name_utils.cc | 78 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/ |
D | json_parser_unittest.cc | 136 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()
|
D | json_parser.h | 202 std::unique_ptr<Value> ConsumeNumber();
|
D | json_parser.cc | 324 return ConsumeNumber(); in ParseToken() 673 std::unique_ptr<Value> JSONParser::ConsumeNumber() { in ConsumeNumber() function in base::internal::JSONParser
|
/external/protobuf/src/google/protobuf/io/ |
D | tokenizer.cc | 422 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()
|
D | tokenizer.h | 334 TokenType ConsumeNumber(bool started_with_zero, bool started_with_dot);
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser.h | 175 bool ConsumeNumber(double* output, const char* error);
|
D | parser.cc | 235 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()
|