Searched refs:ntohs (Results 1 – 15 of 15) sorted by relevance
/frameworks/av/media/common_time/ |
D | utils.cpp | 41 p->writeInt32(static_cast<int32_t>(ntohs(s->sin_port))); in serializeSockaddr() 54 p->writeInt32(static_cast<int32_t>(ntohs(s->sin6_port))); in serializeSockaddr()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | UDPPusher.cpp | 115 if (!onPush() && !(ntohs(mRemoteAddr.sin_port) & 1)) { in onMessageReceived() 131 tmp.sin_port = htons(ntohs(mRemoteAddr.sin_port) | 1); in onMessageReceived()
|
D | ARTPWriter.cpp | 71 CHECK_EQ(0, ntohs(mRTPAddr.sin_port) & 1); in ARTPWriter() 74 mRTCPAddr.sin_port = htons(ntohs(mRTPAddr.sin_port) | 1); in ARTPWriter() 464 sdp.append(AStringPrintf("%d", ntohs(mRTPAddr.sin_port))); in dumpSessionDesc()
|
/frameworks/base/libs/common_time/ |
D | common_time_server_packets.cpp | 58 #define DESERIALIZE_INT16(field_name) DESERIALIZE_FIELD(field_name, int16_t, ntohs) 152 packetType = ntohs(*((uint16_t*)(data + 6))); in deserializePacket()
|
D | common_time_server.cpp | 473 ntohs(bindAddr.sin_port), errno); in setupSocket_l() 1402 uint16_t p = ntohs(sa->sin_port); in sockaddrToString() 1412 uint16_t p = ntohs(sa->sin6_port); in sockaddrToString()
|
D | common_time_server_api.cpp | 115 uint16_t ipv4Port = ntohs( in setMasterElectionEndpoint()
|
/frameworks/opt/net/voip/src/jni/rtp/ |
D | RtpStream.cpp | 59 uint16_t port = ntohs(*p); in create()
|
D | AudioGroup.cpp | 427 offset += 4 + (ntohs(*(uint16_t *)&buffer[offset + 2]) << 2); in decode()
|
/frameworks/av/media/libstagefright/foundation/ |
D | ANetworkSession.cpp | 209 msg->setInt32("server-port", ntohs(localAddr.sin_port)); in Session() 211 msg->setInt32("client-port", ntohs(remoteAddr.sin_port)); in Session() 311 notify->setInt32("fromPort", ntohs(remoteAddr.sin_port)); in readMore() 1069 ntohs(addr.sin_port)); in createClientOrServer() 1362 ntohs(remoteAddr.sin_port), in threadLoop()
|
/frameworks/av/media/libstagefright/ |
D | SampleIterator.cpp | 266 *size = ntohs(x); in getSampleSizeDirect()
|
D | MPEG4Extractor.cpp | 2760 sprintf(tmp, "%d/%d", ntohs(*pTrack), ntohs(*pTotalTracks)); in parseITunesMetaData() 2772 sprintf(tmp, "%d/%d", ntohs(*pDisc), ntohs(*pTotalDiscs)); in parseITunesMetaData()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | JpegProcessor.cpp | 411 size_t length = ntohs(segment->length); in findJpegSize()
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ESQueue.cpp | 620 ptr[i] = ntohs(ptr[i]); in dequeueAccessUnitPCMAudio()
|
/frameworks/av/media/libmediaplayerservice/ |
D | MediaPlayerService.cpp | 1234 uint16_t p = ntohs(endpoint->sin_port); in setRetransmitEndpoint()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 57 #define ntohs(x) ( (((x) << 8) & 0xff00) | (((x) >> 8) & 255) ) macro 58 #define htons(x) ntohs(x)
|