Searched refs:htonl (Results 1 – 12 of 12) sorted by relevance
54 return ((uint64_t)htonl(x & 0xffffffff) << 32) | htonl(x >> 32); in hton64()
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()
1129 uint32_t size = htonl(static_cast<uint32_t>(mOffset - mMdatOffset)); in reset()1378 tiffHdrOffset = htonl(tiffHdrOffset); in addSample_l()1522 int32_t x = htonl(mInMemoryCacheOffset - offset); in endBox()1542 x = htonl(x); in writeInt32()1930 mStscTableEntries->add(htonl(chunkId)); in addOneStscTableEntry()1931 mStscTableEntries->add(htonl(sampleId)); in addOneStscTableEntry()1932 mStscTableEntries->add(htonl(1)); in addOneStscTableEntry()1936 mStssTableEntries->add(htonl(sampleId)); in addOneStssTableEntry()1945 mSttsTableEntries->add(htonl(sampleCount)); in addOneSttsTableEntry()1946 mSttsTableEntries->add(htonl(duration)); in addOneSttsTableEntry()[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()
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()
92 expectedSize = htonl(expectedSize); in parsePssh()
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()
57 #undef htonl59 #define htonl(x) ntohl(x) macro157 xDivs[i] = htonl(xDivs[i]); in deviceToFile()161 yDivs[i] = htonl(yDivs[i]); in deviceToFile()163 paddingLeft = htonl(paddingLeft); in deviceToFile()164 paddingRight = htonl(paddingRight); in deviceToFile()165 paddingTop = htonl(paddingTop); in deviceToFile()166 paddingBottom = htonl(paddingBottom); in deviceToFile()169 colors[i] = htonl(colors[i]); in deviceToFile()
476 uint32_t chunk_size_no = htonl(size); in send_tarfile_chunk()