Searched refs:t_str_replace (Results 1 – 7 of 7) sorted by relevance
/dports/mail/dovecot/dovecot-2.3.17/src/lib/ |
H A D | test-strfuncs.c | 190 test_assert(strcmp(t_str_replace("foo", 'a', 'b'), "foo") == 0); in test_t_str_replace() 191 test_assert(strcmp(t_str_replace("fooa", 'a', 'b'), "foob") == 0); in test_t_str_replace() 192 test_assert(strcmp(t_str_replace("afooa", 'a', 'b'), "bfoob") == 0); in test_t_str_replace() 193 test_assert(strcmp(t_str_replace("", 'a', 'b'), "") == 0); in test_t_str_replace() 194 test_assert(strcmp(t_str_replace("a", 'a', 'b'), "b") == 0); in test_t_str_replace() 195 test_assert(strcmp(t_str_replace("aaa", 'a', 'b'), "bbb") == 0); in test_t_str_replace() 196 test_assert(strcmp(t_str_replace("bbb", 'a', 'b'), "bbb") == 0); in test_t_str_replace() 197 test_assert(strcmp(t_str_replace("aba", 'a', 'b'), "bbb") == 0); in test_t_str_replace()
|
H A D | strfuncs.h | 49 const char *t_str_replace(const char *str, char from, char to);
|
H A D | strfuncs.c | 328 const char *t_str_replace(const char *str, char from, char to) in t_str_replace() function
|
/dports/mail/dovecot/dovecot-2.3.17/src/plugins/fts/ |
H A D | fts-user.c | 123 filter_set_name = t_str_replace(filters[i], '-', '_'); in fts_user_create_filters() 187 tokenizer_set_name = t_str_replace(tokenizers[i], '-', '_'); in fts_user_create_tokenizer()
|
/dports/mail/dovecot/dovecot-2.3.17/src/doveadm/dsync/ |
H A D | dsync-brain-mailbox-tree.c | 116 full_name = t_str_replace(full_name, in dsync_brain_send_mailbox_tree()
|
/dports/mail/dovecot/dovecot-2.3.17/src/lib-fs/ |
H A D | fs-api.c | 118 return t_str_replace(driver, '-', '_'); in fs_driver_module_name()
|
/dports/mail/dovecot/dovecot-2.3.17/ |
H A D | ChangeLog | 113954 lib-fs: Use the new t_str_replace() instead of doing it ourself. 113961 lib: Added t_str_replace() to replace one character with another one
|