41 const char *__restrict substr_old,
77 size_t string_maxncpy,
78 const
char *replace_table[][2],
79 int replace_table_len);
88 char *
string,
size_t string_maxncpy,
int src_beg,
int src_end, const
char *dst);
135 const
char *strings[],
138#define BLI_string_join_by_sep_char_with_tableN(sep, table, ...) \
139 BLI_string_join_array_by_sep_char_with_tableN( \
140 sep, table, ((const char *[]){__VA_ARGS__}), VA_NARGS_COUNT(__VA_ARGS__))
154 const char *name_src,
214#define _BLI_STRING_ARGS_1 _BLI_STRING_ARGS_0 const char *a
215#define _BLI_STRING_ARGS_2 _BLI_STRING_ARGS_1, const char *b
216#define _BLI_STRING_ARGS_3 _BLI_STRING_ARGS_2, const char *c
217#define _BLI_STRING_ARGS_4 _BLI_STRING_ARGS_3, const char *d
218#define _BLI_STRING_ARGS_5 _BLI_STRING_ARGS_4, const char *e
219#define _BLI_STRING_ARGS_6 _BLI_STRING_ARGS_5, const char *f
220#define _BLI_STRING_ARGS_7 _BLI_STRING_ARGS_6, const char *g
221#define _BLI_STRING_ARGS_8 _BLI_STRING_ARGS_7, const char *h
222#define _BLI_STRING_ARGS_9 _BLI_STRING_ARGS_8, const char *i
223#define _BLI_STRING_ARGS_10 _BLI_STRING_ARGS_9, const char *j
229#define _BLI_STRING_ARGS_0 char *__restrict dst, const size_t dst_len,
235 size_t result_maxncpy,
236 const char *strings[],
239#define BLI_string_join(...) VA_NARGS_CALL_OVERLOAD(_BLI_string_join_, __VA_ARGS__)
254 const char *string_array[] = {a};
259 const char *string_array[] = {a,
b};
264 const char *string_array[] = {a,
b, c};
269 const char *string_array[] = {a,
b, c, d};
274 const char *string_array[] = {a,
b, c, d,
e};
279 const char *string_array[] = {a,
b, c, d,
e, f};
284 const char *string_array[] = {a,
b, c, d,
e, f, g};
289 const char *string_array[] = {a,
b, c, d,
e, f, g, h};
294 const char *string_array[] = {a,
b, c, d,
e, f, g, h, i};
299 const char *string_array[] = {a,
b, c, d,
e, f, g, h, i, j};
303#undef _BLI_STRING_ARGS_0
317#define BLI_string_joinN(...) VA_NARGS_CALL_OVERLOAD(_BLI_string_joinN_, __VA_ARGS__)
319#define _BLI_STRING_ARGS_0
334 const char *string_array[] = {a};
339 const char *string_array[] = {a,
b};
344 const char *string_array[] = {a,
b, c};
349 const char *string_array[] = {a,
b, c, d};
354 const char *string_array[] = {a,
b, c, d,
e};
359 const char *string_array[] = {a,
b, c, d,
e, f};
364 const char *string_array[] = {a,
b, c, d,
e, f, g};
369 const char *string_array[] = {a,
b, c, d,
e, f, g, h};
374 const char *string_array[] = {a,
b, c, d,
e, f, g, h, i};
379 const char *string_array[] = {a,
b, c, d,
e, f, g, h, i, j};
383#undef _BLI_STRING_ARGS_0
396 size_t result_maxncpy,
398 const char *strings[],
401#define BLI_string_join_by_sep_char(...) \
402 VA_NARGS_CALL_OVERLOAD(_BLI_string_join_by_sep_char_, __VA_ARGS__)
404#define _BLI_STRING_ARGS_0 char *__restrict dst, const size_t dst_len, const char sep,
419 const char *string_array[] = {a};
421 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
425 const char *string_array[] = {a,
b};
427 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
431 const char *string_array[] = {a,
b, c};
433 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
437 const char *string_array[] = {a,
b, c, d};
439 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
443 const char *string_array[] = {a,
b, c, d,
e};
445 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
449 const char *string_array[] = {a,
b, c, d,
e, f};
451 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
455 const char *string_array[] = {a,
b, c, d,
e, f, g};
457 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
461 const char *string_array[] = {a,
b, c, d,
e, f, g, h};
463 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
467 const char *string_array[] = {a,
b, c, d,
e, f, g, h, i};
469 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
473 const char *string_array[] = {a,
b, c, d,
e, f, g, h, i, j};
475 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
478#undef _BLI_STRING_ARGS_0
491 const char *strings[],
494#define BLI_string_join_by_sep_charN(...) \
495 VA_NARGS_CALL_OVERLOAD(_BLI_string_join_by_sep_charN_, __VA_ARGS__)
497#define _BLI_STRING_ARGS_0 const char sep,
512 const char *string_array[] = {a};
517 const char *string_array[] = {a,
b};
522 const char *string_array[] = {a,
b, c};
527 const char *string_array[] = {a,
b, c, d};
532 const char *string_array[] = {a,
b, c, d,
e};
537 const char *string_array[] = {a,
b, c, d,
e, f};
542 const char *string_array[] = {a,
b, c, d,
e, f, g};
547 const char *string_array[] = {a,
b, c, d,
e, f, g, h};
552 const char *string_array[] = {a,
b, c, d,
e, f, g, h, i};
557 const char *string_array[] = {a,
b, c, d,
e, f, g, h, i, j};
563#undef _BLI_STRING_ARGS_0
#define ATTR_WARN_UNUSED_RESULT
#define ATTR_NONNULL(...)
#define _BLI_STRING_ARGS_4
#define _BLI_STRING_ARGS_10
#define _BLI_STRING_ARGS_6
#define _BLI_STRING_ARGS_5
#define _BLI_STRING_ARGS_3
#define _BLI_STRING_ARGS_1
#define _BLI_STRING_ARGS_7
#define _BLI_STRING_ARGS_8
#define _BLI_STRING_ARGS_9
#define _BLI_STRING_ARGS_2
BLI_INLINE char * _BLI_string_joinN_4(_BLI_STRING_ARGS_4) ATTR_NONNULL()
bool BLI_string_is_decimal(const char *string) ATTR_NONNULL(1)
BLI_INLINE size_t _BLI_string_join_10(_BLI_STRING_ARGS_8) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_6(_BLI_STRING_ARGS_4) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_join_by_sep_charN_4(_BLI_STRING_ARGS_3) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_by_sep_char_7(_BLI_STRING_ARGS_4) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_joinN_1(_BLI_STRING_ARGS_1) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_join_by_sep_charN_11(_BLI_STRING_ARGS_10) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_join_by_sep_charN_9(_BLI_STRING_ARGS_8) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_join_by_sep_charN_10(_BLI_STRING_ARGS_9) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_3(_BLI_STRING_ARGS_1) ATTR_NONNULL()
void BLI_string_replace_char(char *str, char src, char dst) ATTR_NONNULL(1)
BLI_INLINE char * _BLI_string_join_by_sep_charN_7(_BLI_STRING_ARGS_6) ATTR_NONNULL()
char * BLI_string_join_arrayN(const char *strings[], uint strings_num) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_by_sep_char_11(_BLI_STRING_ARGS_8) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_joinN_10(_BLI_STRING_ARGS_10) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_join_by_sep_charN_3(_BLI_STRING_ARGS_2) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_by_sep_char_4(_BLI_STRING_ARGS_1) ATTR_NONNULL()
std::string BLI_string_pad_number_sign(blender::StringRef str)
BLI_INLINE size_t _BLI_string_join_4(_BLI_STRING_ARGS_2) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_by_sep_char_10(_BLI_STRING_ARGS_7) ATTR_NONNULL()
char * BLI_string_join_array_by_sep_charN(char sep, const char *strings[], uint strings_num) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_5(_BLI_STRING_ARGS_3) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_joinN_7(_BLI_STRING_ARGS_7) ATTR_NONNULL()
size_t BLI_string_replace_range(char *string, size_t string_maxncpy, int src_beg, int src_end, const char *dst)
BLI_INLINE size_t _BLI_string_join_by_sep_char_9(_BLI_STRING_ARGS_6) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_joinN_5(_BLI_STRING_ARGS_5) ATTR_NONNULL()
size_t void BLI_uniquename_cb(FunctionRef< bool(StringRefNull)> unique_check, const char *defname, char delim, char *name, size_t name_maxncpy) ATTR_NONNULL(2
void BLI_uniquename(const ListBase *list, void *vlink, const char *defname, char delim, int name_offset, size_t name_maxncpy) ATTR_NONNULL(1
BLI_INLINE char * _BLI_string_join_by_sep_charN_8(_BLI_STRING_ARGS_7) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_by_sep_char_12(_BLI_STRING_ARGS_9) ATTR_NONNULL()
void void char * BLI_string_join_array_by_sep_char_with_tableN(char sep, char *table[], const char *strings[], uint strings_num) ATTR_NONNULL(2
BLI_INLINE size_t _BLI_string_join_9(_BLI_STRING_ARGS_7) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_by_sep_char_6(_BLI_STRING_ARGS_3) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_8(_BLI_STRING_ARGS_6) ATTR_NONNULL()
constexpr size_t ARRAY_SIZE(const T(&arg)[N]) noexcept
BLI_INLINE char * _BLI_string_joinN_3(_BLI_STRING_ARGS_3) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_joinN_2(_BLI_STRING_ARGS_2) ATTR_NONNULL()
void void BLI_string_split_prefix(const char *string, size_t string_maxlen, char *r_pre, char *r_body) ATTR_NONNULL(1
size_t BLI_string_join_array_by_sep_char(char *result, size_t result_maxncpy, char sep, const char *strings[], uint strings_num) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_12(_BLI_STRING_ARGS_10) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_by_sep_char_13(_BLI_STRING_ARGS_10) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_11(_BLI_STRING_ARGS_9) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_joinN_8(_BLI_STRING_ARGS_8) ATTR_NONNULL()
void size_t BLI_string_len_array(const char *strings[], uint strings_num) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
char * BLI_string_replaceN(const char *__restrict str, const char *__restrict substr_old, const char *__restrict substr_new) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1
void BLI_string_split_suffix(const char *string, size_t string_maxlen, char *r_body, char *r_suf) ATTR_NONNULL(1
BLI_INLINE size_t _BLI_string_join_by_sep_char_8(_BLI_STRING_ARGS_5) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_joinN_6(_BLI_STRING_ARGS_6) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_by_sep_char_5(_BLI_STRING_ARGS_2) ATTR_NONNULL()
bool ATTR_WARN_UNUSED_RESULT
size_t BLI_string_split_name_number(const char *name, char delim, char *r_name_left, int *r_number) ATTR_NONNULL(1
size_t BLI_string_join_array(char *result, size_t result_maxncpy, const char *strings[], uint strings_num) ATTR_NONNULL()
void BLI_string_replace(std::string &haystack, StringRef needle, StringRef other)
BLI_INLINE size_t _BLI_string_join_7(_BLI_STRING_ARGS_5) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_join_by_sep_charN_5(_BLI_STRING_ARGS_4) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_join_by_sep_charN_6(_BLI_STRING_ARGS_5) ATTR_NONNULL()
ATTR_WARN_UNUSED_RESULT const BMVert const BMEdge * e
BLI_INLINE char * _BLI_string_joinN_9(_BLI_STRING_ARGS_9) ATTR_NONNULL()
size_t BLI_string_flip_side_name(char *name_dst, const char *name_src, bool strip_number, size_t name_dst_maxncpy) ATTR_NONNULL(1
bool BLI_string_replace_table_exact(char *string, size_t string_maxncpy, const char *replace_table[][2], int replace_table_len)
BLI_INLINE char * _BLI_string_join_by_sep_charN_2(_BLI_STRING_ARGS_1) ATTR_NONNULL()