Home
last modified time | relevance | path

Searched refs:ExtSlice (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython2/Parser/
DPython.asdl89 | ExtSlice(slice* dims)
/external/python/cpython3/Parser/
DPython.asdl101 | ExtSlice(slice* dims)
/external/python/cpython3/Python/
Dast_unparse.c737 dims_count = asdl_seq_LEN(slice->v.ExtSlice.dims); in append_ast_ext_slice()
740 APPEND(slice, (slice_ty)asdl_seq_GET(slice->v.ExtSlice.dims, i)); in append_ast_ext_slice()
Dast_opt.c630 CALL_SEQ(astfold_slice, slice_ty, node_->v.ExtSlice.dims); in astfold_slice()
Dast.c50 if (!validate_nonempty_seq(slice->v.ExtSlice.dims, "dims", "ExtSlice")) in validate_slice()
52 for (i = 0; i < asdl_seq_LEN(slice->v.ExtSlice.dims); i++) in validate_slice()
53 if (!validate_slice(asdl_seq_GET(slice->v.ExtSlice.dims, i))) in validate_slice()
2404 return Subscript(left_expr, ExtSlice(slices, c->c_arena), in ast_for_trailer()
Dcompile.c4673 n = asdl_seq_LEN(sl->v.ExtSlice.dims); in check_ann_subscr()
4675 slice_ty subsl = (slice_ty)asdl_seq_GET(sl->v.ExtSlice.dims, i); in check_ann_subscr()
4922 Py_ssize_t i, n = asdl_seq_LEN(s->v.ExtSlice.dims); in compiler_visit_slice()
4925 s->v.ExtSlice.dims, i); in compiler_visit_slice()
Dsymtable.c1696 VISIT_SEQ(st, slice, s->v.ExtSlice.dims) in symtable_visit_slice()
DPython-ast.c2409 ExtSlice(asdl_seq * dims, PyArena *arena) in ExtSlice() function
2416 p->v.ExtSlice.dims = dims; in ExtSlice()
3540 value = ast2obj_list(o->v.ExtSlice.dims, ast2obj_slice); in ast2obj_slice()
7288 *out = ExtSlice(dims, arena); in obj2ast_slice()
/external/python/cpython2/Include/
DPython-ast.h327 } ExtSlice; member
515 #define ExtSlice(a0, a1) _Py_ExtSlice(a0, a1) macro
/external/python/cpython3/Include/
DPython-ast.h379 } ExtSlice; member
609 #define ExtSlice(a0, a1) _Py_ExtSlice(a0, a1) macro
/external/python/cpython3/Lib/test/
Dtest_ast.py973 sl = ast.ExtSlice([])
975 sl = ast.ExtSlice([ast.Index(s)])
/external/python/cpython2/PC/os2emx/
Dpython27.def731 "ExtSlice"
/external/python/cpython2/Python/
Dsymtable.c1473 VISIT_SEQ(st, slice, s->v.ExtSlice.dims) in symtable_visit_slice()
DPython-ast.c2010 ExtSlice(asdl_seq * dims, PyArena *arena) in ExtSlice() function
2017 p->v.ExtSlice.dims = dims; in ExtSlice()
2996 value = ast2obj_list(o->v.ExtSlice.dims, ast2obj_slice); in ast2obj_slice()
6088 *out = ExtSlice(dims, arena); in obj2ast_slice()
Dcompile.c3371 int i, n = asdl_seq_LEN(s->v.ExtSlice.dims); in compiler_visit_slice()
3374 s->v.ExtSlice.dims, i); in compiler_visit_slice()
Dast.c1705 return Subscript(left_expr, ExtSlice(slices, c->c_arena), in ast_for_trailer()