Lines Matching refs:FileSpec
23 void FileSpecList::Append(const FileSpec &file_spec) {
31 bool FileSpecList::AppendIfUnique(const FileSpec &file_spec) {
41 bool SupportFileList::AppendIfUnique(const FileSpec &file_spec) {
71 static size_t FindFileIndex(size_t start_idx, const FileSpec &file_spec,
73 std::function<const FileSpec &(size_t)> get_ith) {
79 const FileSpec &ith = get_ith(idx);
86 if (FileSpec::Equal(ith, file_spec, full))
95 size_t FileSpecList::FindFileIndex(size_t start_idx, const FileSpec &file_spec,
99 [&](size_t idx) -> const FileSpec & { return m_files[idx]; });
103 const FileSpec &file_spec,
106 [&](size_t idx) -> const FileSpec & {
112 const FileSpec &file_spec) const {
124 const FileSpec &curr_file = m_files[idx]->GetSpecOnly();
133 if (FileSpec::Equal(curr_file, file_spec, full)) {
163 // Returns the FileSpec object at index "idx". If "idx" is out of range, then
164 // an empty FileSpec object will be returned.
165 const FileSpec &FileSpecList::GetFileSpecAtIndex(size_t idx) const {
168 static FileSpec g_empty_file_spec;
172 const FileSpec &SupportFileList::GetFileSpecAtIndex(size_t idx) const {
175 static FileSpec g_empty_file_spec;
187 // size in bytes of this object's member variables and any FileSpec objects its