41 const char *__restrict substr_old,
63 const
char *replace_table[][2],
64 int replace_table_len);
73 char *
string,
size_t string_maxncpy,
int src_beg,
int src_end, const
char *dst);
119 const
char *strings[],
122#define BLI_string_join_by_sep_char_with_tableN(sep, table, ...) \
123 BLI_string_join_array_by_sep_char_with_tableN( \
124 sep, table, ((const char *[]){__VA_ARGS__}), VA_NARGS_COUNT(__VA_ARGS__))
138 const char *name_src,
195#define _BLI_STRING_ARGS_1 _BLI_STRING_ARGS_0 const char *a
196#define _BLI_STRING_ARGS_2 _BLI_STRING_ARGS_1, const char *b
197#define _BLI_STRING_ARGS_3 _BLI_STRING_ARGS_2, const char *c
198#define _BLI_STRING_ARGS_4 _BLI_STRING_ARGS_3, const char *d
199#define _BLI_STRING_ARGS_5 _BLI_STRING_ARGS_4, const char *e
200#define _BLI_STRING_ARGS_6 _BLI_STRING_ARGS_5, const char *f
201#define _BLI_STRING_ARGS_7 _BLI_STRING_ARGS_6, const char *g
202#define _BLI_STRING_ARGS_8 _BLI_STRING_ARGS_7, const char *h
203#define _BLI_STRING_ARGS_9 _BLI_STRING_ARGS_8, const char *i
204#define _BLI_STRING_ARGS_10 _BLI_STRING_ARGS_9, const char *j
210#define _BLI_STRING_ARGS_0 char *__restrict dst, const size_t dst_len,
216 size_t result_maxncpy,
217 const char *strings[],
220#define BLI_string_join(...) VA_NARGS_CALL_OVERLOAD(_BLI_string_join_, __VA_ARGS__)
235 const char *string_array[] = {a};
240 const char *string_array[] = {a,
b};
245 const char *string_array[] = {a,
b, c};
250 const char *string_array[] = {a,
b, c, d};
255 const char *string_array[] = {a,
b, c, d,
e};
260 const char *string_array[] = {a,
b, c, d,
e, f};
265 const char *string_array[] = {a,
b, c, d,
e, f, g};
270 const char *string_array[] = {a,
b, c, d,
e, f, g, h};
275 const char *string_array[] = {a,
b, c, d,
e, f, g, h, i};
280 const char *string_array[] = {a,
b, c, d,
e, f, g, h, i, j};
284#undef _BLI_STRING_ARGS_0
298#define BLI_string_joinN(...) VA_NARGS_CALL_OVERLOAD(_BLI_string_joinN_, __VA_ARGS__)
300#define _BLI_STRING_ARGS_0
315 const char *string_array[] = {a};
320 const char *string_array[] = {a,
b};
325 const char *string_array[] = {a,
b, c};
330 const char *string_array[] = {a,
b, c, d};
335 const char *string_array[] = {a,
b, c, d,
e};
340 const char *string_array[] = {a,
b, c, d,
e, f};
345 const char *string_array[] = {a,
b, c, d,
e, f, g};
350 const char *string_array[] = {a,
b, c, d,
e, f, g, h};
355 const char *string_array[] = {a,
b, c, d,
e, f, g, h, i};
360 const char *string_array[] = {a,
b, c, d,
e, f, g, h, i, j};
364#undef _BLI_STRING_ARGS_0
377 size_t result_maxncpy,
379 const char *strings[],
382#define BLI_string_join_by_sep_char(...) \
383 VA_NARGS_CALL_OVERLOAD(_BLI_string_join_by_sep_char_, __VA_ARGS__)
385#define _BLI_STRING_ARGS_0 char *__restrict dst, const size_t dst_len, const char sep,
400 const char *string_array[] = {a};
402 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
406 const char *string_array[] = {a,
b};
408 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
412 const char *string_array[] = {a,
b, c};
414 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
418 const char *string_array[] = {a,
b, c, d};
420 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
424 const char *string_array[] = {a,
b, c, d,
e};
426 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
430 const char *string_array[] = {a,
b, c, d,
e, f};
432 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
436 const char *string_array[] = {a,
b, c, d,
e, f, g};
438 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
442 const char *string_array[] = {a,
b, c, d,
e, f, g, h};
444 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
448 const char *string_array[] = {a,
b, c, d,
e, f, g, h, i};
450 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
454 const char *string_array[] = {a,
b, c, d,
e, f, g, h, i, j};
456 dst, dst_len, sep, string_array,
ARRAY_SIZE(string_array));
459#undef _BLI_STRING_ARGS_0
472 const char *strings[],
475#define BLI_string_join_by_sep_charN(...) \
476 VA_NARGS_CALL_OVERLOAD(_BLI_string_join_by_sep_charN_, __VA_ARGS__)
478#define _BLI_STRING_ARGS_0 const char sep,
493 const char *string_array[] = {a};
498 const char *string_array[] = {a,
b};
503 const char *string_array[] = {a,
b, c};
508 const char *string_array[] = {a,
b, c, d};
513 const char *string_array[] = {a,
b, c, d,
e};
518 const char *string_array[] = {a,
b, c, d,
e, f};
523 const char *string_array[] = {a,
b, c, d,
e, f, g};
528 const char *string_array[] = {a,
b, c, d,
e, f, g, h};
533 const char *string_array[] = {a,
b, c, d,
e, f, g, h, i};
538 const char *string_array[] = {a,
b, c, d,
e, f, g, h, i, j};
544#undef _BLI_STRING_ARGS_0
#define ATTR_WARN_UNUSED_RESULT
#define ATTR_NONNULL(...)
BLI_INLINE char * _BLI_string_join_by_sep_charN_7(_BLI_STRING_ARGS_6) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_6(_BLI_STRING_ARGS_4) 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
BLI_INLINE size_t _BLI_string_join_5(_BLI_STRING_ARGS_3) ATTR_NONNULL()
#define _BLI_STRING_ARGS_4
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_9(_BLI_STRING_ARGS_7) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_join_by_sep_charN_2(_BLI_STRING_ARGS_1) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_joinN_3(_BLI_STRING_ARGS_3) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_by_sep_char_7(_BLI_STRING_ARGS_4) 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 char * _BLI_string_joinN_10(_BLI_STRING_ARGS_10) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_join_by_sep_charN_11(_BLI_STRING_ARGS_10) ATTR_NONNULL()
#define _BLI_STRING_ARGS_10
BLI_INLINE size_t _BLI_string_join_12(_BLI_STRING_ARGS_10) ATTR_NONNULL()
size_t BLI_string_split_name_number(const char *name, char delim, char *r_name_left, int *r_number) ATTR_NONNULL(1
BLI_INLINE size_t _BLI_string_join_3(_BLI_STRING_ARGS_1) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_joinN_4(_BLI_STRING_ARGS_4) ATTR_NONNULL()
void void BLI_string_split_prefix(const char *string, size_t string_maxlen, char *r_pre, char *r_body) ATTR_NONNULL(1
BLI_INLINE size_t _BLI_string_join_by_sep_char_5(_BLI_STRING_ARGS_2) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_8(_BLI_STRING_ARGS_6) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_by_sep_char_6(_BLI_STRING_ARGS_3) ATTR_NONNULL()
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_9(_BLI_STRING_ARGS_6) ATTR_NONNULL()
size_t void BLI_uniquename_cb(UniquenameCheckCallback unique_check, void *arg, const char *defname, char delim, char *name, size_t name_maxncpy) ATTR_NONNULL(1
#define _BLI_STRING_ARGS_6
BLI_INLINE size_t _BLI_string_join_4(_BLI_STRING_ARGS_2) ATTR_NONNULL()
char * BLI_string_join_arrayN(const char *strings[], uint strings_num) ATTR_WARN_UNUSED_RESULT 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()
BLI_INLINE char * _BLI_string_joinN_5(_BLI_STRING_ARGS_5) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_joinN_8(_BLI_STRING_ARGS_8) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_join_by_sep_charN_9(_BLI_STRING_ARGS_8) ATTR_NONNULL()
#define _BLI_STRING_ARGS_5
BLI_INLINE char * _BLI_string_joinN_6(_BLI_STRING_ARGS_6) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_by_sep_char_10(_BLI_STRING_ARGS_7) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_by_sep_char_11(_BLI_STRING_ARGS_8) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_by_sep_char_8(_BLI_STRING_ARGS_5) 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_4(_BLI_STRING_ARGS_3) ATTR_NONNULL()
char * BLI_string_join_array_by_sep_charN(char sep, const char *strings[], uint strings_num) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
#define _BLI_STRING_ARGS_3
BLI_INLINE size_t _BLI_string_join_11(_BLI_STRING_ARGS_9) 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_12(_BLI_STRING_ARGS_9) ATTR_NONNULL()
bool(*)(void *arg, const char *name) UniquenameCheckCallback
size_t BLI_string_join_array(char *result, size_t result_maxncpy, const char *strings[], uint strings_num) ATTR_NONNULL()
size_t 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 char * _BLI_string_join_by_sep_charN_6(_BLI_STRING_ARGS_5) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_joinN_9(_BLI_STRING_ARGS_9) ATTR_NONNULL()
BLI_INLINE char * _BLI_string_joinN_1(_BLI_STRING_ARGS_1) ATTR_NONNULL()
void BLI_uniquename(const struct 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_10(_BLI_STRING_ARGS_9) ATTR_NONNULL()
#define _BLI_STRING_ARGS_1
BLI_INLINE char * _BLI_string_joinN_2(_BLI_STRING_ARGS_2) ATTR_NONNULL()
void size_t BLI_string_len_array(const char *strings[], uint strings_num) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
BLI_INLINE char * _BLI_string_joinN_7(_BLI_STRING_ARGS_7) ATTR_NONNULL()
BLI_INLINE size_t _BLI_string_join_7(_BLI_STRING_ARGS_5) ATTR_NONNULL()
#define _BLI_STRING_ARGS_7
#define _BLI_STRING_ARGS_8
#define _BLI_STRING_ARGS_9
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_8(_BLI_STRING_ARGS_7) 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
#define _BLI_STRING_ARGS_2
BLI_INLINE size_t _BLI_string_join_by_sep_char_13(_BLI_STRING_ARGS_10) ATTR_NONNULL()
bool BLI_string_replace_table_exact(char *string, size_t string_len, const char *replace_table[][2], int replace_table_len)
ATTR_WARN_UNUSED_RESULT const BMVert const BMEdge * e
local_group_size(16, 16) .push_constant(Type b