Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
D_testcapimodule.c2121 static const char *capsule_error = NULL; variable
2129 capsule_error = "context did not match in destructor!"; in capsule_destructor()
2131 capsule_error = "destructor did not match in destructor! (woah!)"; in capsule_destructor()
2133 capsule_error = "name did not match in destructor!"; in capsule_destructor()
2135 capsule_error = "pointer did not match in destructor!"; in capsule_destructor()
2164 if (capsule_error) { \ in test_capsule()
2165 FAIL(capsule_error); \ in test_capsule()
/external/python/cpython3/Modules/
D_testcapimodule.c2571 static const char *capsule_error = NULL; variable
2579 capsule_error = "context did not match in destructor!"; in capsule_destructor()
2581 capsule_error = "destructor did not match in destructor! (woah!)"; in capsule_destructor()
2583 capsule_error = "name did not match in destructor!"; in capsule_destructor()
2585 capsule_error = "pointer did not match in destructor!"; in capsule_destructor()
2614 if (capsule_error) { \ in test_capsule()
2615 FAIL(capsule_error); \ in test_capsule()