Searched refs:wBuf (Results 1 – 2 of 2) sorted by relevance
/test/xts/acts/kernel_lite/io_posix/src/ |
D | IoTestWchar.cpp | 375 wchar_t wBuf[50] = {0}; variable 377 ret = FormatVswscanf(str, L"%ls has %d words", wBuf, &i); 379 EXPECT_STREQ(wBuf, L"helloworld"); 390 wchar_t wBuf[50] = {0}; variable 391 int ret = swprintf(wBuf, sizeof(wBuf)/sizeof(wBuf[0]), L"%ls has %d words", L"helloworld", 10); 393 EXPECT_STREQ(wBuf, L"helloworld has 10 words"); 397 ret = swscanf(wBuf, L"%ls has %d words", wStr, &i);
|
/test/xts/acts/kernel_lite/mem_posix/src/ |
D | MemApiTest.cpp | 562 const char wBuf[] = "A simple string to write"; variable 570 fprintf(stream, wBuf); 573 LOG("len = %ld, sizeof(wBuf) - 1 = %d", len, sizeof(wBuf) - 1); 574 EXPECT_TRUE(len == sizeof(wBuf) - 1) << "len != sizeof (wBuf) - 1"; 577 if (buf[i] != wBuf[i]) { 582 … EXPECT_TRUE(failure == 0) << "buf[i] != wBuf[i], buf[i] = " << buf[i] << " wBuf[i] = " << wBuf[i];
|