Lines Matching refs:object
186 CComObject<CDNSSDService> * object = NULL; in EnumerateDomains() local
210 object = new CComObject<CDNSSDService>(); in EnumerateDomains()
218 object = NULL; in EnumerateDomains()
224 require_action( object != NULL, exit, err = kDNSServiceErr_NoMemory ); in EnumerateDomains()
226 object->AddRef(); in EnumerateDomains()
232 …kDNSServiceFlagsShareConnection, ifIndex, ( DNSServiceDomainEnumReply ) &DomainEnumReply, object ); in EnumerateDomains()
238 object->SetPrimaryRef( m_primary ); in EnumerateDomains()
240 object->SetSubordRef( subord ); in EnumerateDomains()
242 object->SetEventManager( eventManager ); in EnumerateDomains()
246 *service = object; in EnumerateDomains()
254 if ( err && object ) in EnumerateDomains()
258 object->Release(); in EnumerateDomains()
276 CComObject<CDNSSDService> * object = NULL; in Browse() local
318 object = new CComObject<CDNSSDService>(); in Browse()
326 object = NULL; in Browse()
332 require_action( object != NULL, exit, err = kDNSServiceErr_NoMemory ); in Browse()
334 object->AddRef(); in Browse()
340 …ainUTF8.size() > 0 ) ? domainUTF8.c_str() : NULL, ( DNSServiceBrowseReply ) &BrowseReply, object ); in Browse()
346 object->SetPrimaryRef( m_primary ); in Browse()
348 object->SetSubordRef( subord ); in Browse()
350 object->SetEventManager( eventManager ); in Browse()
354 *service = object; in Browse()
362 if ( err && object ) in Browse()
366 object->Release(); in Browse()
384 CComObject<CDNSSDService> * object = NULL; in Resolve() local
432 object = new CComObject<CDNSSDService>(); in Resolve()
440 object = NULL; in Resolve()
446 require_action( object != NULL, exit, err = kDNSServiceErr_NoMemory ); in Resolve()
448 object->AddRef(); in Resolve()
454 …str(), regTypeUTF8.c_str(), domainUTF8.c_str(), ( DNSServiceResolveReply ) &ResolveReply, object ); in Resolve()
460 object->SetPrimaryRef( m_primary ); in Resolve()
462 object->SetSubordRef( subord ); in Resolve()
464 object->SetEventManager( eventManager ); in Resolve()
468 *service = object; in Resolve()
476 if ( err && object ) in Resolve()
480 object->Release(); in Resolve()
498 CComObject<CDNSSDService> * object = NULL; in Register() local
556 object = new CComObject<CDNSSDService>(); in Register()
564 object = NULL; in Register()
570 require_action( object != NULL, exit, err = kDNSServiceErr_NoMemory ); in Register()
572 object->AddRef(); in Register()
598 …F8.c_str(), htons( port ), txtLen, txtRecord, ( DNSServiceRegisterReply ) &RegisterReply, object ); in Register()
604 object->SetPrimaryRef( m_primary ); in Register()
606 object->SetSubordRef( subord ); in Register()
608 object->SetEventManager( eventManager ); in Register()
612 *service = object; in Register()
620 if ( err && object ) in Register()
624 object->Release(); in Register()
642 CComObject<CDNSSDService> * object = NULL; in QueryRecord() local
678 object = new CComObject<CDNSSDService>(); in QueryRecord()
686 object = NULL; in QueryRecord()
692 require_action( object != NULL, exit, err = kDNSServiceErr_NoMemory ); in QueryRecord()
694 object->AddRef(); in QueryRecord()
700 …int16_t ) rrtype, ( uint16_t ) rrclass, ( DNSServiceQueryRecordReply ) &QueryRecordReply, object ); in QueryRecord()
706 object->SetPrimaryRef( m_primary ); in QueryRecord()
708 object->SetSubordRef( subord ); in QueryRecord()
710 object->SetEventManager( eventManager ); in QueryRecord()
714 *service = object; in QueryRecord()
722 if ( err && object ) in QueryRecord()
726 object->Release(); in QueryRecord()
744 CComObject<CDNSSDRecord> * object = NULL; in RegisterRecord() local
768 *object = NULL; in RegisterRecord()
792 object = new CComObject<CDNSSDRecord>(); in RegisterRecord()
800 object = NULL; in RegisterRecord()
806 require_action( object != NULL, exit, err = kDNSServiceErr_NoMemory ); in RegisterRecord()
808 object->AddRef(); in RegisterRecord()
812 …teArray.size(), byteArray.size() > 0 ? &byteArray[ 0 ] : NULL, ttl, &RegisterRecordReply, object ); in RegisterRecord()
818 object->SetServiceObject( this ); in RegisterRecord()
820 object->SetRecordRef( rref ); in RegisterRecord()
826 *record = object; in RegisterRecord()
834 if ( err && object ) in RegisterRecord()
838 object->Release(); in RegisterRecord()
856 CComObject<CDNSSDRecord> * object = NULL; in AddRecord() local
878 *object = NULL; in AddRecord()
894 object = new CComObject<CDNSSDRecord>(); in AddRecord()
902 object = NULL; in AddRecord()
908 require_action( object != NULL, exit, err = kDNSServiceErr_NoMemory ); in AddRecord()
910 object->AddRef(); in AddRecord()
920 object->SetServiceObject( this ); in AddRecord()
922 object->SetRecordRef( rref ); in AddRecord()
926 *record = object; in AddRecord()
934 if ( err && object ) in AddRecord()
938 object->Release(); in AddRecord()
1086 CComObject<CDNSSDService> * object = NULL; in GetAddrInfo() local
1122 object = new CComObject<CDNSSDService>(); in GetAddrInfo()
1130 object = NULL; in GetAddrInfo()
1136 require_action( object != NULL, exit, err = kDNSServiceErr_NoMemory ); in GetAddrInfo()
1138 object->AddRef(); in GetAddrInfo()
1144 …x, addressFamily, hostNameUTF8.c_str(), ( DNSServiceGetAddrInfoReply ) &GetAddrInfoReply, object ); in GetAddrInfo()
1150 object->SetPrimaryRef( m_primary ); in GetAddrInfo()
1152 object->SetSubordRef( subord ); in GetAddrInfo()
1154 object->SetEventManager( eventManager ); in GetAddrInfo()
1158 *service = object; in GetAddrInfo()
1166 if ( err && object ) in GetAddrInfo()
1170 object->Release(); in GetAddrInfo()
1188 CComObject<CDNSSDService> * object = NULL; in NATPortMappingCreate() local
1214 object = new CComObject<CDNSSDService>(); in NATPortMappingCreate()
1222 object = NULL; in NATPortMappingCreate()
1228 require_action( object != NULL, exit, err = kDNSServiceErr_NoMemory ); in NATPortMappingCreate()
1230 object->AddRef(); in NATPortMappingCreate()
1240 …rt ), htons( externalPort ), ttl, ( DNSServiceNATPortMappingReply ) &NATPortMappingReply, object ); in NATPortMappingCreate()
1246 object->SetPrimaryRef( m_primary ); in NATPortMappingCreate()
1248 object->SetSubordRef( subord ); in NATPortMappingCreate()
1250 object->SetEventManager( eventManager ); in NATPortMappingCreate()
1254 *service = object; in NATPortMappingCreate()
1262 if ( err && object ) in NATPortMappingCreate()
1266 object->Release(); in NATPortMappingCreate()