Home
last modified time | relevance | path

Searched refs:TokenTag (Results 1 – 6 of 6) sorted by relevance

/third_party/node/tools/inspector_protocol/encoding/
Dencoding_test.cc174 EXPECT_EQ(CBORTokenTag::INT32, tokenizer.TokenTag()); in TEST()
177 EXPECT_EQ(CBORTokenTag::DONE, tokenizer.TokenTag()); in TEST()
192 EXPECT_EQ(CBORTokenTag::INT32, tokenizer.TokenTag()); in TEST()
195 EXPECT_EQ(CBORTokenTag::DONE, tokenizer.TokenTag()); in TEST()
212 EXPECT_EQ(CBORTokenTag::INT32, tokenizer.TokenTag()); in TEST()
215 EXPECT_EQ(CBORTokenTag::DONE, tokenizer.TokenTag()); in TEST()
231 EXPECT_EQ(CBORTokenTag::INT32, tokenizer.TokenTag()); in TEST()
234 EXPECT_EQ(CBORTokenTag::DONE, tokenizer.TokenTag()); in TEST()
251 EXPECT_EQ(CBORTokenTag::INT32, tokenizer.TokenTag()); in TEST()
258 EXPECT_EQ(CBORTokenTag::DONE, tokenizer.TokenTag()); in TEST()
[all …]
Dencoding.cc641 CBORTokenTag CBORTokenizer::TokenTag() const { in TokenTag() function in v8_inspector_protocol_encoding::cbor::CBORTokenizer
945 assert(tokenizer->TokenTag() == CBORTokenTag::STRING8); in ParseUTF8String()
960 if (tokenizer->TokenTag() == CBORTokenTag::ENVELOPE) in ParseValue()
962 switch (tokenizer->TokenTag()) { in ParseValue()
1017 assert(tokenizer->TokenTag() == CBORTokenTag::ARRAY_START); in ParseArray()
1020 while (tokenizer->TokenTag() != CBORTokenTag::STOP) { in ParseArray()
1021 if (tokenizer->TokenTag() == CBORTokenTag::DONE) { in ParseArray()
1026 if (tokenizer->TokenTag() == CBORTokenTag::ERROR_VALUE) { in ParseArray()
1045 assert(tokenizer->TokenTag() == CBORTokenTag::MAP_START); in ParseMap()
1048 while (tokenizer->TokenTag() != CBORTokenTag::STOP) { in ParseMap()
[all …]
Dencoding.h355 CBORTokenTag TokenTag() const;
/third_party/node/tools/inspector_protocol/lib/
DValues_cpp.template105 DCHECK(tokenizer->TokenTag() == cbor::CBORTokenTag::ARRAY_START);
108 while (tokenizer->TokenTag() != cbor::CBORTokenTag::STOP) {
110 if (tokenizer->TokenTag() == cbor::CBORTokenTag::DONE) return nullptr;
111 if (tokenizer->TokenTag() == cbor::CBORTokenTag::ERROR_VALUE) return nullptr;
126 if (tokenizer->TokenTag() == cbor::CBORTokenTag::ENVELOPE)
128 switch (tokenizer->TokenTag()) {
196 while (tokenizer->TokenTag() != cbor::CBORTokenTag::STOP) {
197 if (tokenizer->TokenTag() == cbor::CBORTokenTag::DONE) {
201 if (tokenizer->TokenTag() == cbor::CBORTokenTag::ERROR_VALUE) return nullptr;
204 if (tokenizer->TokenTag() == cbor::CBORTokenTag::STRING8) {
[all …]
Dencoding_h.template364 CBORTokenTag TokenTag() const;
368 // Can only be called if TokenTag() == CBORTokenTag::ENVELOPE.
374 // If TokenTag() is CBORTokenTag::ERROR_VALUE, then Status().error describes
380 // be called if TokenTag() matches.
382 // To be called only if ::TokenTag() == CBORTokenTag::INT32.
385 // To be called only if ::TokenTag() == CBORTokenTag::DOUBLE.
388 // To be called only if ::TokenTag() == CBORTokenTag::STRING8.
392 // To be called only if ::TokenTag() == CBORTokenTag::STRING16.
395 // To be called only if ::TokenTag() == CBORTokenTag::BINARY.
398 // To be called only if ::TokenTag() == CBORTokenTag::ENVELOPE.
Dencoding_cpp.template649 CBORTokenTag CBORTokenizer::TokenTag() const {
953 assert(tokenizer->TokenTag() == CBORTokenTag::STRING8);
968 if (tokenizer->TokenTag() == CBORTokenTag::ENVELOPE)
970 switch (tokenizer->TokenTag()) {
1025 assert(tokenizer->TokenTag() == CBORTokenTag::ARRAY_START);
1028 while (tokenizer->TokenTag() != CBORTokenTag::STOP) {
1029 if (tokenizer->TokenTag() == CBORTokenTag::DONE) {
1034 if (tokenizer->TokenTag() == CBORTokenTag::ERROR_VALUE) {
1053 assert(tokenizer->TokenTag() == CBORTokenTag::MAP_START);
1056 while (tokenizer->TokenTag() != CBORTokenTag::STOP) {
[all …]