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()
427 offset += 4 + (ntohs(*(uint16_t *)&buffer[offset + 2]) << 2); in decode()
274 *size = ntohs(x); in getSampleSizeDirect()
3703 sprintf(tmp, "%d/%d", ntohs(*pTrack), ntohs(*pTotalTracks)); in parseITunesMetaData()3715 sprintf(tmp, "%d/%d", ntohs(*pDisc), ntohs(*pTotalDiscs)); in parseITunesMetaData()5788 dstData[j] = ntohs(srcData[j]); in read()
388 size_t length = ntohs(segment->length); in findJpegSize()
1123 ptr[i] = ntohs(ptr[i]); in dequeueAccessUnitPCMAudio()
1099 dstData[i] = ntohs(srcData[i]); in read()
1367 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)