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

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

Completed in 5172 milliseconds