Searched refs:uc (Results 1 - 25 of 34) sorted by relevance

12

/vbox/src/VBox/Runtime/common/string/
H A Dutf-8-case2.cpp47 RTUNICP uc; local
50 int rc = RTStrGetCpEx(&psz, &uc);
53 if (RTUniCpIsFoldable(uc))
58 /* bad encoding, just skip it quietly (uc == RTUNICP_INVALID (!= 0)). */
61 } while (uc != 0);
73 RTUNICP uc; local
76 int rc = RTStrGetCpEx(&psz, &uc);
79 if (RTUniCpIsLower(uc))
84 /* bad encoding, just skip it quietly (uc == RTUNICP_INVALID (!= 0)). */
87 } while (uc !
99 RTUNICP uc; local
[all...]
H A Dutf-8.cpp108 RTUNICP uc; local
112 uc = (puch[5] & 0x3f)
118 RTStrAssertMsgReturn(uc >= 0x04000000 && uc <= 0x7fffffff,
119 ("%u: cp=%#010RX32: %.*Rhxs\n", cb, uc, RT_MIN(cb + 10, cch), puch), VERR_INVALID_UTF8_ENCODING);
122 uc = (puch[4] & 0x3f)
127 RTStrAssertMsgReturn(uc >= 0x00200000 && uc <= 0x03ffffff,
128 ("%u: cp=%#010RX32: %.*Rhxs\n", cb, uc, RT_MIN(cb + 10, cch), puch), VERR_INVALID_UTF8_ENCODING);
131 uc
567 RTUNICP uc; local
674 uint16_t uc = (puch[1] & 0x3f) local
682 uint16_t uc = (puch[2] & 0x3f) local
693 RTUNICP uc = (puch[3] & 0x3f) local
1254 RTUNICP uc; local
1399 RTUNICP uc; local
1531 RTStrPutCpInternal(char *psz, RTUNICP uc) argument
[all...]
H A Dutf-16-case.cpp128 RTUNICP uc = 0x10000 + (((wc & 0x3ff) << 10) | (wc2 & 0x3ff)); local
129 RTUNICP ucFolded = RTUniCpToLower(uc);
130 if (uc != ucFolded && ucFolded >= 0x10000) /* we don't support shrinking the string */
132 uc -= 0x10000;
133 *pwc++ = 0xd800 | (uc >> 10);
134 *pwc++ = 0xdc00 | (uc & 0x3ff);
162 RTUNICP uc = 0x10000 + (((wc & 0x3ff) << 10) | (wc2 & 0x3ff)); local
163 RTUNICP ucFolded = RTUniCpToUpper(uc);
164 if (uc != ucFolded && ucFolded >= 0x10000) /* we don't support shrinking the string */
166 uc
[all...]
H A Dutf-8-case.cpp286 RTUNICP uc; local
289 int rc = RTStrGetCpEx(&pszSrc, &uc);
292 RTUNICP uc2 = RTUniCpToLower(uc);
293 if (RT_LIKELY( uc2 == uc
294 || RTUniCpCalcUtf8Len(uc2) == RTUniCpCalcUtf8Len(uc)))
297 pszDst = RTStrPutCp(pszDst, uc);
301 /* bad encoding, just copy it quietly (uc == RTUNICP_INVALID (!= 0)). */
306 } while (uc != 0);
323 RTUNICP uc; local
326 int rc = RTStrGetCpEx(&pszSrc, &uc);
[all...]
H A Dministring.cpp172 RTCString &RTCString::appendCodePoint(RTUNICP uc) argument
177 if (uc < 0x80)
178 return RTCString::append((char)uc);
184 AssertReturn(uc <= UINT32_C(0x7fffffff), *this);
195 char *pszNext = RTStrPutCp(&m_psz[m_cch], uc);
H A Dutf-16.cpp575 RTUNICP uc = 0x10000 + (((wc & 0x3ff) << 10) | (wc2 & 0x3ff)); local
576 return uc;
612 RTUNICP uc = 0x10000 + (((wc & 0x3ff) << 10) | (wc2 & 0x3ff)); local
613 *pCp = uc;
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/Arm/machine/
H A Dmcontext.h108 #define _UC_MACHINE_SP(uc) ((uc)->uc_mcontext.__gregs[_REG_SP])
109 #define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC])
110 #define _UC_MACHINE_INTRV(uc) ((uc)->uc_mcontext.__gregs[_REG_R0])
112 #define _UC_MACHINE_SET_PC(uc, pc) _UC_MACHINE_PC(uc) = (pc)
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dpcmcia.c63 u_char *uc, upc;
93 uc = ioremap ( MAP_ATTRMEM_TO, MAP_ATTRMEM_LEN );
98 for ( l = ui = 0; ui < 0x800; ui += uc[(2*ui)+2] + 2 ) {
99 if ( uc[(2*ui)] == 0xff ) {
110 for ( l = ui = 0; ui < 0x800; ui += uc[(2*ui)+2] + 2 ) {
111 if ( uc[(2*ui)] == 0xff ) break;
112 else if ( uc[2*ui] == 0x15 ) {
113 for ( k = 2 * ( ui + 2 ); ( uc[k] <= ' ' ) && ( k < ( 2 * ( uc[2*(ui+1)] + ui + 2 ) ) ) ; k += 2 ) { ; }
115 pccsock[i].stringlength = ( 2 * ( ui + 2 + uc[(
[all...]
/vbox/src/VBox/Runtime/r3/
H A Ddir.cpp52 static bool rtDirFilterWinNtMatchDosStar(unsigned iDepth, RTUNICP uc, const char *pszNext, PCRTUNICP puszFilter);
53 static bool rtDirFilterWinNtMatchStar(unsigned iDepth, RTUNICP uc, const char *pszNext, PCRTUNICP puszFilter);
126 RTUNICP uc; local
129 int rc = RTStrGetCpEx(&psz, &uc);
132 if ( uc != ucFilter
133 && RTUniCpToUpper(uc) != ucFilter)
135 } while (uc);
163 static bool rtDirFilterWinNtMatchDosStar(unsigned iDepth, RTUNICP uc, const char *pszNext, PCRTUNICP puszFilter) argument
172 if (!pszDosDot && uc == '.')
175 return rtDirFilterWinNtMatchStar(iDepth, uc, pszNex
242 rtDirFilterWinNtMatchStar(unsigned iDepth, RTUNICP uc, const char *pszNext, PCRTUNICP puszFilter) argument
382 RTUNICP uc; local
480 RTUNICP uc = pDir->puszFilter[iRead++]; local
[all...]
/vbox/src/VBox/Runtime/common/vfs/
H A Dvfsiosmisc.cpp87 RTUNICP uc; local
88 rc = RTStrGetCpEx(&pszCur, &uc);
91 if (!uc)
99 else if (uc > 0x10ffff)
/vbox/src/VBox/Runtime/testcase/
H A DtstUtf8.cpp331 RTUNICP uc = 1; local
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
1424 RTUNICP uc = 0; local
[all...]
H A DtstIprtMiniString.cpp385 * @param uc The codepoints.
387 static bool isUnevenUtf8FoldingCp(RTUNICP uc)
389 RTUNICP ucLower = RTUniCpToLower(uc);
390 RTUNICP ucUpper = RTUniCpToUpper(uc);
432 for (RTUNICP uc = 1; uc <= 0x10fffd; uc++)
441 if (uc == 0x131 || uc == 0x130 || uc
[all...]
/vbox/src/recompiler/
H A Dcpu-exec.c81 struct ucontext *uc = puc; local
83 struct sigcontext *uc = puc;
96 sigprocmask(SIG_SETMASK, (sigset_t *)&uc->uc_sigmask, NULL);
98 sigprocmask(SIG_SETMASK, &uc->uc_sigmask, NULL);
101 sigprocmask(SIG_SETMASK, &uc->sc_mask, NULL);
1028 ucontext_t *uc = puc; local
1030 struct sigcontext *uc = puc; local
1032 struct ucontext *uc = puc; local
1043 pc = EIP_sig(uc);
1044 trapno = TRAP_sig(uc);
1083 ucontext_t *uc = puc; local
1085 struct sigcontext *uc = puc; local
1087 struct ucontext *uc = puc; local
1167 ucontext_t *uc = puc; local
1169 struct ucontext *uc = puc; local
1194 struct ucontext *uc = puc; local
1237 struct sigcontext *uc = puc; local
1281 struct ucontext *uc = puc; local
1303 struct ucontext *uc = puc; local
1325 struct ucontext *uc = puc; local
1355 struct ucontext *uc = puc; local
1408 struct ucontext *uc = puc; local
1424 struct ucontext *uc = puc; local
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/lib/libc/src/
H A Dstrccmp.c40 static const unsigned char uc[] = variable
85 while( (uc[*ua] == uc[*ub]) && ('\0' != *a) )
92 return (PRIntn)(uc[*ua] - uc[*ub]);
104 while( max && (uc[*ua] == uc[*ub]) && ('\0' != *a) )
114 return (PRIntn)(uc[*ua] - uc[*ub]);
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/md/
H A D_solaris.h587 ucontext_t *uc = CONTEXT(_thread); \
589 getcontext(uc); \
590 uc->uc_stack.ss_sp = (char *) ((unsigned long)(_sp - WINDOWSIZE - SA(MINFRAME)) & 0xfffffff8); \
591 uc->uc_stack.ss_size = _thread->stack->stackSize; \
592 uc->uc_stack.ss_flags = 0; /* ? */ \
593 uc->uc_mcontext.gregs[REG_SP] = (unsigned int) uc->uc_stack.ss_sp; \
594 uc->uc_mcontext.gregs[REG_PC] = (unsigned int) _main; \
595 uc->uc_mcontext.gregs[REG_nPC] = (unsigned int) ((char*)_main)+4; \
596 uc
[all...]
H A D_nec.h98 ucontext_t *uc = CONTEXT(_thread); \
99 uc->uc_mcontext.gregs[CXT_V0] = 1; \
100 uc->uc_mcontext.gregs[CXT_A3] = 0; \
103 setcontext(uc); \
H A D_sony.h89 ucontext_t *uc = CONTEXT(_thread); \
90 uc->uc_mcontext.gregs[CXT_V0] = 1; \
91 uc->uc_mcontext.gregs[CXT_A3] = 0; \
94 setcontext(uc); \
H A D_reliantunix.h232 ucontext_t *uc = CONTEXT(_thread); \
233 uc->uc_mcontext.gpregs[CXT_V0] = 1;\
234 uc->uc_mcontext.gpregs[CXT_A3] = 0;\
237 _SETCONTEXT(uc); \
/vbox/src/VBox/Runtime/common/crypto/
H A Dx509-core.cpp201 * @returns true if @uc maps to nothing, false if not.
202 * @param uc The unicode code point.
204 static bool rtCrX509CanNameIsNothingSlow(RTUNICP uc) argument
206 switch (uc)
287 * Checks if @a uc maps to nothing according to mapping rules of RFC-5280 and
290 * @returns true if @uc maps to nothing, false if not.
291 * @param uc The unicode code point.
293 DECLINLINE(bool) rtCrX509CanNameIsNothing(RTUNICP uc) argument
295 if (uc > 0x001f && uc <
307 rtCrX509CanNameIsSpaceSlow(RTUNICP uc) argument
341 rtCrX509CanNameIsSpace(RTUNICP uc) argument
364 RTUNICP uc; local
386 RTUNICP uc; local
422 RTUNICP uc = *psz; local
451 RTUNICP uc = rtCrX509CanNameGetNextCpIgnoreNul(ppsz, pcch); local
462 RTUNICP uc = rtCrX509CanNameGetNextCpIgnoreNul(ppsz, pcch); local
[all...]
/vbox/src/VBox/HostServices/SharedFolders/testcase/
H A DtstShflCase.cpp294 char uc = *temp; local
296 if (uc == '*' || uc == '?' || uc == '>' || uc == '<' || uc == '"')
/vbox/src/VBox/Frontends/VirtualBox/src/
H A Dmain.cpp142 ucontext_t *uc = (ucontext_t *)secret; local
147 sig, info->si_addr, uc->uc_mcontext.gregs[REG_PC]));
153 trace[1] = (void *) uc->uc_mcontext.gregs [REG_PC];
/vbox/src/VBox/Runtime/common/checksum/
H A Dmanifest2.cpp882 RTUNICP uc;
883 rc = RTStrGetCpEx(&pszCur, &uc);
886 if (!uc)
888 if (uc == '\\')
890 else if (uc < 32 || uc == ':' || uc == '(' || uc == ')')
/vbox/src/VBox/Runtime/common/asn1/
H A Dasn1-ut-string.cpp1006 RTUNICP uc; local
1007 rc = rtIso2022Decoder_GetNextUniCp(&Decoder, &uc);
1009 cchUtf8 += RTStrCpSize(uc);
1037 RTUNICP uc; local
1038 rc = rtIso2022Decoder_GetNextUniCp(&Decoder, &uc);
1041 if (uc < 0x80 && cbDst > 1)
1043 *pszDst++ = (char)uc;
1048 size_t cchUniCp = RTStrCpSize(uc);
1052 pszDst = RTStrPutCp(pszDst, uc);
1326 RTUNICP uc local
1348 RTUNICP uc = RT_MAKE_U32_FROM_U8(pb[1], pb[0], 0, 0); /* big endian */ local
1533 RTUNICP uc = RT_MAKE_U32_FROM_U8(pbSrc[3], pbSrc[2], pbSrc[1], pbSrc[0]); /* big endian */ local
1552 RTUNICP uc = RT_MAKE_U32_FROM_U8(pbSrc[1], pbSrc[0], 0, 0); /* big endian */ local
[all...]
/vbox/src/VBox/Devices/EFI/
H A DDevEFI.cpp961 RTUNICP uc; local
962 int rc = RTStrGetCpEx(&pachValue, &uc);
966 if (uc < 128 && !RT_C_IS_PRINT(uc))
1002 RTUNICP uc; local
1003 int rc = RTUtf16GetCpEx(&pwcCur, &uc);
1007 if (uc < 128 && !RT_C_IS_PRINT(uc))
1009 cAscii += uc < 128;
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/io/
H A Dprlog.c199 static const unsigned char uc[] = variable
227 while( (uc[*ua] == uc[*ub]) && ('\0' != *a) )
234 return (PRIntn)(uc[*ua] - uc[*ub]);

Completed in 101 milliseconds

12