Home
last modified time | relevance | path

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

/external/chromium_org/third_party/libjingle/source/talk/base/
Dbytebuffer.cc42 Construct(NULL, DEFAULT_SIZE, ORDER_NETWORK); in ByteBuffer()
50 Construct(bytes, len, ORDER_NETWORK); in ByteBuffer()
58 Construct(bytes, strlen(bytes), ORDER_NETWORK); in ByteBuffer()
94 *val = (byte_order_ == ORDER_NETWORK) ? NetworkToHost16(v) : v; in ReadUInt16()
104 if (byte_order_ == ORDER_NETWORK || IsHostBigEndian()) { in ReadUInt24()
111 *val = (byte_order_ == ORDER_NETWORK) ? NetworkToHost32(v) : v; in ReadUInt24()
123 *val = (byte_order_ == ORDER_NETWORK) ? NetworkToHost32(v) : v; in ReadUInt32()
135 *val = (byte_order_ == ORDER_NETWORK) ? NetworkToHost64(v) : v; in ReadUInt64()
167 uint16 v = (byte_order_ == ORDER_NETWORK) ? HostToNetwork16(val) : val; in WriteUInt16()
172 uint32 v = (byte_order_ == ORDER_NETWORK) ? HostToNetwork32(val) : val; in WriteUInt24()
[all …]
Dbytebuffer.h42 ORDER_NETWORK = 0, // Default, use network byte order (big endian). enumerator
Dbytebuffer_unittest.cc133 ByteBuffer::ORDER_NETWORK }; in TEST()
/external/chromium_org/third_party/libjingle/source/talk/media/sctp/
Dsctputils.cc163 talk_base::ByteBuffer::ORDER_NETWORK); in WriteDataChannelOpenMessage()
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dpseudotcp.cc1182 talk_base::ByteBuffer buf(talk_base::ByteBuffer::ORDER_NETWORK); in queueConnectMessage()