Lines Matching defs:g_szAll

260 static char     g_szAll[0x7f + (0x800 - 0x80) * 2 + (0xfffe - 0x800 - (0xe000 - 0xd800))* 3 + (0x110000 - 0x10000) * 4 + 1];
372 g_szAll[i++] = uc++;
376 g_szAll[i++] = 0xc0 | (uc >> 6);
377 g_szAll[i++] = 0x80 | (uc & 0x3f);
384 g_szAll[i++] = 0xe0 | (uc >> 12);
385 g_szAll[i++] = 0x80 | ((uc >> 6) & 0x3f);
386 g_szAll[i++] = 0x80 | (uc & 0x3f);
394 g_szAll[i++] = 0xe0 | (uc >> 12);
395 g_szAll[i++] = 0x80 | ((uc >> 6) & 0x3f);
396 g_szAll[i++] = 0x80 | (uc & 0x3f);
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);
412 g_szAll[i++] = '\0';
413 Assert(RT_ELEMENTS(g_szAll) == i);
428 if (mymemcmp(pszUtf8, g_szAll, sizeof(g_szAll), 8))
452 rc = RTStrToUtf16(&g_szAll[0], &pwszUtf16);
461 if (mymemcmp(pszUtf8, g_szAll, sizeof(g_szAll), 8))
477 rc = RTStrToUni(g_szAll, &paCps);
484 rc = RTStrToUniEx(g_szAll, RTSTR_MAX, &paCps, RT_ELEMENTS(g_uszAll), &cCps);
502 size_t cuc1 = RTStrCalcUtf16Len(g_szAll);
513 char *pszPut1Base = (char *)RTMemAlloc(sizeof(g_szAll));
519 const char *psz1 = g_szAll;
520 const char *psz2 = g_szAll;
533 whereami(8, psz2 - &g_szAll[0]);
536 char *pszPrev1 = RTStrPrevCp(g_szAll, psz1);
540 whereami(8, psz2 - &g_szAll[0]);
547 whereami(8, psz2 - &g_szAll[0]);
554 whereami(8, psz2 - &g_szAll[0]);
592 if (pszPut1 - pszPut1Base != psz1 - &g_szAll[0])
595 pszPut1 - pszPut1Base, psz1 - &g_szAll[0]);
596 whereami(8, psz2 - &g_szAll[0]);
616 if (psz2 == &g_szAll[sizeof(g_szAll)])
618 if (mymemcmp(pszPut1Base, g_szAll, sizeof(g_szAll), 8))
800 char *pszAll = RTStrDup(g_szAll);
804 RTTESTI_CHECK(!memcmp(pszAll, g_szAll, sizeof(g_szAll)));
959 char szBuf[sizeof(g_szAll)];
966 int rc = RTStrToUtf16Ex(&g_szAll[0], RTSTR_MAX, &pwsz, RT_ELEMENTS(s_Buf.wszBuf), NULL);
973 rc = RTStrToUtf16Ex(&g_szAll[0], RTSTR_MAX, &pwsz, RT_ELEMENTS(s_Buf.wszBuf), NULL);
1108 size_t cbShort = RTStrCalcLatin1Len(g_szAll);
1110 int rc = RTStrCalcLatin1LenEx(g_szAll, 383, &cch_szAll);
1112 rc = RTStrCalcLatin1LenEx(g_szAll, RTSTR_MAX, &cch_szAll);
1116 memcpy(szShort, g_szAll, 255);
1127 RTTestFailed(hTest, "conversion of g_szAll to Latin1 failed at position %u\n", i);
1132 rc = RTStrToLatin1(g_szAll, &psz);
1137 rc = RTStrToLatin1Ex(g_szAll, sizeof(sz) - 1, &psz2, sizeof(sz),
1142 rc = RTStrToLatin1Ex(g_szAll, 383, &psz2, sizeof(sz),
1152 RTTestFailed(hTest, "second conversion of g_szAll to Latin1 failed at position %u\n", i);
1156 rc = RTStrToLatin1Ex(g_szAll, 129, &psz2, 128, &cchActual);
1160 rc = RTStrToLatin1Ex(g_szAll, 383, &psz, 0, &cchActual);
1170 RTTestFailed(hTest, "third conversion of g_szAll to Latin1 failed at position %u\n", i);