Lines Matching refs:sInstance
215 sInstance = NULL;
314 /* sInstance is NULL here if it was deleted immediately after
316 if (sInstance != NULL)
319 count = sInstance->Release();
326 Assert(sInstance == NULL);
397 if (sInstance != NULL)
404 sInstance->Release();
431 if (sInstance == NULL)
434 sInstance = new VirtualBoxClassFactory();
435 if (sInstance != NULL)
439 sInstance->AddRef();
441 sInstance->AddRef(); /* protect FinalConstruct() */
442 rv = sInstance->FinalConstruct();
455 sInstance->Release();
456 sInstance->Release();
457 Assert(sInstance == NULL);
475 nsrefcnt count = sInstance->AddRef();
488 *inst = sInstance;
497 /* Don't be confused that sInstance is of the *ClassFactory type. This is
503 static VirtualBoxClassFactory *sInstance;
509 VirtualBoxClassFactory *VirtualBoxClassFactory::sInstance = NULL;