|
Blender V5.3
|
#include <inttypes.h>#include <stdarg.h>#include <string>#include "BLI_compiler_attrs.hh"#include "BLI_string_ref.hh"#include "BLI_utildefines.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Macros | |
| #define | BLI_STR_FORMAT_UINT64_GROUPED_SIZE 27 |
| #define | BLI_STR_FORMAT_INT64_GROUPED_SIZE 28 |
| #define | BLI_STR_FORMAT_INT32_GROUPED_SIZE 15 |
| #define | BLI_STR_FORMAT_INT64_BYTE_UNIT_SIZE 15 |
| #define | BLI_STR_FORMAT_INT64_BYTE_UNIT_COMPACT_SIZE 5 |
| #define | BLI_STR_FORMAT_INT32_DECIMAL_UNIT_SIZE 7 |
| #define | BLI_STR_FORMAT_INT32_INTEGER_UNIT_SIZE 5 |
String Copy/Format Macros | |
Avoid repeating destination with sizeof(..).
| |
| #define | STRNCPY_RLEN(dst, src) |
| #define | SNPRINTF(dst, format, ...) |
| #define | SNPRINTF_RLEN(dst, format, ...) |
| #define | VSNPRINTF(dst, format, args) |
| #define | VSNPRINTF_RLEN(dst, format, args) |
| #define | STR_CONCAT(dst, len, suffix) |
| #define | STR_CONCATF(dst, len, format, ...) |
| #define | STRNLEN(str) |
Equal to Any Element (STR_ELEM) Macro | |
Follows ELEM macro convention. | |
| #define | _VA_STR_ELEM2(v, a) |
| #define | _VA_STR_ELEM3(v, a, b) |
| #define | _VA_STR_ELEM4(v, a, b, c) |
| #define | _VA_STR_ELEM5(v, a, b, c, d) |
| #define | _VA_STR_ELEM6(v, a, b, c, d, e) |
| #define | _VA_STR_ELEM7(v, a, b, c, d, e, f) |
| #define | _VA_STR_ELEM8(v, a, b, c, d, e, f, g) |
| #define | _VA_STR_ELEM9(v, a, b, c, d, e, f, g, h) |
| #define | _VA_STR_ELEM10(v, a, b, c, d, e, f, g, h, i) |
| #define | _VA_STR_ELEM11(v, a, b, c, d, e, f, g, h, i, j) |
| #define | _VA_STR_ELEM12(v, a, b, c, d, e, f, g, h, i, j, k) |
| #define | _VA_STR_ELEM13(v, a, b, c, d, e, f, g, h, i, j, k, l) |
| #define | _VA_STR_ELEM14(v, a, b, c, d, e, f, g, h, i, j, k, l, m) |
| #define | _VA_STR_ELEM15(v, a, b, c, d, e, f, g, h, i, j, k, l, m, n) |
| #define | _VA_STR_ELEM16(v, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) |
| #define | _VA_STR_ELEM17(v, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) |
| #define | STR_ELEM(...) |
String Debugging | |
| #define | BLI_string_debug_size(str, str_maxncpy) |
| #define | BLI_string_debug_size_after_nil(str, str_maxncpy) |
Functions | |
| size_t | blender::ATTR_PRINTF_FORMAT (3, 4) |
| size_t size_t char | blender::ATTR_PRINTF_FORMAT (4, 5) |
| char | blender::ATTR_PRINTF_FORMAT (4, 0) |
| template<size_t N> | |
| char * | blender::STRNCPY (char(&dst)[N], const char *src) |
String Duplicate/Copy | |
| char * | blender::BLI_strdupn (const char *str, size_t len) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1) |
| char * | blender::BLI_strdup (const char *str) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1) ATTR_MALLOC |
| char * | blender::BLI_strdup_null (const char *str) ATTR_WARN_UNUSED_RESULT ATTR_MALLOC |
| char * | blender::BLI_strdupcat (const char *__restrict str1, const char *__restrict str2) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1 |
| char * | blender::BLI_strncpy (char *__restrict dst, const char *__restrict src, size_t dst_maxncpy) ATTR_NONNULL(1 |
| char char * | blender::BLI_strncpy_ensure_pad (char *__restrict dst, const char *__restrict src, char pad, size_t dst_maxncpy) ATTR_NONNULL(1 |
| char char size_t | blender::BLI_strncpy_rlen (char *__restrict dst, const char *__restrict src, size_t dst_maxncpy) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1 |
String Append | |
| char char size_t char * | blender::BLI_strncat (char *__restrict dst, const char *__restrict src, size_t dst_maxncpy) ATTR_NONNULL(1 |
String Scanning | |
| char char size_t char const char * | blender::BLI_strchr_or_end (const char *str, char ch) ATTR_WARN_UNUSED_RESULT ATTR_RETURNS_NONNULL ATTR_NONNULL(1) |
String Quote/Un-Quote | |
| bool | blender::BLI_str_quoted_substr_range (const char *__restrict str, const char *__restrict prefix, int *__restrict r_start, int *__restrict r_end) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1 |
| bool bool | blender::BLI_str_quoted_substr (const char *__restrict str, const char *__restrict prefix, char *result, size_t result_maxncpy) |
String Printing | |
| size_t | blender::BLI_snprintf (char *__restrict dst, size_t dst_maxncpy, const char *__restrict format,...) ATTR_NONNULL(1 |
| size_t | blender::BLI_snprintf_rlen (char *__restrict dst, size_t dst_maxncpy, const char *__restrict format,...) ATTR_NONNULL(1 |
| size_t | blender::BLI_vsnprintf (char *__restrict dst, size_t dst_maxncpy, const char *__restrict format, va_list arg) ATTR_PRINTF_FORMAT(3 |
| size_t size_t | blender::BLI_vsnprintf_rlen (char *__restrict dst, size_t dst_maxncpy, const char *__restrict format, va_list arg) ATTR_PRINTF_FORMAT(3 |
| size_t size_t char * | blender::BLI_sprintfN_with_buffer (char *fixed_buf, size_t fixed_buf_maxncpy, size_t *result_len, const char *__restrict format,...) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1 |
| char * | blender::BLI_vsprintfN_with_buffer (char *fixed_buf, size_t fixed_buf_maxncpy, size_t *result_len, const char *__restrict format, va_list args) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1 |
| char * | blender::BLI_sprintfN (const char *__restrict format,...) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1) ATTR_MALLOC ATTR_PRINTF_FORMAT(1 |
| char char * | blender::BLI_vsprintfN (const char *__restrict format, va_list args) ATTR_NONNULL(1) ATTR_MALLOC ATTR_PRINTF_FORMAT(1 |
String Escape/Un-Escape | |
| char char size_t | blender::BLI_str_escape (char *__restrict dst, StringRef src, size_t dst_maxncpy) ATTR_NONNULL(1) |
| std::string | blender::BLI_str_escape (StringRef str) |
| size_t | blender::BLI_str_unescape_ex (char *__restrict dst, const char *__restrict src, size_t src_len, size_t dst_maxncpy, bool *r_is_complete) ATTR_NONNULL(1 |
| size_t size_t | blender::BLI_str_unescape (char *__restrict dst, const char *__restrict src, size_t src_len) ATTR_NONNULL(1 |
| size_t size_t const char * | blender::BLI_str_escape_find_quote (const char *str) ATTR_NONNULL(1) |
String Formatting (Numeric) | |
| size_t | blender::BLI_str_format_int_grouped (char dst[BLI_STR_FORMAT_INT32_GROUPED_SIZE], int num) ATTR_NONNULL(1) |
| size_t | blender::BLI_str_format_uint64_grouped (char dst[BLI_STR_FORMAT_UINT64_GROUPED_SIZE], uint64_t num) ATTR_NONNULL(1) |
| size_t | blender::BLI_str_format_int64_grouped (char dst[BLI_STR_FORMAT_INT64_GROUPED_SIZE], int64_t num) ATTR_NONNULL(1) |
| void | blender::BLI_str_format_byte_unit (char dst[BLI_STR_FORMAT_INT64_BYTE_UNIT_SIZE], long long int bytes, bool base_10) ATTR_NONNULL(1) |
| void | blender::BLI_str_format_byte_unit_compact (char dst[BLI_STR_FORMAT_INT64_BYTE_UNIT_COMPACT_SIZE], long long int bytes, bool base_10) ATTR_NONNULL(1) |
| void | blender::BLI_str_format_decimal_unit (char dst[BLI_STR_FORMAT_INT32_DECIMAL_UNIT_SIZE], int number_to_format) ATTR_NONNULL(1) |
| void | blender::BLI_str_format_integer_unit (char dst[BLI_STR_FORMAT_INT32_INTEGER_UNIT_SIZE], int number_to_format) ATTR_NONNULL(1) |
String Comparison/Matching | |
| int | blender::BLI_strcaseeq (const char *a, const char *b) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1 |
| int char * | blender::BLI_strcasestr (const char *s, const char *find) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1 |
| int char char * | blender::BLI_strncasestr (const char *s, const char *find, size_t len) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1 |
| int char char int | blender::BLI_strcasecmp (const char *s1, const char *s2) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1 |
| int char char int int | blender::BLI_strncasecmp (const char *s1, const char *s2, size_t len) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1 |
| int char char int int int | blender::BLI_strcasecmp_natural (const char *s1, const char *s2) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1 |
| int char char int int int int | blender::BLI_strcmp_ignore_pad (const char *str1, const char *str2, char pad) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1 |
| int bool bool bool size_t size_t size_t int | blender::BLI_string_max_possible_word_count (int str_len) ATTR_WARN_UNUSED_RESULT |
| bool | blender::BLI_string_has_word_prefix (const char *haystack, const char *needle, size_t needle_len) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1 |
| bool bool | blender::BLI_string_all_words_matched (const char *name, const char *str, int(*words)[2], int words_len) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1 |
String Length | |
| int char char int int int int size_t | blender::BLI_strnlen (const char *str, size_t maxlen) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1) |
String Case Conversion | |
| void | blender::BLI_str_tolower_ascii (char *str, size_t len) ATTR_NONNULL(1) |
| void | blender::BLI_str_toupper_ascii (char *str, size_t len) ATTR_NONNULL(1) |
| char | blender::BLI_tolower_ascii (const char c) ATTR_WARN_UNUSED_RESULT |
| char | blender::BLI_toupper_ascii (const char c) ATTR_WARN_UNUSED_RESULT |
String Stripping | |
| void | blender::BLI_str_rstrip (char *str) ATTR_NONNULL(1) |
| int | blender::BLI_str_rstrip_float_zero (char *str, char pad) ATTR_NONNULL(1) |
| int | blender::BLI_str_rstrip_digits (char *str) ATTR_NONNULL() |
String Comparison at Start/End | |
| int | blender::BLI_str_index_in_array_n (const char *__restrict str, const char **__restrict str_array, int str_array_len) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1) |
| int | blender::BLI_str_index_in_array (const char *__restrict str, const char **__restrict str_array) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1 |
| int bool | blender::BLI_str_startswith (const char *__restrict str, const char *__restrict start) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1 |
| int bool bool | blender::BLI_str_endswith (const char *__restrict str, const char *__restrict end) ATTR_NONNULL(1 |
| int bool bool bool | blender::BLI_strn_endswith (const char *__restrict str, const char *__restrict end, size_t str_len) ATTR_NONNULL(1 |
String Split (Partition) | |
| int bool bool bool size_t | blender::BLI_str_partition (const char *str, const char delim[], const char **sep, const char **suf) ATTR_NONNULL(1 |
| int bool bool bool size_t size_t | blender::BLI_str_rpartition (const char *str, const char delim[], const char **sep, const char **suf) ATTR_NONNULL(1 |
| int bool bool bool size_t size_t size_t | blender::BLI_str_partition_ex (const char *str, const char *end, const char delim[], const char **sep, const char **suf, bool from_right) ATTR_NONNULL(1 |
| bool bool int | blender::BLI_string_find_split_words (const char *str, size_t str_maxlen, char delim, int r_words[][2], int words_max) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1 |
| bool bool int bool | blender::BLI_string_elem_split_by_delim (const char *haystack, const char delim, const char *needle) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1 |
Variables | |
String Replace | |
| char | blender::ATTR_MALLOC |
| #define _VA_STR_ELEM10 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i ) |
Definition at line 644 of file BLI_string.hh.
| #define _VA_STR_ELEM11 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j ) |
Definition at line 646 of file BLI_string.hh.
| #define _VA_STR_ELEM12 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k ) |
Definition at line 648 of file BLI_string.hh.
| #define _VA_STR_ELEM13 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l ) |
Definition at line 650 of file BLI_string.hh.
| #define _VA_STR_ELEM14 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m ) |
Definition at line 652 of file BLI_string.hh.
| #define _VA_STR_ELEM15 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m, | |||
| n ) |
Definition at line 654 of file BLI_string.hh.
| #define _VA_STR_ELEM16 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m, | |||
| n, | |||
| o ) |
Definition at line 656 of file BLI_string.hh.
| #define _VA_STR_ELEM17 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h, | |||
| i, | |||
| j, | |||
| k, | |||
| l, | |||
| m, | |||
| n, | |||
| o, | |||
| p ) |
Definition at line 658 of file BLI_string.hh.
| #define _VA_STR_ELEM2 | ( | v, | |
| a ) |
Definition at line 629 of file BLI_string.hh.
| #define _VA_STR_ELEM3 | ( | v, | |
| a, | |||
| b ) |
Definition at line 630 of file BLI_string.hh.
| #define _VA_STR_ELEM4 | ( | v, | |
| a, | |||
| b, | |||
| c ) |
Definition at line 632 of file BLI_string.hh.
| #define _VA_STR_ELEM5 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d ) |
Definition at line 634 of file BLI_string.hh.
| #define _VA_STR_ELEM6 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e ) |
Definition at line 636 of file BLI_string.hh.
| #define _VA_STR_ELEM7 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f ) |
Definition at line 638 of file BLI_string.hh.
| #define _VA_STR_ELEM8 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g ) |
Definition at line 640 of file BLI_string.hh.
| #define _VA_STR_ELEM9 | ( | v, | |
| a, | |||
| b, | |||
| c, | |||
| d, | |||
| e, | |||
| f, | |||
| g, | |||
| h ) |
Definition at line 642 of file BLI_string.hh.
| #define BLI_STR_FORMAT_INT32_DECIMAL_UNIT_SIZE 7 |
Definition at line 37 of file BLI_string.hh.
Referenced by blender::ATTR_PRINTF_FORMAT(), blender::BLI_str_format_decimal_unit(), blender::ed::spreadsheet::draw_count(), and blender::TEST().
| #define BLI_STR_FORMAT_INT32_GROUPED_SIZE 15 |
Definition at line 28 of file BLI_string.hh.
Referenced by blender::ATTR_PRINTF_FORMAT(), blender::BKE_ptcache_update_info(), blender::BLI_str_format_int_grouped(), blender::panel_draw(), blender::ed::spreadsheet::spreadsheet_footer_region_draw(), and blender::TEST().
| #define BLI_STR_FORMAT_INT32_INTEGER_UNIT_SIZE 5 |
Definition at line 40 of file BLI_string.hh.
Referenced by blender::ATTR_PRINTF_FORMAT(), blender::BLI_str_format_integer_unit(), and blender::TEST().
| #define BLI_STR_FORMAT_INT64_BYTE_UNIT_COMPACT_SIZE 5 |
Definition at line 34 of file BLI_string.hh.
Referenced by blender::ATTR_PRINTF_FORMAT(), blender::BLI_str_format_byte_unit_compact(), and blender::TEST().
| #define BLI_STR_FORMAT_INT64_BYTE_UNIT_SIZE 15 |
Definition at line 31 of file BLI_string.hh.
Referenced by blender::ed::asset::asset_tooltip(), blender::ATTR_PRINTF_FORMAT(), blender::BKE_ptcache_update_info(), blender::BLI_str_format_byte_unit(), blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_int(), blender::ED_info_statusbar_string_ex(), blender::nodes::get_bake_state_string(), blender::HashTableStats::print(), blender::TEST(), and blender::internal::vector_print_stats().
| #define BLI_STR_FORMAT_INT64_GROUPED_SIZE 28 |
Definition at line 25 of file BLI_string.hh.
Referenced by blender::ATTR_PRINTF_FORMAT(), blender::BLI_str_format_int64_grouped(), and blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_int().
| #define BLI_STR_FORMAT_UINT64_GROUPED_SIZE 27 |
Definition at line 22 of file BLI_string.hh.
Referenced by blender::ATTR_PRINTF_FORMAT(), blender::BLI_str_format_uint64_grouped(), blender::file_draw_tooltip_custom_func(), and blender::TEST().
| #define BLI_string_debug_size | ( | str, | |
| str_maxncpy ) |
Definition at line 678 of file BLI_string.hh.
Referenced by blender::BLI_path_frame_strip(), blender::BLI_path_join_array(), blender::BLI_path_program_search(), blender::BLI_path_sequence_decode(), blender::BLI_path_sequence_encode(), blender::BLI_path_split_dir_file(), blender::BLI_path_split_dir_part(), blender::BLI_path_split_file_part(), blender::BLI_path_to_display_name(), blender::BLI_snprintf(), blender::BLI_snprintf_rlen(), blender::BLI_snprintf_utf8(), blender::BLI_snprintf_utf8_rlen(), blender::BLI_str_escape(), blender::BLI_str_format_byte_unit(), blender::BLI_str_format_byte_unit_compact(), blender::BLI_str_format_decimal_unit(), blender::BLI_str_format_int64_grouped(), blender::BLI_str_format_int_grouped(), blender::BLI_str_format_integer_unit(), blender::BLI_str_format_uint64_grouped(), blender::BLI_str_quoted_substr(), blender::BLI_str_unescape(), blender::BLI_str_unescape_ex(), blender::BLI_str_utf32_as_utf8(), blender::BLI_str_utf8_as_utf32(), blender::BLI_str_utf8_from_unicode(), blender::BLI_string_flip_side_name(), blender::BLI_string_join_array(), blender::BLI_string_join_array_by_sep_char(), blender::BLI_string_split_prefix(), blender::BLI_string_split_suffix(), blender::BLI_strncpy(), blender::BLI_strncpy_ensure_pad(), blender::BLI_strncpy_rlen(), blender::BLI_strncpy_utf8(), blender::BLI_strncpy_utf8_rlen(), blender::BLI_strncpy_utf8_rlen_unterminated(), blender::BLI_strncpy_wchar_as_utf8(), blender::BLI_strncpy_wchar_from_utf8(), blender::BLI_vsnprintf(), blender::BLI_vsnprintf_rlen(), blender::BLI_vsnprintf_utf8(), blender::BLI_vsnprintf_utf8_rlen(), and blender::RNA_property_string_get_alloc().
| #define BLI_string_debug_size_after_nil | ( | str, | |
| str_maxncpy ) |
Definition at line 683 of file BLI_string.hh.
Referenced by blender::BLI_path_abs(), blender::BLI_path_abs_from_cwd(), blender::BLI_path_extension_ensure(), blender::BLI_path_extension_replace(), blender::BLI_path_filename_ensure(), blender::BLI_path_frame(), blender::BLI_path_frame_range(), blender::BLI_path_slash_ensure_ex(), blender::BLI_path_suffix(), blender::BLI_string_replace_table_exact(), blender::BLI_strncat(), blender::BLI_uniquename_cb(), and blender::path_relative_to_impl().
| #define SNPRINTF | ( | dst, | |
| format, | |||
| ... ) |
Definition at line 606 of file BLI_string.hh.
Referenced by blender::draw::attribute_vbo_format(), blender::BKE_appdir_program_python_search(), blender::BKE_image_save_options_init(), blender::BKE_memfile_undo_encode(), blender::BKE_packedfile_write_to_file(), blender::BKE_ptcache_load_external(), blender::BKE_unit_replace_string(), blender::blend_file_thumb_from_camera(), blender::blend_file_thumb_from_screenshot(), blender::blender_version_decimal(), Freestyle::BlenderStrokeRenderer::BlenderStrokeRenderer(), blender::BLI_path_frame(), blender::BLI_path_frame_range(), blender::BLI_str_format_int64_grouped(), blender::BLI_str_format_int_grouped(), blender::BLI_str_format_uint64_grouped(), blender::BLO_write_file_impl(), blender::io::hydra::cache_image_file(), blender::io::hydra::cache_or_get_image_file(), blender::camera_multiview_advanced(), blender::gpu::GLTexture::check_feedback_loop(), blender::gpu::debug::check_gl_error(), blender::gpu::debug::check_gl_resources(), blender::deg::color_for_pointer(), blender::console_drop_path_copy(), blender::crashlog_file_generate(), blender::forward_compat::create_legacy_geometry_nodes_properties(), blender::do_history(), blender::draw::DRW_cdlayer_attr_aliases_add(), blender::dynamicPaintSurface_updateType(), blender::io::hydra::emit_hair_proto(), blender::io::usd::export_packed_texture(), blender::draw::extract_tan_init_common(), blender::file_overwrite_detailed_info_show(), blender::bke::bake::frame_to_file_name(), blender::fsmenu_external_drive_icon(), blender::fsmenu_macos_insert_entry(), blender::gpu::shader::GPUCodegen::generate_attribs(), blender::io::usd::get_in_memory_texture_filename(), blender::get_proxy_filepath(), blender::get_proxy_filepath(), blender::GPU_material_split_sub_function(), blender::gpu_node_graph_add_texture(), blender::gpu_node_input_link(), blender::GPU_vertformat_multiload_enable(), blender::io::hydra::PopulateContext::hair_prim_id(), blender::deg::IDNode::identifier(), blender::image_update_views_format(), blender::image_zoom_apply(), blender::io::hydra::PopulateContext::instance_clone_prim_id(), blender::io::hydra::PopulateContext::instancer_proto_root(), blender::io::hydra::PopulateContext::instancer_proto_submesh(), blender::interactive_value_update(), blender::io::hydra::PopulateContext::material_prim_id(), Freestyle::BlenderStrokeRenderer::NewMesh(), blender::gpu::debug::object_label(), blender::gpu::debug::object_label(), blender::io::hydra::PopulateContext::object_prim_id(), blender::operator<<(), blender::playanim_toscreen_ex(), blender::pyop_create_function(), blender::radial_control_paint_cursor(), blender::radial_control_update_header(), blender::RE_engine_update_stats(), blender::asset_system::remote_library_asset_preview_path(), blender::render_result_exr_file_cache_path(), blender::replace_if_different(), blender::rna_def_fileselect_asset_idfilter(), blender::rna_def_node_item_array_common_functions(), blender::rna_def_node_item_array_new_with_socket_and_name(), blender::rna_def_node_item_array_socket_item_common(), blender::RNA_path_append(), blender::rna_preprocess(), blender::ocio::LibOCIOView::scope_info(), blender::seq::seq_proxy_get_custom_file_filepath(), blender::seq::seq_proxy_get_filepath_for_elem(), blender::seq::seqbase_unique_name(), blender::strip_sound_proxy_update_cb(), blender::io::hydra::PopulateContext::submesh_prim_id(), blender::bke::greasepencil::tests::TEST_F(), blender::thumb_create_ex(), blender::unpack_generate_paths(), blender::uri_from_filepath(), blender::io::hydra::USDSceneIndex::USDSceneIndex(), blender::version_geometry_nodes_add_attribute_input_settings(), blender::wm_autosave_location(), blender::WM_platform_associate_set(), and blender::write_global().
| #define SNPRINTF_RLEN | ( | dst, | |
| format, | |||
| ... ) |
Definition at line 607 of file BLI_string.hh.
Referenced by blender::DRW_text_edit_mesh_measure_stats(), blender::idp_str_append_escape(), and blender::gpu::VKBackend::supported_devices_print().
| #define STR_CONCAT | ( | dst, | |
| len, | |||
| suffix ) |
Definition at line 611 of file BLI_string.hh.
Referenced by blender::BKE_image_save_options_init(), and blender::WM_platform_support_perform_checks().
| #define STR_CONCATF | ( | dst, | |
| len, | |||
| format, | |||
| ... ) |
Definition at line 613 of file BLI_string.hh.
| #define STR_ELEM | ( | ... | ) |
Definition at line 663 of file BLI_string.hh.
Referenced by blender::io::fbx::add_image_texture(), blender::BKE_image_render_write_exr(), blender::BKE_scene_multiview_is_render_view_active(), blender::blo_do_versions_280(), blender::blo_do_versions_402(), blender::blo_is_builtin_template(), blender::blo_update_defaults_screen(), blender::BLO_update_defaults_startup_blend(), blender::ui::button_opens_link(), blender::common_poll_default(), blender::deg::RNANodeQuery::construct_node_identifier(), blender::customData_add_layer__internal(), blender::ed::object::data_transfer_poll_property(), blender::nodes::node_composite_image_cc::declare_pass(), blender::draw::drw_volume_object_mesh_init(), blender::edbm_spin_poll_property(), blender::file_browse_invoke(), blender::fn_cmp_node_poll_default(), blender::geo_cmp_node_poll_default(), blender::compositor::get_pass_type(), blender::gpu_node_input_link(), blender::image_open_draw_check_prop(), main(), blender::ui::menu_types_add_from_keymap_items(), blender::ed::space_node::node_add_image_poll(), blender::nodes::node_composite_render_layer_cc::node_extra_info(), blender::bke::node_foreach_working_space_color(), blender::ed::space_node::node_group_operator_active_poll(), blender::nodes::node_shader_volume_coefficients_cc::node_shader_update_coefficients(), blender::nodes::node_shader_bsdf_hair_principled_cc::node_shader_update_hair_principled(), blender::nodes::node_shader_volume_scatter_cc::node_shader_update_scatter(), blender::nodes::node_shader_subsurface_scattering_cc::node_shader_update_subsurface_scattering(), blender::ed::object::object_add_to_selected_poll_property(), blender::openexr_metadata_skip_read(), blender::openexr_metadata_skip_write(), blender::pyrna_struct_getattro(), blender::rna_def_property_get_func(), blender::ed::asset::screenshot_preview_exec(), blender::ed::transform::seq_slide_poll_property(), blender::ed::vse::sequencer_add_draw_check_fn(), blender::ed::vse::sequencer_add_effect_strip_poll_property(), blender::ed::vse::sequencer_add_text_strip_poll_property(), blender::sh_geo_poll_default(), blender::nodes::gizmos::show_box_mask_gizmo(), blender::nodes::gizmos::show_ellipse_mask_gizmo(), blender::nodes::gizmos::show_glare_gizmo(), blender::nodes::gizmos::show_scale_gizmo(), blender::nodes::gizmos::show_split(), blender::nodes::gizmos::show_transform_gizmo(), blender::nodes::gizmos::show_translate_gizmo(), blender::ui::tree_interface_item_can_set_prop(), blender::version_geometry_nodes_use_rotation_socket(), blender::version_mesh_crease_generic(), and blender::WM_window_cursor_keymap_status_refresh().
| #define STRNCPY_RLEN | ( | dst, | |
| src ) |
Definition at line 605 of file BLI_string.hh.
Referenced by blender::BKE_studiolight_create(), blender::BKE_vfontdata_from_freetypefont(), blender::BLI_path_extension_check_glob(), blender::io::usd::export_packed_texture(), blender::filelist_filter_and_sort_assets(), blender::ed::object::mode_set_ex(), blender::replace_if_different(), blender::studiolight_add_file(), blender::TEST(), blender::TEST(), blender::TEST(), and blender::unpack_generate_paths().
| #define STRNLEN | ( | str | ) |
Definition at line 615 of file BLI_string.hh.
Referenced by blender::BKE_preferences_extension_repo_module_is_valid(), blender::blo_do_versions_405(), blender::ED_buttons_search_string_length(), blender::ui::eyedropper_cryptomatte_sample_renderlayer_fl(), blender::bke::greasepencil::convert::legacy_gpencil_to_grease_pencil(), and blender::ed::vse::sequencer_text_insert_exec().
| #define VSNPRINTF | ( | dst, | |
| format, | |||
| args ) |
Definition at line 609 of file BLI_string.hh.
| #define VSNPRINTF_RLEN | ( | dst, | |
| format, | |||
| args ) |
Definition at line 610 of file BLI_string.hh.