Lines Matching refs:str
171 wchar_t str[50] = {0};
172 wchar_t *retS = fgetws(str, sizeof(str)/sizeof(str[0]), fp);
173 EXPECT_STREQ(retS, str);
174 EXPECT_STREQ(str, L"hello world");
344 int FormatVswscanf(const wchar_t *str, const wchar_t *format, ...)
348 int ret = vswscanf(str, format, args);
357 wchar_t str[50] = {0};
358 int ret = vswprintf(str, sizeof(str)/sizeof(str[0]), format, args);
359 fputws(str, stdout);
376 wchar_t str[] = L"helloworld has 10 words";
377 ret = FormatVswscanf(str, L"%ls has %d words", wBuf, &i);
433 wchar_t str[50] = {0};
434 wchar_t *gStr = fgetws(str, sizeof(str)/sizeof(str[0]), fp1);
435 EXPECT_STREQ(gStr, str) << "fgetws fail, errno = " << errno;
436 EXPECT_STREQ(str, L"helloworld 10") << "fgetws fail, errno = " << errno;
459 wchar_t str[50] = {0};
460 if (wscanf(L"%ls", str) != 1) {
463 if (wcscmp(str, L"hello world") != 0) {
516 wchar_t str[50] = {0};
517 wchar_t *gStr = fgetws(str, sizeof(str)/sizeof(str[0]), fp1);
518 EXPECT_STREQ(gStr, str) << "fgetws fail, errno = " << errno;
519 EXPECT_STREQ(str, L"helloworld 10") << "fgetws fail, errno = " << errno;
551 wchar_t str[50] = {0};
552 if (FormatVwscanf(L"%ls", str) != 1) {
555 if (wcscmp(str, L"hello world") != 0) {