Home
last modified time | relevance | path

Searched refs:n_unnamed_fields (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Objects/
Dstructseq.c27 _Py_IDENTIFIER(n_unnamed_fields);
144 Py_ssize_t len, min_len, max_len, i, n_unnamed_fields; in structseq_new_impl() local
154 n_unnamed_fields = UNNAMED_FIELDS_TP(type); in structseq_new_impl()
155 if (n_unnamed_fields < 0) { in structseq_new_impl()
218 type->tp_members[i-n_unnamed_fields].name); in structseq_new_impl()
327 Py_ssize_t n_fields, n_visible_fields, n_unnamed_fields, i; in structseq_reduce() local
334 n_unnamed_fields = UNNAMED_FIELDS(self); in structseq_reduce()
335 if (n_unnamed_fields < 0) { in structseq_reduce()
347 const char *n = Py_TYPE(self)->tp_members[i-n_unnamed_fields].name; in structseq_reduce()
/third_party/python/Lib/test/
Dtest_structseq.py81 self.assertEqual(t.n_unnamed_fields, 0)
133 self.assertEqual(os.stat_result.n_unnamed_fields, 3)
/third_party/python/Tools/c-analyzer/
DTODO413 Objects/structseq.c:PyId_n_unnamed_fields _Py_IDENTIFIER(n_unnamed_fields)