Lines Matching refs:bbuf
145 bbuf_free(BBuf* bbuf) in bbuf_free() argument
147 if (IS_NOT_NULL(bbuf)) { in bbuf_free()
148 if (IS_NOT_NULL(bbuf->p)) xfree(bbuf->p); in bbuf_free()
149 xfree(bbuf); in bbuf_free()
1621 #define BBUF_WRITE_CODE_POINT(bbuf,pos,code) \ argument
1622 BBUF_WRITE(bbuf, pos, &(code), SIZE_CODE_POINT)
1634 BBuf* bbuf; in new_code_range() local
1636 bbuf = *pbuf = (BBuf* )xmalloc(sizeof(BBuf)); in new_code_range()
1642 BBUF_WRITE_CODE_POINT(bbuf, 0, n); in new_code_range()
1652 BBuf* bbuf; in add_code_range_to_buf() local
1661 bbuf = *pbuf; in add_code_range_to_buf()
1665 bbuf = *pbuf; in add_code_range_to_buf()
1666 GET_CODE_POINT(n, bbuf->p); in add_code_range_to_buf()
1668 data = (OnigCodePoint* )(bbuf->p); in add_code_range_to_buf()
1705 BBUF_MOVE_RIGHT(bbuf, from_pos, to_pos, size); in add_code_range_to_buf()
1708 BBUF_MOVE_LEFT_REDUCE(bbuf, from_pos, to_pos); in add_code_range_to_buf()
1713 BBUF_ENSURE_SIZE(bbuf, pos + SIZE_CODE_POINT * 2); in add_code_range_to_buf()
1714 BBUF_WRITE_CODE_POINT(bbuf, pos, from); in add_code_range_to_buf()
1715 BBUF_WRITE_CODE_POINT(bbuf, pos + SIZE_CODE_POINT, to); in add_code_range_to_buf()
1717 BBUF_WRITE_CODE_POINT(bbuf, 0, n); in add_code_range_to_buf()
1736 not_code_range_buf(OnigEncoding enc, BBuf* bbuf, BBuf** pbuf) in not_code_range_buf() argument
1742 if (IS_NULL(bbuf)) { in not_code_range_buf()
1747 data = (OnigCodePoint* )(bbuf->p); in not_code_range_buf()