Searched refs:npaths (Results 1 – 3 of 3) sorted by relevance
94 static int npaths; /* # pathlist arguments */165 if (npaths == 0) in setpath()239 for (npaths = 0; path = paths[npaths]; npaths++) { in initpaths()318 if (npaths == 0 || pathhead == NULL) in freepaths()337 npaths = 0; in freepaths()
87 unsigned int npaths, ncmds; in dosetpath() local104 npaths = i - 1; in dosetpath()108 ncmds = i - npaths - 1; in dosetpath()110 if (npaths) { in dosetpath()116 npaths = (sizeof syspaths / sizeof *syspaths) - 1; in dosetpath()122 spaths = xmalloc(npaths * sizeof *spaths); in dosetpath()123 setzero(spaths, npaths * sizeof *spaths); in dosetpath()125 setzero(cpaths, (npaths + 1) * sizeof *cpaths); in dosetpath()128 for (i = 0; i < npaths; i++) { in dosetpath()154 for (i = 0; i < npaths; i++) in dosetpath()[all …]
280 static u_int npaths = 2; variable293 if (npaths >= MAX_PATHS) in path_new()295 memmove(&paths[npaths - stdpaths + 1], &paths[npaths - stdpaths], in path_new()297 paths[npaths - stdpaths] = savestr(path); in path_new()298 npaths++; in path_new()