Lines Matching refs:pattern
64 const wxString Find(const wxString& pattern,
68 size_t Extract(const wxString& pattern, const wxString& filename);
71 bool Contains(const wxString& pattern);
93 struct mschmd_file *GetMschmdFile(const wxString& pattern);
174 * Checks if the given pattern matches to any
177 * @param pattern The filename pattern, may include '*' and/or '?'
178 * @return true, if any file matching pattern has been found,
181 bool wxChmTools::Contains(const wxString& pattern)
184 wxString pattern_tmp = wxString(pattern).MakeLower();
205 * Finds the next file descibed by a pattern in the archive, starting
208 * @param pattern The file-pattern to search for. May contain '*' and/or '?'
212 const wxString wxChmTools::Find(const wxString& pattern,
217 wxString pattern_tmp(pattern);
246 * extracts the first hit of pattern to the given position
248 * @param pattern A filename pattern (may contain * and ? chars)
253 size_t wxChmTools::Extract(const wxString& pattern, const wxString& filename)
260 wxString pattern_tmp = (wxString(pattern)).MakeLower();
293 * Find a file by pattern
295 * @param pattern A filename pattern (may contain * and ? chars)
303 wxString pattern = wxString(pattern_orig).MakeLower();
308 if ( tmp.Matches(pattern) || tmp.Mid(1).Matches(pattern) )
393 bool CreateFileStream(const wxString& pattern);
700 bool wxChmInputStream::CreateFileStream(const wxString& pattern)
712 if ( m_chm->Extract(pattern, tmpfile) <= 0 )
715 pattern.c_str(), tmpfile.c_str());