Lines Matching defs:buf
267 void TestRegcomp(int flag, const char *pattern, const char *buf, const char *resOk)
275 int status = regexec(®, buf, nmatch, pmatch, 0);
282 putchar(buf[i]);
283 res[j] = buf[i];
335 const char* buf = "harmony20000925@abcdef.com";
338 int status = regexec(®, buf, (size_t)0, nullptr, 0);
370 const char* buf = "harmony20000925@abcdef.com";
373 int status = regexec(®, buf, (size_t) 0, nullptr, 0);
423 char buf[8];
424 rt = strerror_r(errnum, buf, 8);
426 EXPECT_STREQ(buf, "No such") << "get strerror_r error!";