Searched refs:lebytes (Results 1 – 2 of 2) sorted by relevance
429 uint8_t lebytes[4]; in pb_encode_fixed32() local430 lebytes[0] = bytes[3]; in pb_encode_fixed32()431 lebytes[1] = bytes[2]; in pb_encode_fixed32()432 lebytes[2] = bytes[1]; in pb_encode_fixed32()433 lebytes[3] = bytes[0]; in pb_encode_fixed32()434 return pb_write(stream, lebytes, 4); in pb_encode_fixed32()444 uint8_t lebytes[8]; in pb_encode_fixed64() local445 lebytes[0] = bytes[7]; in pb_encode_fixed64()446 lebytes[1] = bytes[6]; in pb_encode_fixed64()447 lebytes[2] = bytes[5]; in pb_encode_fixed64()[all …]
996 uint8_t lebytes[4]; in pb_decode_fixed32() local998 if (!pb_read(stream, lebytes, 4)) in pb_decode_fixed32()1001 bytes[0] = lebytes[3]; in pb_decode_fixed32()1002 bytes[1] = lebytes[2]; in pb_decode_fixed32()1003 bytes[2] = lebytes[1]; in pb_decode_fixed32()1004 bytes[3] = lebytes[0]; in pb_decode_fixed32()1015 uint8_t lebytes[8]; in pb_decode_fixed64() local1017 if (!pb_read(stream, lebytes, 8)) in pb_decode_fixed64()1020 bytes[0] = lebytes[7]; in pb_decode_fixed64()1021 bytes[1] = lebytes[6]; in pb_decode_fixed64()[all …]