Lines Matching refs:bwstring

143 bwsprintf(FILE *f, struct bwstring *bws, const char *prefix, const char *suffix)  in bwsprintf()
152 const void* bwsrawdata(const struct bwstring *bws) in bwsrawdata()
158 size_t bwsrawlen(const struct bwstring *bws) in bwsrawlen()
165 bws_memsize(const struct bwstring *bws) in bws_memsize()
168 return ((MB_CUR_MAX == 1) ? (bws->len + 2 + sizeof(struct bwstring)) : in bws_memsize()
169 (SIZEOF_WCHAR_STRING(bws->len + 1) + sizeof(struct bwstring))); in bws_memsize()
173 bws_setlen(struct bwstring *bws, size_t newlen) in bws_setlen()
188 struct bwstring *
191 struct bwstring *ret; in bwsalloc()
194 ret = sort_malloc(sizeof(struct bwstring) + 1 + sz); in bwsalloc()
196 ret = sort_malloc(sizeof(struct bwstring) + in bwsalloc()
212 struct bwstring *
213 bwsdup(const struct bwstring *s) in bwsdup()
219 struct bwstring *ret = bwsalloc(s->len); in bwsdup()
234 struct bwstring *
241 struct bwstring *ret; in bwssbdup()
258 struct bwstring *
261 struct bwstring *ret; in bwscsbdup()
316 bwsfree(const struct bwstring *s) in bwsfree()
329 bwscpy(struct bwstring *dst, const struct bwstring *src) in bwscpy()
355 struct bwstring *
356 bwsncpy(struct bwstring *dst, const struct bwstring *src, size_t size) in bwsncpy()
385 struct bwstring *
386 bwsnocpy(struct bwstring *dst, const struct bwstring *src, size_t offset, in bwsnocpy()
420 bwsfwrite(struct bwstring *bws, FILE *f, bool zero_ended) in bwsfwrite()
474 struct bwstring *
580 bwsncmp(const struct bwstring *bws1, const struct bwstring *bws2, in bwsncmp()
636 bwscmp(const struct bwstring *bws1, const struct bwstring *bws2, size_t offset) in bwscmp()
683 bwscoll(const struct bwstring *bws1, const struct bwstring *bws2, size_t offset) in bwscoll()
851 bwstod(struct bwstring *s0, bool *empty) in bwstod()
909 bws_month_score(const struct bwstring *s0) in bws_month_score()
948 struct bwstring *
949 ignore_leading_blanks(struct bwstring *str) in ignore_leading_blanks()
1003 struct bwstring *
1004 ignore_nonprinting(struct bwstring *str) in ignore_nonprinting()
1056 struct bwstring *
1057 dictionary_order(struct bwstring *str) in dictionary_order()
1108 struct bwstring *
1109 ignore_case(struct bwstring *str) in ignore_case()
1137 bws_disorder_warnx(struct bwstring *s, const char *fn, size_t pos) in bws_disorder_warnx()