Lines Matching refs:pHandler
90 oslSignalHandlerImpl* pHandler = SignalList; in CallSignalHandler() local
93 while (pHandler != NULL) in CallSignalHandler()
95 if ((Action = pHandler->Handler(pHandler->pData, pInfo)) != osl_Signal_ActCallNextHdl) in CallSignalHandler()
98 pHandler = pHandler->pNext; in CallSignalHandler()
330 oslSignalHandlerImpl* pHandler; in osl_addSignalHandler() local
337 pHandler = reinterpret_cast< oslSignalHandlerImpl* >( calloc( 1, sizeof(oslSignalHandlerImpl) ) ); in osl_addSignalHandler()
339 if (pHandler != NULL) in osl_addSignalHandler()
341 pHandler->Handler = Handler; in osl_addSignalHandler()
342 pHandler->pData = pData; in osl_addSignalHandler()
346 pHandler->pNext = SignalList; in osl_addSignalHandler()
347 SignalList = pHandler; in osl_addSignalHandler()
351 return (pHandler); in osl_addSignalHandler()
362 oslSignalHandlerImpl *pHandler, *pPrevious = NULL; in osl_removeSignalHandler() local
371 pHandler = SignalList; in osl_removeSignalHandler()
373 while (pHandler != NULL) in osl_removeSignalHandler()
375 if (pHandler == Handler) in osl_removeSignalHandler()
378 pPrevious->pNext = pHandler->pNext; in osl_removeSignalHandler()
380 SignalList = pHandler->pNext; in osl_removeSignalHandler()
387 free(pHandler); in osl_removeSignalHandler()
392 pPrevious = pHandler; in osl_removeSignalHandler()
393 pHandler = pHandler->pNext; in osl_removeSignalHandler()