OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kPacketLenSize
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/third_party/libjingle/source/talk/base/
asynctcpsocket.cc
45
static const size_t
kPacketLenSize
= sizeof(PacketLength);
47
static const size_t kBufSize = kMaxPacketSize +
kPacketLenSize
;
277
AppendToOutBuffer(&pkt_len,
kPacketLenSize
);
295
if (*len <
kPacketLenSize
)
299
if (*len <
kPacketLenSize
+ pkt_len)
302
SignalReadPacket(this, data +
kPacketLenSize
, pkt_len, remote_addr,
305
*len -=
kPacketLenSize
+ pkt_len;
307
memmove(data, data +
kPacketLenSize
+ pkt_len, *len);
/external/chromium_org/third_party/webrtc/base/
asynctcpsocket.cc
28
static const size_t
kPacketLenSize
= sizeof(PacketLength);
30
static const size_t kBufSize = kMaxPacketSize +
kPacketLenSize
;
260
AppendToOutBuffer(&pkt_len,
kPacketLenSize
);
278
if (*len <
kPacketLenSize
)
282
if (*len <
kPacketLenSize
+ pkt_len)
285
SignalReadPacket(this, data +
kPacketLenSize
, pkt_len, remote_addr,
288
*len -=
kPacketLenSize
+ pkt_len;
290
memmove(data, data +
kPacketLenSize
+ pkt_len, *len);
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
asyncstuntcpsocket.cc
41
static const size_t
kPacketLenSize
= sizeof(PacketLength);
70
if (cb > kBufSize || cb <
kPacketLenSize
+ kPacketLenOffset) {
117
if (*len < kPacketLenOffset +
kPacketLenSize
)
Completed in 3276 milliseconds