Home
last modified time | relevance | path

Searched refs:receiveBuffer (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/system/impl/
DCoreImplTest.java131 ByteBuffer receiveBuffer = ByteBuffer.allocateDirect(bytes.length); in checkSendingData() local
132 readResult = out.readData(receiveBuffer, DataPipe.ReadFlags.NONE); in checkSendingData()
135 Assert.assertEquals(0, receiveBuffer.position()); in checkSendingData()
136 Assert.assertEquals(bytes.length, receiveBuffer.limit()); in checkSendingData()
138 receiveBuffer.get(receivedBytes); in checkSendingData()
326 ByteBuffer receiveBuffer = in testDataPipeTwoPhaseSend() local
328 Assert.assertEquals(0, receiveBuffer.position()); in testDataPipeTwoPhaseSend()
329 Assert.assertEquals(bytes.length, receiveBuffer.limit()); in testDataPipeTwoPhaseSend()
331 receiveBuffer.get(receivedBytes); in testDataPipeTwoPhaseSend()
362 ByteBuffer receiveBuffer = ByteBuffer.allocateDirect(bytes.length - nbBytesToDiscard); in testDataPipeDiscard() local
[all …]
/external/swiftshader/src/Main/
DSwiftConfig.cpp56 receiveBuffer = 0; in SwiftConfig()
72 receiveBuffer = new char[bufferLength]; in createServer()
84 if(receiveBuffer) in destroyServer()
95 delete[] receiveBuffer; in destroyServer()
96 receiveBuffer = 0; in destroyServer()
141 bytesReceived = clientSocket->receive(receiveBuffer, bufferLength); in serverLoop()
145 receiveBuffer[bytesReceived] = 0; in serverLoop()
147 respond(clientSocket, receiveBuffer); in serverLoop()
200 int bytesReceived = clientSocket->receive(receiveBuffer, bufferLength); in respond()
204 receiveBuffer[bytesReceived] = 0; in respond()
[all …]
DSwiftConfig.hpp112 char *receiveBuffer; member in sw::SwiftConfig
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedStream.java316 private final Buffer receiveBuffer = new Buffer(); field in FramedStream.FramedDataSource
409 long read = in.read(receiveBuffer, byteCount); in receive()
416 readBuffer.writeAll(receiveBuffer); in receive()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DFramedStream.java318 private final Buffer receiveBuffer = new Buffer(); field in FramedStream.FramedDataSource
411 long read = in.read(receiveBuffer, byteCount); in receive()
418 readBuffer.writeAll(receiveBuffer); in receive()