Searched refs:class_ht (Results 1 – 2 of 2) sorted by relevance
24 static GHashTable *class_ht; variable31 if (!class_ht) { in class_register()36 if (g_hash_table_lookup(class_ht, p->type)) { in class_register()41 g_hash_table_insert(class_ht, p->type, p); in class_register()50 if (!g_hash_table_remove(class_ht, p->type)) { in class_unregister()53 if (!g_hash_table_size(class_ht)) { in class_unregister()55 g_hash_table_destroy(class_ht); in class_unregister()56 class_ht = NULL; in class_unregister()70 if (!(class_ht && (tmp = g_hash_table_lookup(class_ht, name)))) in class_put()97 if (class_ht && (tmp = g_hash_table_lookup(class_ht, name))) { in class_get()[all …]
1268 PyHeapTypeObject *class_ht = (PyHeapTypeObject *)class; in test_type_from_ephemeral_spec() local1270 assert(strcmp(PyUnicode_AsUTF8(class_ht->ht_name), "_Test") == 0); in test_type_from_ephemeral_spec()1271 assert(strcmp(PyUnicode_AsUTF8(class_ht->ht_qualname), "_Test") == 0); in test_type_from_ephemeral_spec()