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()
877 uint32_t size = htonl(static_cast<uint32_t>(mOffset - mMdatOffset)); in reset()1160 int32_t x = htonl(mMoovBoxBufferOffset - offset); in endBox()1180 x = htonl(x); in writeInt32()1411 mStscTableEntries->add(htonl(chunkId)); in addOneStscTableEntry()1412 mStscTableEntries->add(htonl(sampleId)); in addOneStscTableEntry()1413 mStscTableEntries->add(htonl(1)); in addOneStscTableEntry()1417 mStssTableEntries->add(htonl(sampleId)); in addOneStssTableEntry()1426 mSttsTableEntries->add(htonl(sampleCount)); in addOneSttsTableEntry()1427 mSttsTableEntries->add(htonl(duration)); in addOneSttsTableEntry()1436 mCttsTableEntries->add(htonl(sampleCount)); in addOneCttsTableEntry()[all …]
752 uint32_t crc = htonl(crc32(&buffer->data()[5], 12)); in writeProgramAssociationTable()828 uint32_t crc = htonl(crc32(&buffer->data()[5], 12+mSources.size()*5)); in writeProgramMap()
70 return ((uint64_t)htonl(x & 0xffffffff) << 32) | htonl(x >> 32); in hton64()
287 static_cast<int32_t>(htonl(mDtmfMagic | mSequence)), in encode()288 static_cast<int32_t>(htonl(mDtmfStart)), in encode()290 static_cast<int32_t>(htonl(mDtmfEvent | duration)), in encode()293 buffer[3] |= htonl(1 << 23); in encode()348 buffer[0] = htonl(mCodecMagic | mSequence); in encode()349 buffer[1] = htonl(mTimestamp); in encode()
78 expectedSize = htonl(expectedSize); in parsePssh()
581 pixel = htonl((uint32_t) round((((1 << attrib->c1Size) - 1) * color.c1())) in hwcTestColor2Pixel()584 pixel |= htonl((uint32_t) round((((1 << attrib->c2Size) - 1) * color.c2())) in hwcTestColor2Pixel()587 pixel |= htonl((uint32_t) round((((1 << attrib->c3Size) - 1) * color.c3())) in hwcTestColor2Pixel()591 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)
481 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()
169 *as_in_addr(&ifr4.ifr_netmask) = htonl(mask); in set_addresses()
128 addr.sin_addr.s_addr = htonl(INADDR_ANY); in MakePortPair()
169 addr.s_addr = htonl(mServerIP); in issueAnnounce()
54 #undef htonl58 #define htonl(x) ntohl(x) macro63 #define htonl(x) (x)150 xDivs[i] = htonl(xDivs[i]); in deviceToFile()154 yDivs[i] = htonl(yDivs[i]); in deviceToFile()156 paddingLeft = htonl(paddingLeft); in deviceToFile()157 paddingRight = htonl(paddingRight); in deviceToFile()158 paddingTop = htonl(paddingTop); in deviceToFile()159 paddingBottom = htonl(paddingBottom); in deviceToFile()162 colors[i] = htonl(colors[i]); in deviceToFile()
490 uint32_t chunk_size_no = htonl(size); in send_tarfile_chunk()
1056 addr.sin_addr.s_addr = htonl(INADDR_ANY); in createClientOrServer()