Searched refs:spinel_eui48_t (Results 1 – 7 of 7) sorted by relevance
/external/openthread/src/lib/spinel/ |
D | spinel_decoder.hpp | 420 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);
|
D | spinel.c | 504 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 …]
|
D | spinel_encoder.hpp | 463 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()
|
D | spinel_decoder.cpp | 284 otError Decoder::ReadEui48(spinel_eui48_t &aEui48) in ReadEui48() 287 const spinel_eui48_t *eui48Ptr = nullptr; in ReadEui48()
|
D | spinel.h | 834 } spinel_eui48_t; typedef
|
/external/openthread/tests/unit/ |
D | test_spinel_encoder.cpp | 84 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()
|
D | test_spinel_decoder.cpp | 69 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()
|