Home
last modified time | relevance | path

Searched refs:callbackOrders (Results 1 – 2 of 2) sorted by relevance

/external/OpenCL-CTS/test_conformance/api/
Dtest_context_destructor_callback.cpp38 volatile int callbackOrders[3] = { 0, 0, 0 }; in test_context_destructor_callback() local
43 localContext, context_destructor_callback, (void *)&callbackOrders[0]); in test_context_destructor_callback()
47 localContext, context_destructor_callback, (void *)&callbackOrders[1]); in test_context_destructor_callback()
51 localContext, context_destructor_callback, (void *)&callbackOrders[2]); in test_context_destructor_callback()
70 while (0 == callbackOrders[i]) in test_context_destructor_callback()
83 if (callbackOrders[i] != 3 - i) in test_context_destructor_callback()
87 i + 1, callbackOrders[i], 3 - i); in test_context_destructor_callback()
Dtest_mem_objects.cpp34 volatile int callbackOrders[3] = { 0, 0, 0 }; in test_mem_object_destructor_callback_single() local
39 (void *)&callbackOrders[0]); in test_mem_object_destructor_callback_single()
43 (void *)&callbackOrders[1]); in test_mem_object_destructor_callback_single()
47 (void *)&callbackOrders[2]); in test_mem_object_destructor_callback_single()
66 while (0 == callbackOrders[i]) in test_mem_object_destructor_callback_single()
79 if (callbackOrders[i] != 3 - i) in test_mem_object_destructor_callback_single()
83 i + 1, callbackOrders[i], 3 - i); in test_mem_object_destructor_callback_single()