GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <algorithm>
#include "dir-ops.h"
#include "file-ops.h"
#include "file-stat.h"
#include "oct-env.h"
#include "pathsearch.h"
#include "singleton-cleanup.h"
#include "defaults.h"
#include "defun.h"
#include "input.h"
#include "interpreter.h"
#include "load-path.h"
#include "ov-usr-fcn.h"
#include "pager.h"
#include "parse.h"
#include "unwind-prot.h"
#include "utils.h"
Go to the source code of this file.
Variables | |
is greater than concatenate the | arguments |
OCTAVE_EXPORT octave_value_list | genpath |
OCTAVE_EXPORT octave_value_list | pathdef |
OCTAVE_EXPORT octave_value_list | rmpath |
OCTAVE_EXPORT octave_value_list | savepath |
is greater than | zero |
|
static |
Definition at line 2216 of file load-path.cc.
References octave::sys::file_ops::concat(), octave::sys::base_file_stat::exists(), file, frame, fs, octave_interpreter_ready, source_file(), and string.
Referenced by load_path::execute_pkg_add(), and load_path::execute_pkg_del().
OCTAVE_EXPORT octave_value_list F__pathorig__ | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 2315 of file load-path.cc.
References load_path::initialize(), ovl(), and load_path::system_path().
Referenced by install_load_path_fcns().
OCTAVE_EXPORT octave_value_list Fgenpath | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 2252 of file load-path.cc.
References genpath, nargin, print_usage(), retval, and string.
Referenced by install_load_path_fcns().
std::string find_private_file | ( | const std::string & | fname | ) |
Definition at line 1300 of file load-path.cc.
References octave_function::dir_name(), octave::sys::file_ops::dir_sep_str(), octave::sys::base_file_stat::exists(), fname, fs, symbol_table::get_curr_fcn(), octave::sys::base_file_stat::is_reg(), retval, and string.
Referenced by load_path::do_find_file().
OCTAVE_EXPORT octave_value_list Fpath | ( | const octave_value_list & | args, |
int | nargout | ||
) |
Definition at line 2339 of file load-path.cc.
Referenced by install_load_path_fcns().
OCTAVE_EXPORT octave_value_list Frehash | ( | const octave_value_list & | , |
int | |||
) |
Referenced by install_load_path_fcns().
std::string genpath | ( | const std::string & | dirname, |
const string_vector & | skip | ||
) |
Definition at line 2154 of file load-path.cc.
References octave::sys::file_ops::concat(), fs, genpath, octave::sys::base_file_stat::is_dir(), nm, Array< T >::numel(), octave::directory_path::path_sep_str(), octave::sys::dir_entry::read(), retval, string_vector::sort(), and string.
load_path::dir_info::fcn_file_map_type get_fcn_files | ( | const std::string & | d | ) |
Definition at line 254 of file load-path.cc.
References octave::sys::dir_entry::error(), fname, load_path::M_FILE, load_path::MEX_FILE, Array< T >::numel(), load_path::OCT_FILE, octave::sys::dir_entry::read(), retval, string, t, valid_identifier(), and warning().
string_vector get_file_list | ( | const load_path::dir_info::fcn_file_map_type & | lst | ) |
Definition at line 1781 of file load-path.cc.
References load_path::MEX_FILE, nm, load_path::OCT_FILE, p, retval, and string.
|
static |
Definition at line 1855 of file load-path.cc.
References octave::directory_path::path_sep_char().
Referenced by load_path::loader::add_to_fcn_map().
|
static |
Definition at line 570 of file load-path.cc.
References genpath, octave::directory_path::path_sep_str(), and string.
Referenced by load_path::do_initialize().
OCTAVE_EXPORT octave_value_list pathsep end deftypefn* return ovl | ( | load_path:: | system_path() | ) |
Referenced by F__pathorig__().
void print_fcn_list | ( | std::ostream & | os, |
const load_path::dir_info::fcn_file_map_type & | lst | ||
) |
Definition at line 1765 of file load-path.cc.
References p, and load_path::print_types.
void print_types | ( | std::ostream & | os, |
int | types | ||
) |
Definition at line 1737 of file load-path.cc.
References load_path::M_FILE, load_path::MEX_FILE, and load_path::OCT_FILE.
|
static |
Definition at line 2283 of file load-path.cc.
References octave::sys::time::stamp(), load_path::update(), and Vlast_prompt_time.
|
static |
Definition at line 632 of file load-path.cc.
References octave_value::length(), octave::directory_path::path_sep_char(), retval, and string.
Referenced by load_path::do_set().
|
static |
Definition at line 734 of file load-path.cc.
References octave::sys::file_ops::is_dir_sep(), k, and string.
Referenced by load_path::do_add(), and load_path::do_remove().
is greater than concatenate the arguments |
Definition at line 2339 of file load-path.cc.
OCTAVE_EXPORT octave_value_list genpath |
Definition at line 2298 of file load-path.cc.
Referenced by Fgenpath(), genpath(), maybe_add_path_elts(), and set_image_path().
OCTAVE_EXPORT octave_value_list pathdef |
Definition at line 2298 of file load-path.cc.
OCTAVE_EXPORT octave_value_list rmpath |
Definition at line 2298 of file load-path.cc.
OCTAVE_EXPORT octave_value_list savepath |
Definition at line 2298 of file load-path.cc.
is greater than zero |
Definition at line 2339 of file load-path.cc.
Referenced by any_all_test(), DiagArray2< T >::checkelem(), dcnst0(), dcnstr(), do_leftdiv_dm_sm(), do_numeric_lookup(), do_rightdiv_sm_dm(), do_tril(), do_triu(), DiagArray2< T >::elem(), Array< T >::find(), ichol_t(), jit_function_info::jit_function_info(), jit_typeinfo::jit_typeinfo(), mark_upper_triangular(), matrix_complex_probe(), matrix_real_probe(), Array< T >::nnz(), Array< T >::nth_element(), pow(), Array< T >::resize_fill_value(), octave_stream::skip_bytes(), and sqrtm_utri_inplace().