Loading lib/base64.c +3 −0 Original line number Diff line number Diff line Loading @@ -73,6 +73,8 @@ static void decodeQuantum(unsigned char *dest, const char *src) * * Given a base64 string at src, decode it and return an allocated memory in * the *outptr. Returns the length of the decoded data. * * @unittest: 1302 */ size_t Curl_base64_decode(const char *src, unsigned char **outptr) { Loading Loading @@ -135,6 +137,7 @@ size_t Curl_base64_decode(const char *src, unsigned char **outptr) * is a pointer to an allocated area holding the base64 data. If something * went wrong, 0 is returned. * * @unittest: 1302 */ size_t Curl_base64_encode(struct SessionHandle *data, const char *inputbuff, size_t insize, Loading lib/connect.c +2 −0 Original line number Diff line number Diff line Loading @@ -131,6 +131,8 @@ singleipconnect(struct connectdata *conn, * If 'nowp' is non-NULL, it points to the current time. * 'duringconnect' is FALSE if not during a connect, as then of course the * connect timeout is not taken into account! * * @unittest: 1303 */ long Curl_timeleft(struct SessionHandle *data, struct timeval *nowp, Loading lib/curl_fnmatch.c +3 −0 Original line number Diff line number Diff line Loading @@ -413,6 +413,9 @@ static int loop(const unsigned char *pattern, const unsigned char *string) } } /* * @unittest: 1307 */ int Curl_fnmatch(void *ptr, const char *pattern, const char *string) { (void)ptr; /* the argument is specified by the curl_fnmatch_callback Loading lib/formdata.c +4 −0 Original line number Diff line number Diff line Loading @@ -737,6 +737,8 @@ CURLFORMcode FormAdd(struct curl_httppost **httppost, /* * curl_formadd() is a public API to add a section to the multipart formpost. * * @unittest: 1308 */ CURLFORMcode curl_formadd(struct curl_httppost **httppost, Loading Loading @@ -858,6 +860,8 @@ void Curl_formclean(struct FormData **form_ptr) * curl_formget() * Serialize a curl_httppost struct. * Returns 0 on success. * * @unittest: 1308 */ int curl_formget(struct curl_httppost *form, void *arg, curl_formget_callback append) Loading lib/hash.c +4 −1 Original line number Diff line number Diff line Loading @@ -140,7 +140,10 @@ mk_hash_element(const void *key, size_t key_len, const void *p) #define FETCH_LIST(x,y,z) x->table[x->hash_func(y, z, x->slots)] /* Insert the data in the hash. If there already was a match in the hash, that data is replaced. */ * that data is replaced. * * @unittest: 1305 */ void * Curl_hash_add(struct curl_hash *h, void *key, size_t key_len, void *p) { Loading Loading
lib/base64.c +3 −0 Original line number Diff line number Diff line Loading @@ -73,6 +73,8 @@ static void decodeQuantum(unsigned char *dest, const char *src) * * Given a base64 string at src, decode it and return an allocated memory in * the *outptr. Returns the length of the decoded data. * * @unittest: 1302 */ size_t Curl_base64_decode(const char *src, unsigned char **outptr) { Loading Loading @@ -135,6 +137,7 @@ size_t Curl_base64_decode(const char *src, unsigned char **outptr) * is a pointer to an allocated area holding the base64 data. If something * went wrong, 0 is returned. * * @unittest: 1302 */ size_t Curl_base64_encode(struct SessionHandle *data, const char *inputbuff, size_t insize, Loading
lib/connect.c +2 −0 Original line number Diff line number Diff line Loading @@ -131,6 +131,8 @@ singleipconnect(struct connectdata *conn, * If 'nowp' is non-NULL, it points to the current time. * 'duringconnect' is FALSE if not during a connect, as then of course the * connect timeout is not taken into account! * * @unittest: 1303 */ long Curl_timeleft(struct SessionHandle *data, struct timeval *nowp, Loading
lib/curl_fnmatch.c +3 −0 Original line number Diff line number Diff line Loading @@ -413,6 +413,9 @@ static int loop(const unsigned char *pattern, const unsigned char *string) } } /* * @unittest: 1307 */ int Curl_fnmatch(void *ptr, const char *pattern, const char *string) { (void)ptr; /* the argument is specified by the curl_fnmatch_callback Loading
lib/formdata.c +4 −0 Original line number Diff line number Diff line Loading @@ -737,6 +737,8 @@ CURLFORMcode FormAdd(struct curl_httppost **httppost, /* * curl_formadd() is a public API to add a section to the multipart formpost. * * @unittest: 1308 */ CURLFORMcode curl_formadd(struct curl_httppost **httppost, Loading Loading @@ -858,6 +860,8 @@ void Curl_formclean(struct FormData **form_ptr) * curl_formget() * Serialize a curl_httppost struct. * Returns 0 on success. * * @unittest: 1308 */ int curl_formget(struct curl_httppost *form, void *arg, curl_formget_callback append) Loading
lib/hash.c +4 −1 Original line number Diff line number Diff line Loading @@ -140,7 +140,10 @@ mk_hash_element(const void *key, size_t key_len, const void *p) #define FETCH_LIST(x,y,z) x->table[x->hash_func(y, z, x->slots)] /* Insert the data in the hash. If there already was a match in the hash, that data is replaced. */ * that data is replaced. * * @unittest: 1305 */ void * Curl_hash_add(struct curl_hash *h, void *key, size_t key_len, void *p) { Loading