Lines Matching refs:wbuf
5567 uint16_t wbuf[100];
5645 memset(wbuf, 0x1, sizeof(wbuf));
5648 len = str->Write(wbuf);
5652 CHECK_EQ(0, StrCmp16(answer1, wbuf));
5655 memset(wbuf, 0x1, sizeof(wbuf));
5658 len = str->Write(wbuf, 0, 4);
5662 CHECK_EQ(0, StrNCmp16(answer2, wbuf, 5));
5665 memset(wbuf, 0x1, sizeof(wbuf));
5668 len = str->Write(wbuf, 0, 5);
5672 CHECK_EQ(0, StrNCmp16(answer3, wbuf, 6));
5675 memset(wbuf, 0x1, sizeof(wbuf));
5678 len = str->Write(wbuf, 0, 6);
5682 CHECK_EQ(0, StrCmp16(answer4, wbuf));
5685 memset(wbuf, 0x1, sizeof(wbuf));
5688 len = str->Write(wbuf, 4, -1);
5692 CHECK_EQ(0, StrCmp16(answer5, wbuf));
5695 memset(wbuf, 0x1, sizeof(wbuf));
5698 len = str->Write(wbuf, 4, 6);
5701 CHECK_EQ(0, StrCmp16(answer5, wbuf));
5704 memset(wbuf, 0x1, sizeof(wbuf));
5707 len = str->Write(wbuf, 4, 1);
5711 CHECK_EQ(0, StrNCmp16(answer6, wbuf, 2));
5714 memset(wbuf, 0x1, sizeof(wbuf));
5717 len = str->Write(wbuf, 3, 1);
5721 CHECK_EQ(0, StrNCmp16(answer7, wbuf, 2));
5723 memset(wbuf, 0x1, sizeof(wbuf));
5724 wbuf[5] = 'X';
5725 len = str->Write(wbuf, 0, 6, String::NO_NULL_TERMINATION);
5727 CHECK_EQ('X', wbuf[5]);
5730 CHECK_EQ(0, StrNCmp16(answer8a, wbuf, 5));
5731 CHECK_NE(0, StrCmp16(answer8b, wbuf));
5732 wbuf[5] = '\0';
5733 CHECK_EQ(0, StrCmp16(answer8b, wbuf));