Lines Matching refs:FileSpec
23 void FileSpecList::Append(const FileSpec &file_spec) { in Append()
31 bool FileSpecList::AppendIfUnique(const FileSpec &file_spec) { in AppendIfUnique()
41 bool SupportFileList::AppendIfUnique(const FileSpec &file_spec) { in AppendIfUnique()
71 static size_t FindFileIndex(size_t start_idx, const FileSpec &file_spec, in FindFileIndex()
73 std::function<const FileSpec &(size_t)> get_ith) { in FindFileIndex()
79 const FileSpec &ith = get_ith(idx); in FindFileIndex()
86 if (FileSpec::Equal(ith, file_spec, full)) in FindFileIndex()
95 size_t FileSpecList::FindFileIndex(size_t start_idx, const FileSpec &file_spec, in FindFileIndex()
99 [&](size_t idx) -> const FileSpec & { return m_files[idx]; }); in FindFileIndex()
103 const FileSpec &file_spec, in FindFileIndex()
106 [&](size_t idx) -> const FileSpec & { in FindFileIndex()
112 const FileSpec &file_spec) const { in FindCompatibleIndex()
124 const FileSpec &curr_file = m_files[idx]->GetSpecOnly(); in FindCompatibleIndex()
133 if (FileSpec::Equal(curr_file, file_spec, full)) { in FindCompatibleIndex()
165 const FileSpec &FileSpecList::GetFileSpecAtIndex(size_t idx) const { in GetFileSpecAtIndex()
168 static FileSpec g_empty_file_spec; in GetFileSpecAtIndex()
172 const FileSpec &SupportFileList::GetFileSpecAtIndex(size_t idx) const { in GetFileSpecAtIndex()
175 static FileSpec g_empty_file_spec; in GetFileSpecAtIndex()