Home
last modified time | relevance | path

Searched refs:t_str_replace (Results 1 – 7 of 7) sorted by relevance

/dports/mail/dovecot/dovecot-2.3.17/src/lib/
H A Dtest-strfuncs.c190 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 Dstrfuncs.h49 const char *t_str_replace(const char *str, char from, char to);
H A Dstrfuncs.c328 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 Dfts-user.c123 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 Ddsync-brain-mailbox-tree.c116 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 Dfs-api.c118 return t_str_replace(driver, '-', '_'); in fs_driver_module_name()
/dports/mail/dovecot/dovecot-2.3.17/
H A DChangeLog113954 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