Lines Matching refs:bwstring
202 bwsprintf(FILE *f, struct bwstring *bws, const char *prefix, const char *suffix) in bwsprintf()
211 const void* bwsrawdata(const struct bwstring *bws) in bwsrawdata()
217 size_t bwsrawlen(const struct bwstring *bws) in bwsrawlen()
225 bws_memsize(const struct bwstring *bws) in bws_memsize()
229 (bws->cdata.len + 2 + sizeof(struct bwstring)) : in bws_memsize()
230 (SIZEOF_WCHAR_STRING(bws->wdata.len + 1) + sizeof(struct bwstring))); in bws_memsize()
234 bws_setlen(struct bwstring *bws, size_t newlen) in bws_setlen()
250 struct bwstring *
253 struct bwstring *ret; in bwsalloc()
256 ret = sort_malloc(sizeof(struct bwstring) + 1 + sz); in bwsalloc()
261 sizeof(struct bwstring) + SIZEOF_WCHAR_STRING(sz + 1)); in bwsalloc()
273 struct bwstring *
274 bwsdup(const struct bwstring *s) in bwsdup()
280 struct bwstring *ret = bwsalloc(BWSLEN(s)); in bwsdup()
295 struct bwstring *
302 struct bwstring *ret; in bwssbdup()
319 struct bwstring *
322 struct bwstring *ret; in bwscsbdup()
377 bwsfree(const struct bwstring *s) in bwsfree()
391 struct bwstring *
392 bwsnocpy(struct bwstring *dst, const struct bwstring *src, size_t offset, in bwsnocpy()
425 bwsfwrite(struct bwstring *bws, FILE *f, bool zero_ended) in bwsfwrite()
476 bwsncmp(const struct bwstring *bws1, const struct bwstring *bws2, in bwsncmp()
532 bwscmp(const struct bwstring *bws1, const struct bwstring *bws2, size_t offset) in bwscmp()
579 bwscoll(const struct bwstring *bws1, const struct bwstring *bws2, size_t offset) in bwscoll()
747 bwstod(struct bwstring *s0, bool *empty) in bwstod()
805 bws_month_score(const struct bwstring *s0) in bws_month_score()
851 struct bwstring *
852 ignore_leading_blanks(struct bwstring *str) in ignore_leading_blanks()
906 struct bwstring *
907 ignore_nonprinting(struct bwstring *str) in ignore_nonprinting()
959 struct bwstring *
960 dictionary_order(struct bwstring *str) in dictionary_order()
1011 struct bwstring *
1012 ignore_case(struct bwstring *str) in ignore_case()
1040 bws_disorder_warnx(struct bwstring *s, const char *fn, size_t pos) in bws_disorder_warnx()