Lines Matching refs:uc

331     RTUNICP  uc = 1;
332 while (uc < 0xd800)
333 g_uszAll[i++] = uc++;
334 uc = 0xe000;
335 while (uc < 0xfffe)
336 g_uszAll[i++] = uc++;
337 uc = 0x10000;
338 while (uc < 0x110000)
339 g_uszAll[i++] = uc++;
345 uc = 1;
346 //RTPrintf("tstUtf8: %#x=%#x", i, uc);
347 while (uc < 0xd800)
348 g_wszAll[i++] = uc++;
349 uc = 0xe000;
350 //RTPrintf(" %#x=%#x", i, uc);
351 while (uc < 0xfffe)
352 g_wszAll[i++] = uc++;
353 uc = 0x10000;
354 //RTPrintf(" %#x=%#x", i, uc);
355 while (uc < 0x110000)
357 g_wszAll[i++] = 0xd800 | ((uc - 0x10000) >> 10);
358 g_wszAll[i++] = 0xdc00 | ((uc - 0x10000) & 0x3ff);
359 uc++;
361 //RTPrintf(" %#x=%#x\n", i, uc);
369 uc = 1;
370 //RTPrintf("tstUtf8: %#x=%#x", i, uc);
371 while (uc < 0x80)
372 g_szAll[i++] = uc++;
373 //RTPrintf(" %#x=%#x", i, uc);
374 while (uc < 0x800)
376 g_szAll[i++] = 0xc0 | (uc >> 6);
377 g_szAll[i++] = 0x80 | (uc & 0x3f);
378 Assert(!((uc >> 6) & ~0x1f));
379 uc++;
381 //RTPrintf(" %#x=%#x", i, uc);
382 while (uc < 0xd800)
384 g_szAll[i++] = 0xe0 | (uc >> 12);
385 g_szAll[i++] = 0x80 | ((uc >> 6) & 0x3f);
386 g_szAll[i++] = 0x80 | (uc & 0x3f);
387 Assert(!((uc >> 12) & ~0xf));
388 uc++;
390 uc = 0xe000;
391 //RTPrintf(" %#x=%#x", i, uc);
392 while (uc < 0xfffe)
394 g_szAll[i++] = 0xe0 | (uc >> 12);
395 g_szAll[i++] = 0x80 | ((uc >> 6) & 0x3f);
396 g_szAll[i++] = 0x80 | (uc & 0x3f);
397 Assert(!((uc >> 12) & ~0xf));
398 uc++;
400 uc = 0x10000;
401 //RTPrintf(" %#x=%#x", i, uc);
402 while (uc < 0x110000)
404 g_szAll[i++] = 0xf0 | (uc >> 18);
405 g_szAll[i++] = 0x80 | ((uc >> 12) & 0x3f);
406 g_szAll[i++] = 0x80 | ((uc >> 6) & 0x3f);
407 g_szAll[i++] = 0x80 | (uc & 0x3f);
408 Assert(!((uc >> 18) & ~0x7));
409 uc++;
411 //RTPrintf(" %#x=%#x\n", i, uc);
1424 RTUNICP uc = 0;
1425 while (uc <= 0x10fffd)
1428 RTUNICP ucFirst = uc;
1443 for (uc = ucFirst; uc <= ucLast; uc++)
1446 pszDst = RTStrPutCp(pszDst, uc);
1450 RTTESTI_CHECK_MSG(uc2 == uc, ("uc2=%#x uc=%#x\n", uc2, uc));
1455 RTTESTI_CHECK_MSG(uc3 == uc, ("uc3=%#x uc=%#x\n", uc3, uc));
1461 for (uc = ucFirst; uc <= ucLast; uc++)
1464 RTTESTI_CHECK_MSG(uc2 == uc, ("uc2=%#x uc=%#x\n", uc2, uc));
1468 RTTESTI_CHECK_MSG(uc3 == uc, ("uc3=%#x uc=%#x\n", uc3, uc));
1470 pszDst = RTStrPutCp(pszDst, uc);
1477 for (uc = ucFirst; uc <= ucLast; uc++)
1480 RTTESTI_CHECK_MSG(uc2 == uc, ("uc2=%#x uc=%#x\n", uc2, uc));
1484 RTTESTI_CHECK_MSG(uc3 == uc, ("uc3=%#x uc=%#x\n", uc3, uc));
1490 uc = ucLast + 1;