Searched refs:slice_ty (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Include/ |
D | Python-ast.h | 14 typedef struct _slice *slice_ty; typedef 291 slice_ty slice; 500 expr_ty _Py_Subscript(expr_ty value, slice_ty slice, expr_context_ty ctx, int 512 slice_ty _Py_Ellipsis(PyArena *arena); 514 slice_ty _Py_Slice(expr_ty lower, expr_ty upper, expr_ty step, PyArena *arena); 516 slice_ty _Py_ExtSlice(asdl_seq * dims, PyArena *arena); 518 slice_ty _Py_Index(expr_ty value, PyArena *arena);
|
/external/python/cpython2/Python/ |
D | Python-ast.c | 974 static int obj2ast_slice(PyObject* obj, slice_ty* out, PyArena* arena); 1885 Subscript(expr_ty value, slice_ty slice, expr_context_ty ctx, int lineno, int in Subscript() 1984 slice_ty 1987 slice_ty p; in Ellipsis() 1988 p = (slice_ty)PyArena_Malloc(arena, sizeof(*p)); in Ellipsis() 1995 slice_ty 1998 slice_ty p; in Slice() 1999 p = (slice_ty)PyArena_Malloc(arena, sizeof(*p)); in Slice() 2009 slice_ty 2012 slice_ty p; in ExtSlice() [all …]
|
D | compile.c | 166 static int compiler_visit_slice(struct compiler *, slice_ty, 3241 compiler_slice(struct compiler *c, slice_ty s, expr_context_ty ctx) in compiler_slice() 3270 compiler_simple_slice(struct compiler *c, slice_ty s, expr_context_ty ctx) in compiler_simple_slice() 3321 compiler_visit_nested_slice(struct compiler *c, slice_ty s, in compiler_visit_nested_slice() 3343 compiler_visit_slice(struct compiler *c, slice_ty s, expr_context_ty ctx) in compiler_visit_slice() 3373 slice_ty sub = (slice_ty)asdl_seq_GET( in compiler_visit_slice()
|
D | symtable.c | 181 static int symtable_visit_slice(struct symtable *st, slice_ty); 1461 symtable_visit_slice(struct symtable *st, slice_ty s) in symtable_visit_slice()
|
D | ast.c | 1516 static slice_ty 1677 slice_ty slc = ast_for_slice(c, CHILD(n, 0)); in ast_for_trailer() 1689 slice_ty slc; in ast_for_trailer() 1713 slc = (slice_ty)asdl_seq_GET(slices, j); in ast_for_trailer()
|