Home
last modified time | relevance | path

Searched refs:line_num (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Scripts/
DPatchCheck.py244 self.line_num = 0
246 while self.line_num < self.count and self.format_ok:
247 line_num = self.line_num
249 assert(self.line_num > line_num)
259 line = self.lines[self.line_num]
269 for line in self.lines[self.line_num + 1:]:
273 self.line_num = self.count
282 self.line_num += 1
299 self.line_num += 1
311 self.line_num += 1
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dcsv.py81 self.line_num = 0
93 self.line_num = self.reader.line_num
105 if self.line_num == 0:
109 self.line_num = self.reader.line_num
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dcsv.py81 self.line_num = 0
93 self.line_num = self.reader.line_num
101 if self.line_num == 0:
105 self.line_num = self.reader.line_num
Ddifflib.py1758 def _split_line(self,data_list,line_num,text): argument
1768 if not line_num:
1769 data_list.append((line_num,text))
1776 data_list.append((line_num,text))
1808 data_list.append((line_num,line1))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_warnings.py543 line_num = 3
544 file_line = linecache.getline(file_name, line_num).strip()
546 expect = format % (file_name, line_num, category.__name__, message,
549 category, file_name, line_num))
552 expect = format % (file_name, line_num, category.__name__, message,
555 category, file_name, line_num, file_line))
559 line_num = 3
560 expected_file_line = linecache.getline(file_name, line_num).strip()
565 line_num)
566 self.module.showwarning(message, category, file_name, line_num,
[all …]
Dtest_csv.py279 self.assertEqual(r.line_num, 0)
281 self.assertEqual(r.line_num, 1)
283 self.assertEqual(r.line_num, 2)
285 self.assertEqual(r.line_num, 3)
287 self.assertEqual(r.line_num, 3)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_csv.c123 unsigned long line_num; /* Source-file line number */ member
792 ++self->line_num; in Reader_iternext()
869 { "line_num", T_ULONG, R_OFF(line_num), RO },
924 self->line_num = 0; in csv_reader()
Dparsermodule.c708 build_node_children(PyObject *tuple, node *root, int *line_num) in build_node_children() argument
765 *line_num = PyInt_AS_LONG(o); in build_node_children()
795 err = PyNode_AddChild(root, type, strn, *line_num, 0); in build_node_children()
810 if (new_child != build_node_children(elem, new_child, line_num)) { in build_node_children()
816 ++(*line_num); /* line number *after* the newline! */ in build_node_children()
848 int line_num = 0; in build_node_tree() local
858 if (res != build_node_children(tuple, res, &line_num)) { in build_node_tree()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_csv.c123 unsigned long line_num; /* Source-file line number */ member
806 ++self->line_num; in Reader_iternext()
883 { "line_num", T_ULONG, R_OFF(line_num), RO },
938 self->line_num = 0; in csv_reader()
Dparsermodule.c737 build_node_children(PyObject *tuple, node *root, int *line_num) in build_node_children() argument
794 *line_num = PyInt_AS_LONG(o); in build_node_children()
824 err = PyNode_AddChild(root, type, strn, *line_num, 0); in build_node_children()
839 if (new_child != build_node_children(elem, new_child, line_num)) { in build_node_children()
845 ++(*line_num); /* line number *after* the newline! */ in build_node_children()
877 int line_num = 0; in build_node_tree() local
887 if (res != build_node_children(tuple, res, &line_num)) { in build_node_tree()