Home
last modified time | relevance | path

Searched refs:diralloc (Results 1 – 2 of 2) sorted by relevance

/external/curl/lib/
Dftp.h123 int diralloc; /* number of entries allocated for the 'dirs' array */ member
Dftp.c4319 ftpc->diralloc = 5; /* default dir depth to allocate */ in ftp_parse_url_path()
4320 ftpc->dirs = calloc(ftpc->diralloc, sizeof(ftpc->dirs[0])); in ftp_parse_url_path()
4371 if(++ftpc->dirdepth >= ftpc->diralloc) { in ftp_parse_url_path()
4374 ftpc->diralloc *= 2; /* double the size each time */ in ftp_parse_url_path()
4375 bigger = realloc(ftpc->dirs, ftpc->diralloc * sizeof(ftpc->dirs[0])); in ftp_parse_url_path()