Searched refs:pch (Results 1 - 25 of 56) sorted by relevance

123

/vbox/src/VBox/Runtime/r0drv/nt/
H A DRTLogWriteDebugger-r0drv-nt.cpp32 RTDECL(void) RTLogWriteDebugger(const char *pch, size_t cb) argument
34 if (pch[cb] != '\0')
36 DbgPrint("%s", pch);
/vbox/src/VBox/Runtime/r3/win/
H A DRTLogWriteDebugger-win.cpp37 RTDECL(void) RTLogWriteDebugger(const char *pch, size_t cb) argument
39 if (pch[cb] != '\0')
41 OutputDebugStringA(pch);
/vbox/src/VBox/Runtime/generic/
H A DRTLogWriteDebugger-generic.cpp35 RTDECL(void) RTLogWriteDebugger(const char *pch, size_t cb) argument
37 NOREF(pch);
H A DRTLogWriteStdErr-stub-generic.cpp35 RTDECL(void) RTLogWriteStdErr(const char *pch, size_t cb) argument
37 NOREF(pch);
H A DRTLogWriteStdOut-stub-generic.cpp35 RTDECL(void) RTLogWriteStdOut(const char *pch, size_t cb) argument
37 NOREF(pch);
H A DRTLogWriteUser-generic.cpp35 RTDECL(void) RTLogWriteUser(const char *pch, size_t cb) argument
37 NOREF(pch);
H A DRTLogWriteStdErr-generic.cpp35 RTDECL(void) RTLogWriteStdErr(const char *pch, size_t cb) argument
37 size_t cbWritten = fwrite(pch, 1, cb, stderr);
H A DRTLogWriteStdOut-generic.cpp36 RTDECL(void) RTLogWriteStdOut(const char *pch, size_t cb) argument
38 size_t cbWritten = fwrite(pch, 1, cb, stdout);
/vbox/src/VBox/Runtime/r0drv/darwin/
H A DRTLogWriteDebugger-r0drv-darwin.cpp36 RTDECL(void) RTLogWriteDebugger(const char *pch, size_t cb) argument
38 kprintf("%.*s", (int)cb, pch);
H A DRTLogWriteStdOut-r0drv-darwin.cpp36 RTDECL(void) RTLogWriteStdOut(const char *pch, size_t cb) argument
38 printf("%.*s", (int)cb, pch);
/vbox/src/VBox/Runtime/r0drv/haiku/
H A DRTLogWriteStdOut-r0drv-haiku.c36 RTDECL(void) RTLogWriteStdOut(const char *pch, size_t cb) argument
38 dprintf("%.*s", (int)cb, pch);
H A DRTLogWriteDebugger-r0drv-haiku.c36 RTDECL(void) RTLogWriteDebugger(const char *pch, size_t cb) argument
39 /*kprintf("%.*s", (int)cb, pch);*/
/vbox/src/VBox/Runtime/r0drv/linux/
H A DRTLogWriteDebugger-r0drv-linux.c36 RTDECL(void) RTLogWriteDebugger(const char *pch, size_t cb) argument
38 printk("%.*s", (int)cb, pch);
/vbox/src/VBox/Runtime/r0drv/os2/
H A Dassert-r0drv-os2.cpp87 char *pch = &g_szRTAssertMsg[cch]; local
88 cch += RTStrFormatV(rtR0Os2AssertOutputCB, &pch, NULL, NULL, pszFormat, va);
106 char *pch = *ppch; local
115 if (pch + 1 >= &g_szRTAssertMsg[sizeof(g_szRTAssertMsg)])
117 *pch++ = '\r';
119 if (pch + 1 >= &g_szRTAssertMsg[sizeof(g_szRTAssertMsg)])
121 *pch++ = ch;
123 *pch = '\0';
125 size_t cbWritten = pch - *ppch;
126 *ppch = pch;
[all...]
/vbox/src/VBox/Runtime/r0drv/solaris/
H A DRTLogWriteDebugger-r0drv-solaris.c44 RTDECL(void) RTLogWriteDebugger(const char *pch, size_t cb) argument
46 if (pch[cb] != '\0')
61 cmn_err(CE_CONT, pch);
/vbox/src/VBox/Storage/testcase/
H A DBuiltinTests.h28 const unsigned char *pch; member in struct:TSTVDIOTESTENTRY
/vbox/src/VBox/Additions/common/VBoxGuestLib/
H A DVBoxGuestR3LibLog.cpp40 * @param pch The string to log. Does not need to be terminated.
47 VBGLR3DECL(int) VbglR3WriteLog(const char *pch, size_t cch) argument
55 if (!VALID_PTR(pch))
62 void *pvTmp = RTMemDup(pch, cch);
85 rc = vbglR3DoIOCtl(VBOXGUEST_IOCTL_LOG(cbStep), (char *)pch + off, cbStep);
H A DVBoxGuestR3LibDaemonize.cpp94 char *pch = pPib->pib_pchcmd; local
95 size_t cch0 = strlen(pch);
96 pch += cch0 + 1;
97 size_t cch1 = strlen(pch);
98 pch += cch1 + 1;
100 if (cch1 && *pch)
102 do pch = strchr(pch, '\0') + 1;
103 while (*pch);
105 size_t cchTotal = pch
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/BsdSocketLib/
H A Dinet_pton.c132 const char *pch; local
134 if ((pch = strchr(digits, ch)) != NULL) {
135 u_int new = *tp * 10 + (u_int)(pch - digits);
197 const char *pch; local
199 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL)
200 pch = strchr((xdigits = xdigits_u), ch);
201 if (pch != NULL) {
203 val |= (pch - xdigits);
/vbox/src/VBox/Runtime/VBox/
H A Dlogbackdoor.cpp79 RTDECL(void) RTLogWriteUser(const char *pch, size_t cb) argument
82 VbglR3WriteLog(pch, cb);
84 const uint8_t *pau8 = (const uint8_t *)pch;
/vbox/src/bldprogs/
H A Dscmstream.cpp41 pStream->pch = NULL;
74 pStream->pch = (char *)pvFile;
98 pStream->pch = (char *)RTMemAlloc(cbEstimate);
99 if (pStream->pch)
116 RTMemFree(pStream->pch);
117 pStream->pch = NULL;
131 if (pStream->pch)
134 RTFileReadAllFree(pStream->pch, pStream->cbAllocated);
136 RTMemFree(pStream->pch);
137 pStream->pch
407 const char *pch = (const char *)memchr(pchRet, '\\n', cb); local
[all...]
/vbox/src/VBox/Main/glue/xpcom/
H A Dhelpers.cpp79 * @param pch pointer to the source string
83 BSTR SysAllocStringLen(const OLECHAR *pch, unsigned int cch) argument
97 if (pch)
99 memcpy(newBuffer, pch, bufferSize);
/vbox/include/VBox/
H A Dhgcmsvc.h197 char *pch = NULL; local
198 int rc = getBuffer((void **)&pch, &cb);
205 rc = RTStrValidateEncodingEx(pch, cb,
207 *ppch = pch;
215 char *pch = NULL; local
216 int rc = getString(&pch, pcb);
217 *ppch = pch;
/vbox/src/VBox/Runtime/testcase/
H A DtstMemAutoPtr.cpp147 char *pch = Alloc.release(); local
148 CHECK_EXPR(pch != NULL);
151 RTCMemAutoPtr<char> Manage(pch);
152 CHECK_EXPR(Manage.get() == pch);
153 CHECK_EXPR(&Manage[0] == pch);
154 CHECK_EXPR(&Manage[1] == &pch[1]);
155 CHECK_EXPR(&Manage[9] == &pch[9]);
/vbox/src/VBox/Runtime/common/asn1/
H A Dasn1-dump.cpp115 else if (pAsn1Core->cb > 0 && pAsn1Core->cb < 32 && pAsn1Core->uData.pch)
116 rtAsn1DumpPrintf(pData, "%s '%.*s'\n", pszType, (size_t)pAsn1Core->cb, pAsn1Core->uData.pch);
136 const char *pch = pAsn1Core->uData.pch; local
147 if (cch == 0 || !pch)
161 const char *pchStart = pch;
163 && (uint8_t)*pch >= 0x20
164 && (!fUtf8 ? (uint8_t)*pch < 0x7f : (uint8_t)*pch != 0x7f)
165 && *pch !
[all...]

Completed in 114 milliseconds

123