Lines Matching refs:up
63 char *ept, *eup, *up; in getcwd() local
90 if ((up = malloc(upsize = 1024 - 4)) == NULL) in getcwd()
92 eup = up + MAXPATHLEN; in getcwd()
93 bup = up; in getcwd()
94 up[0] = '.'; in getcwd()
95 up[1] = '\0'; in getcwd()
107 if (lstat(up, &s)) in getcwd()
123 free(up); in getcwd()
135 if ((nup = realloc(up, upsize *= 2)) == NULL) in getcwd()
137 up = nup; in getcwd()
138 bup = up; in getcwd()
139 eup = up + upsize; in getcwd()
148 if (!(dir = opendir(up)) || lstat(up,&s)) in getcwd()
176 if (lstat(up, &s)) { in getcwd()
230 if (up) in getcwd()
231 free(up); in getcwd()