Home
last modified time | relevance | path

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

/curl/src/
H A Dtool_strdup.c30 char *newstr; in strdup() local
37 newstr = malloc(len); in strdup()
38 if(!newstr) in strdup()
41 memcpy(newstr, str, len); in strdup()
42 return newstr; in strdup()
/curl/lib/
H A Dstrdup.c43 char *newstr; in Curl_strdup() local
50 newstr = malloc(len); in Curl_strdup()
51 if(!newstr) in Curl_strdup()
54 memcpy(newstr, str, len); in Curl_strdup()
55 return newstr; in Curl_strdup()
H A Dbase64.c86 unsigned char *newstr; in Curl_base64_decode() local
114 newstr = malloc(rawlen + 1); in Curl_base64_decode()
115 if(!newstr) in Curl_base64_decode()
118 pos = newstr; in Curl_base64_decode()
179 *outptr = newstr; in Curl_base64_decode()
184 free(newstr); in Curl_base64_decode()
H A Dcookie.c98 static void strstore(char **str, const char *newstr, size_t len);
351 static void strstore(char **str, const char *newstr, size_t len) in strstore() argument
353 DEBUGASSERT(newstr); in strstore()
356 *str = Curl_memdup0(newstr, len); in strstore()

Completed in 8 milliseconds