Home
last modified time | relevance | path

Searched refs:onRead (Results 1 – 7 of 7) sorted by relevance

/external/skia/experimental/Networking/
DSkSockets.cpp82 int SkSocket::readPacket(void (*onRead)(int, const void*, size_t, DataType, in readPacket()
84 if (!fConnected || !fReady || NULL == onRead || NULL == context in readPacket()
154 onRead(i, NULL, 0, h.type, context); in readPacket()
162 onRead(i, data->data(), data->size(), h.type, context); in readPacket()
DSkSockets.h73 int readPacket(void (*onRead)(int cid, const void* data, size_t size,
/external/skqp/experimental/Networking/
DSkSockets.cpp82 int SkSocket::readPacket(void (*onRead)(int, const void*, size_t, DataType, in readPacket()
84 if (!fConnected || !fReady || NULL == onRead || NULL == context in readPacket()
154 onRead(i, NULL, 0, h.type, context); in readPacket()
162 onRead(i, data->data(), data->size(), h.type, context); in readPacket()
DSkSockets.h73 int readPacket(void (*onRead)(int cid, const void* data, size_t size,
/external/syzkaller/vendor/google.golang.org/grpc/transport/
Dflowcontrol.go219 func (f *inFlow) onRead(n uint32) uint32 { func
Dhttp2_server.go515 if w := s.fc.onRead(n); w > 0 {
589 if w := s.fc.onRead(size - uint32(len(f.Data()))); w > 0 {
Dhttp2_client.go804 if w := s.fc.onRead(n); w > 0 {
878 if w := s.fc.onRead(size - uint32(len(f.Data()))); w > 0 {