Searched refs:packetLen (Results 1 – 2 of 2) sorted by relevance
/external/dng_sdk/source/ |
D | dng_xmp_sdk.cpp | 1385 uint32 packetLen = (uint32) s.size (); in Serialize() local 1388 packetLen > kJPEG_XMP_Limit) in Serialize() 1391 uint32 overLimitCount = packetLen - kJPEG_XMP_Limit; in Serialize() 1415 packetLen = (uint32) s.size (); in Serialize() 1419 if (packetLen) in Serialize() 1422 AutoPtr<dng_memory_block> buffer (allocator.Allocate (packetLen)); in Serialize() 1424 memcpy (buffer->Buffer (), s.c_str (), packetLen); in Serialize()
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSPosix.c | 234 ssize_t packetLen; in SocketDataReady() local 249 …packetLen = recvfrom_flags(skt, &packet, sizeof(packet), &flags, (struct sockaddr *) &from, &fromL… in SocketDataReady() 251 if (packetLen >= 0) in SocketDataReady() 292 if (mDNSAddrIsDNSMulticast(&destAddr)) packetLen = -1; in SocketDataReady() 304 packetLen = -1; in SocketDataReady() 324 if (packetLen >= 0) in SocketDataReady() 325 mDNSCoreReceive(m, &packet, (mDNSu8 *)&packet + packetLen, in SocketDataReady()
|