Home
last modified time | relevance | path

Searched refs:spinel_eui48_t (Results 1 – 7 of 7) sorted by relevance

/external/openthread/src/lib/spinel/
Dspinel_decoder.hpp420 otError ReadEui48(const spinel_eui48_t *&aEui48Ptr) in ReadEui48()
422 return ReadItem(reinterpret_cast<const uint8_t **>(&aEui48Ptr), sizeof(spinel_eui48_t)); in ReadEui48()
437 …ReadEui48(const uint8_t *&aEui48BufPtr) { return ReadItem(&aEui48BufPtr, sizeof(spinel_eui48_t)); } in ReadEui48()
451 otError ReadEui48(spinel_eui48_t &aEui48);
Dspinel.c504 require_action(data_len >= sizeof(spinel_eui48_t), bail, (ret = -1, errno = EOVERFLOW)); in spinel_datatype_vunpack_()
508 spinel_eui48_t *arg = va_arg(args->obj, spinel_eui48_t *); in spinel_datatype_vunpack_()
511 memcpy(arg, data_in, sizeof(spinel_eui48_t)); in spinel_datatype_vunpack_()
516 const spinel_eui48_t **arg_ptr = va_arg(args->obj, const spinel_eui48_t **); in spinel_datatype_vunpack_()
519 *arg_ptr = (const spinel_eui48_t *)data_in; in spinel_datatype_vunpack_()
523 ret += sizeof(spinel_eui48_t); in spinel_datatype_vunpack_()
524 data_in += sizeof(spinel_eui48_t); in spinel_datatype_vunpack_()
525 data_len -= sizeof(spinel_eui48_t); in spinel_datatype_vunpack_()
919 spinel_eui48_t *arg = va_arg(args->obj, spinel_eui48_t *); in spinel_datatype_vpack_()
920 ret += sizeof(spinel_eui48_t); in spinel_datatype_vpack_()
[all …]
Dspinel_encoder.hpp463 otError WriteEui48(const spinel_eui48_t &aEui48) { return WriteEui48(aEui48.bytes); } in WriteEui48()
481 otError WriteEui48(const uint8_t *aEui48) { return WriteData(aEui48, sizeof(spinel_eui48_t)); } in WriteEui48()
Dspinel_decoder.cpp284 otError Decoder::ReadEui48(spinel_eui48_t &aEui48) in ReadEui48()
287 const spinel_eui48_t *eui48Ptr = nullptr; in ReadEui48()
Dspinel.h834 } spinel_eui48_t; typedef
/external/openthread/tests/unit/
Dtest_spinel_encoder.cpp84 const spinel_eui48_t kEui48 = { in TestEncoder()
108 spinel_eui48_t * eui48; in TestEncoder()
174 VerifyOrQuit(memcmp(eui48, &kEui48, sizeof(spinel_eui48_t)) == 0); in TestEncoder()
215 VerifyOrQuit(memcmp(eui48, &kEui48, sizeof(spinel_eui48_t)) == 0); in TestEncoder()
274 VerifyOrQuit(memcmp(eui48, &kEui48, sizeof(spinel_eui48_t)) == 0); in TestEncoder()
308 VerifyOrQuit(memcmp(eui48, &kEui48, sizeof(spinel_eui48_t)) == 0); in TestEncoder()
Dtest_spinel_decoder.cpp69 const spinel_eui48_t kEui48 = { in TestDecoder()
93 const spinel_eui48_t * eui48; in TestDecoder()
178 VerifyOrQuit(memcmp(eui48, &kEui48, sizeof(spinel_eui48_t)) == 0); in TestDecoder()
324 VerifyOrQuit(memcmp(eui48, &kEui48, sizeof(spinel_eui48_t)) == 0); in TestDecoder()
403 VerifyOrQuit(memcmp(eui48, &kEui48, sizeof(spinel_eui48_t)) == 0); in TestDecoder()
452 VerifyOrQuit(memcmp(eui48, &kEui48, sizeof(spinel_eui48_t)) == 0); in TestDecoder()
514 VerifyOrQuit(memcmp(eui48, &kEui48, sizeof(spinel_eui48_t)) == 0); in TestDecoder()
570 VerifyOrQuit(memcmp(eui48, &kEui48, sizeof(spinel_eui48_t)) == 0); in TestDecoder()