Lines Matching refs:i
23 int i; in EliminateOpenFiles() local
24 for (i = 0; de->d_name[i] != '\0' && isdigit(de->d_name[i]); ++i); in EliminateOpenFiles()
25 if (de->d_name[i]) continue; in EliminateOpenFiles()
87 unsigned int i; in FindExpendableFiles() local
88 for (i = 0; i < sizeof(dirs)/sizeof(dirs[0]); ++i) { in FindExpendableFiles()
89 d = opendir(dirs[i]); in FindExpendableFiles()
91 printf("error opening %s: %s\n", dirs[i], strerror(errno)); in FindExpendableFiles()
97 strcpy(path, dirs[i]); in FindExpendableFiles()
156 int i; in MakeFreeSpaceOnCache() local
157 for (i = 0; i < entries && free_now < bytes_needed; ++i) { in MakeFreeSpaceOnCache()
158 if (names[i]) { in MakeFreeSpaceOnCache()
159 unlink(names[i]); in MakeFreeSpaceOnCache()
161 printf("deleted %s; now %ld bytes free\n", names[i], (long)free_now); in MakeFreeSpaceOnCache()
162 free(names[i]); in MakeFreeSpaceOnCache()
166 for (; i < entries; ++i) { in MakeFreeSpaceOnCache()
167 free(names[i]); in MakeFreeSpaceOnCache()