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()
166 bws_memsize(const struct bwstring *bws) in bws_memsize()
170 (bws->cdata.len + 2 + sizeof(struct bwstring)) : in bws_memsize()
171 (SIZEOF_WCHAR_STRING(bws->wdata.len + 1) + sizeof(struct bwstring))); in bws_memsize()
175 bws_setlen(struct bwstring *bws, size_t newlen) in bws_setlen()
191 struct bwstring *
194 struct bwstring *ret; in bwsalloc()
197 ret = sort_malloc(sizeof(struct bwstring) + 1 + sz); in bwsalloc()
202 sizeof(struct bwstring) + SIZEOF_WCHAR_STRING(sz + 1)); in bwsalloc()
214 struct bwstring *
215 bwsdup(const struct bwstring *s) in bwsdup()
221 struct bwstring *ret = bwsalloc(BWSLEN(s)); in bwsdup()
236 struct bwstring *
243 struct bwstring *ret; in bwssbdup()
260 struct bwstring *
263 struct bwstring *ret; in bwscsbdup()
318 bwsfree(const struct bwstring *s) in bwsfree()
331 bwscpy(struct bwstring *dst, const struct bwstring *src) in bwscpy()
358 struct bwstring *
359 bwsncpy(struct bwstring *dst, const struct bwstring *src, size_t size) in bwsncpy()
389 struct bwstring *
390 bwsnocpy(struct bwstring *dst, const struct bwstring *src, size_t offset, in bwsnocpy()
423 bwsfwrite(struct bwstring *bws, FILE *f, bool zero_ended) in bwsfwrite()
477 struct bwstring *
583 bwsncmp(const struct bwstring *bws1, const struct bwstring *bws2, in bwsncmp()
639 bwscmp(const struct bwstring *bws1, const struct bwstring *bws2, size_t offset) in bwscmp()
686 bwscoll(const struct bwstring *bws1, const struct bwstring *bws2, size_t offset) in bwscoll()
854 bwstod(struct bwstring *s0, bool *empty) in bwstod()
912 bws_month_score(const struct bwstring *s0) in bws_month_score()
951 struct bwstring *
952 ignore_leading_blanks(struct bwstring *str) in ignore_leading_blanks()
1006 struct bwstring *
1007 ignore_nonprinting(struct bwstring *str) in ignore_nonprinting()
1059 struct bwstring *
1060 dictionary_order(struct bwstring *str) in dictionary_order()
1111 struct bwstring *
1112 ignore_case(struct bwstring *str) in ignore_case()
1140 bws_disorder_warnx(struct bwstring *s, const char *fn, size_t pos) in bws_disorder_warnx()