Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
D_struct.c49 formatcode *s_codes; member
1297 if (self->s_codes != NULL) in prepare_s()
1298 PyMem_FREE(self->s_codes); in prepare_s()
1299 self->s_codes = codes; in prepare_s()
1361 s->s_codes = NULL; in s_new()
1408 if (s->s_codes != NULL) { in s_dealloc()
1409 PyMem_FREE(s->s_codes); in s_dealloc()
1423 for (code = soself->s_codes; code->fmtdef != NULL; code++) { in s_unpack_internal()
1465 assert(soself->s_codes != NULL); in s_unpack()
1515 assert(soself->s_codes != NULL); in s_unpack_from()
[all …]
/external/python/cpython3/Modules/
D_struct.c59 formatcode *s_codes; member
1370 if (self->s_codes != NULL) in prepare_s()
1371 PyMem_FREE(self->s_codes); in prepare_s()
1372 self->s_codes = codes; in prepare_s()
1435 s->s_codes = NULL; in s_new()
1492 if (s->s_codes != NULL) { in s_dealloc()
1493 PyMem_FREE(s->s_codes); in s_dealloc()
1509 for (code = soself->s_codes; code->fmtdef != NULL; code++) { in s_unpack_internal()
1557 assert(self->s_codes != NULL); in Struct_unpack_impl()
1588 assert(self->s_codes != NULL); in Struct_unpack_from_impl()
[all …]