Lines Matching refs:sep
75 _PUBLIC_ char **str_list_make(TALLOC_CTX *mem_ctx, const char *string, const char *sep)
80 if (sep == NULL) {
81 sep = LIST_SEP;
90 size_t len = strcspn(string, sep);
94 string += strspn(string, sep);
126 _PUBLIC_ char **str_list_make_shell(TALLOC_CTX *mem_ctx, const char *string, const char *sep)
136 if (sep == NULL)
137 sep = " \t\n\r";
140 size_t len = strcspn(string, sep);
145 string += strspn(string, sep);
204 _PUBLIC_ char *str_list_join_shell(TALLOC_CTX *mem_ctx, const char **list, char sep)
219 ret = talloc_asprintf_append_buffer(ret, "%c\"%s\"", sep, list[i]);
221 ret = talloc_asprintf_append_buffer(ret, "%c%s", sep, list[i]);