Searched refs:n_fields (Results 1 – 5 of 5) sorted by relevance
138 int n_fields = N_FIELDS == 0 ? 0 : random() % (N_FIELDS*4); in gs() local140 if (n_fields >= N_FIELDS) in gs()141 n_fields = 0; in gs()142 for (int i = 0; i < n_fields; ++i) { in gs()288 for (int i = 0; i < n_fields; ++i) { in gs()291 if (n_fields == 0) { in gs()
15 _Py_IDENTIFIER(n_fields);248 Py_ssize_t n_fields, n_visible_fields, n_unnamed_fields, i; in structseq_reduce() local250 n_fields = REAL_SIZE(self); in structseq_reduce()266 for (; i < n_fields; i++) { in structseq_reduce()
72 self.assertEqual(len(t), t.n_fields)73 self.assertEqual(t.n_fields, t.n_sequence_fields+t.n_unnamed_fields)
377 Py_ssize_t n_fields, n_visible_fields, n_unnamed_fields; in structseq_reduce() local380 n_fields = REAL_SIZE(self); in structseq_reduce()399 for (; i < n_fields; i++) { in structseq_reduce()
82 self.assertEqual(t.n_fields, time._STRUCT_TM_ITEMS)