Home
last modified time | relevance | path

Searched refs:userPtr (Results 1 – 18 of 18) sorted by relevance

/external/deqp/framework/qphelper/
DqpCrashHandler.c50 static void writeInfoFormat (qpWriteCrashInfoFunc writeFunc, void* userPtr, const char* format, ...) in writeInfoFormat() argument
59 writeFunc(userPtr, buf); in writeInfoFormat()
97 static void qpCrashInfo_write (qpCrashInfo* info, qpWriteCrashInfoFunc writeInfo, void* userPtr) in qpCrashInfo_write() argument
102 writeInfoFormat(writeInfo, userPtr, "Segmentation fault: '%s'\n", info->message); in qpCrashInfo_write()
106 writeInfoFormat(writeInfo, userPtr, "Unhandled exception: '%s'\n", info->message); in qpCrashInfo_write()
110 writeInfoFormat(writeInfo, userPtr, "Assertion '%s' failed at %s:%d\n", in qpCrashInfo_write()
118 writeInfoFormat(writeInfo, userPtr, "Crash: '%s'\n", info->message); in qpCrashInfo_write()
123 static void defaultWriteInfo (void* userPtr, const char* infoString) in defaultWriteInfo() argument
125 DE_UNREF(userPtr); in defaultWriteInfo()
129 static void defaultCrashHandler (qpCrashHandler* crashHandler, void* userPtr) in defaultCrashHandler() argument
[all …]
DqpCrashHandler.h34 typedef void (*qpCrashHandlerFunc) (qpCrashHandler* crashHandler, void* userPtr);
35 typedef void (*qpWriteCrashInfoFunc) (void* userPtr, const char* infoString);
DqpWatchDog.h38 typedef void (*qpWatchDogFunc) (qpWatchDog* dog, void* userPtr, qpTimeoutReason reason);
42 qpWatchDog* qpWatchDog_create (qpWatchDogFunc watchDogFunc, void* userPtr, int totalTimeLimitSecs…
DqpWatchDog.c95 qpWatchDog* qpWatchDog_create (qpWatchDogFunc timeOutFunc, void* userPtr, int totalTimeLimitSecs, i… in qpWatchDog_create() argument
108 dog->timeOutUserPtr = userPtr; in qpWatchDog_create()
/external/deqp/framework/common/
DtcuApp.cpp213 void App::onWatchdogTimeout (qpWatchDog* watchDog, void* userPtr, qpTimeoutReason reason) in onWatchdogTimeout() argument
216 static_cast<App*>(userPtr)->onWatchdogTimeout(reason); in onWatchdogTimeout()
219 void App::onCrash (qpCrashHandler* crashHandler, void* userPtr) in onCrash() argument
222 static_cast<App*>(userPtr)->onCrash(); in onCrash()
236 static void writeCrashToLog (void* userPtr, const char* infoString) in writeCrashToLog() argument
239 TestLog* log = static_cast<TestLog*>(userPtr); in writeCrashToLog()
243 static void writeCrashToConsole (void* userPtr, const char* infoString) in writeCrashToConsole() argument
246 DE_UNREF(userPtr); in writeCrashToConsole()
DtcuApp.hpp83 static void onWatchdogTimeout (qpWatchDog* watchDog, void* userPtr, qpTimeoutReason reason);
84 static void onCrash (qpCrashHandler* crashHandler, void* userPtr);
/external/deqp/executor/
DxeTcpIpLink.cpp107 …ommLink::LogDataFunc testLogDataCallback, CommLink::LogDataFunc infoLogDataCallback, void* userPtr) in setCallbacks() argument
114 m_userPtr = userPtr; in setCallbacks()
120 void* userPtr = DE_NULL; in setState() local
129 userPtr = m_userPtr; in setState()
133 callback(userPtr, state, error); in setState()
139 void* userPtr = DE_NULL; in onTestLogData() local
143 userPtr = m_userPtr; in onTestLogData()
147 callback(userPtr, bytes, numBytes); in onTestLogData()
153 void* userPtr = DE_NULL; in onInfoLogData() local
157 userPtr = m_userPtr; in onInfoLogData()
[all …]
DxeCommLink.hpp50 typedef void (*StateChangedFunc) (void* userPtr, CommLinkState state, const char* message);
51 typedef void (*LogDataFunc) (void* userPtr, const deUint8* bytes, size_t numBytes);
60 …llback, LogDataFunc testLogDataCallback, LogDataFunc infoLogDataCallback, void* userPtr) = DE_NULL;
DxeBatchExecutor.hpp89 static void enqueueStateChanged (void* userPtr, CommLinkState state, const char* message);
90 static void enqueueTestLogData (void* userPtr, const deUint8* bytes, size_t numBytes);
91 static void enqueueInfoLogData (void* userPtr, const deUint8* bytes, size_t numBytes);
DxeBatchExecutor.cpp350 void BatchExecutor::enqueueStateChanged (void* userPtr, CommLinkState state, const char* message) in enqueueStateChanged() argument
352 BatchExecutor* executor = static_cast<BatchExecutor*>(userPtr); in enqueueStateChanged()
362 void BatchExecutor::enqueueTestLogData (void* userPtr, const deUint8* bytes, size_t numBytes) in enqueueTestLogData() argument
364 BatchExecutor* executor = static_cast<BatchExecutor*>(userPtr); in enqueueTestLogData()
374 void BatchExecutor::enqueueInfoLogData (void* userPtr, const deUint8* bytes, size_t numBytes) in enqueueInfoLogData() argument
376 BatchExecutor* executor = static_cast<BatchExecutor*>(userPtr); in enqueueInfoLogData()
DxeLocalTcpIpLink.cpp156 …teChangedCallback, LogDataFunc testLogDataCallback, LogDataFunc infoLogDataCallback, void* userPtr) in setCallbacks() argument
158 m_link.setCallbacks(stateChangedCallback, testLogDataCallback, infoLogDataCallback, userPtr); in setCallbacks()
DxeTcpIpLink.hpp49 …mmLink::LogDataFunc testLogDataCallback, CommLink::LogDataFunc infoLogDataCallback, void* userPtr);
134 …eChangedCallback, LogDataFunc testLogDataCallback, LogDataFunc infoLogDataCallback, void* userPtr);
DxeLocalTcpIpLink.hpp50 …eChangedCallback, LogDataFunc testLogDataCallback, LogDataFunc infoLogDataCallback, void* userPtr);
/external/OpenCL-CTS/test_conformance/api/
Dtest_context_destructor_callback.cpp22 int *userPtr = (int *)userData; in context_destructor_callback() local
26 *userPtr = ++sDestructorIndex; in context_destructor_callback()
Dtest_mem_objects.cpp22 int *userPtr = (int *)userData; in mem_destructor_callback() local
26 *userPtr = ++sDestructorIndex; in mem_destructor_callback()
/external/deqp/framework/delibs/depool/
DdeMemPool.h53 typedef void (*deMemPoolAllocFailFunc) (void* userPtr);
/external/giflib/
Dgif_lib.h129 GifFileType *EGifOpen(void *userPtr, OutputFunc writeFunc, int *Error);
182 GifFileType *DGifOpen(void *userPtr, InputFunc readFunc, int *Error); /* new one (TVT) */
/external/skia/tests/
DGrBlockAllocatorTest.cpp614 void* userPtr = br.fBlock->ptr(br.fAlignedOffset); in run_owning_block_test() local
617 Block* block = pool->owningBlock<Align, Padding>(userPtr, br.fStart); in run_owning_block_test()
623 block = reinterpret_cast<Block*>(reinterpret_cast<uintptr_t>(userPtr) - br.fAlignedOffset); in run_owning_block_test()