Lines Matching defs:status
53 nsresult status = NS_GetComponentManager(getter_AddRefs(compMgr));
55 status = compMgr->CreateInstance(mCID, mOuter, aIID, aInstancePtr);
56 else if (NS_SUCCEEDED(status))
57 status = NS_ERROR_UNEXPECTED;
59 if ( NS_FAILED(status) )
63 *mErrorPtr = status;
64 return status;
70 nsresult status;
73 status = NS_GetComponentManager(getter_AddRefs(compMgr));
75 status = compMgr->CreateInstanceByContractID(mContractID, mOuter,
77 else if (NS_SUCCEEDED(status))
78 status = NS_ERROR_UNEXPECTED;
81 status = NS_ERROR_NULL_POINTER;
83 if (NS_FAILED(status))
86 *mErrorPtr = status;
87 return status;
94 nsresult status = NS_ERROR_FAILURE;
96 status = mServiceManager->GetService(mCID, aIID, (void**)aInstancePtr);
101 status = mgr->GetService(mCID, aIID, (void**)aInstancePtr);
103 if ( NS_FAILED(status) )
107 *mErrorPtr = status;
108 return status;
114 nsresult status = NS_ERROR_FAILURE;
116 status = mServiceManager->GetServiceByContractID(mContractID, aIID, (void**)aInstancePtr);
121 status = mgr->GetServiceByContractID(mContractID, aIID, (void**)aInstancePtr);
124 if ( NS_FAILED(status) )
128 *mErrorPtr = status;
129 return status;