Home
last modified time | relevance | path

Searched refs:writeHeader (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/confirmationui/support/test/
Dandroid_cbor_test.cpp163 state = writeHeader(state, Type::NUMBER, 23); in TEST()
167 state = writeHeader(state, Type::NUMBER, 24); in TEST()
171 state = writeHeader(state, Type::NUMBER, 0xff); in TEST()
175 state = writeHeader(state, Type::NUMBER, 0x100); in TEST()
179 state = writeHeader(state, Type::NUMBER, 0xffff); in TEST()
183 state = writeHeader(state, Type::NUMBER, 0x10000); in TEST()
187 state = writeHeader(state, Type::NUMBER, 0xffffffff); in TEST()
191 state = writeHeader(state, Type::NUMBER, 0x100000000); in TEST()
195 state = writeHeader(state, Type::NUMBER, 0xffffffffffffffff); in TEST()
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
Dcbor.h231 WriteState writeHeader(WriteState wState, Type type, const uint64_t value);
238 return writeHeader(wState, Type::NUMBER, v);
240 return writeHeader(wState, Type::NEGATIVE, UINT64_C(-1) - v);
271 wState = writeHeader(wState, Type::TEXT_STRING, v.size());
283 wState = writeHeader(wState, Type::BYTE_STRING, v.size());
306 wState = writeHeader(wState, Type::MAP, map.size());
313 wState = writeHeader(wState, Type::ARRAY, arr.size());
/hardware/interfaces/confirmationui/support/src/
Dcbor.cpp58 WriteState writeHeader(WriteState wState, Type type, const uint64_t value) { in writeHeader() function