Lines Matching refs:cur_callback

264     VkLayerDbgFunctionNode *cur_callback = *list_head;  in RemoveDebugUtilsMessenger()  local
270 while (cur_callback) { in RemoveDebugUtilsMessenger()
271 if (cur_callback->is_messenger) { in RemoveDebugUtilsMessenger()
273 if (cur_callback->messenger.messenger == messenger) { in RemoveDebugUtilsMessenger()
275 if (*list_head == cur_callback) { in RemoveDebugUtilsMessenger()
276 *list_head = cur_callback->pNext; in RemoveDebugUtilsMessenger()
279 prev_callback->pNext = cur_callback->pNext; in RemoveDebugUtilsMessenger()
282 … reinterpret_cast<uint64_t &>(cur_callback->messenger.messenger), 0, "DebugUtilsMessenger", in RemoveDebugUtilsMessenger()
286 local_severities |= cur_callback->messenger.messageSeverity; in RemoveDebugUtilsMessenger()
287 local_types |= cur_callback->messenger.messageType; in RemoveDebugUtilsMessenger()
293 … DebugReportFlagsToAnnotFlags(cur_callback->report.msgFlags, true, &this_severities, &this_types); in RemoveDebugUtilsMessenger()
298 free(cur_callback); in RemoveDebugUtilsMessenger()
302 cur_callback = prev_callback->pNext; in RemoveDebugUtilsMessenger()
304 cur_callback = *list_head; in RemoveDebugUtilsMessenger()
307 prev_callback = cur_callback; in RemoveDebugUtilsMessenger()
308 cur_callback = cur_callback->pNext; in RemoveDebugUtilsMessenger()
318 VkLayerDbgFunctionNode *cur_callback = *list_head; in RemoveDebugUtilsMessageCallback() local
324 while (cur_callback) { in RemoveDebugUtilsMessageCallback()
325 if (!cur_callback->is_messenger) { in RemoveDebugUtilsMessageCallback()
327 if (cur_callback->report.msgCallback == callback) { in RemoveDebugUtilsMessageCallback()
329 if (*list_head == cur_callback) { in RemoveDebugUtilsMessageCallback()
330 *list_head = cur_callback->pNext; in RemoveDebugUtilsMessageCallback()
333 prev_callback->pNext = cur_callback->pNext; in RemoveDebugUtilsMessageCallback()
336 … reinterpret_cast<uint64_t &>(cur_callback->report.msgCallback), 0, "DebugReport", in RemoveDebugUtilsMessageCallback()
342 … DebugReportFlagsToAnnotFlags(cur_callback->report.msgFlags, true, &this_severities, &this_types); in RemoveDebugUtilsMessageCallback()
348 local_severities |= cur_callback->messenger.messageSeverity; in RemoveDebugUtilsMessageCallback()
349 local_types |= cur_callback->messenger.messageType; in RemoveDebugUtilsMessageCallback()
352 free(cur_callback); in RemoveDebugUtilsMessageCallback()
356 cur_callback = prev_callback->pNext; in RemoveDebugUtilsMessageCallback()
358 cur_callback = *list_head; in RemoveDebugUtilsMessageCallback()
361 prev_callback = cur_callback; in RemoveDebugUtilsMessageCallback()
362 cur_callback = cur_callback->pNext; in RemoveDebugUtilsMessageCallback()