Lines Matching refs:encoded
821 char *encoded;
830 encoded = apr_palloc(r->pool, encoded_len);
831 encoded_len = apr_base64_encode(encoded, plain, plain_len);
832 if (encoded_len > 0 && encoded[encoded_len - 1] == '\0')
834 lua_pushlstring(L, encoded, encoded_len);
845 const char *encoded;
852 encoded = lua_tolstring(L, 2, &encoded_len);
853 decoded_len = apr_base64_decode_len(encoded);
856 decoded_len = apr_base64_decode(plain, encoded);
866 * lua_ap_unescape; r:unescape(string) - Unescapes an URL-encoded string
2143 char *encoded;
2157 encoded = apr_palloc(r->pool, encoded_len);
2158 encoded_len = apr_base64_encode(encoded, (char*) digest, APR_SHA1_DIGESTSIZE);
2162 apr_table_set(r->headers_out, "Sec-WebSocket-Accept", encoded);