Lines Matching refs:markers
49 PyObject *markers; member
62 {"markers", T_OBJECT, offsetof(PyEncoderObject, markers), READONLY, "markers"},
1296 PyObject *markers, *defaultfn, *encoder, *indent, *key_separator; in encoder_new() local
1301 &markers, &defaultfn, &encoder, &indent, in encoder_new()
1306 if (markers != Py_None && !PyDict_Check(markers)) { in encoder_new()
1309 "not %.200s", Py_TYPE(markers)->tp_name); in encoder_new()
1317 s->markers = markers; in encoder_new()
1335 Py_INCREF(s->markers); in encoder_new()
1506 if (s->markers != Py_None) { in encoder_listencode_obj()
1511 has_key = PyDict_Contains(s->markers, ident); in encoder_listencode_obj()
1518 if (PyDict_SetItem(s->markers, ident, obj)) { in encoder_listencode_obj()
1543 if (PyDict_DelItem(s->markers, ident)) { in encoder_listencode_obj()
1578 if (s->markers != Py_None) { in encoder_listencode_dict()
1583 has_key = PyDict_Contains(s->markers, ident); in encoder_listencode_dict()
1589 if (PyDict_SetItem(s->markers, ident, dct)) { in encoder_listencode_dict()
1687 if (PyDict_DelItem(s->markers, ident)) in encoder_listencode_dict()
1738 if (s->markers != Py_None) { in encoder_listencode_list()
1743 has_key = PyDict_Contains(s->markers, ident); in encoder_listencode_list()
1749 if (PyDict_SetItem(s->markers, ident, seq)) { in encoder_listencode_list()
1775 if (PyDict_DelItem(s->markers, ident)) in encoder_listencode_list()
1812 Py_VISIT(s->markers); in encoder_traverse()
1828 Py_CLEAR(s->markers); in encoder_clear()