Home
last modified time | relevance | path

Searched refs:preBuffer (Results 1 – 25 of 61) sorted by relevance

123

/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/Sockets/
H A D_TransmitFileOverlappedAsyncResult.cs49 …internal void SetUnmanagedStructures(byte[] preBuffer, byte[] postBuffer, FileStream fileStream, T… in SetUnmanagedStructures() argument
62 if (preBuffer != null && preBuffer.Length>0) in SetUnmanagedStructures()
78 if (preBuffer != null && preBuffer.Length>0) { in SetUnmanagedStructures()
79 m_buffers.preBufferLength = preBuffer.Length; in SetUnmanagedStructures()
80 objectsToPin[--buffsNumber] = preBuffer; in SetUnmanagedStructures()
97 if (preBuffer != null && preBuffer.Length > 0) in SetUnmanagedStructures()
99 m_buffers.preBuffer = Marshal.UnsafeAddrOfPinnedArrayElement(preBuffer, 0); in SetUnmanagedStructures()
114 …internal void SetUnmanagedStructures(byte[] preBuffer, byte[] postBuffer, FileStream fileStream, T… in SetUnmanagedStructures() argument
117 SetUnmanagedStructures(preBuffer, postBuffer, fileStream, flags, false); in SetUnmanagedStructures()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Sockets/src/System/Net/Sockets/
H A DTransmitFileAsyncResult.Windows.cs19 …internal void SetUnmanagedStructures(FileStream fileStream, byte[] preBuffer, byte[] postBuffer, b… in SetUnmanagedStructures() argument
26 if (preBuffer != null && preBuffer.Length > 0) in SetUnmanagedStructures()
37 if (preBuffer != null && preBuffer.Length > 0) in SetUnmanagedStructures()
39 objectsToPin[--buffsNumber] = preBuffer; in SetUnmanagedStructures()
H A DSocket.Unix.cs126 …private void SendFileInternal(string fileName, byte[] preBuffer, byte[] postBuffer, TransmitFileOp… in SendFileInternal() argument
139 if (preBuffer != null && preBuffer.Length > 0) in SendFileInternal()
141 Send(preBuffer); in SendFileInternal()
165 …private async Task SendFileInternalAsync(FileStream fileStream, byte[] preBuffer, byte[] postBuffe… in SendFileInternalAsync() argument
172 if (preBuffer != null && preBuffer.Length > 0) in SendFileInternalAsync()
175 … await this.SendAsync(new ArraySegment<byte>(preBuffer), SocketFlags.None).ConfigureAwait(false); in SendFileInternalAsync()
204 …private IAsyncResult BeginSendFileInternal(string fileName, byte[] preBuffer, byte[] postBuffer, T… in BeginSendFileInternal() argument
212 … return TaskToApm.Begin(SendFileInternalAsync(fileStream, preBuffer, postBuffer), callback, state); in BeginSendFileInternal()
H A DSocket.Windows.cs209 …private void SendFileInternal(string fileName, byte[] preBuffer, byte[] postBuffer, TransmitFileOp… in SendFileInternal() argument
220 errorCode = SocketPal.SendFile(_handle, fileHandle, preBuffer, postBuffer, flags); in SendFileInternal()
237 …private IAsyncResult BeginSendFileInternal(string fileName, byte[] preBuffer, byte[] postBuffer, T… in BeginSendFileInternal() argument
244 …SocketError errorCode = SocketPal.SendFileAsync(_handle, fileStream, preBuffer, postBuffer, flags,… in BeginSendFileInternal()
H A DSocketPal.Windows.cs193 …rror SendFile(SafeCloseSocket handle, SafeFileHandle fileHandle, byte[] preBuffer, byte[] postBuff… in SendFile() argument
195 fixed (byte* prePinnedBuffer = preBuffer) in SendFile()
198 … bool success = TransmitFileHelper(handle, fileHandle, null, preBuffer, postBuffer, flags); in SendFile()
864 byte[] preBuffer, in TransmitFileHelper() argument
871 if (preBuffer != null && preBuffer.Length > 0) in TransmitFileHelper()
874 transmitFileBuffers.Head = Marshal.UnsafeAddrOfPinnedArrayElement(preBuffer, 0); in TransmitFileHelper()
875 transmitFileBuffers.HeadLength = preBuffer.Length; in TransmitFileHelper()
891 …ror SendFileAsync(SafeCloseSocket handle, FileStream fileStream, byte[] preBuffer, byte[] postBuff… in SendFileAsync() argument
893 …asyncResult.SetUnmanagedStructures(fileStream, preBuffer, postBuffer, (flags & (TransmitFileOption… in SendFileAsync()
900 preBuffer, in SendFileAsync()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Sockets/tests/FunctionalTests/
H A DSendFile.cs40 …private string CreateFileToSend(int size, bool sendPreAndPostBuffers, out byte[] preBuffer, out by… in CreateFileToSend() argument
48 preBuffer = null; in CreateFileToSend()
51 preBuffer = new byte[256]; in CreateFileToSend()
52 random.NextBytes(preBuffer); in CreateFileToSend()
53 checksum.Add(preBuffer, 0, preBuffer.Length); in CreateFileToSend()
117 byte[] preBuffer; in SendFile_Synchronous()
120 …string filename = CreateFileToSend(bytesToSend, sendPreAndPostBuffers, out preBuffer, out postBuff… in SendFile_Synchronous()
170 … client.SendFile(filename, preBuffer, postBuffer, TransmitFileOptions.UseDefaultWorkerThread); in SendFile_Synchronous()
191 byte[] preBuffer, postBuffer; in SendFile_APM()
193 …string filename = CreateFileToSend(bytesToSend, sendPreAndPostBuffers, out preBuffer, out postBuff… in SendFile_APM()
[all …]
/dports/textproc/teckit/teckit-2.5.7/source/teckitjni/src/
H A DteckitjniTest.cpp97 char preBuffer[2048]; in main() local
103 char * pb = preBuffer; in main()
112 inPointer = preBuffer; in main()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.debug/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/memory/renderings/
H A DTableRenderingContentInput.java42 …public TableRenderingContentInput(IMemoryRendering rendering, int preBuffer, int postBuffer, BigIn… in TableRenderingContentInput() argument
45 fPreBuffer = preBuffer; in TableRenderingContentInput()
81 public void setPreBuffer(int preBuffer) { in setPreBuffer() argument
82 fPreBuffer = preBuffer; in setPreBuffer()
H A DTableRenderingContentDescriptor.java62 public void setPreBuffer(int preBuffer) { in setPreBuffer() argument
63 fPreBuffer = preBuffer; in setPreBuffer()
H A DTableRenderingPreferencePage.java134 int preBuffer = fPreBufferSize.getIntValue(); in validatePageSize() local
146 if (preBuffer < 1 || postBuffer < 1) in validatePageSize()
/dports/games/scummvm/scummvm-2.5.1/engines/buried/environ/
H A Dscene_base.cpp43 int SceneBase::paint(Window *viewWindow, Graphics::Surface *preBuffer) { in paint() argument
56 _vm->_gfx->crossBlit(preBuffer, 0, 0, 432, 189, newFrame, 0, 0); in paint()
H A Dscene_base.h96 virtual int paint(Window *viewWindow, Graphics::Surface *preBuffer);
H A Dmayan.cpp113 int paint(Window *viewWindow, Graphics::Surface *preBuffer);
153 int AdjustWheels::paint(Window *viewWindow, Graphics::Surface *preBuffer) { in paint() argument
157 _vm->_gfx->crossBlit(preBuffer, 0, 0, 208, 189, leftFrame, 0, 0); in paint()
161 _vm->_gfx->crossBlit(preBuffer, 208, 0, 224, 189, rightFrame, 0, 0); in paint()
1766 int paint(Window *viewWindow, Graphics::Surface *preBuffer);
1810 int DeathGodPuzzleBox::paint(Window *viewWindow, Graphics::Surface *preBuffer) { in paint() argument
1811 SceneBase::paint(viewWindow, preBuffer); in paint()
1815 …_vm->_gfx->crossBlit(preBuffer, _clickableRegions[i].left, _clickableRegions[i].top, _clickableReg… in paint()
H A Dda_vinci.cpp1729 int paint(Window *viewWindow, Graphics::Surface *preBuffer);
1762 int AimBallistaAwayFromTower::paint(Window *viewWindow, Graphics::Surface *preBuffer) { in paint() argument
1763 SceneBase::paint(viewWindow, preBuffer); in paint()
1770 _vm->_gfx->crossBlit(preBuffer, 120, 51, 160, 56, frame, 0, 0); in paint()
2106 int paint(Window *viewWindow, Graphics::Surface *preBuffer);
2139 int AimBallistaToTower::paint(Window *viewWindow, Graphics::Surface *preBuffer) { in paint() argument
2140 SceneBase::paint(viewWindow, preBuffer); in paint()
2147 _vm->_gfx->crossBlit(preBuffer, 120, 51, 160, 56, frame, 0, 0); in paint()
/dports/devel/upp/upp/bazaar/plugin/gdal/frmts/grib/degrib18/degrib/
H A Dmyerror.c426 char *preBuffer = NULL; /* Stores the prepended message. */ in preErrSprintf() local
436 AllocSprintf (&preBuffer, &preBuff_len, fmt, ap); in preErrSprintf()
442 preBuffer = (char *) realloc ((void *) preBuffer, preBuff_len); in preErrSprintf()
444 strcat (preBuffer, errBuffer); in preErrSprintf()
448 errBuffer = preBuffer; in preErrSprintf()
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/frmts/grib/degrib/degrib/
H A Dmyerror.c426 char *preBuffer = NULL; /* Stores the prepended message. */ in preErrSprintf() local
436 AllocSprintf (&preBuffer, &preBuff_len, fmt, ap); in preErrSprintf()
442 preBuffer = (char *) realloc ((void *) preBuffer, preBuff_len); in preErrSprintf()
444 strcat (preBuffer, errBuffer); in preErrSprintf()
448 errBuffer = preBuffer; in preErrSprintf()
/dports/graphics/gdal/gdal-3.3.3/frmts/grib/degrib/degrib/
H A Dmyerror.c426 char *preBuffer = NULL; /* Stores the prepended message. */ in preErrSprintf() local
436 AllocSprintf (&preBuffer, &preBuff_len, fmt, ap); in preErrSprintf()
442 preBuffer = (char *) realloc ((void *) preBuffer, preBuff_len); in preErrSprintf()
444 strcat (preBuffer, errBuffer); in preErrSprintf()
448 errBuffer = preBuffer; in preErrSprintf()
/dports/graphics/py-gdal/gdal-3.3.3/frmts/grib/degrib/degrib/
H A Dmyerror.c426 char *preBuffer = NULL; /* Stores the prepended message. */ in preErrSprintf() local
436 AllocSprintf (&preBuffer, &preBuff_len, fmt, ap); in preErrSprintf()
442 preBuffer = (char *) realloc ((void *) preBuffer, preBuff_len); in preErrSprintf()
444 strcat (preBuffer, errBuffer); in preErrSprintf()
448 errBuffer = preBuffer; in preErrSprintf()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/ui/templates/
H A DAbstractTemplateSection.java576 StringBuilder preBuffer = new StringBuilder(); in getProcessedStream() local
590 StringBuilder buf = preprocessorMode ? preBuffer : outBuffer; in getProcessedStream()
599 preBuffer.delete(0, preBuffer.length()); in getProcessedStream()
611 String line = preBuffer.toString().trim(); in getProcessedStream()
615 preBuffer.append(c); in getProcessedStream()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/util/
H A DTemplateFileGenerator.java549 StringBuilder preBuffer = new StringBuilder(); in getProcessedStream() local
563 StringBuilder buf = preprocessorMode ? preBuffer : outBuffer; in getProcessedStream()
572 preBuffer.delete(0, preBuffer.length()); in getProcessedStream()
584 String line = preBuffer.toString().trim(); in getProcessedStream()
588 preBuffer.append(c); in getProcessedStream()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.core.filebuffers.tests/src/org/eclipse/core/filebuffers/tests/
H A DFileStoreFileBufferFunctions.java506 public IFileBuffer preBuffer, postBuffer; in test12_1() field in FileStoreFileBufferFunctions.Listener
512 preBuffer= buffer; in test12_1()
526 …assertTrue(listener.preCount == 0 && listener.postCount == 0 && listener.preBuffer == null && list… in test12_1()
538 assertTrue(listener.preBuffer == fileBuffer); in test12_1()
558 public IFileBuffer preBuffer, postBuffer; in test12_2() field in FileStoreFileBufferFunctions.Listener
564 preBuffer= buffer; in test12_2()
578 …assertTrue(listener.preCount == 0 && listener.postCount == 0 && listener.preBuffer == null && list… in test12_2()
587 assertTrue(listener.preBuffer == fileBuffer); in test12_2()
H A DFileBufferFunctions.java540 public IFileBuffer preBuffer, postBuffer; in test12_1() field in FileBufferFunctions.Listener
546 preBuffer= buffer; in test12_1()
560 …assertTrue(listener.preCount == 0 && listener.postCount == 0 && listener.preBuffer == null && list… in test12_1()
572 assertSame(fileBuffer, listener.preBuffer); in test12_1()
592 public IFileBuffer preBuffer, postBuffer; in test12_2() field in FileBufferFunctions.Listener
598 preBuffer= buffer; in test12_2()
612 …assertTrue(listener.preCount == 0 && listener.postCount == 0 && listener.preBuffer == null && list… in test12_2()
621 assertSame(fileBuffer, listener.preBuffer); in test12_2()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/net/System/Net/
H A D_OSSOCK.cs36 internal IntPtr preBuffer;// Pointer to Buffer field in System.Net.TransmitFileBuffers
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/objtools/readers/
H A Dbed_reader.cpp377 CLinePreBuffer& preBuffer, in xDetermineLikelyColumnCount() argument
399 preBuffer.FillBuffer(MIN_SAMPLE_SIZE); in xDetermineLikelyColumnCount()
404 for (LineIt lineIt = preBuffer.begin(); lineIt != preBuffer.end(); ++lineIt) { in xDetermineLikelyColumnCount()
407 if (preBuffer.IsCommentLine(line)) { in xDetermineLikelyColumnCount()
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/objtools/readers/
H A Dbed_reader.cpp377 CLinePreBuffer& preBuffer, in xDetermineLikelyColumnCount() argument
399 preBuffer.FillBuffer(MIN_SAMPLE_SIZE); in xDetermineLikelyColumnCount()
404 for (LineIt lineIt = preBuffer.begin(); lineIt != preBuffer.end(); ++lineIt) { in xDetermineLikelyColumnCount()
407 if (preBuffer.IsCommentLine(line)) { in xDetermineLikelyColumnCount()

123