Searched refs:ntohl (Results 1 - 19 of 19) 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/av/drm/mediadrm/plugins/clearkey/
H A DInitDataParser.cpp110 keyIdCount = ntohl(keyIdCount);
/frameworks/av/media/libstagefright/
H A DSampleIterator.cpp212 *offset = ntohl(offset32);
252 *size = ntohl(*size);
H A DSampleTable.cpp374 mTimeToSample.editItemAt(i) = ntohl(mTimeToSample[i]);
435 mCompositionTimeDeltaEntries[i] = ntohl(mCompositionTimeDeltaEntries[i]);
484 mSyncSamples[i] = ntohl(mSyncSamples[i]) - 1;
H A DDataSource.cpp89 *x = ntohl(tmp);
H A DMPEG4Extractor.cpp813 uint64_t chunk_size = ntohl(hdr[0]);
814 int32_t chunk_type = ntohl(hdr[1]);
1097 original_fourcc = ntohl(original_fourcc);
1129 uint32_t defaultAlgorithmId = ntohl(*((int32_t*)buf));
1139 uint32_t defaultIVSize = ntohl(*((int32_t*)buf));
1193 pssh.datalen = ntohl(psshdatalen);
1251 mLastTrack->timescale = ntohl(timescale);
1273 duration = ntohl(duration32);
2059 uint32_t type = ntohl(buffer);
3603 uint64_t chunk_size = ntohl(hd
[all...]
H A DUtils.cpp75 return ((uint64_t)ntohl(x & 0xffffffff) << 32) | ntohl(x >> 32);
/frameworks/base/libs/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.cpp120 uint32_t ipv4Addr = ntohl(
H A Dcommon_time_server.cpp477 if (0xE0000000 == (ntohl(ipv4_addr->sin_addr.s_addr) & 0xF0000000)) {
502 if (ntohl(ipv4_addr->sin_addr.s_addr) == 0xFFFFFFFF) {
1401 unsigned long a = ntohl(sa->sin_addr.s_addr);
/frameworks/av/media/libstagefright/foundation/
H A DANetworkSession.cpp189 in_addr_t addr = ntohl(localAddr.sin_addr.s_addr);
197 addr = ntohl(remoteAddr.sin_addr.s_addr);
301 uint32_t ip = ntohl(remoteAddr.sin_addr.s_addr);
1062 in_addr_t x = ntohl(addr.sin_addr.s_addr);
1354 in_addr_t addr = ntohl(remoteAddr.sin_addr.s_addr);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp55 #define ntohl(x) ( ((x) << 24) | (((x) >> 24) & 255) | (((x) << 8) & 0xff0000) | (((x) >> 8) & 0xff00) ) macro
56 #define htonl(x) ntohl(x)
175 xDivs[i] = ntohl(xDivs[i]);
179 yDivs[i] = ntohl(yDivs[i]);
181 paddingLeft = ntohl(paddingLeft);
182 paddingRight = ntohl(paddingRight);
183 paddingTop = ntohl(paddingTop);
184 paddingBottom = ntohl(paddingBottom);
187 colors[i] = ntohl(colors[i]);
/frameworks/av/media/libstagefright/rtsp/
H A DARTPWriter.cpp447 addr.s_addr = ntohl(INADDR_LOOPBACK);
H A DARTSPConnection.cpp285 reply->setInt32("server-ip", ntohl(remote.sin_addr.s_addr));
H A DMyTransmitter.h517 uint32_t x = ntohl(mRemoteAddr.sin_addr.s_addr);
H A DMyHandler.h379 if (IN_LOOPBACK(ntohl(addr.sin_addr.s_addr))) {
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp23 #include <arpa/inet.h> // For ntohl() and htonl()
594 pixel = ntohl(pixel);
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp421 (ntohl(*(uint32_t *)buffer) & 0xC07F0000) != mCodecMagic) {
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1222 uint32_t a = ntohl(endpoint->sin_addr.s_addr);

Completed in 3629 milliseconds