Home
last modified time | relevance | path

Searched refs:col_offset (Results 1 – 25 of 27) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
DPython-ast.h184 int col_offset; member
312 int col_offset; member
354 int col_offset; member
385 asdl_seq * decorator_list, int lineno, int col_offset,
389 asdl_seq * decorator_list, int lineno, int col_offset,
392 stmt_ty _Py_Return(expr_ty value, int lineno, int col_offset, PyArena *arena);
394 stmt_ty _Py_Delete(asdl_seq * targets, int lineno, int col_offset, PyArena
398 col_offset, PyArena *arena);
401 lineno, int col_offset, PyArena *arena);
404 col_offset, PyArena *arena);
[all …]
Dnode.h21 char *str, int lineno, int col_offset);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
DPython-ast.h184 int col_offset; member
312 int col_offset; member
354 int col_offset; member
385 asdl_seq * decorator_list, int lineno, int col_offset,
389 asdl_seq * decorator_list, int lineno, int col_offset,
392 stmt_ty _Py_Return(expr_ty value, int lineno, int col_offset, PyArena *arena);
394 stmt_ty _Py_Delete(asdl_seq * targets, int lineno, int col_offset, PyArena
398 col_offset, PyArena *arena);
401 lineno, int col_offset, PyArena *arena);
404 col_offset, PyArena *arena);
[all …]
Dnode.h21 char *str, int lineno, int col_offset);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
DPython-ast.c1025 decorator_list, int lineno, int col_offset, PyArena *arena) in FunctionDef() argument
1047 p->col_offset = col_offset; in FunctionDef()
1053 decorator_list, int lineno, int col_offset, PyArena *arena) in ClassDef() argument
1070 p->col_offset = col_offset; in ClassDef()
1075 Return(expr_ty value, int lineno, int col_offset, PyArena *arena) in Return() argument
1084 p->col_offset = col_offset; in Return()
1089 Delete(asdl_seq * targets, int lineno, int col_offset, PyArena *arena) in Delete() argument
1098 p->col_offset = col_offset; in Delete()
1103 Assign(asdl_seq * targets, expr_ty value, int lineno, int col_offset, PyArena in Assign() argument
1119 p->col_offset = col_offset; in Assign()
[all …]
Dast.c808 int lineno, col_offset; in ast_for_dotted_name() local
814 col_offset = n->n_col_offset; in ast_for_dotted_name()
819 e = Name(id, Load, lineno, col_offset, c->c_arena); in ast_for_dotted_name()
827 e = Attribute(e, id, Load, lineno, col_offset, c->c_arena); in ast_for_dotted_name()
944 thing->col_offset = n->n_col_offset; in ast_for_decorated()
1114 lc = comprehension(Tuple(t, Store, first->lineno, first->col_offset, in ast_for_listcomp()
1255 comp = comprehension(Tuple(t, Store, first->lineno, first->col_offset, in ast_for_comprehension()
1798 tmp->col_offset = e->col_offset; in ast_for_power()
2105 func->col_offset, c->c_arena); in ast_for_call()
2540 int col_offset; in ast_for_import_stmt() local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
DPython-ast.c1042 decorator_list, int lineno, int col_offset, PyArena *arena) in FunctionDef() argument
1064 p->col_offset = col_offset; in FunctionDef()
1070 decorator_list, int lineno, int col_offset, PyArena *arena) in ClassDef() argument
1087 p->col_offset = col_offset; in ClassDef()
1092 Return(expr_ty value, int lineno, int col_offset, PyArena *arena) in Return() argument
1101 p->col_offset = col_offset; in Return()
1106 Delete(asdl_seq * targets, int lineno, int col_offset, PyArena *arena) in Delete() argument
1115 p->col_offset = col_offset; in Delete()
1120 Assign(asdl_seq * targets, expr_ty value, int lineno, int col_offset, PyArena in Assign() argument
1136 p->col_offset = col_offset; in Assign()
[all …]
Dast.c808 int lineno, col_offset; in ast_for_dotted_name() local
814 col_offset = n->n_col_offset; in ast_for_dotted_name()
819 e = Name(id, Load, lineno, col_offset, c->c_arena); in ast_for_dotted_name()
827 e = Attribute(e, id, Load, lineno, col_offset, c->c_arena); in ast_for_dotted_name()
944 thing->col_offset = n->n_col_offset; in ast_for_decorated()
1114 lc = comprehension(Tuple(t, Store, first->lineno, first->col_offset, in ast_for_listcomp()
1255 comp = comprehension(Tuple(t, Store, first->lineno, first->col_offset, in ast_for_comprehension()
1803 tmp->col_offset = e->col_offset; in ast_for_power()
2110 func->col_offset, c->c_arena); in ast_for_call()
2545 int col_offset; in ast_for_import_stmt() local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dast.py133 def _fix(node, lineno, col_offset): argument
141 node.col_offset = col_offset
143 col_offset = node.col_offset
145 _fix(child, lineno, col_offset)
Dtokenize.py188 col_offset = col - self.prev_col
189 if col_offset:
190 self.tokens.append(" " * col_offset)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dast.py133 def _fix(node, lineno, col_offset): argument
141 node.col_offset = col_offset
143 col_offset = node.col_offset
145 _fix(child, lineno, col_offset)
Dtokenize.py195 col_offset = col - self.prev_col
196 if col_offset:
197 self.tokens.append(" " * col_offset)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
Dparser.c108 shift(register stack *s, int type, char *str, int newstate, int lineno, int col_offset) in shift() argument
112 err = PyNode_AddChild(s->s_top->s_parent, type, str, lineno, col_offset); in shift()
120 push(register stack *s, int type, dfa *d, int newstate, int lineno, int col_offset) in push() argument
126 err = PyNode_AddChild(n, type, (char *)NULL, lineno, col_offset); in push()
221 int lineno, int col_offset, int *expected_ret) in PyParser_AddToken() argument
253 arrow, lineno, col_offset)) > 0) { in PyParser_AddToken()
263 x, lineno, col_offset)) > 0) { in PyParser_AddToken()
Dparsetok.c157 int col_offset; in parsetok() local
193 col_offset = a - tok->line_start; in parsetok()
195 col_offset = -1; in parsetok()
198 PyParser_AddToken(ps, (int)type, str, tok->lineno, col_offset, in parsetok()
Dnode.c79 PyNode_AddChild(register node *n1, int type, char *str, int lineno, int col_offset) in PyNode_AddChild() argument
109 n->n_col_offset = col_offset; in PyNode_AddChild()
Dparser.h35 int PyParser_AddToken(parser_state *ps, int type, char *str, int lineno, int col_offset,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dparser.c108 shift(register stack *s, int type, char *str, int newstate, int lineno, int col_offset) in shift() argument
112 err = PyNode_AddChild(s->s_top->s_parent, type, str, lineno, col_offset); in shift()
120 push(register stack *s, int type, dfa *d, int newstate, int lineno, int col_offset) in push() argument
126 err = PyNode_AddChild(n, type, (char *)NULL, lineno, col_offset); in push()
221 int lineno, int col_offset, int *expected_ret) in PyParser_AddToken() argument
253 arrow, lineno, col_offset)) > 0) { in PyParser_AddToken()
263 x, lineno, col_offset)) > 0) { in PyParser_AddToken()
DPython.asdl49 -- col_offset is the byte offset in the utf8 string the parser uses
50 attributes (int lineno, int col_offset)
83 -- col_offset is the byte offset in the utf8 string the parser uses
84 attributes (int lineno, int col_offset)
105 attributes (int lineno, int col_offset)
Dnode.c79 PyNode_AddChild(register node *n1, int type, char *str, int lineno, int col_offset) in PyNode_AddChild() argument
109 n->n_col_offset = col_offset; in PyNode_AddChild()
Dparsetok.c168 int col_offset; in parsetok() local
206 col_offset = a - tok->line_start; in parsetok()
208 col_offset = -1; in parsetok()
211 PyParser_AddToken(ps, (int)type, str, tok->lineno, col_offset, in parsetok()
Dparser.h35 int PyParser_AddToken(parser_state *ps, int type, char *str, int lineno, int col_offset,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_ast.py12 result.append((t.lineno, t.col_offset))
133 node_pos = (ast_node.lineno, ast_node.col_offset)
135 parent_pos = (ast_node.lineno, ast_node.col_offset)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/
Dtokenize.py193 col_offset = col - self.prev_col
194 if col_offset:
195 self.tokens.append(" " * col_offset)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dparsermodule.c86 int col_offset) /* include column offsets? */ in node2tuple() argument
107 w = node2tuple(CHILD(n, i), mkseq, addelem, lineno, col_offset); in node2tuple()
120 PyObject *result = mkseq(2 + lineno + col_offset); in node2tuple()
126 if (col_offset == 1) in node2tuple()
351 int col_offset = 0; in parser_st2tuple() local
358 col_offset = PyObject_IsTrue(col_option); in parser_st2tuple()
359 if (col_offset < 0) in parser_st2tuple()
367 PyTuple_New, PyTuple_SetItem, lineno, col_offset); in parser_st2tuple()
406 int col_offset = 0; in parser_st2list() local
413 col_offset = PyObject_IsTrue(col_option); in parser_st2list()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dparsermodule.c86 int col_offset) /* include column offsets? */ in node2tuple() argument
107 w = node2tuple(CHILD(n, i), mkseq, addelem, lineno, col_offset); in node2tuple()
120 PyObject *result = mkseq(2 + lineno + col_offset); in node2tuple()
126 if (col_offset == 1) in node2tuple()
320 int col_offset = 0; in parser_st2tuple() local
325 col_offset = (PyObject_IsTrue(col_option) != 0) ? 1 : 0; in parser_st2tuple()
332 PyTuple_New, PyTuple_SetItem, lineno, col_offset); in parser_st2tuple()
371 int col_offset = 0; in parser_st2list() local
376 col_offset = (PyObject_IsTrue(col_option) != 0) ? 1 : 0; in parser_st2list()
383 PyList_New, PyList_SetItem, lineno, col_offset); in parser_st2list()

12