Lines Matching refs:pwszRand
70 PRTUTF16 pwszRand;
87 pwszRand = (PRTUTF16)RTMemAlloc(31 * sizeof(*pwsz));
89 pwszRand[i] = GetRandUtf16();
90 pwszRand[30] = 0;
92 rc = RTUtf16ToUtf8(pwszRand, &pszUtf8);
121 pwszRand = (PRTUTF16)RTMemAlloc(31 * sizeof(*pwsz));
123 pwszRand[i] = GetRandUtf16();
124 pwszRand[30] = 0;
125 rc = RTUtf16ToUtf8(pwszRand, &pszUtf8);
132 for (i = 0; pwszRand[i] == pwsz[i] && pwsz[i] != 0; i++)
134 if (pwszRand[i] == pwsz[i] && pwsz[i] == 0)
154 pwszRand = (PRTUTF16)RTMemAlloc(31 * sizeof(*pwsz));
156 pwszRand[i] = GetRandUtf16();
157 pwszRand[30] = 0;
161 rc = RTUtf16ToUtf8Ex(pwszRand, RTSTR_MAX, &pszUtf8Array, 120, NULL);
168 for (i = 0; pwszRand[i] == pwsz[i] && pwsz[i] != 0; i++)
188 pwszRand = (PRTUTF16)RTMemAlloc(31 * sizeof(*pwsz));
190 pwszRand[i] = GetRandUtf16();
191 pwszRand[30] = 0;
195 rc = RTUtf16ToUtf8(pwszRand, &pszUtf8);
202 for (i = 0; pwszRand[i] == pwsz2Buf[i] && pwsz2Buf[i] != 0; i++)
204 if (pwszRand[i] == 0 && pwsz2Buf[i] == 0)
218 pwszRand = (PRTUTF16)RTMemAlloc(31 * sizeof(*pwsz));
220 pwszRand[i] = GetRandUtf16();
221 pwszRand[30] = 0;
223 rc = RTUtf16ToUtf8Ex(pwszRand, RTSTR_MAX, &pszUtf8Array, 20, NULL);
234 pwszRand = (PRTUTF16)RTMemAlloc(31 * sizeof(*pwsz));
236 pwszRand[i] = GetRandUtf16();
237 pwszRand[30] = 0;
239 rc = RTUtf16ToUtf8(pwszRand, &pszUtf8);