Searched refs:htonl (Results 1 – 16 of 16) sorted by relevance
69 s->sin_addr.s_addr = htonl(p->readInt32()); in deserializeSockaddr()78 a[0] = htonl(p->readInt32()); in deserializeSockaddr()79 a[1] = htonl(p->readInt32()); in deserializeSockaddr()80 a[2] = htonl(p->readInt32()); in deserializeSockaddr()81 a[3] = htonl(p->readInt32()); in deserializeSockaddr()83 s->sin6_flowinfo = htonl(p->readInt32()); in deserializeSockaddr()84 s->sin6_scope_id = htonl(p->readInt32()); in deserializeSockaddr()
289 static_cast<int32_t>(htonl(mDtmfMagic | mSequence)), in encode()290 static_cast<int32_t>(htonl(mDtmfStart)), in encode()292 static_cast<int32_t>(htonl(mDtmfEvent | duration)), in encode()295 buffer[3] |= htonl(1 << 23); in encode()350 buffer[0] = htonl(mCodecMagic | mSequence); in encode()351 buffer[1] = htonl(mTimestamp); in encode()
1034 uint32_t size = htonl(static_cast<uint32_t>(mOffset - mMdatOffset)); in reset()1359 int32_t x = htonl(mMoovBoxBufferOffset - offset); in endBox()1379 x = htonl(x); in writeInt32()1723 mStscTableEntries->add(htonl(chunkId)); in addOneStscTableEntry()1724 mStscTableEntries->add(htonl(sampleId)); in addOneStscTableEntry()1725 mStscTableEntries->add(htonl(1)); in addOneStscTableEntry()1729 mStssTableEntries->add(htonl(sampleId)); in addOneStssTableEntry()1738 mSttsTableEntries->add(htonl(sampleCount)); in addOneSttsTableEntry()1739 mSttsTableEntries->add(htonl(duration)); in addOneSttsTableEntry()1748 mCttsTableEntries->add(htonl(sampleCount)); in addOneCttsTableEntry()[all …]
710 uint32_t crc = htonl(crc32(&buffer->data()[5], 12)); in writeProgramAssociationTable()786 uint32_t crc = htonl(crc32(&buffer->data()[5], 12+mSources.size()*5)); in writeProgramMap()
80 return ((uint64_t)htonl(x & 0xffffffff) << 32) | htonl(x >> 32); in hton64()
83 expectedSize = htonl(expectedSize); in parsePssh()
579 pixel = htonl((uint32_t) round((((1 << attrib->c1Size) - 1) * color.c1())) in hwcTestColor2Pixel()582 pixel |= htonl((uint32_t) round((((1 << attrib->c2Size) - 1) * color.c2())) in hwcTestColor2Pixel()585 pixel |= htonl((uint32_t) round((((1 << attrib->c3Size) - 1) * color.c3())) in hwcTestColor2Pixel()589 pixel |= htonl((uint32_t) round((((1 << attrib->aSize) - 1) * alpha)) in hwcTestColor2Pixel()
48 #define SERIALIZE_INT32(field_name) SERIALIZE_FIELD(field_name, int32_t, htonl)
482 mreq.imr_interface.s_addr = htonl(INADDR_ANY); in setupSocket_l()
700 uint32_t crc = htonl(crc32(crcDataStart, ptr - crcDataStart)); in packetize()815 crc = htonl(crc32(crcDataStart, ptr - crcDataStart)); in packetize()
170 *as_in_addr(&ifr4.ifr_netmask) = htonl(mask); in set_addresses()
128 addr.sin_addr.s_addr = htonl(INADDR_ANY); in MakePortPair()
172 addr.s_addr = htonl(mServerIP); in issueAnnounce()
54 #undef htonl56 #define htonl(x) ntohl(x) macro155 xDivs[i] = htonl(xDivs[i]); in deviceToFile()159 yDivs[i] = htonl(yDivs[i]); in deviceToFile()161 paddingLeft = htonl(paddingLeft); in deviceToFile()162 paddingRight = htonl(paddingRight); in deviceToFile()163 paddingTop = htonl(paddingTop); in deviceToFile()164 paddingBottom = htonl(paddingBottom); in deviceToFile()167 colors[i] = htonl(colors[i]); in deviceToFile()
476 uint32_t chunk_size_no = htonl(size); in send_tarfile_chunk()
1056 addr.sin_addr.s_addr = htonl(INADDR_ANY); in createClientOrServer()