• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/lib/

Lines Matching refs:source

137 static bool countcheck(const char *func, int line, const char *source)
139 /* if source is NULL, then the call is made internally and this check
141 if(memlimit && source) {
143 if(source) {
146 source, line, func);
149 source, line, func);
158 if(source)
160 source, line, memsize);
167 void *curl_domalloc(size_t wantedsize, int line, const char *source)
174 if(countcheck("malloc", line, source))
187 if(source)
189 source, line, wantedsize,
196 int line, const char *source)
204 if(countcheck("calloc", line, source))
215 if(source)
217 source, line, wanted_elements, wanted_size,
223 char *curl_dostrdup(const char *str, int line, const char *source)
230 if(countcheck("strdup", line, source))
239 if(source)
241 source, line, (void *)str, len, (void *)mem);
247 wchar_t *curl_dowcsdup(const wchar_t *str, int line, const char *source)
254 if(countcheck("wcsdup", line, source))
264 if(source)
266 source, line, (void *)str, bsiz, (void *)mem);
275 int line, const char *source)
283 if(countcheck("realloc", line, source))
300 if(source)
302 source, line, (void *)ptr, wantedsize,
313 void curl_dofree(void *ptr, int line, const char *source)
338 if(source)
339 curl_memlog("MEM %s:%d free(%p)\n", source, line, (void *)ptr);
343 int line, const char *source)
353 if(source && (sockfd != CURL_SOCKET_BAD))
354 curl_memlog(fmt, source, line, sockfd);
362 int line, const char *source)
372 if(source && (0 == res))
373 curl_memlog(fmt, source, line, socket_vector[0], socket_vector[1]);
380 int line, const char *source)
393 if(source && (sockfd != CURL_SOCKET_BAD))
394 curl_memlog(fmt, source, line, sockfd);
400 void curl_mark_sclose(curl_socket_t sockfd, int line, const char *source)
408 if(source)
409 curl_memlog(fmt, source, line, sockfd);
413 int curl_sclose(curl_socket_t sockfd, int line, const char *source)
416 curl_mark_sclose(sockfd, line, source);
421 int line, const char *source)
425 if(source)
427 source, line, file, mode, (void *)res);
434 int line, const char *source)
438 if(source)
440 source, line, filedes, mode, (void *)res);
446 int curl_fclose(FILE *file, int line, const char *source)
454 if(source)
456 source, line, (void *)file);