Home
last modified time | relevance | path

Searched refs:ntohl (Results 1 – 20 of 20) sorted by relevance

/frameworks/av/media/common_time/
Dutils.cpp40 p->writeInt32(ntohl(s->sin_addr.s_addr)); in serializeSockaddr()
50 p->writeInt32(ntohl(a[0])); in serializeSockaddr()
51 p->writeInt32(ntohl(a[1])); in serializeSockaddr()
52 p->writeInt32(ntohl(a[2])); in serializeSockaddr()
53 p->writeInt32(ntohl(a[3])); in serializeSockaddr()
55 p->writeInt32(ntohl(s->sin6_flowinfo)); in serializeSockaddr()
56 p->writeInt32(ntohl(s->sin6_scope_id)); in serializeSockaddr()
/frameworks/native/opengl/libs/GLES_trace/src/
Dgltrace_eglapi.cpp66 cmdSize = ntohl(cmdSize); in commandReceiveTask()
88 uint32_t cmd = ntohl(*(uint32_t*)cmdBuf); in commandReceiveTask()
/frameworks/av/media/libstagefright/
DFragmentedMP4Extractor.cpp341 uint64_t chunkSize = ntohl(hdr[0]); in Sniff()
342 uint32_t chunkType = ntohl(hdr[1]); in Sniff()
388 brand = ntohl(brand); in Sniff()
DSampleIterator.cpp199 *offset = ntohl(offset32); in getChunkOffset()
239 *size = ntohl(*size); in getSampleSizeDirect()
DSampleTable.cpp342 mTimeToSample[i] = ntohl(mTimeToSample[i]); in setTimeToSampleParams()
387 mCompositionTimeDeltaEntries[i] = ntohl(mCompositionTimeDeltaEntries[i]); in setCompositionTimeToSampleParams()
428 mSyncSamples[i] = ntohl(mSyncSamples[i]) - 1; in setSyncSampleParams()
DMPEG4Extractor.cpp610 uint64_t chunk_size = ntohl(hdr[0]); in parseChunk()
611 uint32_t chunk_type = ntohl(hdr[1]); in parseChunk()
816 mLastTrack->timescale = ntohl(timescale); in parseChunk()
833 duration = ntohl(duration32); in parseChunk()
1379 uint32_t type = ntohl(buffer); in parseChunk()
2381 uint64_t chunkSize = ntohl(hdr[0]); in BetterSniffMPEG4()
2382 uint32_t chunkType = ntohl(hdr[1]); in BetterSniffMPEG4()
2425 brand = ntohl(brand); in BetterSniffMPEG4()
DUtils.cpp59 return ((uint64_t)ntohl(x & 0xffffffff) << 32) | ntohl(x >> 32); in ntoh64()
/frameworks/native/libs/utils/
DUnicode.cpp28 # define ntohl(x) ( ((x) << 24) | (((x) >> 24) & 255) | (((x) << 8) & 0xff0000) | (((x) >> 8) &… macro
29 # define htonl(x) ntohl(x)
33 # define ntohl(x) (x) macro
/frameworks/av/media/libstagefright/wifi-display/
DANetworkSession.cpp154 in_addr_t addr = ntohl(localAddr.sin_addr.s_addr); in Session()
162 addr = ntohl(remoteAddr.sin_addr.s_addr); in Session()
254 uint32_t ip = ntohl(remoteAddr.sin_addr.s_addr); in readMore()
805 in_addr_t x = ntohl(addr.sin_addr.s_addr); in createClientOrServer()
1082 in_addr_t addr = ntohl(remoteAddr.sin_addr.s_addr); in threadLoop()
/frameworks/base/services/common_time/
Dcommon_time_server.cpp476 if (0xE0000000 == (ntohl(ipv4_addr->sin_addr.s_addr) & 0xF0000000)) { in setupSocket_l()
501 if (ntohl(ipv4_addr->sin_addr.s_addr) == 0xFFFFFFFF) { in setupSocket_l()
1399 unsigned long a = ntohl(sa->sin_addr.s_addr); in sockaddrToString()
Dcommon_time_server_packets.cpp59 #define DESERIALIZE_INT32(field_name) DESERIALIZE_FIELD(field_name, int32_t, ntohl)
Dcommon_time_server_api.cpp118 uint32_t ipv4Addr = ntohl( in setMasterElectionEndpoint()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp54 #define ntohl(x) ( ((x) << 24) | (((x) >> 24) & 255) | (((x) << 8) & 0xff0000) | (((x) >> 8) & 0… macro
55 #define htonl(x) ntohl(x)
59 #define ntohl(x) (x)
156 xDivs[i] = ntohl(xDivs[i]); in fileToDevice()
159 yDivs[i] = ntohl(yDivs[i]); in fileToDevice()
161 paddingLeft = ntohl(paddingLeft); in fileToDevice()
162 paddingRight = ntohl(paddingRight); in fileToDevice()
163 paddingTop = ntohl(paddingTop); in fileToDevice()
164 paddingBottom = ntohl(paddingBottom); in fileToDevice()
166 colors[i] = ntohl(colors[i]); in fileToDevice()
/frameworks/av/media/libstagefright/rtsp/
DARTPWriter.cpp447 addr.s_addr = ntohl(INADDR_LOOPBACK); in dumpSessionDesc()
DARTSPConnection.cpp280 reply->setInt32("server-ip", ntohl(remote.sin_addr.s_addr)); in onConnect()
DMyTransmitter.h514 uint32_t x = ntohl(mRemoteAddr.sin_addr.s_addr); in onMessageReceived()
DMyHandler.h313 if (IN_LOOPBACK(ntohl(addr.sin_addr.s_addr))) { in pokeAHole()
/frameworks/base/voip/jni/rtp/
DAudioGroup.cpp419 (ntohl(*(uint32_t *)buffer) & 0xC07F0000) != mCodecMagic) { in decode()
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp594 pixel = ntohl(pixel); in hwcTestColor2Pixel()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1020 uint32_t a = ntohl(endpoint->sin_addr.s_addr); in setRetransmitEndpoint()