Lines Matching refs:nbuf
208 char *buf, *nbuf; in setexpr_test_sub() local
212 nbuf = map_sysmem(0x1000, BUF_SIZE); in setexpr_test_sub()
216 memset(nbuf, '\xff', BUF_SIZE); in setexpr_test_sub()
219 nbuf[i] = i & 0xff; in setexpr_test_sub()
227 ut_assertok(setexpr_regex_sub(buf, BUF_SIZE, nbuf, BUF_SIZE, "is", in setexpr_test_sub()
234 ut_assertf(nbuf[i] == (char)i, in setexpr_test_sub()
236 i, i & 0xff, (u8)nbuf[i]); in setexpr_test_sub()
248 char *buf, *nbuf; in setexpr_test_backref() local
252 nbuf = map_sysmem(0x1000, BUF_SIZE); in setexpr_test_backref()
256 memset(nbuf, '\xff', BUF_SIZE); in setexpr_test_backref()
259 nbuf[i] = i & 0xff; in setexpr_test_backref()
267 ut_assertok(setexpr_regex_sub(buf, BUF_SIZE, nbuf, BUF_SIZE, in setexpr_test_backref()
279 ut_assertf(nbuf[i] == (char)i, in setexpr_test_backref()
281 i, i & 0xff, (u8)nbuf[i]); in setexpr_test_backref()