Searched refs:ntohs (Results 1 – 12 of 12) sorted by relevance
115 if (!onPush() && !(ntohs(mRemoteAddr.sin_port) & 1)) { in onMessageReceived()131 tmp.sin_port = htons(ntohs(mRemoteAddr.sin_port) | 1); in onMessageReceived()
71 CHECK_EQ(0, ntohs(mRTPAddr.sin_port) & 1); in ARTPWriter()74 mRTCPAddr.sin_port = htons(ntohs(mRTPAddr.sin_port) | 1); in ARTPWriter()466 sdp.append(AStringPrintf("%d", ntohs(mRTPAddr.sin_port))); in dumpSessionDesc()
292 size_t length = ntohs(segment->length); in findJpegSize()342 *width = ntohs(startOfFrame->width); in getJpegImageDimensions()343 *height = ntohs(startOfFrame->height); in getJpegImageDimensions()
59 uint16_t port = ntohs(*p); in create()
430 offset += 4 + (ntohs(*(uint16_t *)&buffer[offset + 2]) << 2); in decode()
273 *size = ntohs(x); in getSampleSizeDirect()
3731 sprintf(tmp, "%d/%d", ntohs(*pTrack), ntohs(*pTotalTracks)); in parseITunesMetaData()3743 sprintf(tmp, "%d/%d", ntohs(*pDisc), ntohs(*pTotalDiscs)); in parseITunesMetaData()5866 dstData[j] = ntohs(srcData[j]); in read()
388 size_t length = ntohs(segment->length); in findJpegSize()
1130 ptr[i] = ntohs(ptr[i]); in dequeueAccessUnitPCMAudio()
1099 dstData[i] = ntohs(srcData[i]); in read()
1368 uint16_t p = ntohs(endpoint->sin_port); in setRetransmitEndpoint()
60 #define ntohs(x) ( (((x) << 8) & 0xff00) | (((x) >> 8) & 255) ) macro61 #define htons(x) ntohs(x)