Home
last modified time | relevance | path

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

/external/python/cpython2/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);
/external/python/cpython2/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 …]
Dcompile.c3110 AugLoad, e->lineno, e->col_offset, c->c_arena); in compiler_augassign()
3121 AugLoad, e->lineno, e->col_offset, c->c_arena); in compiler_augassign()
/external/eigen/unsupported/test/
Dcxx11_tensor_image_patch.cpp153 int col_offset = c*stride + j - col_padding; in test_simple_patch() local
155 …if (row_offset >= 0 && col_offset >= 0 && row_offset < tensor.dimension(1) && col_offset < tensor.… in test_simple_patch()
156 expected = tensor(d, row_offset, col_offset, b); in test_simple_patch()
164 …if (row_offset >= 0 && col_offset >= 0 && row_offset < tensor_row_major.dimension(2) && col_offset in test_simple_patch()
165 expected_row_major = tensor_row_major(b, col_offset, row_offset, d); in test_simple_patch()
233 int col_offset = c + j - col_padding; in test_patch_padding_valid() local
234 … if (row_offset >= 0 && col_offset >= 0 && row_offset < input_rows && col_offset < input_cols) { in test_patch_padding_valid()
235 expected = tensor(d, row_offset, col_offset, b); in test_patch_padding_valid()
236 expected_row_major = tensor_row_major(b, col_offset, row_offset, d); in test_patch_padding_valid()
306 int col_offset = c + j - col_padding; in test_patch_padding_valid_same_value() local
[all …]
/external/python/cpython2/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)
/external/python/cpython2/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)
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,
/external/python/cpython2/Doc/library/
Dast.rst66 col_offset
69 :attr:`lineno` and :attr:`col_offset` attributes. The :attr:`lineno` is
71 the :attr:`col_offset` is the UTF-8 byte offset of the first token that
90 node.operand.col_offset = 0
92 node.col_offset = 0
96 node = ast.UnaryOp(ast.USub(), ast.Num(5, lineno=0, col_offset=0),
97 lineno=0, col_offset=0)
157 :attr:`lineno` and :attr:`col_offset` attributes for every node that supports
171 Copy source location (:attr:`lineno` and :attr:`col_offset`) from *old_node*
/external/pdfium/third_party/libtiff/
D0017-safe_skews_in_gtTileContig.patch46 * Leftmost tile is clipped on left side if col_offset > 0.
48 leftmost_fromskew = img->col_offset % tw;
Dtif_getimage.c267 img->col_offset = 0; in TIFFRGBAImageBegin()
657 leftmost_fromskew = img->col_offset % tw; in gtTileContig()
675 col = img->col_offset; in gtTileContig()
821 leftmost_fromskew = img->col_offset % tw; in gtTileSeparate()
832 col = img->col_offset; in gtTileSeparate()
977 ((tmsize_t) img->col_offset * img->samplesperpixel); in gtStripContig()
1109 ((tmsize_t) img->col_offset * img->samplesperpixel); in gtStripSeparate()
2840 img.col_offset = 0; in TIFFReadRGBAStrip()
2929 img.col_offset = col; in TIFFReadRGBATile()
Dtiffio.h232 int col_offset; member
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
D_ast_util.py149 def _fix(node, lineno, col_offset): argument
157 node.col_offset = col_offset
159 col_offset = node.col_offset
161 _fix(child, lineno, col_offset)
/external/python/cpython2/Lib/lib2to3/pgen2/
Dtokenize.py193 col_offset = col - self.prev_col
194 if col_offset:
195 self.tokens.append(" " * col_offset)
/external/python/cpython2/Lib/test/
Dtest_ast.py12 result.append((t.lineno, t.col_offset))
186 node_pos = (ast_node.lineno, ast_node.col_offset)
188 parent_pos = (ast_node.lineno, ast_node.col_offset)
/external/python/cpython2/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 …]
/external/mesa3d/src/compiler/spirv/
Dvtn_variables.c570 nir_ssa_def *col_offset = in _vtn_block_load_store() local
573 offset = nir_iadd(&b->nb, offset, col_offset); in _vtn_block_load_store()
619 nir_ssa_def *col_offset = in _vtn_block_load_store() local
621 offset = nir_iadd(&b->nb, offset, col_offset); in _vtn_block_load_store()
/external/python/cpython2/Misc/
DNEWS7393 - Issue #6704: Improve the col_offset in AST for "for" statements with a target