/external/python/cpython2/Parser/ |
parser.c | 108 shift(register stack *s, int type, char *str, int newstate, int lineno, int col_offset) 112 err = PyNode_AddChild(s->s_top->s_parent, type, str, lineno, col_offset); 120 push(register stack *s, int type, dfa *d, int newstate, int lineno, int col_offset) 126 err = PyNode_AddChild(n, type, (char *)NULL, lineno, col_offset); 221 int lineno, int col_offset, int *expected_ret) 253 arrow, lineno, col_offset)) > 0) { 263 x, lineno, col_offset)) > 0) {
|
node.c | 79 PyNode_AddChild(register node *n1, int type, char *str, int lineno, int col_offset) 109 n->n_col_offset = col_offset;
|
parsetok.c | 157 int col_offset; local 193 col_offset = a - tok->line_start; 196 col_offset = -1; 200 PyParser_AddToken(ps, (int)type, str, tok->lineno, col_offset,
|
/external/python/cpython3/Parser/ |
parser.c | 108 shift(stack *s, int type, char *str, int newstate, int lineno, int col_offset) 112 err = PyNode_AddChild(s->s_top->s_parent, type, str, lineno, col_offset); 120 push(stack *s, int type, dfa *d, int newstate, int lineno, int col_offset) 126 err = PyNode_AddChild(n, type, (char *)NULL, lineno, col_offset); 228 int lineno, int col_offset, int *expected_ret) 260 arrow, lineno, col_offset)) > 0) { 270 x, lineno, col_offset)) > 0) {
|
node.c | 79 PyNode_AddChild(node *n1, int type, char *str, int lineno, int col_offset) 109 n->n_col_offset = col_offset;
|
parsetok.c | 206 int col_offset; local 256 col_offset = Py_SAFE_DOWNCAST(a - tok->line_start, 260 col_offset = -1; 265 tok->lineno, col_offset,
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
origin_info.py | 48 collections.namedtuple('Location', ('filename', 'lineno', 'col_offset'))): 54 col_offset: int 85 self.loc.col_offset) 86 return '<no file>:{}:{}'.format(self.loc.lineno, self.loc.col_offset) 136 if existing_origin.loc.col_offset <= origin_info.loc.col_offset: 207 location = Location(function_filepath, source_lineno, n.col_offset)
|
/external/python/cpython3/Python/ |
future.c | 50 PyErr_SyntaxLocationObject(filename, s->lineno, s->col_offset); 55 PyErr_SyntaxLocationObject(filename, s->lineno, s->col_offset); 110 PyErr_SyntaxLocationObject(filename, s->lineno, s->col_offset);
|
symtable.c | 40 void *key, int lineno, int col_offset) 73 ste->ste_col_offset = col_offset; 181 int col_offset); 939 void *ast, int lineno, int col_offset) 943 ste = ste_new(st, name, block, ast, lineno, col_offset); 1650 int col_offset = st->st_cur->ste_col_offset; local [all...] |
/external/tensorflow/tensorflow/tools/compatibility/ |
ast_edits.py | 171 The log should be a tuple `(severity, lineno, col_offset, msg)`, which will 177 `(severity, lineno, col_offset, msg)`. 241 self.add_log(level, node.lineno, node.col_offset, 253 self.add_log(level, node.lineno, node.col_offset, 294 self.add_log(level, node.lineno, node.col_offset, 304 self.add_log(INFO, node.lineno, node.col_offset, 325 self.add_log(INFO, node.lineno, node.col_offset, 347 self.add_log(INFO, node.lineno, node.col_offset, 370 col_offset = getattr(keyword, "col_offset", node.col_offset [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
ast.py | 115 Copy source location (`lineno` and `col_offset` attributes) from
118 for attr in 'lineno', 'col_offset':
128 col_offset attributes for every node that supports them. This is rather
133 def _fix(node, lineno, col_offset):
139 if 'col_offset' in node._attributes:
140 if not hasattr(node, 'col_offset'):
141 node.col_offset = col_offset
143 col_offset = node.col_offset
[all...] |
tokenize.py | 195 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.2/Lib/ |
ast.py | 115 Copy source location (`lineno` and `col_offset` attributes) from
118 for attr in 'lineno', 'col_offset':
128 col_offset attributes for every node that supports them. This is rather
133 def _fix(node, lineno, col_offset):
139 if 'col_offset' in node._attributes:
140 if not hasattr(node, 'col_offset'):
141 node.col_offset = col_offset
143 col_offset = node.col_offset
[all...] |
tokenize.py | 188 col_offset = col - self.prev_col
189 if col_offset:
190 self.tokens.append(" " * col_offset)
|
/external/python/cpython2/Lib/ |
ast.py | 115 Copy source location (`lineno` and `col_offset` attributes) from 118 for attr in 'lineno', 'col_offset': 128 col_offset attributes for every node that supports them. This is rather 133 def _fix(node, lineno, col_offset): 139 if 'col_offset' in node._attributes: 140 if not hasattr(node, 'col_offset'): 141 node.col_offset = col_offset 143 col_offset = node.col_offset [all...] |
tokenize.py | 195 col_offset = col - self.prev_col 196 if col_offset: 197 self.tokens.append(" " * col_offset)
|
/external/python/cpython3/Lib/ |
ast.py | 126 Copy source location (`lineno` and `col_offset` attributes) from 129 for attr in 'lineno', 'col_offset': 139 col_offset attributes for every node that supports them. This is rather 144 def _fix(node, lineno, col_offset): 150 if 'col_offset' in node._attributes: 151 if not hasattr(node, 'col_offset'): 152 node.col_offset = col_offset 154 col_offset = node.col_offset [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/ |
node.c | 79 PyNode_AddChild(register node *n1, int type, char *str, int lineno, int col_offset)
109 n->n_col_offset = col_offset;
|
parsetok.c | 157 int col_offset;
local 193 col_offset = a - tok->line_start;
195 col_offset = -1;
198 PyParser_AddToken(ps, (int)type, str, tok->lineno, col_offset,
|
/external/libaom/libaom/av1/common/ |
mvref_common.c | 152 int col_offset = 0; local 155 col_offset = 1; 156 if ((mi_col & 0x01) && xd->n4_w < n8_w_8) --col_offset; 163 const MB_MODE_INFO *const candidate = candidate_mi0[col_offset + i]; 184 cm->global_motion, col_offset + i, len * weight); 192 const MV_REFERENCE_FRAME rf[2], int col_offset, 203 if (abs(col_offset) > 1) { 212 xd->mi[(row_offset + i) * xd->mi_stride + col_offset]; 218 else if (abs(col_offset) > 1) 223 int inc = AOMMIN(-max_col_offset + col_offset + 1 613 const int col_offset = -(idx << 1) + 1 + col_adj; local 905 const int col_offset = (mv.col >= 0) ? (mv.col >> (4 + MI_SIZE_LOG2)) local 1157 int col_offset = -mi_col % n4_w; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
parsetok.c | 168 int col_offset;
local 206 col_offset = a - tok->line_start;
208 col_offset = -1;
211 PyParser_AddToken(ps, (int)type, str, tok->lineno, col_offset,
|
/external/libaom/libaom/examples/ |
lightfield_tile_list_decoder.c | 71 const int col_offset = local 81 (plane > 0) ? col_offset >> img->x_chroma_shift : col_offset;
|
lightfield_decoder.c | 138 const int col_offset = local 141 aom_img_copy_tile(img, output, row_offset, col_offset);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_ast.py | 11 if hasattr(t, 'lineno') and hasattr(t, 'col_offset'):
12 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)
228 "lineno=1, col_offset=0), args=[Name(id='eggs', ctx=Load(), "
229 "lineno=1, col_offset=5), Str(s='and cheese', lineno=1, "
230 "col_offset=11)], keywords=[], starargs=None, kwargs=None, "
231 "lineno=1, col_offset=0), lineno=1, col_offset=0)])"
238 'Expression(body=BinOp(left=Num(n=1, lineno=1, col_offset=0), ' [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/ |
tokenize.py | 193 col_offset = col - self.prev_col
194 if col_offset:
195 self.tokens.append(" " * col_offset)
|