Lines Matching refs:dirdepth
285 for(i=0; i < ftpc->dirdepth; i++) { in freedirs()
291 ftpc->dirdepth = 0; in freedirs()
944 if(ftpc->dirdepth) { in ftp_state_cwd()
3054 if(++ftpc->count1 <= ftpc->dirdepth) { in ftp_statemach_act()
4267 ftpc->dirdepth = 0; in ftp_parse_url_path()
4288 ftpc->dirdepth = 1; /* we consider it to be a single dir */ in ftp_parse_url_path()
4297 ftpc->dirdepth = 0; in ftp_parse_url_path()
4307 ftpc->dirdepth++; in ftp_parse_url_path()
4314 (ftpc->dirdepth == 0))?1:0; in ftp_parse_url_path()
4322 ftpc->dirs[ftpc->dirdepth] = in ftp_parse_url_path()
4324 if(!ftpc->dirs[ftpc->dirdepth]) { /* run out of memory ... */ in ftp_parse_url_path()
4329 if(isBadFtpString(ftpc->dirs[ftpc->dirdepth])) { in ftp_parse_url_path()
4330 free(ftpc->dirs[ftpc->dirdepth]); in ftp_parse_url_path()
4337 if(!ftpc->dirdepth) { in ftp_parse_url_path()
4339 ftpc->dirs[ftpc->dirdepth] = strdup("/"); in ftp_parse_url_path()
4340 if(!ftpc->dirs[ftpc->dirdepth++]) { /* run out of memory ... */ in ftp_parse_url_path()
4350 if(++ftpc->dirdepth >= ftpc->diralloc) { in ftp_parse_url_path()