Home
last modified time | relevance | path

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

/third_party/libcoap/src/
Dcoap_ws.c53 basis_64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; variable
68 *p++ = basis_64[(string[i] >> 2) & 0x3F]; in coap_base64_encode_buffer()
69 *p++ = basis_64[((string[i] & 0x3) << 4) | in coap_base64_encode_buffer()
71 *p++ = basis_64[((string[i + 1] & 0xF) << 2) | in coap_base64_encode_buffer()
73 *p++ = basis_64[string[i + 2] & 0x3F]; in coap_base64_encode_buffer()
76 *p++ = basis_64[(string[i] >> 2) & 0x3F]; in coap_base64_encode_buffer()
78 *p++ = basis_64[((string[i] & 0x3) << 4)]; in coap_base64_encode_buffer()
81 *p++ = basis_64[((string[i] & 0x3) << 4) | in coap_base64_encode_buffer()
83 *p++ = basis_64[((string[i + 1] & 0xF) << 2)]; in coap_base64_encode_buffer()