Lines Matching refs:pHandler
74 oslSignalHandlerImpl* pHandler = SignalList; in CallSignalHandler() local
77 while (pHandler != NULL) in CallSignalHandler()
79 if ((Action = pHandler->Handler(pHandler->pData, pInfo)) != osl_Signal_ActCallNextHdl) in CallSignalHandler()
82 pHandler = pHandler->pNext; in CallSignalHandler()
140 oslSignalHandlerImpl* pHandler; in osl_addSignalHandler() local
147 pHandler = (oslSignalHandlerImpl*) calloc(1, sizeof(oslSignalHandlerImpl)); in osl_addSignalHandler()
149 if (pHandler != NULL) in osl_addSignalHandler()
151 pHandler->Handler = Handler; in osl_addSignalHandler()
152 pHandler->pData = pData; in osl_addSignalHandler()
156 pHandler->pNext = SignalList; in osl_addSignalHandler()
157 SignalList = pHandler; in osl_addSignalHandler()
161 return (pHandler); in osl_addSignalHandler()
172 oslSignalHandlerImpl *pHandler, *pPrevious = NULL; in osl_removeSignalHandler() local
181 pHandler = SignalList; in osl_removeSignalHandler()
183 while (pHandler != NULL) in osl_removeSignalHandler()
185 if (pHandler == Handler) in osl_removeSignalHandler()
188 pPrevious->pNext = pHandler->pNext; in osl_removeSignalHandler()
190 SignalList = pHandler->pNext; in osl_removeSignalHandler()
197 free(pHandler); in osl_removeSignalHandler()
202 pPrevious = pHandler; in osl_removeSignalHandler()
203 pHandler = pHandler->pNext; in osl_removeSignalHandler()