Searched refs:addelem (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Modules/ |
D | parsermodule.c | 87 SeqInserter addelem, /* func. to add elem. in seq. */ in node2tuple() argument 107 (void) addelem(result, 0, w); in node2tuple() 110 w = node2tuple(CHILD(n, i), mkseq, addelem, lineno, col_offset); in node2tuple() 113 (void) addelem(result, i+1, w); in node2tuple() 120 (void) addelem(result, i+1, w); in node2tuple() 131 (void) addelem(result, 0, w); in node2tuple() 136 (void) addelem(result, 1, w); in node2tuple() 142 (void) addelem(result, 2, w); in node2tuple() 149 (void) addelem(result, 2 + lineno, w); in node2tuple()
|
/external/python/cpython2/Modules/ |
D | parsermodule.c | 84 SeqInserter addelem, /* func. to add elem. in seq. */ in node2tuple() argument 105 (void) addelem(v, 0, w); in node2tuple() 107 w = node2tuple(CHILD(n, i), mkseq, addelem, lineno, col_offset); in node2tuple() 112 (void) addelem(v, i+1, w); in node2tuple() 116 (void) addelem(v, i+1, PyString_FromString(STR(n))); in node2tuple() 122 (void) addelem(result, 0, PyInt_FromLong(TYPE(n))); in node2tuple() 123 (void) addelem(result, 1, PyString_FromString(STR(n))); in node2tuple() 125 (void) addelem(result, 2, PyInt_FromLong(n->n_lineno)); in node2tuple() 127 (void) addelem(result, 2 + lineno, PyInt_FromLong(n->n_col_offset)); in node2tuple()
|