Home
last modified time | relevance | path

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

/third_party/node/tools/inspector_protocol/encoding/
Dencoding.cc636 CBORTokenizer::CBORTokenizer(span<uint8_t> bytes) : bytes_(bytes) { in CBORTokenizer() function in v8_inspector_protocol_encoding::cbor::CBORTokenizer
639 CBORTokenizer::~CBORTokenizer() {} in ~CBORTokenizer()
641 CBORTokenTag CBORTokenizer::TokenTag() const { in TokenTag()
645 void CBORTokenizer::Next() { in Next()
652 void CBORTokenizer::EnterEnvelope() { in EnterEnvelope()
657 Status CBORTokenizer::Status() const { in Status()
668 int32_t CBORTokenizer::GetInt32() const { in GetInt32()
677 double CBORTokenizer::GetDouble() const { in GetDouble()
688 span<uint8_t> CBORTokenizer::GetString8() const { in GetString8()
694 span<uint8_t> CBORTokenizer::GetString16WireRep() const { in GetString16WireRep()
[all …]
Dencoding_test.cc173 CBORTokenizer tokenizer(SpanFrom(encoded)); in TEST()
191 CBORTokenizer tokenizer(SpanFrom(encoded)); in TEST()
211 CBORTokenizer tokenizer(SpanFrom(encoded)); in TEST()
230 CBORTokenizer tokenizer(SpanFrom(encoded)); in TEST()
250 CBORTokenizer tokenizer(SpanFrom(encoded)); in TEST()
277 CBORTokenizer tokenizer(SpanFrom(encoded)); in TEST()
305 CBORTokenizer tokenizer(SpanFrom(test.data)); in TEST()
324 CBORTokenizer tokenizer(SpanFrom(encoded)); in TEST()
346 CBORTokenizer tokenizer(SpanFrom(encoded)); in TEST()
368 CBORTokenizer tokenizer(SpanFrom(encoded)); in TEST()
[all …]
Dencoding.h347 class CBORTokenizer {
349 explicit CBORTokenizer(span<uint8_t> bytes);
350 ~CBORTokenizer();
/third_party/node/tools/inspector_protocol/lib/
Dencoding_cpp.template641 // cbor::CBORTokenizer - for parsing individual CBOR items
644 CBORTokenizer::CBORTokenizer(span<uint8_t> bytes) : bytes_(bytes) {
647 CBORTokenizer::~CBORTokenizer() {}
649 CBORTokenTag CBORTokenizer::TokenTag() const {
653 void CBORTokenizer::Next() {
660 void CBORTokenizer::EnterEnvelope() {
665 Status CBORTokenizer::Status() const {
676 int32_t CBORTokenizer::GetInt32() const {
685 double CBORTokenizer::GetDouble() const {
696 span<uint8_t> CBORTokenizer::GetString8() const {
[all …]
Dencoding_h.template297 // cbor::CBORTokenizer - for parsing individual CBOR items
300 // Tags for the tokens within a CBOR message that CBORTokenizer understands.
332 // map or array. While CBORTokenizer::Next() will read / skip the entire
333 // envelope, CBORTokenizer::EnterEnvelope() reads the tokens
352 // CBORTokenizer segments a CBOR message, presenting the tokens therein as
356 class CBORTokenizer {
358 explicit CBORTokenizer(span<uint8_t> bytes);
359 ~CBORTokenizer();
DValues_cpp.template77 using {{"::".join(config.encoding_lib.namespace + ['cbor'])}}::CBORTokenizer;
97 std::unique_ptr<DictionaryValue> parseMap(int32_t stack_depth, cbor::CBORTokenizer* tokenizer);
98 std::unique_ptr<ListValue> parseArray(int32_t stack_depth, cbor::CBORTokenizer* tokenizer);
99 std::unique_ptr<Value> parseValue(int32_t stack_depth, cbor::CBORTokenizer* tokenizer);
104 std::unique_ptr<ListValue> parseArray(int32_t stack_depth, cbor::CBORTokenizer* tokenizer) {
122 int32_t stack_depth, cbor::CBORTokenizer* tokenizer) {
193 int32_t stack_depth, cbor::CBORTokenizer* tokenizer) {
240 cbor::CBORTokenizer tokenizer(bytes);