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.cpp69 cmdSize = ntohl(cmdSize); in commandReceiveTask()
91 uint32_t cmd = ntohl(*(uint32_t*)cmdBuf); in commandReceiveTask()
/frameworks/av/media/libstagefright/
DSampleIterator.cpp200 *offset = ntohl(offset32); in getChunkOffset()
240 *size = ntohl(*size); in getSampleSizeDirect()
DMPEG4Extractor.cpp511 uint32_t chunk_type = ntohl(hdr[1]); in readMetaData()
768 uint64_t chunk_size = ntohl(hdr[0]); in parseChunk()
769 uint32_t chunk_type = ntohl(hdr[1]); in parseChunk()
1033 original_fourcc = ntohl(original_fourcc); in parseChunk()
1061 uint32_t defaultAlgorithmId = ntohl(*((int32_t*)buf)); in parseChunk()
1071 uint32_t defaultIVSize = ntohl(*((int32_t*)buf)); in parseChunk()
1122 pssh.datalen = ntohl(psshdatalen); in parseChunk()
1175 mLastTrack->timescale = ntohl(timescale); in parseChunk()
1197 duration = ntohl(duration32); in parseChunk()
1855 uint32_t type = ntohl(buffer); in parseChunk()
[all …]
DSampleTable.cpp346 mTimeToSample[i] = ntohl(mTimeToSample[i]); in setTimeToSampleParams()
396 mCompositionTimeDeltaEntries[i] = ntohl(mCompositionTimeDeltaEntries[i]); in setCompositionTimeToSampleParams()
442 mSyncSamples[i] = ntohl(mSyncSamples[i]) - 1; in setSyncSampleParams()
DDataSource.cpp85 *x = ntohl(tmp); in getUInt32()
DUtils.cpp66 return ((uint64_t)ntohl(x & 0xffffffff) << 32) | ntohl(x >> 32); in ntoh64()
/frameworks/av/drm/mediadrm/plugins/clearkey/
DInitDataParser.cpp110 keyIdCount = ntohl(keyIdCount); in parsePssh()
/frameworks/av/media/libstagefright/foundation/
DANetworkSession.cpp189 in_addr_t addr = ntohl(localAddr.sin_addr.s_addr); in Session()
197 addr = ntohl(remoteAddr.sin_addr.s_addr); in Session()
301 uint32_t ip = ntohl(remoteAddr.sin_addr.s_addr); in readMore()
1062 in_addr_t x = ntohl(addr.sin_addr.s_addr); in createClientOrServer()
1353 in_addr_t addr = ntohl(remoteAddr.sin_addr.s_addr); in threadLoop()
/frameworks/base/libs/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.cpp57 #define ntohl(x) ( ((x) << 24) | (((x) >> 24) & 255) | (((x) << 8) & 0xff0000) | (((x) >> 8) & 0… macro
58 #define htonl(x) ntohl(x)
62 #define ntohl(x) (x)
170 xDivs[i] = ntohl(xDivs[i]); in fileToDevice()
174 yDivs[i] = ntohl(yDivs[i]); in fileToDevice()
176 paddingLeft = ntohl(paddingLeft); in fileToDevice()
177 paddingRight = ntohl(paddingRight); in fileToDevice()
178 paddingTop = ntohl(paddingTop); in fileToDevice()
179 paddingBottom = ntohl(paddingBottom); in fileToDevice()
182 colors[i] = ntohl(colors[i]); in fileToDevice()
/frameworks/av/media/libstagefright/rtsp/
DARTPWriter.cpp447 addr.s_addr = ntohl(INADDR_LOOPBACK); in dumpSessionDesc()
DMyTransmitter.h514 uint32_t x = ntohl(mRemoteAddr.sin_addr.s_addr); in onMessageReceived()
DARTSPConnection.cpp285 reply->setInt32("server-ip", ntohl(remote.sin_addr.s_addr)); in onConnect()
DMyHandler.h368 if (IN_LOOPBACK(ntohl(addr.sin_addr.s_addr))) { in pokeAHole()
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp419 (ntohl(*(uint32_t *)buffer) & 0xC07F0000) != mCodecMagic) { in decode()
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp596 pixel = ntohl(pixel); in hwcTestColor2Pixel()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1141 uint32_t a = ntohl(endpoint->sin_addr.s_addr); in setRetransmitEndpoint()