Home
last modified time | relevance | path

Searched refs:htonl (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/common_time/
Dutils.cpp69 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()
/frameworks/base/voip/jni/rtp/
DAudioGroup.cpp287 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()
/frameworks/av/media/libaah_rtp/
Daah_tx_sender.cpp425 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()
Daah_tx_packet.cpp73 *buf = htonl(val); in setEpoch()
177 *reinterpret_cast<uint32_t*>(buf) = htonl(val); in writeU32()
Daah_rx_player_core.cpp98 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()
Daah_rx_player.cpp118 listen_addr_.sin_addr.s_addr = htonl(a); in setDataSource()
/frameworks/av/media/libstagefright/
DUtils.cpp63 return ((uint64_t)htonl(x & 0xffffffff) << 32) | htonl(x >> 32); in hton64()
DMPEG4Writer.cpp681 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()
/frameworks/native/libs/utils/
DUnicode.cpp23 # undef htonl
29 # define htonl(x) ntohl(x) macro
34 # define htonl(x) (x) macro
/frameworks/base/services/jni/
Dcom_android_server_connectivity_Vpn.cpp168 *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()
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp579 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()
/frameworks/base/services/common_time/
Dcommon_time_server_packets.cpp48 #define SERIALIZE_INT32(field_name) SERIALIZE_FIELD(field_name, int32_t, htonl)
Dcommon_time_server.cpp464 mreq.imr_interface.s_addr = htonl(INADDR_ANY); in setupSocket_l()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp51 #undef htonl
55 #define htonl(x) ntohl(x) macro
60 #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()
DBackupHelpers.cpp487 uint32_t chunk_size_no = htonl(size); in send_tarfile_chunk()
/frameworks/av/media/libstagefright/rtsp/
DARTPConnection.cpp126 addr.sin_addr.s_addr = htonl(INADDR_ANY); in MakePortPair()
DMyTransmitter.h169 addr.s_addr = htonl(mServerIP); in issueAnnounce()