OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:addtl_data
(Results
1 - 1
of
1
) sorted by null
/external/libweave/third_party/libuweave/src/
macaroon_encoding.c
27
static inline void set_addtl_data_(uint8_t
addtl_data
, uint8_t* cbor);
207
static inline void set_addtl_data_(uint8_t
addtl_data
, uint8_t* cbor) {
208
*cbor = ((*cbor) & MAJOR_TYPE_MASK) | (
addtl_data
& ADDITIONAL_DATA_MASK);
364
uint8_t
addtl_data
= get_addtl_data_(cbor);
local
365
if (
addtl_data
< FLAG_1BYTE_UINT) {
366
*unsigned_int = (uint32_t)
addtl_data
;
369
if (
addtl_data
> FLAG_4BYTE_UINT) {
373
size_t uint_num_bytes = 1 << (
addtl_data
- (uint8_t)FLAG_1BYTE_UINT);
Completed in 245 milliseconds