Searched defs:sem (Results 1 – 5 of 5) sorted by relevance
88 #define sem_init(sem, sem_attr1, sem_init_value) (int)((*sem = CreateSemaphore(NULL,0,32768,NULL))=… argument89 #define sem_wait(sem) (int)(WAIT_OBJECT_0 != WaitForSingleObject(*sem,INFINITE)) argument90 #define sem_post(sem) ReleaseSemaphore(*sem,1,NULL) argument91 #define sem_destroy(sem) if(*sem)((int)(CloseHandle(*sem))==TRUE) argument
121 Utils::Semaphore sem; in ~ANativeWindowDisplayAdapter() local288 Utils::Semaphore sem; in enableDisplay() local363 Utils::Semaphore sem; in disableDisplay() local985 Utils::Semaphore &sem = *((Utils::Semaphore*)msg.arg1); in processHalMsg() local
191 Semaphore sem; in ~ANativeWindowDisplayAdapter() local359 Semaphore sem; in enableDisplay() local438 Semaphore sem; in disableDisplay() local1016 Semaphore &sem = *((Semaphore*)msg.arg1); in processHalMsg() local
2656 Semaphore *sem = (Semaphore*) msg->arg3; in OMXCameraAdapterEventHandler() local2735 Semaphore *sem = (Semaphore*) msg->arg3; in SignalEvent() local2794 Semaphore *sem = (Semaphore*) msg->arg3; in RemoveEvent() local3550 Semaphore *sem = (Semaphore*) msg->arg3; in ~OMXCameraAdapter() local
3080 Utils::Semaphore *sem = (Utils::Semaphore*) msg->arg3; in OMXCameraAdapterEventHandler() local3159 Utils::Semaphore *sem = (Utils::Semaphore*) msg->arg3; in SignalEvent() local3218 Utils::Semaphore *sem = (Utils::Semaphore*) msg->arg3; in RemoveEvent() local4205 Utils::Semaphore *sem = (Utils::Semaphore*) msg->arg3; in ~OMXCameraAdapter() local