|
Blender V4.5
|
Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN void | path_init (const string &path="", const string &user_path="") |
| string | path_get (const string &sub="") |
| string | path_user_get (const string &sub="") |
| string | path_cache_get (const string &sub="") |
| string | path_filename (const string &path) |
| string | path_dirname (const string &path) |
| string | path_join (const string &dir, const string &file) |
| string | path_escape (const string &path) |
| bool | path_is_relative (const string &path) |
| size_t | path_file_size (const string &path) |
| bool | path_exists (const string &path) |
| bool | path_is_directory (const string &path) |
| string | path_files_md5_hash (const string &dir) |
| uint64_t | path_modified_time (const string &path) |
| void | path_create_directories (const string &path) |
| FILE * | path_fopen (const string &path, const string &mode) |
| bool | path_write_binary (const string &path, const vector< uint8_t > &binary) |
| bool | path_write_text (const string &path, string &text) |
| bool | path_read_binary (const string &path, vector< uint8_t > &binary) |
| bool | path_read_text (const string &path, string &text) |
| bool | path_read_compressed_binary (const string &path, vector< uint8_t > &binary) |
| bool | path_read_compressed_text (const string &path, string &text) |
| bool | path_remove (const string &path) |
| string | path_source_replace_includes (const string &source, const string &path) |
| bool | path_cache_kernel_exists_and_mark_used (const string &path) |
| void | path_cache_kernel_mark_added_and_clear_old (const string &path, const size_t max_old_kernel_of_same_type=5) |
| string path_cache_get | ( | const string & | sub = "" | ) |
Definition at line 360 of file path.cpp.
References cached_xdg_cache_path, path_cache_get(), path_join(), path_user_get(), and result.
Referenced by path_cache_get().
| bool path_cache_kernel_exists_and_mark_used | ( | const string & | path | ) |
Definition at line 994 of file path.cpp.
References path_cache_kernel_exists_and_mark_used(), path_cache_kernel_mark_used(), and path_exists().
Referenced by path_cache_kernel_exists_and_mark_used().
| void path_cache_kernel_mark_added_and_clear_old | ( | const string & | path, |
| const size_t | max_old_kernel_of_same_type = 5 ) |
Definition at line 1003 of file path.cpp.
References i, path_cache_kernel_mark_added_and_clear_old(), path_cache_kernel_mark_used(), path_dirname(), path_exists(), path_remove(), and sort().
Referenced by path_cache_kernel_mark_added_and_clear_old().
| void path_create_directories | ( | const string & | path | ) |
Definition at line 647 of file path.cpp.
References create_directories_recursivey(), path_create_directories(), and path_dirname().
Referenced by path_create_directories(), and path_write_binary().
| string path_dirname | ( | const string & | path | ) |
Definition at line 401 of file path.cpp.
References DIR_SEP, and path_dirname().
Referenced by blender_absolute_path(), create_directories_recursivey(), path_cache_kernel_mark_added_and_clear_old(), path_create_directories(), path_dirname(), path_get(), path_source_handle_preprocessor(), path_user_get(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), xml_read_file(), and xml_read_include().
| string path_escape | ( | const string & | path | ) |
Definition at line 437 of file path.cpp.
References path_escape(), result, and string_replace().
Referenced by path_escape(), TEST(), TEST(), TEST(), TEST(), and TEST().
| bool path_exists | ( | const string & | path | ) |
Definition at line 563 of file path.cpp.
References path_exists().
Referenced by create_directories_recursivey(), OIIOImageLoader::load_metadata(), OIIOImageLoader::load_pixels(), path_cache_kernel_exists_and_mark_used(), path_cache_kernel_mark_added_and_clear_old(), path_exists(), path_files_md5_hash_recursive(), path_read_compressed_text(), path_read_text(), and path_source_handle_preprocessor().
| size_t path_file_size | ( | const string & | path | ) |
Definition at line 554 of file path.cpp.
References path_file_size(), and path_stat().
Referenced by TileManager::finish_write_tiles(), path_file_size(), and path_read_binary().
| string path_filename | ( | const string & | path | ) |
Definition at line 378 of file path.cpp.
References DIR_SEP, and path_filename().
Referenced by line_directive(), main(), OIIOImageLoader::name(), path_filename(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and xml_read_file().
| string path_files_md5_hash | ( | const string & | dir | ) |
Definition at line 611 of file path.cpp.
References hash, path_files_md5_hash(), and path_files_md5_hash_recursive().
Referenced by path_files_md5_hash().
| FILE * path_fopen | ( | const string & | path, |
| const string & | mode ) |
Definition at line 975 of file path.cpp.
References path_fopen().
Referenced by MD5Hash::append_file(), klight_tree_plot_to_file(), light_tree_plot_to_file(), path_fopen(), path_read_binary(), and path_write_binary().
| string path_get | ( | const string & | sub = "" | ) |
Definition at line 337 of file path.cpp.
References cached_path, path_dirname(), path_get(), path_join(), and path_specials().
Referenced by path_get(), and HdCyclesFileReader::read().
| CCL_NAMESPACE_BEGIN void path_init | ( | const string & | path = "", |
| const string & | user_path = "" ) |
Definition at line 324 of file path.cpp.
References cached_path, cached_user_path, and path_init().
Referenced by BLI_path_join_array(), init_func(), main(), and path_init().
| bool path_is_directory | ( | const string & | path | ) |
Definition at line 582 of file path.cpp.
References path_is_directory(), path_stat(), and S_ISDIR.
Referenced by create_directories_recursivey(), OIIOImageLoader::load_metadata(), OIIOImageLoader::load_pixels(), path_files_md5_hash_recursive(), and path_is_directory().
| bool path_is_relative | ( | const string & | path | ) |
Definition at line 444 of file path.cpp.
References DIR_SEP, and path_is_relative().
Referenced by path_is_relative(), TEST(), TEST(), TEST(), TEST(), TEST(), and xml_read_shader_graph().
| string path_join | ( | const string & | dir, |
| const string & | file ) |
Definition at line 415 of file path.cpp.
References DIR_SEP, path_join(), and result.
Referenced by blender_absolute_path(), TileManager::open_tile_output(), path_cache_get(), path_get(), path_join(), path_source_handle_preprocessor(), path_user_get(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), xml_read_include(), and xml_read_shader_graph().
| uint64_t path_modified_time | ( | const string & | path | ) |
Definition at line 769 of file path.cpp.
References path_modified_time(), and path_stat().
Referenced by path_modified_time().
| bool path_read_binary | ( | const string & | path, |
| vector< uint8_t > & | binary ) |
Definition at line 681 of file path.cpp.
References path_file_size(), path_fopen(), and path_read_binary().
Referenced by path_read_binary(), path_read_compressed_binary(), and path_read_text().
| bool path_read_compressed_binary | ( | const string & | path, |
| vector< uint8_t > & | binary ) |
Definition at line 708 of file path.cpp.
References path_read_binary(), path_read_compressed_binary(), and string_endswith().
Referenced by path_read_compressed_binary(), and path_read_compressed_text().
| bool path_read_compressed_text | ( | const string & | path, |
| string & | text ) |
Definition at line 754 of file path.cpp.
References path_exists(), path_read_compressed_binary(), path_read_compressed_text(), size(), and str.
Referenced by path_read_compressed_text().
| bool path_read_text | ( | const string & | path, |
| string & | text ) |
Definition at line 739 of file path.cpp.
References path_exists(), path_read_binary(), path_read_text(), size(), and str.
Referenced by LightManager::add_ies_from_file(), path_read_text(), and path_source_handle_preprocessor().
| bool path_remove | ( | const string & | path | ) |
Definition at line 778 of file path.cpp.
References path_remove().
Referenced by path_cache_kernel_mark_added_and_clear_old(), path_remove(), and BlenderSession::render_frame_finish().
| string path_source_replace_includes | ( | const string & | source, |
| const string & | path ) |
Definition at line 968 of file path.cpp.
References path_source_replace_includes(), path_source_replace_includes_recursive(), and state.
Referenced by path_source_replace_includes().
| string path_user_get | ( | const string & | sub = "" | ) |
Definition at line 351 of file path.cpp.
References cached_user_path, path_dirname(), path_join(), and path_user_get().
Referenced by path_cache_get(), and path_user_get().
| bool path_write_binary | ( | const string & | path, |
| const vector< uint8_t > & | binary ) |
Definition at line 653 of file path.cpp.
References path_create_directories(), path_fopen(), and path_write_binary().
Referenced by path_write_binary(), and path_write_text().
| bool path_write_text | ( | const string & | path, |
| string & | text ) |
Definition at line 673 of file path.cpp.
References path_write_binary(), and path_write_text().
Referenced by path_write_text().