Searched defs:lineno (Results 1 - 25 of 49) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
H A Dparsetok.h13 int lineno; member in struct:__anon2703
H A Dpyerrors.h23 PyObject *lineno; member in struct:__anon2706
218 PyAPI_FUNC(void) _PyErr_BadInternalCall(char *filename, int lineno);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
H A Dparsetok.h13 int lineno; member in struct:__anon3009
H A Dpyerrors.h23 PyObject *lineno; member in struct:__anon3012
217 PyAPI_FUNC(void) _PyErr_BadInternalCall(char *filename, int lineno);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
H A Dnode.c79 PyNode_AddChild(register node *n1, int type, char *str, int lineno, int col_offset) argument
108 n->n_lineno = lineno;
H A Dparser.c108 shift(register stack *s, int type, char *str, int newstate, int lineno, int col_offset) argument
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) argument
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) {
220 PyParser_AddToken(register parser_state *ps, register int type, char *str, int lineno, int col_offset, int *expected_ret) argument
H A Dtokenizer.h33 int lineno; /* Current line number */ member in struct:tok_state
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
H A Dnode.c79 PyNode_AddChild(register node *n1, int type, char *str, int lineno, int col_offset) argument
108 n->n_lineno = lineno;
H A Dparser.c108 shift(register stack *s, int type, char *str, int newstate, int lineno, int col_offset) argument
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) argument
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) {
220 PyParser_AddToken(register parser_state *ps, register int type, char *str, int lineno, int col_offset, int *expected_ret) argument
H A Dtokenizer.h33 int lineno; /* Current line number */ member in struct:tok_state
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
H A Dfparseln.c105 fparseln(FILE *fp, size_t *size, size_t *lineno, const char str[3], int flags) argument
142 if (lineno)
143 (*lineno)++;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
H A Dfileinput.py15 Functions filename(), lineno() return the filename and cumulative line
49 lineno(), fileline(), isfirstline(), isstdin(), nextfile() and close()
84 __all__ = ["input","close","nextfile","filename","lineno","filelineno",
136 def lineno(): function
144 return _state.lineno()
187 filename(), lineno(), fileline(), isfirstline(), isstdin(), fileno(),
359 def lineno(self): member in class:FileInput
412 print "%d: %s[%d]%s %s" % (lineno(), filename(), filelineno(),
414 print "%d: %s[%d]" % (lineno(), filename(), filelineno())
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dfileinput.py15 Functions filename(), lineno() return the filename and cumulative line
49 lineno(), fileline(), isfirstline(), isstdin(), nextfile() and close()
84 __all__ = ["input","close","nextfile","filename","lineno","filelineno",
137 def lineno(): function
145 return _state.lineno()
188 filename(), lineno(), fileline(), isfirstline(), isstdin(), fileno(),
356 def lineno(self): member in class:FileInput
408 print "%d: %s[%d]%s %s" % (lineno(), filename(), filelineno(),
410 print "%d: %s[%d]" % (lineno(), filename(), filelineno())
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
H A Dpeephole.c290 the lineno table has complex encoding for gaps >= 255.
306 unsigned char *lineno; local
317 /* Bypass optimization when the lineno table is too complex */
319 lineno = (unsigned char*)PyString_AS_STRING(lineno_obj);
321 if (memchr(lineno, 255, tabsiz) != NULL)
608 cum_orig_line += lineno[i];
611 lineno[i] =((unsigned char)(new_line - last_line));
H A Dtraceback.c119 _Py_DisplaySourceLine(PyObject *f, const char *filename, int lineno, int indent) argument
178 for (i = 0; i < lineno; i++) {
191 if (i == lineno) {
219 tb_displayline(PyObject *f, const char *filename, int lineno, const char *name) argument
228 PyOS_snprintf(linebuf, sizeof(linebuf), FMT, filename, lineno, name);
232 return _Py_DisplaySourceLine(f, filename, lineno, 4);
H A D_warnings.c102 get_filter(PyObject *category, PyObject *text, Py_ssize_t lineno, argument
153 if (good_msg && is_subclass && good_mod && (ln == 0 || lineno == ln))
243 show_warning(PyObject *filename, int lineno, PyObject *text, PyObject argument
250 PyOS_snprintf(lineno_str, sizeof(lineno_str), ":%d: ", lineno);
263 /* Print "filename:lineno: category: text\n" */
284 lineno, 2);
290 PyObject *filename, int lineno,
331 lineno_obj = PyInt_FromLong(lineno);
349 action = get_filter(category, text, lineno, module, &item);
402 show_warning(filename, lineno, tex
289 warn_explicit(PyObject *category, PyObject *message, PyObject *filename, int lineno, PyObject *module, PyObject *registry, PyObject *sourceline) argument
443 setup_context(Py_ssize_t stack_level, PyObject **filename, int *lineno, PyObject **module, PyObject **registry) argument
592 int lineno; local
630 int lineno; local
742 PyErr_WarnExplicit(PyObject *category, const char *text, const char *filename_str, int lineno, const char *module_str, PyObject *registry) argument
801 PyObject *lineno, *result; local
[all...]
H A Derrors.c538 _PyErr_BadInternalCall(char *filename, int lineno) argument
542 filename, lineno);
724 PyErr_SyntaxLocation(const char *filename, int lineno) argument
733 tmp = PyInt_FromLong(lineno);
737 if (PyObject_SetAttrString(v, "lineno", tmp))
751 tmp = PyErr_ProgramText(filename, lineno);
790 PyErr_ProgramText(const char *filename, int lineno) argument
796 if (filename == NULL || *filename == '\0' || lineno <= 0)
801 for (i = 0; i < lineno; i++) {
815 if (i == lineno) {
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_struct.py41 lineno = inspect.currentframe().f_lineno - 1
43 self.assertEqual(w.lineno, lineno)
330 lineno = inspect.currentframe().f_lineno - 1 variable in class:StructTest.test_integers.IntTester.run.BadIndex
332 self.assertEqual(w.lineno, lineno)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Dpeephole.c301 the lineno table has complex encoding for gaps >= 255.
317 unsigned char *lineno; local
328 /* Bypass optimization when the lineno table is too complex */
330 lineno = (unsigned char*)PyString_AS_STRING(lineno_obj);
332 if (memchr(lineno, 255, tabsiz) != NULL)
621 cum_orig_line += lineno[i];
624 lineno[i] =((unsigned char)(new_line - last_line));
H A Dtraceback.c119 _Py_DisplaySourceLine(PyObject *f, const char *filename, int lineno, int indent) argument
178 for (i = 0; i < lineno; i++) {
191 if (i == lineno) {
219 tb_displayline(PyObject *f, const char *filename, int lineno, const char *name) argument
228 PyOS_snprintf(linebuf, sizeof(linebuf), FMT, filename, lineno, name);
232 return _Py_DisplaySourceLine(f, filename, lineno, 4);
/device/google/dragon/audio/hal/
H A Diniparser.c641 int lineno=0 ; local
664 lineno++ ;
673 lineno);
709 lineno);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
H A Dcodeobject.c327 int lineno = -1; local
332 lineno = co->co_firstlineno;
339 name, co, filename, lineno);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/
H A Dpytree.py162 return node.lineno
357 lineno = 0 # Line where this token starts in the input variable in class:Leaf
372 self._prefix, (self.lineno, self.column) = context
403 (self.prefix, (self.lineno, self.column)),
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dcodeobject.c327 int lineno = -1; local
332 lineno = co->co_firstlineno;
339 name, co, filename, lineno);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
H A Dpyexpat.c126 int lineno = XML_GetErrorLineNumber(parser); local
132 XML_ErrorString(code), lineno, column);
137 && set_error_attr(err, "lineno", lineno)) {
262 getcode(enum HandlerTypes slot, char* func_name, int lineno) argument
266 PyCode_NewEmpty(__FILE__, func_name, lineno);

Completed in 239 milliseconds

12