Go to the source code of this file.
Functions | |
bool | fnmatch (const string_vector &pat, const std::string &str, int fnmatch_flags) |
string_vector | glob (const string_vector &) |
string_vector | windows_glob (const string_vector &) |
bool fnmatch | ( | const string_vector & | pat, |
const std::string & | str, | ||
int | fnmatch_flags | ||
) |
Definition at line 58 of file oct-glob.cc.
References string_vector::numel(), octave_fnm_nomatch_wrapper(), and octave_fnmatch_wrapper().
Referenced by glob_match::match(), and octave_fnmatch_wrapper().
string_vector glob | ( | const string_vector & | pat | ) |
Definition at line 73 of file oct-glob.cc.
References file_exists(), n, string_vector::numel(), octave_create_glob_info_struct(), octave_destroy_glob_info_struct(), octave_glob_match_list(), octave_glob_nosort_wrapper(), octave_glob_num_matches(), octave_glob_wrapper(), octave_globfree_wrapper(), string_vector::resize(), and string_vector::sort().
Referenced by glob_match::glob(), and octave_glob_wrapper().
string_vector windows_glob | ( | const string_vector & | pat | ) |
Definition at line 231 of file oct-glob.cc.
References dir_sep_char(), dir_sep_chars(), file_exists(), is_dir_sep(), len, m, n, string_vector::numel(), octave_create_glob_info_struct(), octave_destroy_glob_info_struct(), octave_glob_match_list(), octave_glob_nosort_wrapper(), octave_glob_num_matches(), octave_glob_wrapper(), octave_globfree_wrapper(), string_vector::resize(), string_vector::sort(), and u8_to_wstring().
Referenced by octave::F__wglob__().