Searched refs:diralloc (Results 1 – 2 of 2) sorted by relevance
123 int diralloc; /* number of entries allocated for the 'dirs' array */ member
4298 ftpc->diralloc = 5; /* default dir depth to allocate */ in ftp_parse_url_path()4299 ftpc->dirs = calloc(ftpc->diralloc, sizeof(ftpc->dirs[0])); in ftp_parse_url_path()4350 if(++ftpc->dirdepth >= ftpc->diralloc) { in ftp_parse_url_path()4353 ftpc->diralloc *= 2; /* double the size each time */ in ftp_parse_url_path()4354 bigger = realloc(ftpc->dirs, ftpc->diralloc * sizeof(ftpc->dirs[0])); in ftp_parse_url_path()