• Home
  • Raw
  • Download

Lines Matching refs:inRef

151 DEBUG_LOCAL OSStatus	QueryRetain( QueryRef inRef );
152 DEBUG_LOCAL OSStatus QueryRelease( QueryRef inRef );
156 DNSServiceRef inRef,
170 DNSServiceRef inRef,
184 QueryRef inRef,
192 QueryRef inRef,
197 DEBUG_LOCAL size_t QueryCopyQuerySetSize( QueryRef inRef, const WSAQUERYSETW *inQuerySet, DWORD inQ…
1029 DEBUG_LOCAL OSStatus QueryRetain( QueryRef inRef ) in QueryRetain() argument
1036 if( obj == inRef ) in QueryRetain()
1043 ++inRef->refCount; in QueryRetain()
1056 DEBUG_LOCAL OSStatus QueryRelease( QueryRef inRef ) in QueryRelease() argument
1066 if( *p == inRef ) in QueryRelease()
1075 if( inRef->cancelEvent ) in QueryRelease()
1077 ok = SetEvent( inRef->cancelEvent ); in QueryRelease()
1083 if( inRef->resolver4 ) in QueryRelease()
1087 DNSServiceRefDeallocate( inRef->resolver4 ); in QueryRelease()
1093 inRef->resolver4 = NULL; in QueryRelease()
1096 if ( inRef->resolver6 ) in QueryRelease()
1100 DNSServiceRefDeallocate( inRef->resolver6 ); in QueryRelease()
1106 inRef->resolver6 = NULL; in QueryRelease()
1111 if( --inRef->refCount != 0 ) in QueryRelease()
1116 *p = inRef->next; in QueryRelease()
1120 if( inRef->cancelEvent ) in QueryRelease()
1122 ok = CloseHandle( inRef->cancelEvent ); in QueryRelease()
1125 if( inRef->data4Event ) in QueryRelease()
1127 ok = CloseHandle( inRef->data4Event ); in QueryRelease()
1130 if( inRef->data6Event ) in QueryRelease()
1132 ok = CloseHandle( inRef->data6Event ); in QueryRelease()
1135 if( inRef->querySet ) in QueryRelease()
1137 free( inRef->querySet ); in QueryRelease()
1139 free( inRef ); in QueryRelease()
1152 DNSServiceRef inRef, in QueryRecordCallback4() argument
1216 DNSServiceRefDeallocate( inRef ); in QueryRecordCallback4()
1239 DNSServiceRef inRef, in QueryRecordCallback6() argument
1306 DNSServiceRefDeallocate( inRef ); in QueryRecordCallback6()
1330 QueryRef inRef, in QueryCopyQuerySet() argument
1343 size = QueryCopyQuerySetSize( inRef, inQuerySet, inQuerySetFlags ); in QueryCopyQuerySet()
1347 QueryCopyQuerySetTo( inRef, inQuerySet, inQuerySetFlags, qs ); in QueryCopyQuerySet()
1375 QueryRef inRef, in QueryCopyQuerySetTo() argument
1389 debugSize = QueryCopyQuerySetSize( inRef, inQuerySet, inQuerySetFlags ); in QueryCopyQuerySetTo()
1482 if( ( inQuerySetFlags & LUP_RETURN_ADDR ) && ( inRef->numValidAddrs > 0 ) ) in QueryCopyQuerySetTo()
1488 outQuerySet->dwNumberOfCsAddrs = inRef->numValidAddrs; in QueryCopyQuerySetTo()
1490 dst += ( sizeof( *outQuerySet->lpcsaBuffer ) ) * ( inRef->numValidAddrs ) ; in QueryCopyQuerySetTo()
1493 if ( inRef->addr4Valid ) in QueryCopyQuerySetTo()
1504 memcpy( &addr4->sin_addr, &inRef->addr4, 4 ); in QueryCopyQuerySetTo()
1513 if ( inRef->addr6Valid ) in QueryCopyQuerySetTo()
1524 addr6->sin6_scope_id = inRef->addr6ScopeId; in QueryCopyQuerySetTo()
1525 memcpy( &addr6->sin6_addr, &inRef->addr6, 16 ); in QueryCopyQuerySetTo()
1540 if( ( inQuerySetFlags & LUP_RETURN_BLOB ) && inRef->addr4Valid ) in QueryCopyQuerySetTo()
1554 memcpy( dst, inRef->name, inRef->nameSize + 1 ); in QueryCopyQuerySetTo()
1555 dst += ( inRef->nameSize + 1 ); in QueryCopyQuerySetTo()
1571 *p++ = (uintptr_t) inRef->addr4; in QueryCopyQuerySetTo()
1588 DEBUG_LOCAL size_t QueryCopyQuerySetSize( QueryRef inRef, const WSAQUERYSETW *inQuerySet, DWORD inQ… in QueryCopyQuerySetSize() argument
1594 check( inRef ); in QueryCopyQuerySetSize()
1651 if( ( inQuerySetFlags & LUP_RETURN_ADDR ) && inRef->addr4Valid ) in QueryCopyQuerySetSize()
1657 if( ( inQuerySetFlags & LUP_RETURN_ADDR ) && inRef->addr6Valid ) in QueryCopyQuerySetSize()
1665 if( ( inQuerySetFlags & LUP_RETURN_BLOB ) && inRef->addr4Valid ) in QueryCopyQuerySetSize()
1669 size += ( inRef->nameSize + 1 ); // Name and null terminator in QueryCopyQuerySetSize()