Home
last modified time | relevance | path

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

/third_party/libcoap/src/
Dcoap_ws.c96 const uint8_t *bufin; in coap_base64_decode_buffer() local
119 bufin = (const uint8_t *)bufcoded; in coap_base64_decode_buffer()
120 while (pr2six[*(bufin++)] <= 63); in coap_base64_decode_buffer()
121 nprbytes = (bufin - (const unsigned char *) bufcoded) - 1; in coap_base64_decode_buffer()
127 bufin = (const uint8_t *)bufcoded; 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()
136 bufin += 4; in coap_base64_decode_buffer()
142 *(bufout++) = (uint8_t)(pr2six[*bufin] << 2 | pr2six[bufin[1]] >> 4); in coap_base64_decode_buffer()
[all …]
/third_party/libwebsockets/lib/roles/ws/
Dclient-ws.c72 unsigned char *bufin = *buf; in lws_ws_handshake_client() local
107 *buf = bufin; in lws_ws_handshake_client()
Dserver-ws.c992 unsigned char *bufin = *buf; in lws_parse_ws() local
1027 *buf = bufin; in lws_parse_ws()