Searched refs:htonl (Results 1 – 17 of 17) 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()
287 htonl(mDtmfMagic | mSequence), in encode()288 htonl(mDtmfStart), in encode()290 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()
425 nak.id = htonl(kRetryNakID); in handleRetryRequest()467 nak.id = htonl(kRetryNakID); in handleRetryRequest()479 nak.id = htonl(kRetryNakID); in handleRetryRequest()491 nak.id = htonl(kRetryNakID); in handleRetryRequest()
73 *buf = htonl(val); in setEpoch()177 *reinterpret_cast<uint32_t*>(buf) = htonl(val); in writeU32()
98 mreq.imr_interface.s_addr = htonl(INADDR_ANY); in cleanupSocket()203 mreq.imr_interface.s_addr = htonl(INADDR_ANY); in setupSocket()750 req.magic_ = htonl(magic); in processGaps()
118 listen_addr_.sin_addr.s_addr = htonl(a); in setDataSource()
63 return ((uint64_t)htonl(x & 0xffffffff) << 32) | htonl(x >> 32); in hton64()
681 int32_t size = htonl(static_cast<int32_t>(mOffset - mMdatOffset)); in reset()935 int32_t x = htonl(mMoovBoxBufferOffset - offset); in endBox()955 x = htonl(x); in writeInt32()2060 mCurrentSampleSizeArr[mNumSamples % kSampleArraySize] = htonl(sampleSize); in threadEntry()
23 # undef htonl29 # define htonl(x) ntohl(x) macro34 # define htonl(x) (x) macro
168 *as_in_addr(&ifr4.ifr_netmask) = htonl(mask); in set_addresses()248 *as_in_addr(&rt4.rt_genmask) = htonl(mask); in set_routes()256 *as_in_addr(&rt4.rt_dst) ^= htonl(0x80000000); in set_routes()
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)
464 mreq.imr_interface.s_addr = htonl(INADDR_ANY); in setupSocket_l()
51 #undef htonl55 #define htonl(x) ntohl(x) macro60 #define htonl(x) (x)139 xDivs[i] = htonl(xDivs[i]); in deviceToFile()142 yDivs[i] = htonl(yDivs[i]); in deviceToFile()144 paddingLeft = htonl(paddingLeft); in deviceToFile()145 paddingRight = htonl(paddingRight); in deviceToFile()146 paddingTop = htonl(paddingTop); in deviceToFile()147 paddingBottom = htonl(paddingBottom); in deviceToFile()149 colors[i] = htonl(colors[i]); in deviceToFile()
487 uint32_t chunk_size_no = htonl(size); in send_tarfile_chunk()
126 addr.sin_addr.s_addr = htonl(INADDR_ANY); in MakePortPair()
169 addr.s_addr = htonl(mServerIP); in issueAnnounce()