Lines Matching refs:decoded
55 unsigned char *decoded; variable
121 rc = Curl_base64_decode("aWlpaQ==", &decoded, &size);
124 verify_memory(decoded, "iiii", 4);
125 Curl_safefree(decoded);
127 rc = Curl_base64_decode("aWlp", &decoded, &size);
130 verify_memory(decoded, "iii", 3);
131 Curl_safefree(decoded);
133 rc = Curl_base64_decode("aWk=", &decoded, &size);
136 verify_memory(decoded, "ii", 2);
137 Curl_safefree(decoded);
139 rc = Curl_base64_decode("aQ==", &decoded, &size);
142 verify_memory(decoded, "i", 2);
143 Curl_safefree(decoded);
147 decoded = &anychar; /* not NULL */
148 rc = Curl_base64_decode("aQ", &decoded, &size);
152 fail_if(decoded, "returned pointer should be NULL");
156 decoded = &anychar; /* not NULL */
157 rc = Curl_base64_decode("a===", &decoded, &size);
161 fail_if(decoded, "returned pointer should be NULL");
165 decoded = &anychar; /* not NULL */
166 rc = Curl_base64_decode("a=Q=", &decoded, &size);
170 fail_if(decoded, "returned pointer should be NULL");
174 decoded = &anychar; /* not NULL */
175 rc = Curl_base64_decode("aWlpa=Q=", &decoded, &size);
179 fail_if(decoded, "returned pointer should be NULL");
183 decoded = &anychar; /* not NULL */
184 rc = Curl_base64_decode("a\x1f==", &decoded, &size);
188 fail_if(decoded, "returned pointer should be NULL");