Home
last modified time | relevance | path

Searched refs:initial_byte (Results 1 – 2 of 2) sorted by relevance

/external/openthread/tests/scripts/thread-cert/
Dcoap.py94 initial_byte = ord(data.read(1))
96 delta = (initial_byte >> 4) & 0xF
97 length = initial_byte & 0xF
393 initial_byte = ord(data.read(1))
395 version = (initial_byte >> 6) & 0x3
396 _type = CoapMessageType((initial_byte >> 4) & 0x3)
397 token_length = initial_byte & 0xF
/external/open-dice/src/
Dcbor_reader.c36 uint8_t initial_byte; in CborPeekIntialValueAndArgument() local
43 initial_byte = in->buffer[in->cursor]; in CborPeekIntialValueAndArgument()
44 *type = initial_byte >> 5; in CborPeekIntialValueAndArgument()
45 additional_information = initial_byte & 0x1f; in CborPeekIntialValueAndArgument()