Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenlib/BLI_string.h
| Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | |||||
| char *BLI_str_replaceN(const char *__restrict str, | char *BLI_str_replaceN(const char *__restrict str, | ||||
| const char *__restrict substr_old, | const char *__restrict substr_old, | ||||
| const char *__restrict substr_new) ATTR_WARN_UNUSED_RESULT | const char *__restrict substr_new) ATTR_WARN_UNUSED_RESULT | ||||
| ATTR_NONNULL() ATTR_MALLOC; | ATTR_NONNULL() ATTR_MALLOC; | ||||
| void BLI_str_replace_char(char *string, char src, char dst) ATTR_NONNULL(); | void BLI_str_replace_char(char *string, char src, char dst) ATTR_NONNULL(); | ||||
| bool BLI_str_replace_table_exact(char *string, | |||||
| const size_t string_len, | |||||
| const char *replace_table[][2], | |||||
| int replace_table_len); | |||||
| size_t BLI_snprintf(char *__restrict dst, size_t maxncpy, const char *__restrict format, ...) | size_t BLI_snprintf(char *__restrict dst, size_t maxncpy, const char *__restrict format, ...) | ||||
| ATTR_NONNULL(1, 3) ATTR_PRINTF_FORMAT(3, 4); | ATTR_NONNULL(1, 3) ATTR_PRINTF_FORMAT(3, 4); | ||||
| size_t BLI_snprintf_rlen(char *__restrict dst, size_t maxncpy, const char *__restrict format, ...) | size_t BLI_snprintf_rlen(char *__restrict dst, size_t maxncpy, const char *__restrict format, ...) | ||||
| ATTR_NONNULL(1, 3) ATTR_PRINTF_FORMAT(3, 4); | ATTR_NONNULL(1, 3) ATTR_PRINTF_FORMAT(3, 4); | ||||
| size_t BLI_vsnprintf(char *__restrict buffer, | size_t BLI_vsnprintf(char *__restrict buffer, | ||||
| size_t maxncpy, | size_t maxncpy, | ||||
| const char *__restrict format, | const char *__restrict format, | ||||
| ▲ Show 20 Lines • Show All 141 Lines • Show Last 20 Lines | |||||