Searched refs:wBuf (Results 1 - 2 of 2) sorted by relevance
/test/xts/acts/kernel_lite/io_posix/src/ |
H A D | IoTestWchar.cpp | 375 wchar_t wBuf[50] = {0}; in HWTEST_F() local 377 ret = FormatVswscanf(str, L"%ls has %d words", wBuf, &i); in HWTEST_F() 379 EXPECT_STREQ(wBuf, L"helloworld"); in HWTEST_F() 390 wchar_t wBuf[50] = {0}; in HWTEST_F() local 391 int ret = swprintf(wBuf, sizeof(wBuf)/sizeof(wBuf[0]), L"%ls has %d words", L"helloworld", 10); in HWTEST_F() 393 EXPECT_STREQ(wBuf, L"helloworld has 10 words"); in HWTEST_F() 397 ret = swscanf(wBuf, L"%ls has %d words", wStr, &i); in HWTEST_F()
|
/test/xts/acts/kernel_lite/mem_posix/src/ |
H A D | MemApiTest.cpp | 562 const char wBuf[] = "A simple string to write"; 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[ [all...] |
Completed in 2 milliseconds