Lines Matching refs:source
107 static bool countcheck(const char *func, int line, const char *source) in countcheck() argument
111 if(memlimit && source) { in countcheck()
115 source, line, func); in countcheck()
118 source, line, func); in countcheck()
133 int line, const char *source) in curl_dbg_malloc() argument
140 if(countcheck("malloc", line, source)) in curl_dbg_malloc()
151 if(source) in curl_dbg_malloc()
153 source, line, wantedsize, in curl_dbg_malloc()
160 int line, const char *source) in curl_dbg_calloc() argument
168 if(countcheck("calloc", line, source)) in curl_dbg_calloc()
179 if(source) in curl_dbg_calloc()
181 source, line, wanted_elements, wanted_size, in curl_dbg_calloc()
188 int line, const char *source) in curl_dbg_strdup() argument
195 if(countcheck("strdup", line, source)) in curl_dbg_strdup()
204 if(source) in curl_dbg_strdup()
206 source, line, (const void *)str, len, (const void *)mem); in curl_dbg_strdup()
213 int line, const char *source) in curl_dbg_wcsdup() argument
220 if(countcheck("wcsdup", line, source)) in curl_dbg_wcsdup()
230 if(source) in curl_dbg_wcsdup()
232 source, line, (void *)str, bsiz, (void *)mem); in curl_dbg_wcsdup()
241 int line, const char *source) in curl_dbg_realloc() argument
249 if(countcheck("realloc", line, source)) in curl_dbg_realloc()
266 if(source) in curl_dbg_realloc()
268 source, line, (void *)ptr, wantedsize, in curl_dbg_realloc()
279 void curl_dbg_free(void *ptr, int line, const char *source) in curl_dbg_free() argument
300 if(source && ptr) in curl_dbg_free()
301 curl_dbg_log("MEM %s:%d free(%p)\n", source, line, (void *)ptr); in curl_dbg_free()
305 int line, const char *source) in curl_dbg_socket() argument
309 if(countcheck("socket", line, source)) in curl_dbg_socket()
314 if(source && (sockfd != CURL_SOCKET_BAD)) in curl_dbg_socket()
316 source, line, sockfd); in curl_dbg_socket()
324 const char *source) in curl_dbg_send() argument
327 if(countcheck("send", line, source)) in curl_dbg_send()
330 if(source) in curl_dbg_send()
332 source, line, (unsigned long)len, (long)rc); in curl_dbg_send()
338 const char *source) in curl_dbg_recv() argument
341 if(countcheck("recv", line, source)) in curl_dbg_recv()
344 if(source) in curl_dbg_recv()
346 source, line, (unsigned long)len, (long)rc); in curl_dbg_recv()
353 int line, const char *source) in curl_dbg_socketpair() argument
357 if(source && (0 == res)) in curl_dbg_socketpair()
360 source, line, socket_vector[0], socket_vector[1]); in curl_dbg_socketpair()
367 int line, const char *source) in curl_dbg_accept() argument
374 if(source && (sockfd != CURL_SOCKET_BAD)) in curl_dbg_accept()
376 source, line, sockfd); in curl_dbg_accept()
382 void curl_dbg_mark_sclose(curl_socket_t sockfd, int line, const char *source) in curl_dbg_mark_sclose() argument
384 if(source) in curl_dbg_mark_sclose()
386 source, line, sockfd); in curl_dbg_mark_sclose()
390 int curl_dbg_sclose(curl_socket_t sockfd, int line, const char *source) in curl_dbg_sclose() argument
393 curl_dbg_mark_sclose(sockfd, line, source); in curl_dbg_sclose()
398 int line, const char *source) in curl_dbg_fopen() argument
402 if(source) in curl_dbg_fopen()
404 source, line, file, mode, (void *)res); in curl_dbg_fopen()
410 int line, const char *source) in curl_dbg_fdopen() argument
413 if(source) in curl_dbg_fdopen()
415 source, line, filedes, mode, (void *)res); in curl_dbg_fdopen()
419 int curl_dbg_fclose(FILE *file, int line, const char *source) in curl_dbg_fclose() argument
425 if(source) in curl_dbg_fclose()
427 source, line, (void *)file); in curl_dbg_fclose()