Home | History | Annotate | Download | only in atree

Lines Matching refs:rec

99     FileRecord rec;
100 rec.listFile = listFile;
101 rec.listLine = listLine;
102 rec.sourceName = sourceName;
103 rec.outName = outName;
104 files->push_back(rec);
294 locate(FileRecord* rec, const vector<string>& search)
300 string full = path_append(*it, rec->sourceName);
304 rec->sourceBase = *it;
305 rec->sourcePath = full;
306 rec->sourceMod = st.st_mtime;
307 rec->sourceIsDir = S_ISDIR(st.st_mode);
313 rec->listFile.c_str(), rec->listLine, rec->sourceName.c_str());
318 stat_out(const string& base, FileRecord* rec)
320 rec->outPath = path_append(base, rec->outName);
324 err = stat(rec->outPath.c_str(), &st);
326 rec->outMod = st.st_mtime;
327 rec->outIsDir = S_ISDIR(st.st_mode);
329 rec->outMod = 0;
330 rec->outIsDir = false;
346 const FileRecord& rec, vector<FileRecord>*more)
349 r.listFile = rec.listFile;
350 r.listLine = rec.listLine;
351 r.sourceName = path_append(rec.sourceName, entry);
352 r.sourcePath = path_append(rec.sourceBase, r.sourceName);
359 r.outName = path_append(rec.outName, entry);
376 list_dir(const string& path, const FileRecord& rec,
382 string full = path_append(rec.sourceBase, rec.sourceName);
410 add_more(entry, is_directory, rec, more);
418 list_dir(*it, rec, excludes, more);
425 list_dir(const FileRecord& rec, const vector<string>& excludes,
428 return list_dir("", rec, excludes, files);