Home
last modified time | relevance | path

Searched refs:thisEngine (Results 1 – 8 of 8) sorted by relevance

/frameworks/wilhelm/src/desktop/
DSDL.c27 IEngine *thisEngine = (IEngine *) context; in SDL_callback() local
31 interface_lock_shared(thisEngine); in SDL_callback()
32 COutputMix *outputMix = thisEngine->mOutputMix; in SDL_callback()
33 interface_unlock_shared(thisEngine); in SDL_callback()
45 void SDL_open(IEngine *thisEngine) in SDL_open() argument
57 fmt.userdata = (void *) thisEngine; in SDL_open()
/frameworks/wilhelm/src/objects/
DCOutputMix.c66 IEngine *thisEngine = &outputMix->mObject.mEngine->mEngine; in COutputMix_PreDestroy() local
67 interface_lock_exclusive(thisEngine); in COutputMix_PreDestroy()
69 if (outputMix == thisEngine->mOutputMix) { in COutputMix_PreDestroy()
72 interface_unlock_exclusive(thisEngine); in COutputMix_PreDestroy()
/frameworks/wilhelm/src/itf/
DIObject.c551 IEngine *thisEngine = &thiz->mEngine->mEngine; in IObject_Destroy() local
555 if (thisEngine->mThis != thiz) { in IObject_Destroy()
556 interface_lock_exclusive(thisEngine); in IObject_Destroy()
559 assert(0 < thisEngine->mInstanceCount); in IObject_Destroy()
560 --thisEngine->mInstanceCount; in IObject_Destroy()
565 assert(thisEngine->mInstanceMask & mask); in IObject_Destroy()
566 thisEngine->mInstanceMask &= ~mask; in IObject_Destroy()
567 assert(thisEngine->mInstances[i] == thiz); in IObject_Destroy()
568 thisEngine->mInstances[i] = NULL; in IObject_Destroy()
571 if (thisEngine->mThis != thiz) { in IObject_Destroy()
[all …]
DIOutputMixExt.c183 IEngine *thisEngine = &thisObject->mEngine->mEngine; in IOutputMixExt_FillBuffer() local
184 interface_lock_exclusive(thisEngine); in IOutputMixExt_FillBuffer()
185 assert(&thisEngine->mOutputMix->mObject == thisObject); in IOutputMixExt_FillBuffer()
186 thisEngine->mOutputMix = NULL; in IOutputMixExt_FillBuffer()
188 interface_unlock_exclusive(thisEngine); in IOutputMixExt_FillBuffer()
DIEngine.c691 IEngine *thisEngine = &thiz->mObject.mEngine->mEngine; in IEngine_CreateOutputMix() local
692 interface_lock_exclusive(thisEngine); in IEngine_CreateOutputMix()
694 if (NULL == thisEngine->mOutputMix) { in IEngine_CreateOutputMix()
695 thisEngine->mOutputMix = thiz; in IEngine_CreateOutputMix()
698 interface_unlock_exclusive(thisEngine); in IEngine_CreateOutputMix()
/frameworks/wilhelm/src/
Dsles.c496 IEngine *thisEngine = (IEngine *) engine; in construct() local
497 if (NULL == thisEngine) { in construct()
501 thiz->mEngine = (CEngine *) thisEngine->mThis; in construct()
502 interface_lock_exclusive(thisEngine); in construct()
503 if (MAX_INSTANCE <= thisEngine->mInstanceCount) { in construct()
505 interface_unlock_exclusive(thisEngine); in construct()
510 ++thisEngine->mInstanceCount; in construct()
511 assert(((unsigned) ~0) != thisEngine->mInstanceMask); in construct()
512 interface_unlock_exclusive(thisEngine); in construct()
514 if (thisEngine->mLossOfControlGlobal) { in construct()
Dlocks.c261 IEngine *thisEngine = &thiz->mEngine->mEngine; in object_unlock_exclusive_attributes_() local
263 interface_lock_exclusive(thisEngine); in object_unlock_exclusive_attributes_()
264 thisEngine->mChangedMask |= 1 << id; in object_unlock_exclusive_attributes_()
265 interface_unlock_exclusive(thisEngine); in object_unlock_exclusive_attributes_()
Dsles_allinclusive.h364 extern void SDL_open(IEngine *thisEngine);