Searched refs:htonl (Results 1 - 16 of 16) sorted by relevance

/frameworks/av/media/common_time/
H A Dutils.cpp69 s->sin_addr.s_addr = htonl(p->readInt32());
78 a[0] = htonl(p->readInt32());
79 a[1] = htonl(p->readInt32());
80 a[2] = htonl(p->readInt32());
81 a[3] = htonl(p->readInt32());
83 s->sin6_flowinfo = htonl(p->readInt32());
84 s->sin6_scope_id = htonl(p->readInt32());
/frameworks/av/media/libstagefright/foundation/
H A DByteUtils.cpp54 return ((uint64_t)htonl(x & 0xffffffff) << 32) | htonl(x >> 32);
H A DANetworkSession.cpp1045 addr.sin_addr.s_addr = htonl(INADDR_ANY);
/frameworks/av/drm/mediadrm/plugins/clearkey/default/
H A DInitDataParser.cpp83 expectedSize = htonl(expectedSize);
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
H A DInitDataParser.cpp87 expectedSize = htonl(expectedSize);
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp289 static_cast<int32_t>(htonl(mDtmfMagic | mSequence)),
290 static_cast<int32_t>(htonl(mDtmfStart)),
292 static_cast<int32_t>(htonl(mDtmfEvent | duration)),
295 buffer[3] |= htonl(1 << 23);
350 buffer[0] = htonl(mCodecMagic | mSequence);
351 buffer[1] = htonl(mTimestamp);
/frameworks/av/media/libstagefright/
H A DMPEG4Writer.cpp88 static const int32_t kTiffHeaderOffset = htonl(sizeof(kExifHeader));
1123 uint32_t size = htonl(static_cast<uint32_t>(mOffset - mMdatOffset));
1510 int32_t x = htonl(mInMemoryCacheOffset - offset);
1530 x = htonl(x);
1910 mStscTableEntries->add(htonl(chunkId));
1911 mStscTableEntries->add(htonl(sampleId));
1912 mStscTableEntries->add(htonl(1));
1916 mStssTableEntries->add(htonl(sampleId));
1925 mSttsTableEntries->add(htonl(sampleCount));
1926 mSttsTableEntries->add(htonl(duratio
[all...]
H A DMPEG2TSWriter.cpp710 uint32_t crc = htonl(crc32(&buffer->data()[5], 12));
786 uint32_t crc = htonl(crc32(&buffer->data()[5], 12+mSources.size()*5));
/frameworks/base/libs/common_time/
H A Dcommon_time_server_packets.cpp48 #define SERIALIZE_INT32(field_name) SERIALIZE_FIELD(field_name, int32_t, htonl)
H A Dcommon_time_server.cpp482 mreq.imr_interface.s_addr = htonl(INADDR_ANY);
/frameworks/native/opengl/tests/hwc/
H A DhwcTestLib.cpp23 #include <arpa/inet.h> // For ntohl() and htonl()
579 pixel = htonl((uint32_t) round((((1 << attrib->c1Size) - 1) * color.c1()))
582 pixel |= htonl((uint32_t) round((((1 << attrib->c2Size) - 1) * color.c2()))
585 pixel |= htonl((uint32_t) round((((1 << attrib->c3Size) - 1) * color.c3()))
589 pixel |= htonl((uint32_t) round((((1 << attrib->aSize) - 1) * alpha))
/frameworks/base/services/core/jni/
H A Dcom_android_server_connectivity_Vpn.cpp170 *as_in_addr(&ifr4.ifr_netmask) = htonl(mask);
/frameworks/av/media/libstagefright/rtsp/
H A DARTPConnection.cpp128 addr.sin_addr.s_addr = htonl(INADDR_ANY);
H A DMyTransmitter.h172 addr.s_addr = htonl(mServerIP);
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp54 #undef htonl macro
56 #define htonl(x) ntohl(x) macro
154 xDivs[i] = htonl(xDivs[i]);
158 yDivs[i] = htonl(yDivs[i]);
160 paddingLeft = htonl(paddingLeft);
161 paddingRight = htonl(paddingRight);
162 paddingTop = htonl(paddingTop);
163 paddingBottom = htonl(paddingBottom);
166 colors[i] = htonl(colors[i]);
H A DBackupHelpers.cpp476 uint32_t chunk_size_no = htonl(size);

Completed in 148 milliseconds