Lines Matching refs:pbuf

132 #define SET_ALL_MULTI_BYTE_RANGE(enc, pbuf) \  argument
133 add_code_range_to_buf(pbuf, MBCODE_START_POS(enc), ~((OnigCodePoint )0))
1682 new_code_range(BBuf** pbuf) in new_code_range() argument
1689 bbuf = *pbuf = (BBuf* )xmalloc(sizeof(BBuf)); in new_code_range()
1690 CHECK_NULL_RETURN_MEMERR(*pbuf); in new_code_range()
1691 r = BBUF_INIT(*pbuf, INIT_MULTI_BYTE_RANGE_SIZE); in new_code_range()
1700 add_code_range_to_buf(BBuf** pbuf, OnigCodePoint from, OnigCodePoint to) in add_code_range_to_buf() argument
1711 if (IS_NULL(*pbuf)) { in add_code_range_to_buf()
1712 r = new_code_range(pbuf); in add_code_range_to_buf()
1714 bbuf = *pbuf; in add_code_range_to_buf()
1718 bbuf = *pbuf; in add_code_range_to_buf()
1775 add_code_range(BBuf** pbuf, ScanEnv* env, OnigCodePoint from, OnigCodePoint to) in add_code_range() argument
1784 return add_code_range_to_buf(pbuf, from, to); in add_code_range()
1788 not_code_range_buf(OnigEncoding enc, BBuf* bbuf, BBuf** pbuf) in not_code_range_buf() argument
1793 *pbuf = (BBuf* )NULL; in not_code_range_buf()
1796 return SET_ALL_MULTI_BYTE_RANGE(enc, pbuf); in not_code_range_buf()
1810 r = add_code_range_to_buf(pbuf, pre, from - 1); in not_code_range_buf()
1817 r = add_code_range_to_buf(pbuf, to + 1, ~((OnigCodePoint )0)); in not_code_range_buf()
1831 BBuf* bbuf2, int not2, BBuf** pbuf) in or_code_range_buf() argument
1837 *pbuf = (BBuf* )NULL; in or_code_range_buf()
1840 return SET_ALL_MULTI_BYTE_RANGE(enc, pbuf); in or_code_range_buf()
1850 return SET_ALL_MULTI_BYTE_RANGE(enc, pbuf); in or_code_range_buf()
1854 return bbuf_clone(pbuf, bbuf2); in or_code_range_buf()
1857 return not_code_range_buf(enc, bbuf2, pbuf); in or_code_range_buf()
1870 r = bbuf_clone(pbuf, bbuf2); in or_code_range_buf()
1873 r = not_code_range_buf(enc, bbuf2, pbuf); in or_code_range_buf()
1880 r = add_code_range_to_buf(pbuf, from, to); in or_code_range_buf()
1887 and_code_range1(BBuf** pbuf, OnigCodePoint from1, OnigCodePoint to1, in and_code_range1() argument
1905 r = add_code_range_to_buf(pbuf, from1, from2-1); in and_code_range1()
1920 r = add_code_range_to_buf(pbuf, from1, to1); in and_code_range1()
1927 and_code_range_buf(BBuf* bbuf1, int not1, BBuf* bbuf2, int not2, BBuf** pbuf) in and_code_range_buf() argument
1933 *pbuf = (BBuf* )NULL; in and_code_range_buf()
1936 return bbuf_clone(pbuf, bbuf2); in and_code_range_buf()
1941 return bbuf_clone(pbuf, bbuf1); in and_code_range_buf()
1966 r = add_code_range_to_buf(pbuf, from, to); in and_code_range_buf()
1975 r = and_code_range1(pbuf, from1, to1, data2, n2); in and_code_range_buf()
1987 BBuf *buf1, *buf2, *pbuf; in and_cclass() local
2017 r = or_code_range_buf(enc, buf1, 0, buf2, 0, &pbuf); in and_cclass()
2020 r = and_code_range_buf(buf1, not1, buf2, not2, &pbuf); in and_cclass()
2023 r = not_code_range_buf(enc, pbuf, &tbuf); in and_cclass()
2025 bbuf_free(pbuf); in and_cclass()
2028 bbuf_free(pbuf); in and_cclass()
2029 pbuf = tbuf; in and_cclass()
2034 dest->mbuf = pbuf; in and_cclass()
2045 BBuf *buf1, *buf2, *pbuf; in or_cclass() local
2075 r = and_code_range_buf(buf1, 0, buf2, 0, &pbuf); in or_cclass()
2078 r = or_code_range_buf(enc, buf1, not1, buf2, not2, &pbuf); in or_cclass()
2081 r = not_code_range_buf(enc, pbuf, &tbuf); in or_cclass()
2083 bbuf_free(pbuf); in or_cclass()
2086 bbuf_free(pbuf); in or_cclass()
2087 pbuf = tbuf; in or_cclass()
2092 dest->mbuf = pbuf; in or_cclass()