Home
last modified time | relevance | path

Searched refs:require_action (Results 1 – 20 of 20) sorted by relevance

/external/mdnsresponder/mDNSWindows/DLLX/
DDNSSD.cpp30 require_action( ok, exit, err = kDNSServiceErr_BadParam ); in Browse()
32 require_action( ok, exit, err = kDNSServiceErr_BadParam ); in Browse()
43 require_action( object != NULL, exit, err = kDNSServiceErr_NoMemory ); in Browse()
45 require_action( hr == S_OK, exit, err = kDNSServiceErr_Unknown ); in Browse()
86 require_action( ok, exit, err = kDNSServiceErr_BadParam ); in Resolve()
88 require_action( ok, exit, err = kDNSServiceErr_BadParam ); in Resolve()
90 require_action( ok, exit, err = kDNSServiceErr_BadParam ); in Resolve()
101 require_action( object != NULL, exit, err = kDNSServiceErr_NoMemory ); in Resolve()
103 require_action( hr == S_OK, exit, err = kDNSServiceErr_Unknown ); in Resolve()
147 require_action( object != NULL, exit, err = kDNSServiceErr_NoMemory ); in EnumerateDomains()
[all …]
DDNSSDService.cpp78 require_action( !err, exit, hr = E_FAIL ); in FinalConstruct()
128 require_action( atom != NULL, exit, hr = E_FAIL ); in FinalConstruct()
140 require_action( m_hiddenWindow != NULL, exit, hr = E_FAIL ); in FinalConstruct()
148 require_action( !err, exit, hr = E_FAIL ); in FinalConstruct()
224 require_action( object != NULL, exit, err = kDNSServiceErr_NoMemory ); in EnumerateDomains()
306 require_action( ok, exit, err = kDNSServiceErr_BadParam ); in Browse()
310 require_action( ok, exit, err = kDNSServiceErr_BadParam ); in Browse()
332 require_action( object != NULL, exit, err = kDNSServiceErr_NoMemory ); in Browse()
416 require_action( ok, exit, err = kDNSServiceErr_BadParam ); in Resolve()
420 require_action( ok, exit, err = kDNSServiceErr_BadParam ); in Resolve()
[all …]
DTXTRecord.cpp68 require_action( ok, exit, hr = S_FALSE ); in SetValue()
74 require_action( ok, exit, hr = S_FALSE ); in SetValue()
80 require_action( !err, exit, hr = S_FALSE ); in SetValue()
116 require_action( ok, exit, hr = S_FALSE ); in RemoveValue()
122 require_action( !err, exit, hr = S_FALSE ); in RemoveValue()
160 require_action( ok, exit, err = S_FALSE ); in ContainsKey()
210 require_action( ok, exit, hr = S_FALSE ); in GetValueForKey()
224 require_action( ok, exit, hr = S_FALSE ); in GetValueForKey()
288 require_action( !err, exit, hr = S_FALSE ); in GetKeyAtIndex()
294 require_action( ok, exit, hr = S_FALSE ); in GetKeyAtIndex()
[all …]
DStringServices.cpp63 require_action( utf16String != NULL, exit, err = kUnknownErr ); in BSTRToUTF8()
97 require_action( utf8String != NULL, exit, err = kNoMemoryErr ); in BSTRToUTF8()
195 require_action( unicode, exit, err = ERROR_INSUFFICIENT_BUFFER ); in UTF8ToBSTR()
262 require_action( outVariant->parray, exit, ok = FALSE ); in ByteArrayToVariant()
266 require_action( hr == S_OK, exit, ok = FALSE ); in ByteArrayToVariant()
272 require_action( hr == S_OK, exit, ok = FALSE ); in ByteArrayToVariant()
314 require_action( V_VT( inVariant ) == ( VT_ARRAY|VT_UI1 ), exit, ok = FALSE ); in VariantToByteArray()
318 require_action( psa, exit, ok = FALSE ); in VariantToByteArray()
320 require_action( SafeArrayGetDim( psa ) == 1, exit, ok = FALSE ); in VariantToByteArray()
324 require_action( hr == S_OK, exit, ok = FALSE ); in VariantToByteArray()
DDNSSDRecord.cpp56 require_action( ok, exit, err = kDNSServiceErr_Unknown ); in Update()
/external/mdnsresponder/mDNSWindows/
DVPCDetect.cpp61 require_action( status.dwCurrentState == SERVICE_RUNNING, exit, err = kUnknownErr ); in IsVPCRunning()
66 require_action( SUCCEEDED( hres ), exit, err = kUnknownErr ); in IsVPCRunning()
72 require_action( SUCCEEDED( hres ), exit, err = kUnknownErr ); in IsVPCRunning()
78 require_action( SUCCEEDED( hres ), exit, err = kUnknownErr ); in IsVPCRunning()
85 require_action( SUCCEEDED( hres ), exit, err = kUnknownErr ); in IsVPCRunning()
91 require_action( SUCCEEDED( hres ), exit, err = kUnknownErr ); in IsVPCRunning()
98 require_action( SUCCEEDED( hres ), exit, err = kUnknownErr ); in IsVPCRunning()
DSecret.c96 require_action( domainLSA != NULL, exit, err = mStatus_NoMemoryErr ); in LsaGetSecret()
112 require_action( outKey[0] == '$', exit, err = kUnknownErr ); in LsaGetSecret()
174 require_action( inDomain != NULL, exit, ok = FALSE ); in LsaSetSecret()
175 require_action( inKey != NULL, exit, ok = FALSE ); in LsaSetSecret()
176 require_action( inSecret != NULL, exit, ok = FALSE ); in LsaSetSecret()
183 require_action( inDomainLength > 0, exit, ok = FALSE ); in LsaSetSecret()
185 require_action( !err, exit, ok = FALSE ); in LsaSetSecret()
201 require_action( inKeyLength > 0 , exit, ok = FALSE ); in LsaSetSecret()
204 require_action( !err, exit, ok = FALSE ); in LsaSetSecret()
277 require_action( output->Buffer, exit, err = mStatus_NoMemoryErr ); in MakeLsaStringFromUTF8String()
[all …]
DmDNSWin32.c292 require_action( inMDNS->p->mainThread, exit, err = mStatus_UnknownErr ); in mDNSPlatformInit()
294 require_action( inMDNS->p->checkFileSharesTimer, exit, err = mStatus_UnknownErr ); in mDNSPlatformInit()
306 require_action( supported, exit, err = mStatus_UnsupportedErr ); in mDNSPlatformInit()
383 require_action( !err || ( err == WSAEAFNOSUPPORT ), exit, err = (mStatus) WSAGetLastError() ); in mDNSPlatformInit()
973 require_action( flags == 0, exit, err = mStatus_UnsupportedErr ); in mDNSPlatformTCPSocket()
978 require_action( sock, exit, err = mStatus_NoMemoryErr ); in mDNSPlatformTCPSocket()
1071 require_action( !err || ( WSAGetLastError() == WSAEWOULDBLOCK ), exit, err = mStatus_ConnFailed ); in mDNSPlatformTCPConnect()
1081 require_action( sock->m->p->registerWaitableEventFunc != NULL, exit, err = mStatus_ConnFailed ); in mDNSPlatformTCPConnect()
1114 require_action( !flags, exit, err = mStatus_UnsupportedErr ); in mDNSPlatformTCPAccept()
1117 require_action( sock, exit, err = mStatus_NoMemoryErr ); in mDNSPlatformTCPAccept()
[all …]
Dloclibrary.c120 require_action( app, exit, ret = 0 ); in PathForResourceA()
157 require_action( app, exit, ret = 0 ); in PathForResourceW()
/external/mdnsresponder/mDNSWindows/NSPTool/
DNSPTool.c241 require_action( inName && ( *inName != '\0' ), exit, err = kParamErr ); in InstallNSP()
242 require_action( inGUID && ( *inGUID != '\0' ), exit, err = kParamErr ); in InstallNSP()
243 require_action( inPath && ( *inPath != '\0' ), exit, err = kParamErr ); in InstallNSP()
246 require_action( size < sizeof_array( name ), exit, err = kSizeErr ); in InstallNSP()
253 require_action( size < sizeof_array( path ), exit, err = kSizeErr ); in InstallNSP()
288 require_action( inGUID && ( *inGUID != '\0' ), exit, err = kParamErr ); in RemoveNSP()
325 require_action( inGUID && ( *inGUID != '\0' ), exit, err = kParamErr ); in EnableNSP()
380 require_action( err == WSAEFAULT, exit, err = kUnknownErr ); in ListNameSpaces()
383 require_action( array, exit, err = kNoMemoryErr ); in ListNameSpaces()
447 require_action( err == WSAEFAULT, exit, err = kUnknownErr ); in ReorderNameSpaces()
[all …]
/external/mdnsresponder/mDNSShared/
DDebugServices.c2722require_action( 0 && "SHOULD SEE", require19, dlog( kDebugLevelMax, "SHOULD SEE: action 7 (expecte… in DebugServicesTest()
2725require_action( 1 && "SHOULD *NOT* SEE", require20, dlog( kDebugLevelMax, "SHOULD *NOT* SEE: actio… in DebugServicesTest()
2793 require_action( strcmp( s, "1234" ) == 0, exit, err = -1 ); in DebugServicesTest()
2796 require_action( strcmp( s, "2345" ) == 0, exit, err = -1 ); in DebugServicesTest()
2799 require_action( strcmp( s, "test" ) == 0, exit, err = -1 ); in DebugServicesTest()
2802 require_action( strcmp( s, "www.apple.com." ) == 0, exit, err = -1 ); in DebugServicesTest()
2805 require_action( strcmp( s, "2147483647" ) == 0, exit, err = -1 ); in DebugServicesTest()
2808 require_action( strcmp( s, "4294967295" ) == 0, exit, err = -1 ); in DebugServicesTest()
2812 require_action( strcmp( s, "9223372036854775807" ) == 0, exit, err = -1 ); in DebugServicesTest()
2815 require_action( strcmp( s, "-9223372036854775807" ) == 0, exit, err = -1 ); in DebugServicesTest()
[all …]
Ddnsextd.c708require_action( sd >= 0, exit, err = mStatus_UnknownErr; LogErr( "UDPServerTransaction", "socket" … in UDPServerTransaction()
718require_action( res == (int) request->len, exit, err = mStatus_UnknownErr; LogErr( "UDPServerTrans… in UDPServerTransaction()
725require_action( res >= 0, exit, err = mStatus_UnknownErr; LogErr( "UDPServerTransaction", "select"… in UDPServerTransaction()
726require_action( ( res > 0 ) && FD_ISSET( sd, &rset ), exit, err = mStatus_UnknownErr; Log( "UDPSer… in UDPServerTransaction()
731require_action( ( ( int ) reply->len ) >= 0, exit, err = mStatus_UnknownErr; LogErr( "UDPServerTra… in UDPServerTransaction()
732require_action( reply->len >= sizeof( DNSMessageHeader ), exit, err = mStatus_UnknownErr; Log( "UD… in UDPServerTransaction()
915 require_action( sock, exit, err = mStatus_UnknownErr; Log( "UpdateSRV: ConnectToServer failed" ) ); in UpdateSRV()
933require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
938require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
940require_action( ptr, exit, err = mStatus_UnknownErr; Log("UpdateSRV: Error constructing lease expi… in UpdateSRV()
[all …]
Ddnsextd_parser.y446 require_action( yyin, exit, err = 0 ); in ParseConfig()
449 require_action( !err, exit, err = 1 ); in ParseConfig()
457 require_action( zone, exit, err = 1 ); in ParseConfig()
466 require_action( ok, exit, err = 1 ); in ParseConfig()
484 require_action( authInfo, exit, err = 1 ); in ParseConfig()
503 require_action( found, exit, err = 1 ); in ParseConfig()
518 require_action( authInfo, exit, err = 1 ); in ParseConfig()
537 require_action( found, exit, err = 1 ); in ParseConfig()
DDebugServices.h985 #undef require_action
987 #if( !defined( require_action ) )
988 #define require_action( X, LABEL, ACTION ) \ macro
1133 #define require_action_expect require_action
/external/mdnsresponder/mDNSWindows/mdnsNSP/
DmdnsNSP.c514 require_action( inQuerySet, exit, err = WSAEINVAL ); in NSPLookupServiceBegin()
517 require_action( outLookup, exit, err = WSAEINVAL ); in NSPLookupServiceBegin()
533 require_action( inQuerySet->lpafpProtocols, exit, err = WSAEINVAL ); in NSPLookupServiceBegin()
587 require_action( n > 0, exit, err = WSASERVICE_NOT_FOUND ); in NSPLookupServiceBegin()
604 require_action( labels == 2, exit, err = WSASERVICE_NOT_FOUND ); in NSPLookupServiceBegin()
611 require_action( InHostsTable( translated ) == FALSE, exit, err = WSASERVICE_NOT_FOUND ); in NSPLookupServiceBegin()
667 require_action( ioSize, exit, err = WSAEINVAL ); in NSPLookupServiceNext()
668 require_action( outResults, exit, err = WSAEINVAL ); in NSPLookupServiceNext()
730 require_action( size <= (size_t) *ioSize, exit, err = WSAEFAULT ); in NSPLookupServiceNext()
915 require_action( obj, exit, err = WSA_NOT_ENOUGH_MEMORY ); in QueryCreate()
[all …]
/external/mdnsresponder/mDNSWindows/SystemService/
DService.c646 require_action( lpService, exit, err = mStatus_NoMemoryErr ); in CheckFirewall()
665 require_action( isRunning, exit, err = kUnknownErr ); in CheckFirewall()
1904 require_action( source, exit, err = mStatus_NoMemoryErr ); in RegisterWaitableEvent()
1992 require_action( waitList, exit, err = mStatus_NoMemoryErr ); in SetupWaitList()
2097 require_action( sock, exit, err = mStatus_NoMemoryErr ); in udsSupportAddFDToEventLoop()
2141 require_action( sock, exit, ret = -1 ); in udsSupportReadFD()
2142 require_action( sock->fd == fd, exit, ret = -1 ); in udsSupportReadFD()
2212 require_action( gSPSWakeupEvent != NULL, exit, ok = FALSE ); in SystemWakeForNetworkAccess()
2213 require_action( gSPSSleepEvent != NULL, exit, ok = FALSE ); in SystemWakeForNetworkAccess()
2218 require_action( !err, exit, ok = FALSE ); in SystemWakeForNetworkAccess()
[all …]
DFirewall.cpp141require_action( ( fwProcessImageFileName != NULL ) && ( SysStringLen(fwBstrProcessImageFileName) >… in mDNSFirewallAppIsEnabled()
227require_action(( fwProcessImageFileName != NULL ) && ( SysStringLen(fwBstrProcessImageFileName) > … in mDNSFirewallAddApp()
235require_action( ( fwBstrName != NULL ) && ( SysStringLen(fwBstrName) > 0 ), exit, err = kNoMemoryE… in mDNSFirewallAddApp()
/external/mdnsresponder/mDNSWindows/DLL/
Ddllmain.c80 require_action( lpService, exit, ret = FALSE ); in IsSystemServiceDisabled()
/external/mdnsresponder/mDNSWindows/ControlPanel/
DControlPanel.cpp267 require_action( applet, exit, kNoMemoryErr ); in OnInit()
DSecondPage.cpp525 require_action( string, exit, err = kUnknownErr ); in RegQueryString()