Searched refs:mBuffer (Results 1 - 21 of 21) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/RawIp4Rx/
H A DRawIp4Rx.c17 UINT8 mBuffer[65536]; variable
104 &mBuffer[0],
105 sizeof ( mBuffer ),
123 mBuffer[0],
124 mBuffer[1],
125 mBuffer[2],
126 mBuffer[3],
127 mBuffer[4],
128 mBuffer[5],
129 mBuffer[
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/SetHostName/
H A DSetHostName.c25 char mBuffer[65536]; variable
82 AppStatus = gethostname ( &mBuffer[0], sizeof ( mBuffer ));
87 if ( 0 == mBuffer[0]) {
91 Print ( L"Host name: %a", &mBuffer[0]);
/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsUnicharBuffer.cpp45 : mBuffer(NULL), mSpace(0), mLength(0)
73 mBuffer = new PRUnichar[aBufferSize];
74 return mBuffer ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
81 if (nsnull != mBuffer) {
82 delete[] mBuffer;
83 mBuffer = nsnull;
103 return mBuffer;
115 memcpy(newbuf, mBuffer, mLength * sizeof(PRUnichar));
117 delete[] mBuffer;
118 mBuffer
[all...]
H A DnsByteBuffer.cpp46 : mBuffer(NULL), mSpace(0), mLength(0)
58 mBuffer = new char[aBufferSize];
59 return mBuffer ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
66 if (nsnull != mBuffer) {
67 delete[] mBuffer;
68 mBuffer = nsnull;
104 return mBuffer;
116 memcpy(newbuf, mBuffer, mLength);
118 delete[] mBuffer;
119 mBuffer
[all...]
H A DnsByteBuffer.h60 char* mBuffer; member in class:ByteBufferImpl
H A DnsUnicharBuffer.h57 PRUnichar* mBuffer; member in class:UnicharBufferImpl
H A DnsDeque.cpp86 mData=mBuffer; // don't allocate space until you must
87 mCapacity=sizeof(mBuffer)/sizeof(mBuffer[0]);
88 memset(mData, 0, mCapacity*sizeof(mBuffer[0]));
120 if (mData && (mData!=mBuffer)) {
201 if (mData != mBuffer) {
H A DnsDeque.h216 void* mBuffer[8]; member in class:nsDeque
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/RawIp4Tx/
H A DRawIp4Tx.c17 UINT8 mBuffer[1024]; variable
111 memset ( &mBuffer[0], 0, sizeof ( mBuffer ));
120 &mBuffer[BytesSent],
121 sizeof ( mBuffer ) - BytesSent,
132 } while ( sizeof ( mBuffer ) > BytesSent );
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/OobTx/
H A DOobTx.c17 UINT8 mBuffer[8192]; variable
145 memset ( &mBuffer[0], 0, sizeof ( mBuffer ));
156 &mBuffer[BytesSent],
157 sizeof ( mBuffer ) - BytesSent,
166 } while ( sizeof ( mBuffer ) > BytesSent );
206 &mBuffer[BytesSent],
207 sizeof ( mBuffer ) - BytesSent,
216 } while ( sizeof ( mBuffer ) > BytesSent );
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/RecvDgram/
H A DRecvDgram.c28 UINT8 mBuffer[ 65536 ]; variable
78 &mBuffer[0],
79 sizeof ( mBuffer[0]),
/vbox/src/libs/xpcom18a4/xpcom/string/public/
H A DnsUTF8Utils.h74 : mStart(aBuffer), mBuffer(aBuffer), mErrorEncountered(PR_FALSE) {}
76 size_t Length() const { return mBuffer - mStart; }
87 buffer_type* out = mBuffer;
136 mBuffer = out;
153 mBuffer = out;
193 mBuffer = out;
199 *mBuffer = buffer_type(0);
204 buffer_type* mBuffer; member in class:ConvertUTF8toUTF16
292 : mStart(aBuffer), mBuffer(aBuffer) {}
294 size_t Size() const { return mBuffer
370 buffer_type* mBuffer; member in class:ConvertUTF16toUTF8
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/OobRx/
H A DOobRx.c17 UINT8 mBuffer[65536]; variable
153 BytesReceived = recv ( a, &mBuffer[0], sizeof ( mBuffer ), MSG_OOB );
186 BytesReceived = recv ( a, &mBuffer[0], sizeof ( mBuffer ), 0 );
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/GetServByName/
H A DGetServByName.c26 char mBuffer[65536]; variable
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/GetHostByDns/
H A DGetHostByDns.c28 char mBuffer[65536]; variable
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/GetNetByName/
H A DGetNetByName.c26 char mBuffer[65536]; variable
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/GetServByPort/
H A DGetServByPort.c27 char mBuffer[65536]; variable
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/SetSockOpt/
H A DSetSockOpt.c65 UINT8 mBuffer[ 65536 ]; variable
105 Value.u8 = &mBuffer[0];
309 LengthInBytes = sizeof ( mBuffer );
313 &mBuffer,
347 &mBuffer,
/vbox/src/VBox/Devices/EFI/Firmware/AppPkg/Applications/Sockets/GetHostByName/
H A DGetHostByName.c26 char mBuffer[65536]; variable
/vbox/src/libs/xpcom18a4/xpcom/io/
H A DnsPipe3.cpp258 nsSegmentedBuffer mBuffer; member in class:nsPipe
273 // +-----------------+ - - mBuffer.GetSegment(0)
291 // +-----------------+ - - mBuffer.GetSegment(mWriteSegment)
355 nsresult rv = mBuffer.Init(segmentSize, segmentSize * segmentCount, segmentAlloc);
382 NS_ASSERTION(!mReadCursor || mBuffer.GetSegmentCount(), "unexpected state");
387 PRUint32 numSegments = mBuffer.GetSegmentCount();
391 cursor = mBuffer.GetSegment(index);
395 limit = cursor + mBuffer.GetSegmentSize();
423 NS_ASSERTION(bytesRead <= mBuffer.GetSegmentSize(), "read too much");
445 mBuffer
[all...]
H A DnsLocalFileMac.cpp124 return nsCRT::strtok(mBuffer, ":", &mNewString);
138 char *mBuffer, *mNewString; member in class:nsPathParser
147 mBuffer = mAllocatedBuffer;
150 mBuffer = mAutoBuffer;
152 // copy inPath into mBuffer
161 memcpy(mBuffer + offset, buf, size);
164 mBuffer[offset] = '\0';

Completed in 941 milliseconds