Home
last modified time | relevance | path

Searched refs:spinel_ssize_t (Results 1 – 8 of 8) sorted by relevance

/external/openthread/src/lib/spinel/
Dspinel.c235 spinel_ssize_t spinel_packed_uint_decode(const uint8_t *bytes, spinel_size_t len, unsigned int *val… in spinel_packed_uint_decode()
237 spinel_ssize_t ret = 0; in spinel_packed_uint_decode()
265 spinel_ssize_t spinel_packed_uint_size(unsigned int value) in spinel_packed_uint_size()
267 spinel_ssize_t ret; in spinel_packed_uint_size()
293 spinel_ssize_t spinel_packed_uint_encode(uint8_t *bytes, spinel_size_t len, unsigned int value) in spinel_packed_uint_encode()
295 const spinel_ssize_t encoded_size = spinel_packed_uint_size(value); in spinel_packed_uint_encode()
297 if ((spinel_ssize_t)len >= encoded_size) in spinel_packed_uint_encode()
299 spinel_ssize_t i; in spinel_packed_uint_encode()
340 static spinel_ssize_t spinel_datatype_vunpack_(bool in_place, in spinel_datatype_vunpack_()
346 spinel_ssize_t ret = 0; in spinel_datatype_vunpack_()
[all …]
Dspinel_encoder.cpp161 spinel_ssize_t len; in WriteUintPacked()
263 spinel_ssize_t packedLen; in WritePacked()
269 …VerifyOrExit((packedLen > 0) && (packedLen <= static_cast<spinel_ssize_t>(sizeof(buf))), error = O… in WritePacked()
283 spinel_ssize_t packedLen; in WriteVPacked()
286 …VerifyOrExit((packedLen > 0) && (packedLen <= static_cast<spinel_ssize_t>(sizeof(buf))), error = O… in WriteVPacked()
Dspinel.h841 typedef int spinel_ssize_t; typedef
4918 SPINEL_API_EXTERN spinel_ssize_t spinel_datatype_pack(uint8_t * data_out,
4922 SPINEL_API_EXTERN spinel_ssize_t spinel_datatype_vpack(uint8_t * data_out,
4926 SPINEL_API_EXTERN spinel_ssize_t spinel_datatype_unpack(const uint8_t *data_in,
4954 SPINEL_API_EXTERN spinel_ssize_t spinel_datatype_unpack_in_place(const uint8_t *data_in,
4958 SPINEL_API_EXTERN spinel_ssize_t spinel_datatype_vunpack(const uint8_t *data_in,
4984 SPINEL_API_EXTERN spinel_ssize_t spinel_datatype_vunpack_in_place(const uint8_t *data_in,
4989 SPINEL_API_EXTERN spinel_ssize_t spinel_packed_uint_decode(const uint8_t *bytes,
4992 SPINEL_API_EXTERN spinel_ssize_t spinel_packed_uint_encode(uint8_t *bytes, spinel_size_t len, unsig…
4993 SPINEL_API_EXTERN spinel_ssize_t spinel_packed_uint_size(unsigned int value);
Dradio_spinel_impl.hpp324 spinel_ssize_t unpacked; in IsRcp()
462 spinel_ssize_t unpacked; in HandleReceivedFrame()
495 spinel_ssize_t unpacked; in HandleNotification()
550 spinel_ssize_t unpacked; in HandleNotification()
575 spinel_ssize_t rval = 0; in HandleResponse()
783 spinel_ssize_t unpacked = spinel_datatype_unpack(aBuffer, aLength, "i", &status); in HandleWaitingResponse()
791 spinel_ssize_t unpacked; in HandleWaitingResponse()
813 spinel_ssize_t unpacked = in HandleWaitingResponse()
848 spinel_ssize_t unpacked; in HandleValueIs()
954 spinel_ssize_t &aUnpacked) in ParseRadioFrame()
[all …]
Dradio_spinel.hpp954 …ioFrame(otRadioFrame &aFrame, const uint8_t *aBuffer, uint16_t aLength, spinel_ssize_t &aUnpacked);
Dspinel_decoder.cpp204 spinel_ssize_t parsedLen; in ReadUintPacked()
/external/openthread/tests/unit/
Dtest_spinel_encoder.cpp64 spinel_ssize_t parsedLen; in TestEncoder()
Dtest_spinel_decoder.cpp48 spinel_ssize_t frameLen; in TestDecoder()