Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
DcPickle.c375 Py_ssize_t num_marks; member
3384 if (self->num_marks < 1) { in marker()
3389 return self->marks[--self->num_marks]; in marker()
4149 if (self->num_marks > 0 && self->marks[self->num_marks - 1] == len) { in load_pop()
4150 self->num_marks--; in load_pop()
4657 if ((self->num_marks + 1) >= self->marks_size) { in load_mark()
4660 if (s <= self->num_marks) s=self->num_marks + 1; in load_mark()
4674 self->marks[self->num_marks++] = self->stack->length; in load_mark()
4730 self->num_marks = 0; in load()
5147 self->num_marks = 0; in noload()
[all …]
/external/python/cpython3/Modules/
D_pickle.c691 Py_ssize_t num_marks; /* Number of marks in the mark stack. */ member
1611 self->num_marks = 0; in _Unpickler_New()
5138 if (self->num_marks < 1) { in marker()
5144 mark = self->marks[--self->num_marks]; in marker()
5145 self->stack->mark_set = self->num_marks != 0; in marker()
5146 self->stack->fence = self->num_marks ? in marker()
5147 self->marks[self->num_marks - 1] : 0; in marker()
6173 if (self->num_marks > 0 && self->marks[self->num_marks - 1] == len) { in load_pop()
6174 self->num_marks--; in load_pop()
6175 self->stack->mark_set = self->num_marks != 0; in load_pop()
[all …]