Lines Matching refs:it

191     for (vector<string>::iterator it=g_listFiles.begin();  in main()
192 it!=g_listFiles.end(); it++) { in main()
193 printf("-f \"%s\"\n", it->c_str()); in main()
195 for (vector<string>::iterator it=g_inputBases.begin(); in main()
196 it!=g_inputBases.end(); it++) { in main()
197 printf("-I \"%s\"\n", it->c_str()); in main()
212 for (vector<string>::iterator it=g_listFiles.begin(); in main() local
213 it!=g_listFiles.end(); it++) { in main()
214 err = read_list_file(*it, g_variables, &files, &excludes); in main()
222 for (vector<FileRecord>::iterator it=files.begin(); in main() local
223 it!=files.end(); it++) { in main()
224 err |= locate(&(*it), g_inputBases); in main()
228 for (vector<FileRecord>::iterator it=files.begin(); in main() local
229 it!=files.end(); it++) { in main()
230 if (it->sourceIsDir) { in main()
231 err |= list_dir(*it, excludes, &more); in main()
234 for (vector<FileRecord>::iterator it=more.begin(); in main() local
235 it!=more.end(); it++) { in main()
236 files.push_back(*it); in main()
240 for (vector<FileRecord>::iterator it=files.begin(); in main() local
241 it!=files.end(); it++) { in main()
242 stat_out(g_outputBase, &(*it)); in main()
250 for (vector<FileRecord>::iterator it=files.begin(); in main() local
251 it!=files.end(); it++) { in main()
252 if (it->sourceIsDir) { in main()
253 directories.insert(it->outPath); in main()
255 string s = dir_part(it->outPath); in main()
264 for (vector<FileRecord>::iterator it=files.begin(); in main() local
265 it!=files.end(); it++) { in main()
266 if (it->outMod != 0 && it->sourceIsDir != it->outIsDir) { in main()
267 deleted.insert(it->outPath); in main()
272 for (set<string>::iterator it=deleted.begin(); in main() local
273 it!=deleted.end(); it++) { in main()
274 debug_printf("deleting %s\n", it->c_str()); in main()
275 err = remove_recursively(*it); in main()
283 for (vector<FileRecord>::iterator it=files.begin(); in main() local
284 it!=files.end(); it++) { in main()
285 if (!it->sourceIsDir) { in main()
286 if (it->fileOp == FILE_OP_REMOVE && in main()
287 deleted.count(it->outPath) == 0) { in main()
288 debug_printf("remove %s\n", it->outPath.c_str()); in main()
289 err = remove_recursively(it->outPath); in main()
298 for (set<string>::iterator it=directories.begin(); in main() local
299 it!=directories.end(); it++) { in main()
300 debug_printf("mkdir %s\n", it->c_str()); in main()
301 err = mkdir_recursively(*it); in main()
308 for (vector<FileRecord>::iterator it=files.begin(); in main() local
309 it!=files.end(); it++) { in main()
310 if (!it->sourceIsDir) { in main()
311 if (it->fileOp == FILE_OP_REMOVE) { in main()
316 it->sourcePath.c_str(), it->sourceMod, in main()
317 it->outPath.c_str(), it->outMod); in main()
319 if (it->outSize != it->sourceSize || it->outMod < it->sourceMod) { in main()
320 err = copy_file(it->sourcePath, it->outPath); in main()
329 if (it->fileOp == FILE_OP_STRIP) { in main()
330 debug_printf("strip %s\n", it->outPath.c_str()); in main()
331 err = strip_file(it->outPath); in main()
344 for (vector<FileRecord>::iterator it=files.begin(); in main() local
345 it!=files.end(); it++) { in main()
346 if (!it->sourceIsDir) { in main()
348 escape_filename(it->sourcePath).c_str()); in main()