Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
D_testcapimodule.c2118 static const char *capsule_name = "capsule name"; variable
2132 } else if (PyCapsule_GetName(o) != capsule_name) { in capsule_destructor()
2134 } else if (PyCapsule_GetPointer(o, capsule_name) != capsule_pointer) { in capsule_destructor()
2172 object = PyCapsule_New(capsule_pointer, capsule_name, capsule_destructor); in test_capsule()
2181 PyCapsule_SetName(object, capsule_name); in test_capsule()
/external/python/cpython3/Modules/
D_testcapimodule.c2568 static const char *capsule_name = "capsule name"; variable
2582 } else if (PyCapsule_GetName(o) != capsule_name) { in capsule_destructor()
2584 } else if (PyCapsule_GetPointer(o, capsule_name) != capsule_pointer) { in capsule_destructor()
2622 object = PyCapsule_New(capsule_pointer, capsule_name, capsule_destructor); in test_capsule()
2631 PyCapsule_SetName(object, capsule_name); in test_capsule()