Home
last modified time | relevance | path

Searched refs:userData (Results 1 – 12 of 12) sorted by relevance

/device/google/contexthub/firmware/os/platform/stm32/
Dplatform.c138 struct HostIntfDataBuffer *userData = NULL; in platLogAllocUserData() local
141 userData = heapAlloc(sizeof(struct HostIntfDataBuffer)); in platLogAllocUserData()
143 userData = (struct HostIntfDataBuffer *)(mEarlyLogBuffer + mEarlyLogBufferOffset); in platLogAllocUserData()
146 if (userData) { in platLogAllocUserData()
147 userData->sensType = SENS_TYPE_INVALID; in platLogAllocUserData()
148 userData->length = 0; in platLogAllocUserData()
149 userData->dataType = HOSTINTF_DATA_TYPE_LOG; in platLogAllocUserData()
150 userData->interrupt = NANOHUB_INT_NONWAKEUP; in platLogAllocUserData()
152 return userData; in platLogAllocUserData()
161 struct HostIntfDataBuffer *userData = (struct HostIntfDataBuffer *)buf; in platEarlyLogFree() local
[all …]
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/decoder/
Dfoo_server_context.cpp11 …erver_context_t::initDispatchByName(void *(*getProc)(const char *, void *userData), void *userData) in initDispatchByName() argument
13 fooAlphaFunc = (fooAlphaFunc_server_proc_t) getProc("fooAlphaFunc", userData); in initDispatchByName()
14 fooIsBuffer = (fooIsBuffer_server_proc_t) getProc("fooIsBuffer", userData); in initDispatchByName()
15 fooUnsupported = (fooUnsupported_server_proc_t) getProc("fooUnsupported", userData); in initDispatchByName()
16 fooDoEncoderFlush = (fooDoEncoderFlush_server_proc_t) getProc("fooDoEncoderFlush", userData); in initDispatchByName()
17 …Ptr = (fooTakeConstVoidPtrConstPtr_server_proc_t) getProc("fooTakeConstVoidPtrConstPtr", userData); in initDispatchByName()
18 fooSetComplexStruct = (fooSetComplexStruct_server_proc_t) getProc("fooSetComplexStruct", userData); in initDispatchByName()
19 fooGetComplexStruct = (fooGetComplexStruct_server_proc_t) getProc("fooGetComplexStruct", userData); in initDispatchByName()
20 fooInout = (fooInout_server_proc_t) getProc("fooInout", userData); in initDispatchByName()
Dfoo_server_context.h22 int initDispatchByName( void *(*getProc)(const char *name, void *userData), void *userData);
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/wrapper/
Dfoo_wrapper_context.cpp11 …apper_context_t::initDispatchByName(void *(*getProc)(const char *, void *userData), void *userData) in initDispatchByName() argument
13 fooAlphaFunc = (fooAlphaFunc_wrapper_proc_t) getProc("fooAlphaFunc", userData); in initDispatchByName()
14 fooIsBuffer = (fooIsBuffer_wrapper_proc_t) getProc("fooIsBuffer", userData); in initDispatchByName()
15 fooUnsupported = (fooUnsupported_wrapper_proc_t) getProc("fooUnsupported", userData); in initDispatchByName()
16 fooDoEncoderFlush = (fooDoEncoderFlush_wrapper_proc_t) getProc("fooDoEncoderFlush", userData); in initDispatchByName()
17 …tr = (fooTakeConstVoidPtrConstPtr_wrapper_proc_t) getProc("fooTakeConstVoidPtrConstPtr", userData); in initDispatchByName()
18 …fooSetComplexStruct = (fooSetComplexStruct_wrapper_proc_t) getProc("fooSetComplexStruct", userData in initDispatchByName()
19 …fooGetComplexStruct = (fooGetComplexStruct_wrapper_proc_t) getProc("fooGetComplexStruct", userData in initDispatchByName()
20 fooInout = (fooInout_wrapper_proc_t) getProc("fooInout", userData); in initDispatchByName()
Dfoo_wrapper_context.h25 int initDispatchByName( void *(*getProc)(const char *name, void *userData), void *userData);
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/encoder/
Dfoo_client_context.cpp11 …lient_context_t::initDispatchByName(void *(*getProc)(const char *, void *userData), void *userData) in initDispatchByName() argument
13 fooAlphaFunc = (fooAlphaFunc_client_proc_t) getProc("fooAlphaFunc", userData); in initDispatchByName()
14 fooIsBuffer = (fooIsBuffer_client_proc_t) getProc("fooIsBuffer", userData); in initDispatchByName()
15 fooUnsupported = (fooUnsupported_client_proc_t) getProc("fooUnsupported", userData); in initDispatchByName()
16 fooDoEncoderFlush = (fooDoEncoderFlush_client_proc_t) getProc("fooDoEncoderFlush", userData); in initDispatchByName()
17 …Ptr = (fooTakeConstVoidPtrConstPtr_client_proc_t) getProc("fooTakeConstVoidPtrConstPtr", userData); in initDispatchByName()
18 fooSetComplexStruct = (fooSetComplexStruct_client_proc_t) getProc("fooSetComplexStruct", userData); in initDispatchByName()
19 fooGetComplexStruct = (fooGetComplexStruct_client_proc_t) getProc("fooGetComplexStruct", userData); in initDispatchByName()
20 fooInout = (fooInout_client_proc_t) getProc("fooInout", userData); in initDispatchByName()
Dfoo_client_context.h25 int initDispatchByName( void *(*getProc)(const char *name, void *userData), void *userData);
/device/google/contexthub/firmware/os/core/
Dprintf.c30 void *userData; member
140 if (!putc_(data->userData,(buf + idx)[i])) { in StrPrvPrintfEx_number()
152 if (!putc_(data->userData, ' ')) { in StrPrvPrintfEx_number()
188 uint32_t cvprintf(printf_write_c putc_f, uint32_t flags, void* userData, const char* fmtStr, va_lis… in cvprintf() argument
197 data.userData = userData; in cvprintf()
209 putc_(userData,c); in cvprintf()
231 putc_(userData,c); in cvprintf()
238 putc_(userData,t); in cvprintf()
255 putc_(userData, ' '); in cvprintf()
262 putc_(userData,*str++); in cvprintf()
[all …]
Dseos.c1488 void *userData = platLogAllocUserData(); in osLogv() local
1490 platLogPutcharF(userData, clevel); in osLogv()
1491 cvprintf(platLogPutcharF, flags, userData, str, vl); in osLogv()
1493 platLogFlush(userData); in osLogv()
Dbl.c98 static bool blLogPutcharF(void *userData, char ch) in blLogPutcharF() argument
/device/google/contexthub/firmware/os/inc/
Dplatform.h46 void platLogFlush(void *userData);
47 bool platLogPutcharF(void *userData, char ch);
Dprintf.h31 typedef bool (*printf_write_c)(void* userData, char c); //callback can return false anytime to abo…