Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Dbytebuffer.cc26 Construct(NULL, DEFAULT_SIZE, ORDER_NETWORK); in ByteBuffer()
34 Construct(bytes, len, ORDER_NETWORK); in ByteBuffer()
42 Construct(bytes, strlen(bytes), ORDER_NETWORK); in ByteBuffer()
46 Construct(buf.data<char>(), buf.size(), ORDER_NETWORK); in ByteBuffer()
82 *val = (byte_order_ == ORDER_NETWORK) ? NetworkToHost16(v) : v; in ReadUInt16()
92 if (byte_order_ == ORDER_NETWORK || IsHostBigEndian()) { in ReadUInt24()
99 *val = (byte_order_ == ORDER_NETWORK) ? NetworkToHost32(v) : v; in ReadUInt24()
111 *val = (byte_order_ == ORDER_NETWORK) ? NetworkToHost32(v) : v; in ReadUInt32()
123 *val = (byte_order_ == ORDER_NETWORK) ? NetworkToHost64(v) : v; in ReadUInt64()
155 uint16_t v = (byte_order_ == ORDER_NETWORK) ? HostToNetwork16(val) : val; in WriteUInt16()
[all …]
Dbytebuffer.h26 ORDER_NETWORK = 0, // Default, use network byte order (big endian). enumerator
Dbytebuffer_unittest.cc117 ByteBuffer::ORDER_NETWORK }; in TEST()
/external/webrtc/talk/app/webrtc/
Dsctputils.cc187 rtc::ByteBuffer::ORDER_NETWORK); in WriteDataChannelOpenMessage()
201 rtc::ByteBuffer buffer(rtc::ByteBuffer::ORDER_NETWORK); in WriteDataChannelOpenAckMessage()
/external/webrtc/webrtc/p2p/base/
Dpseudotcp.cc1171 rtc::ByteBuffer buf(rtc::ByteBuffer::ORDER_NETWORK); in queueConnectMessage()