Home
last modified time | relevance | path

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

12345

/third_party/skia/third_party/externals/expat/expat/xmlwf/
Dxmlwf.c93 characterData(void *userData, const XML_Char *s, int len) { in characterData() argument
94 FILE *fp = ((XmlwfUserData *)userData)->fp; in characterData()
184 startElement(void *userData, const XML_Char *name, const XML_Char **atts) { in startElement() argument
187 FILE *fp = ((XmlwfUserData *)userData)->fp; in startElement()
207 endElement(void *userData, const XML_Char *name) { in endElement() argument
208 FILE *fp = ((XmlwfUserData *)userData)->fp; in endElement()
227 startElementNS(void *userData, const XML_Char *name, const XML_Char **atts) { in startElementNS() argument
231 FILE *fp = ((XmlwfUserData *)userData)->fp; in startElementNS()
273 endElementNS(void *userData, const XML_Char *name) { in endElementNS() argument
274 FILE *fp = ((XmlwfUserData *)userData)->fp; in endElementNS()
[all …]
/third_party/skia/third_party/externals/dawn/src/common/
DSwapChainUtils.h23 impl.userData = swapChain; in CreateSwapChainImplementation()
24 impl.Init = [](void* userData, void* wsiContext) { in CreateSwapChainImplementation()
26 reinterpret_cast<T*>(userData)->Init(ctx); in CreateSwapChainImplementation()
28 impl.Destroy = [](void* userData) { delete reinterpret_cast<T*>(userData); }; in CreateSwapChainImplementation()
29 impl.Configure = [](void* userData, WGPUTextureFormat format, WGPUTextureUsage allowedUsage, in CreateSwapChainImplementation()
31 return static_cast<T*>(userData)->Configure(format, allowedUsage, width, height); in CreateSwapChainImplementation()
33 impl.GetNextTexture = [](void* userData, DawnSwapChainNextTexture* nextTexture) { in CreateSwapChainImplementation()
34 return static_cast<T*>(userData)->GetNextTexture(nextTexture); in CreateSwapChainImplementation()
36 impl.Present = [](void* userData) { return static_cast<T*>(userData)->Present(); }; in CreateSwapChainImplementation()
/third_party/mesa3d/src/mesa/main/
Dshared.c153 delete_displaylist_cb(void *data, void *userData) in delete_displaylist_cb() argument
156 struct gl_context *ctx = (struct gl_context *) userData; in delete_displaylist_cb()
165 delete_bitmap_atlas_cb(void *data, void *userData) in delete_bitmap_atlas_cb() argument
168 struct gl_context *ctx = (struct gl_context *) userData; in delete_bitmap_atlas_cb()
177 delete_texture_cb(void *data, void *userData) in delete_texture_cb() argument
180 struct gl_context *ctx = (struct gl_context *) userData; in delete_texture_cb()
189 delete_program_cb(void *data, void *userData) in delete_program_cb() argument
192 struct gl_context *ctx = (struct gl_context *) userData; in delete_program_cb()
206 delete_fragshader_cb(void *data, void *userData) in delete_fragshader_cb() argument
209 struct gl_context *ctx = (struct gl_context *) userData; in delete_fragshader_cb()
[all …]
Dhash.h167 void (*callback)(void *data, void *userData),
168 void *userData);
172 void (*callback)(void *data, void *userData),
173 void *userData);
177 void (*callback)(void *data, void *userData),
178 void *userData);
196 void (*callback)(void *data, void *userData), in _mesa_HashWalkMaybeLocked() argument
197 void *userData, bool locked) in _mesa_HashWalkMaybeLocked()
200 _mesa_HashWalkLocked(table, callback, userData); in _mesa_HashWalkMaybeLocked()
202 _mesa_HashWalk(table, callback, userData); in _mesa_HashWalkMaybeLocked()
Dhash.c313 void (*callback)(void *data, void *userData), in _mesa_HashDeleteAll() argument
314 void *userData) in _mesa_HashDeleteAll()
322 callback(entry->data, userData); in _mesa_HashDeleteAll()
326 callback(table->deleted_key_data, userData); in _mesa_HashDeleteAll()
351 void (*callback)(void *data, void *userData), in hash_walk_unlocked() argument
352 void *userData) in hash_walk_unlocked()
358 callback(entry->data, userData); in hash_walk_unlocked()
361 callback(table->deleted_key_data, userData); in hash_walk_unlocked()
367 void (*callback)(void *data, void *userData), in _mesa_HashWalk() argument
368 void *userData) in _mesa_HashWalk()
[all …]
/third_party/python/Modules/expat/
Dexpat.h180 typedef void(XMLCALL *XML_ElementDeclHandler)(void *userData,
196 void *userData, const XML_Char *elname, const XML_Char *attname,
210 typedef void(XMLCALL *XML_XmlDeclHandler)(void *userData,
273 typedef void(XMLCALL *XML_StartElementHandler)(void *userData,
277 typedef void(XMLCALL *XML_EndElementHandler)(void *userData,
281 typedef void(XMLCALL *XML_CharacterDataHandler)(void *userData,
285 typedef void(XMLCALL *XML_ProcessingInstructionHandler)(void *userData,
290 typedef void(XMLCALL *XML_CommentHandler)(void *userData, const XML_Char *data);
292 typedef void(XMLCALL *XML_StartCdataSectionHandler)(void *userData);
293 typedef void(XMLCALL *XML_EndCdataSectionHandler)(void *userData);
[all …]
/third_party/skia/third_party/externals/expat/expat/lib/
Dexpat.h181 typedef void(XMLCALL *XML_ElementDeclHandler)(void *userData,
197 void *userData, const XML_Char *elname, const XML_Char *attname,
211 typedef void(XMLCALL *XML_XmlDeclHandler)(void *userData,
274 typedef void(XMLCALL *XML_StartElementHandler)(void *userData,
278 typedef void(XMLCALL *XML_EndElementHandler)(void *userData,
282 typedef void(XMLCALL *XML_CharacterDataHandler)(void *userData,
286 typedef void(XMLCALL *XML_ProcessingInstructionHandler)(void *userData,
291 typedef void(XMLCALL *XML_CommentHandler)(void *userData, const XML_Char *data);
293 typedef void(XMLCALL *XML_StartCdataSectionHandler)(void *userData);
294 typedef void(XMLCALL *XML_EndCdataSectionHandler)(void *userData);
[all …]
/third_party/skia/third_party/externals/dawn/src/include/dawn/
Ddawn_wsi.h36 void (*Init)(void* userData, void* wsiContext);
39 void (*Destroy)(void* userData);
42 DawnSwapChainError (*Configure)(void* userData,
49 DawnSwapChainError (*GetNextTexture)(void* userData, DawnSwapChainNextTexture* nextTexture);
52 DawnSwapChainError (*Present)(void* userData);
55 void* userData; member
/third_party/skia/tools/sk_app/mac/
DDawnMTLWindowContext_mac.mm26 impl.userData = swapChain;
27 impl.Init = [](void* userData, void* wsiContext) {
29 reinterpret_cast<T*>(userData)->Init(ctx);
31 impl.Destroy = [](void* userData) { delete reinterpret_cast<T*>(userData); };
32 impl.Configure = [](void* userData, WGPUTextureFormat format, WGPUTextureUsage allowedUsage,
34 return static_cast<T*>(userData)->Configure(format, allowedUsage, width, height);
36 impl.GetNextTexture = [](void* userData, DawnSwapChainNextTexture* nextTexture) {
37 return static_cast<T*>(userData)->GetNextTexture(nextTexture);
39 impl.Present = [](void* userData) { return static_cast<T*>(userData)->Present(); };
/third_party/curl/docs/examples/
Dxmlstream.c56 static void startElement(void *userData, const XML_Char *name, in startElement() argument
59 struct ParserStruct *state = (struct ParserStruct *) userData; in startElement()
69 static void characterDataHandler(void *userData, const XML_Char *s, int len) in characterDataHandler() argument
71 struct ParserStruct *state = (struct ParserStruct *) userData; in characterDataHandler()
88 static void endElement(void *userData, const XML_Char *name) in endElement() argument
90 struct ParserStruct *state = (struct ParserStruct *) userData; in endElement()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCLProgram.cpp22 void *userData) in build() argument
35 *mCallback = CallbackData(pfnNotify, userData); in build()
48 void *userData) in compile() argument
67 *mCallback = CallbackData(pfnNotify, userData); in compile()
196 void *const userData = callbackData.second; in callback() local
198 callback(this, userData); in callback()
250 void *userData, in Program() argument
255 mCallback(pfnNotify != nullptr ? (retain(), CallbackData(pfnNotify, userData)) in Program()
DCLContext.cpp305 void *userData, in linkProgram() argument
321 userData); in linkProgram()
336 void Context::ErrorCallback(const char *errinfo, const void *privateInfo, size_t cb, void *userData) in ErrorCallback() argument
338 Context *const context = static_cast<Context *>(userData); in ErrorCallback()
354 void *userData, in Context() argument
360 mUserData(userData), in Context()
369 void *userData, in Context() argument
375 mUserData(userData), in Context()
DCLContext.h106 void *userData,
132 void *userData);
139 void *userData,
147 void *userData,
DCLMemory.cpp46 cl_int Memory::setDestructorCallback(MemoryCB pfnNotify, void *userData) in setDestructorCallback() argument
48 mDestructorCallbacks->emplace(pfnNotify, userData); in setDestructorCallback()
146 void *const userData = callbacks.top().second; in ~Memory() local
148 callback(this, userData); in ~Memory()
DCLProgram.h32 void *userData);
41 void *userData);
89 void *userData,
/third_party/skia/third_party/externals/expat/expat/examples/
Delements.c59 startElement(void *userData, const XML_Char *name, const XML_Char **atts) { in startElement() argument
61 int *depthPtr = (int *)userData; in startElement()
71 endElement(void *userData, const XML_Char *name) { in endElement() argument
72 int *depthPtr = (int *)userData; in endElement()
/third_party/skia/third_party/externals/expat/expat/tests/
Druntests.c205 dummy_xdecl_handler(void *userData, const XML_Char *version, in dummy_xdecl_handler() argument
207 UNUSED_P(userData); in dummy_xdecl_handler()
214 dummy_start_doctype_handler(void *userData, const XML_Char *doctypeName, in dummy_start_doctype_handler() argument
217 UNUSED_P(userData); in dummy_start_doctype_handler()
226 dummy_end_doctype_handler(void *userData) { in dummy_end_doctype_handler() argument
227 UNUSED_P(userData); in dummy_end_doctype_handler()
232 dummy_entity_decl_handler(void *userData, const XML_Char *entityName, in dummy_entity_decl_handler() argument
237 UNUSED_P(userData); in dummy_entity_decl_handler()
250 dummy_notation_decl_handler(void *userData, const XML_Char *notationName, in dummy_notation_decl_handler() argument
253 UNUSED_P(userData); in dummy_notation_decl_handler()
[all …]
/third_party/python/Modules/
Dpyexpat.c201 noop_character_data_handler(void *userData, const XML_Char *data, int len) in noop_character_data_handler() argument
308 my_CharacterDataHandler(void *userData, const XML_Char *data, int len) in my_CharacterDataHandler() argument
310 xmlparseobject *self = (xmlparseobject *) userData; in my_CharacterDataHandler()
340 my_StartElementHandler(void *userData, in my_StartElementHandler() argument
343 xmlparseobject *self = (xmlparseobject *)userData; in my_StartElementHandler()
461 (xmlparseobject *)userData)
466 (xmlparseobject *)userData)
469 (void *userData, const XML_Char *name),
473 (void *userData,
479 (void *userData,
[all …]
/third_party/mesa3d/src/util/
Dxmlconfig.c859 optConfStartElem(void *userData, const char *name, in optConfStartElem() argument
862 struct OptConfData *data = (struct OptConfData *)userData; in optConfStartElem()
915 optConfEndElem(void *userData, const char *name) in optConfEndElem() argument
917 struct OptConfData *data = (struct OptConfData *)userData; in optConfEndElem()
1195 struct OptConfData userData = {0}; in driParseConfigFiles() local
1197 userData.cache = cache; in driParseConfigFiles()
1198 userData.screenNum = screenNum; in driParseConfigFiles()
1199 userData.driverName = driverName; in driParseConfigFiles()
1200 userData.kernelDriverName = kernelDriverName; in driParseConfigFiles()
1201 userData.deviceName = deviceName; in driParseConfigFiles()
[all …]
/third_party/skia/src/gpu/dawn/
DGrDawnBuffer.cpp106 static void callback_read(WGPUBufferMapAsyncStatus status, void* userData) { in callback_read() argument
107 auto buffer = static_cast<GrDawnBuffer*>(userData); in callback_read()
111 static void callback_write(WGPUBufferMapAsyncStatus status, void* userData) { in callback_write() argument
112 auto buffer = static_cast<GrDawnBuffer*>(userData); in callback_write()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmUtils.hpp152 , userData(userData_) in Resource()
163 virtual void setUserData (void* data) { userData = data; } in setUserData()
164 virtual void* getUserData () const { return userData; } in getUserData()
169 void* userData; member in vkt::SpirVAssembly::Resource
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
DvktSpvAsmUtils.hpp152 , userData(userData_) in Resource()
163 virtual void setUserData (void* data) { userData = data; } in setUserData()
164 virtual void* getUserData () const { return userData; } in getUserData()
169 void* userData; member in vkt::SpirVAssembly::Resource
/third_party/openGLES/extensions/EXT/
DGLU_EXT_nurbs_tessellator.txt40 void* userData);
113 void beginData(GLenum type, void* userData);
114 void vertexData(GLfloat *vertex, void* userData);
115 void normalData(GLfloat *normal, void* userData);
116 void colorData(GLfloat *color, void* userData);
117 void texCoordData(GLfloat *tex_coord, void* userData);
118 void endData(void* userData);
128 are specified then the callback with <userData> will be used. <userData>
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/
DGLU_EXT_nurbs_tessellator.txt40 void* userData);
113 void beginData(GLenum type, void* userData);
114 void vertexData(GLfloat *vertex, void* userData);
115 void normalData(GLfloat *normal, void* userData);
116 void colorData(GLfloat *color, void* userData);
117 void texCoordData(GLfloat *tex_coord, void* userData);
118 void endData(void* userData);
128 are specified then the callback with <userData> will be used. <userData>
/third_party/skia/third_party/externals/dawn/src/utils/
DD3D12Binding.cpp34 if (mSwapchainImpl.userData == nullptr) { in GetSwapChainImplementation()
43 ASSERT(mSwapchainImpl.userData != nullptr); in GetPreferredSwapChainTextureFormat()

12345