Lines Matching refs:barP
338 IBar* barP = 0;
339 nsresult result = CreateIBar(REINTERPRET_CAST(void**, &barP));
341 if ( barP )
346 if ( NS_SUCCEEDED( result = barP->QueryInterface(NS_GET_IID(IFoo), REINTERPRET_CAST(void**, &fooP)) ) )
363 NS_RELEASE(barP);
367 NS_RELEASE(barP);
378 IBar* barP = 0;
379 nsresult result = CreateIBar(REINTERPRET_CAST(void**, &barP));
381 if ( barP )
384 if ( NS_SUCCEEDED( result = barP->QueryInterface(NS_GET_IID(IFoo), REINTERPRET_CAST(void**, &fooP)) ) )
390 NS_RELEASE(barP);
401 nsCOMPtr<IBar> barP;
402 nsresult result = CreateIBar( getter_AddRefs(barP) );
404 nsCOMPtr<IFoo> fooP( do_QueryInterface(barP, &result) );
617 nsCOMPtr<IBar> barP( do_QueryInterface(new IBar) );
621 nsCOMPtr<IFoo> fooP( do_QueryInterface(barP) );