Home
last modified time | relevance | path

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

/third_party/libcoap/src/
Dcoap_ws.c99 static const uint8_t pr2six[256] = { in coap_base64_decode_buffer() local
120 while (pr2six[*(bufin++)] <= 63); in coap_base64_decode_buffer()
131 (uint8_t)(pr2six[*bufin] << 2 | pr2six[bufin[1]] >> 4); in coap_base64_decode_buffer()
133 (uint8_t)(pr2six[bufin[1]] << 4 | pr2six[bufin[2]] >> 2); in coap_base64_decode_buffer()
135 (uint8_t)(pr2six[bufin[2]] << 6 | pr2six[bufin[3]]); in coap_base64_decode_buffer()
142 *(bufout++) = (uint8_t)(pr2six[*bufin] << 2 | pr2six[bufin[1]] >> 4); in coap_base64_decode_buffer()
145 *(bufout++) = (uint8_t)(pr2six[bufin[1]] << 4 | pr2six[bufin[2]] >> 2); in coap_base64_decode_buffer()
148 *(bufout++) = (uint8_t)(pr2six[bufin[2]] << 6 | pr2six[bufin[3]]); in coap_base64_decode_buffer()