Lines Matching refs:bstring
73 * @brief Create a bstring referencing "str"
76 * By converting to bstring which carries the strlen, the repeated computation can be avoided.
78 bstring brefcstr (char *str) {
79 bstring b;
87 b = (bstring)bstr__alloc(sizeof(struct tagbstring));
99 * @brief Free up the bstring, WITHOUT freeing the pointed to c-string!
101 int bunrefcstr (bstring b) {
139 * @brief Push a bstring to the end of a list
141 int bstrListPush(struct bstrList *sl, bstring bs)
154 * @brief Pop a bstring from the end of a list
156 bstring bstrListPop(struct bstrList *sl)
164 bstring bjoinInv(const struct bstrList * bl, const_bstring sep) {
165 bstring b;
185 b = (bstring) bstr__alloc (sizeof (struct tagbstring));