Searched refs:aBuf (Results 1 - 25 of 27) sorted by relevance

12

/vbox/src/libs/xpcom18a4/xpcom/glue/standalone/
H A DnsXPCOMGlue.cpp302 NS_StringGetData(const nsAString &aStr, const PRUnichar **aBuf, PRBool *aTerm) argument
305 *aBuf = nsnull;
308 return xpcomFunctions.stringGetData(aStr, aBuf, aTerm);
320 NS_StringSetData(nsAString &aStr, const PRUnichar *aBuf, PRUint32 aCount) argument
325 return xpcomFunctions.stringSetData(aStr, aBuf, aCount);
330 const PRUnichar *aBuf, PRUint32 aCount)
334 return xpcomFunctions.stringSetDataRange(aStr, aCutStart, aCutLength, aBuf, aCount);
362 NS_CStringGetData(const nsACString &aStr, const char **aBuf, PRBool *aTerm) argument
365 *aBuf = nsnull;
368 return xpcomFunctions.cstringGetData(aStr, aBuf, aTer
329 NS_StringSetDataRange(nsAString &aStr, PRUint32 aCutStart, PRUint32 aCutLength, const PRUnichar *aBuf, PRUint32 aCount) argument
380 NS_CStringSetData(nsACString &aStr, const char *aBuf, PRUint32 aCount) argument
388 NS_CStringSetDataRange(nsACString &aStr, PRUint32 aCutStart, PRUint32 aCutLength, const char *aBuf, PRUint32 aCount) argument
[all...]
/vbox/src/libs/xpcom18a4/xpcom/io/
H A DnsIInputStream.idl98 * @param aBuf the buffer into which the data is to be read
108 [noscript] unsigned long read(in charPtr aBuf, in unsigned long aCount);
H A DnsIOutputStream.idl104 * @param aBuf the buffer containing the data to be written
113 unsigned long write(in string aBuf, in unsigned long aCount);
H A DnsBinaryStream.h82 nsresult WriteFully(const char *aBuf, PRUint32 aCount);
H A DnsIUnicharInputStream.h64 NS_IMETHOD Read(PRUnichar* aBuf,
H A DnsUnicharInputStream.cpp59 NS_IMETHOD Read(PRUnichar* aBuf,
90 StringUnicharInputStream::Read(PRUnichar* aBuf, argument
104 memcpy(aBuf, us + mPos, sizeof(PRUnichar) * amount);
179 NS_IMETHOD Read(PRUnichar* aBuf,
194 static void CountValidUTF8Bytes(const char *aBuf, PRUint32 aMaxBytes, PRUint32& aValidUTF8bytes, PRUint32& aValidUCS2bytes);
245 nsresult UTF8InputStream::Read(PRUnichar* aBuf, argument
263 memcpy(aBuf, mUnicharData->GetBuffer() + mUnicharDataOffset,
H A DnsStringStream.cpp205 NS_IMETHODIMP nsStringInputStream::Read(char* aBuf, PRUint32 aCount, argument
208 NS_PRECONDITION(aBuf != nsnull, "null ptr");
209 if (!aBuf)
224 memcpy(aBuf, mConstString + mOffset, bytesRead);
H A DnsMultiplexInputStream.cpp186 nsMultiplexInputStream::Read(char * aBuf, PRUint32 aCount, PRUint32 *_retval) argument
197 rv = stream->Read(aBuf, aCount, &read);
215 aBuf += read;
H A DnsBinaryStream.cpp70 nsBinaryOutputStream::Write(const char *aBuf, PRUint32 aCount, PRUint32 *aActualBytes) argument
72 return mOutputStream->Write(aBuf, aCount, aActualBytes);
96 nsBinaryOutputStream::WriteFully(const char *aBuf, PRUint32 aCount) argument
101 rv = mOutputStream->Write(aBuf, aCount, &bytesWritten);
/vbox/src/VBox/Devices/Storage/
H A DDevAHCI.cpp3258 uint8_t aBuf[8]; local
3260 ataH2BE_U32(aBuf, pAhciPort->cTotalSectors - 1);
3261 ataH2BE_U32(aBuf + 4, 2048);
3264 *pcbData = ahciCopyToPrdtl(pAhciPort->pDevInsR3, pAhciReq, (void *)&aBuf[0],
3265 RT_MIN(cbData, sizeof(aBuf)));
3274 uint8_t aBuf[34]; local
3276 memset(aBuf, '\0', 34);
3277 ataH2BE_U16(aBuf, 32);
3278 aBuf[2] = (0 << 4) | (3 << 2) | (2 << 0); /* not erasable, complete session, complete disc */
3279 aBuf[
3302 uint8_t aBuf[36]; local
3449 uint8_t aBuf[80]; local
3592 uint8_t aBuf[36]; local
3617 uint8_t aBuf[16]; local
3647 uint8_t aBuf[40]; local
3709 uint8_t aBuf[8]; local
3730 uint8_t aBuf[20], *q, iStartTrack; local
3793 uint8_t aBuf[12]; local
3827 uint8_t aBuf[50]; /* Counted a maximum of 45 bytes but better be on the safe side. */ local
4169 uint8_t aBuf[25]; /* Counted a maximum of 20 bytes but better be on the safe side. */ local
6381 uint8_t aBuf[512]; local
[all...]
/vbox/src/VBox/HostDrivers/VBoxUSB/win/cmn/
H A DVBoxUsbTool.cpp139 char aBuf[MAXIMUM_USB_STRING_LENGTH]; local
140 AssertCompile(sizeof (aBuf) <= UINT8_MAX);
141 UCHAR cbBuf = (UCHAR)sizeof (aBuf);
142 PUSB_STRING_DESCRIPTOR pDr = (PUSB_STRING_DESCRIPTOR)&aBuf;
185 char aBuf[MAXIMUM_USB_STRING_LENGTH]; local
186 AssertCompile(sizeof (aBuf) <= UINT8_MAX);
187 UCHAR cbBuf = (UCHAR)sizeof (aBuf);
188 PUSB_STRING_DESCRIPTOR pDr = (PUSB_STRING_DESCRIPTOR)&aBuf;
/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsAtomTable.cpp360 AtomImpl::ToString(nsAString& aBuf) argument
362 CopyUTF8toUTF16(nsDependentCString(mString), aBuf); local
367 AtomImpl::ToUTF8String(nsACString& aBuf) argument
369 aBuf.Assign(mString);
421 nsStaticAtomWrapper::ToString(nsAString& aBuf) argument
427 CopyASCIItoUCS2(nsDependentCString(mStaticAtom->mString), aBuf);
432 nsStaticAtomWrapper::ToUTF8String(nsACString& aBuf) argument
434 aBuf.Assign(mStaticAtom->mString);
/vbox/src/libs/xpcom18a4/xpcom/obsolete/
H A DnsIFileStream.cpp81 NS_IMETHOD Read(char* aBuf, PRUint32 aCount, PRUint32 *aReadCount);
86 NS_IMETHOD Write(const char* aBuf, PRUint32 aCount, PRUint32 *aWriteCount);
361 NS_IMETHODIMP FileImpl::Read(char* aBuf, PRUint32 aCount, PRUint32 *aReadCount) argument
364 NS_PRECONDITION(aBuf != nsnull, "null ptr");
365 if (!aBuf)
374 PRInt32 bytesRead = PR_Read(mFileDesc, aBuf, aCount);
397 NS_IMETHODIMP FileImpl::Write(const char* aBuf, PRUint32 aCount, PRUint32 *aWriteCount) argument
400 NS_PRECONDITION(aBuf != nsnull, "null ptr");
409 std::cout.write(aBuf, aCount);
451 memcpy(mWriteCursor, (aBuf
[all...]
/vbox/include/iprt/cpp/
H A Dxml.h192 * @param aBuf Buffer to store read data to.
197 virtual int read (char *aBuf, int aLen) = 0;
210 * @param aBuf Buffer to write data from.
215 virtual int write (const char *aBuf, int aLen) = 0;
297 int read(char *aBuf, int aLen);
303 int write(const char *aBuf, int aLen);
329 MemoryBuf (const char *aBuf, size_t aLen, const char *aURI = NULL);
335 int read(char *aBuf, int aLen);
1006 static int ReadCallback(void *aCtxt, char *aBuf, int aLen);
1055 static int WriteCallback(void *aCtxt, const char *aBuf, in
[all...]
/vbox/src/VBox/Main/src-client/
H A DVideoRec.cpp129 ColorConvBGRA32Iter(unsigned aWidth, unsigned aHeight, uint8_t *aBuf) argument
131 LogFlow(("width = %d height=%d aBuf=%lx\n", aWidth, aHeight, aBuf));
134 mBuf = aBuf;
183 ColorConvBGR24Iter(unsigned aWidth, unsigned aHeight, uint8_t *aBuf) argument
187 mBuf = aBuf;
236 ColorConvBGR565Iter(unsigned aWidth, unsigned aHeight, uint8_t *aBuf) argument
240 mBuf = aBuf;
/vbox/src/VBox/Runtime/r3/
H A Dxml.cpp285 int File::read(char *aBuf, int aLen) argument
288 int vrc = RTFileRead(m->handle, aBuf, len, &len);
295 int File::write(const char *aBuf, int aLen) argument
298 int vrc = RTFileWrite(m->handle, aBuf, len, &len);
332 MemoryBuf::MemoryBuf(const char *aBuf, size_t aLen, const char *aURI /* = NULL */) argument
335 if (aBuf == NULL)
338 m->buf = aBuf;
370 int MemoryBuf::read(char *aBuf, int aLen) argument
376 memcpy(aBuf, m->buf + m->pos, len);
1883 int XmlFileParser::ReadCallback(void *aCtxt, char *aBuf, in argument
2010 WriteCallback(void *aCtxt, const char *aBuf, int aLen) argument
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/dbg/
H A DDumpD3DCaps9.cpp995 char aBuf[16*4]; local
1003 sprintf(aBuf, "0x%08x, 0x%08x, 0x%08x, 0x%08x,\n", dw1, dw2, dw3, dw4);
1004 Log(("%s", aBuf));
1014 sprintf(aBuf, "0x%08x, 0x%08x, 0x%08x\n", dw1, dw2, dw3);
1015 Log(("%s", aBuf));
1020 sprintf(aBuf, "0x%08x, 0x%08x\n", dw1, dw2);
1021 Log(("%s", aBuf));
1025 sprintf(aBuf, "0x%8x\n", dw1);
1026 Log(("%s", aBuf));
/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/
H A DVBoxDispMpLogger.cpp200 uint32_t cbCmd = RT_OFFSETOF(VBOXDISPIFESCAPE_DBGDUMPBUF, aBuf[cbBuf]);
209 memcpy(pCmd->aBuf, pvBuf, cbBuf);
/vbox/src/libs/xpcom18a4/java/src/
H A DnsFileStreams.cpp311 nsFileInputStream::Read(char* aBuf, PRUint32 aCount, PRUint32* aResult) argument
317 PRInt32 bytesRead = PR_Read(mFD, aBuf, aCount);
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/
H A DVBoxMPMisc.cpp1592 char aBuf[16*4];
1600 sprintf(aBuf, "0x%08x, 0x%08x, 0x%08x, 0x%08x,\n", dw1, dw2, dw3, dw4);
1601 LOGREL(("%s", aBuf));
1611 sprintf(aBuf, "0x%08x, 0x%08x, 0x%08x\n", dw1, dw2, dw3);
1612 LOGREL(("%s", aBuf));
1617 sprintf(aBuf, "0x%08x, 0x%08x\n", dw1, dw2);
1618 LOGREL(("%s", aBuf));
1622 sprintf(aBuf, "0x%8x\n", dw1);
1623 LOGREL(("%s", aBuf));
1641 if (cbBuffer < RT_OFFSETOF(VBOXDISPIFESCAPE_DBGDUMPBUF, aBuf[
[all...]
/vbox/src/VBox/ValidationKit/tests/additions/
H A DtdAddGuestCtrl.py330 aBuf = None):
340 self.aBuf = aBuf;
463 cbProcessed = 0, cbOffset = 0, aBuf = None):
467 self.aBuf = aBuf;
2645 tdTestResultFileReadWrite(fRc = True, aBuf = 'Microsoft Windows XP Professional', \
2650 tdTestResultFileReadWrite(fRc = True, aBuf = 'LINKS TO THIRD PARTY SITES', \
2689 if curRes.aBuf is not None \
2690 and bytes(curRes.aBuf) !
[all...]
/vbox/src/libs/xpcom18a4/xpcom/string/src/
H A DnsStringObsolete.cpp1123 nsString::ToCString( char* aBuf, PRUint32 aBufLength, PRUint32 aOffset ) const argument
1125 // because the old implementation checked aBuf
1126 if (!(aBuf && aBufLength > 0 && aOffset <= mLength))
1131 LossyConvertEncoding<PRUnichar, char> converter(aBuf);
1134 return aBuf;
/vbox/src/VBox/HostServices/SharedOpenGL/render/
H A Drenderspu_wgl.c315 char aBuf[4096]; local
322 rc = renderspuAtiQuirk_GetICDDriverList(aBuf, sizeof (aBuf), &cbResult);
329 for (pszVal = renderspuRegMultiSzCurVal(aBuf);
/vbox/src/VBox/GuestHost/OpenGL/state_tracker/
H A Ddump.cpp321 char aBuf[1024]; local
322 crDmpFormatRawArray(aBuf, sizeof (aBuf), pszElFormat, cbEl, pvVal, cVal);
323 crDmpStrF(pRec->pDumper, "(%u, %s)", idx, aBuf);
/vbox/src/VBox/Additions/WINNT/Graphics/Video/common/wddm/
H A DVBoxMPIf.h403 char aBuf[1]; member in struct:VBOXDISPIFESCAPE_DBGDUMPBUF

Completed in 134 milliseconds

12