Home
last modified time | relevance | path

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

/third_party/libcoap/src/
Dcoap_ws.c98 size_t nprbytes; in coap_base64_decode_buffer() local
121 nprbytes = (bufin - (const unsigned char *) bufcoded) - 1; in coap_base64_decode_buffer()
122 nbytesdecoded = ((nprbytes + 3) / 4) * 3; in coap_base64_decode_buffer()
123 if ((nbytesdecoded - ((4 - nprbytes) & 3)) > max_decoded_len) in coap_base64_decode_buffer()
129 while (nprbytes > 4) { in coap_base64_decode_buffer()
137 nprbytes -= 4; in coap_base64_decode_buffer()
141 if (nprbytes > 1) { in coap_base64_decode_buffer()
144 if (nprbytes > 2) { in coap_base64_decode_buffer()
147 if (nprbytes > 3) { in coap_base64_decode_buffer()
152 *len = nbytesdecoded - ((4 - nprbytes) & 3); in coap_base64_decode_buffer()