Home
last modified time | relevance | path

Searched refs:lno (Results 1 – 22 of 22) sorted by relevance

/external/python/cpython2/Doc/tools/
Drstlint.py83 for lno, line in enumerate(lines):
85 yield lno+1, 'comment seems to be intended as a directive'
89 yield lno+1, 'default role used'
97 for lno, line in enumerate(lines):
99 yield lno+1, '\\r in line'
101 yield lno+1, 'OMG TABS!!!1'
103 yield lno+1, 'trailing whitespace'
109 for lno, line in enumerate(lines):
117 yield lno+1, "line too long"
125 for lno, line in enumerate(lines):
[all …]
/external/toybox/toys/pending/
Dcrontab.c117 int lno, fd = xopenro(fname); in parse_crontab() local
120 for (lno = 1; (line = get_rawline(fd, &plen, '\n')); lno++,free(line)) { in parse_crontab()
126 snprintf(toybuf, sizeof(toybuf), "'%d': premature EOF\n", lno); in parse_crontab()
146 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab()
157 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab()
163 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab()
171 snprintf(toybuf, sizeof(toybuf), "'%d': %s\n", lno, line); in parse_crontab()
177 snprintf(toybuf, sizeof(toybuf), "'%d': bad minute\n", lno); in parse_crontab()
181 snprintf(toybuf, sizeof(toybuf), "'%d': bad hour\n", lno); in parse_crontab()
185 snprintf(toybuf, sizeof(toybuf), "'%d': bad day-of-month\n", lno); in parse_crontab()
[all …]
/external/python/cpython2/Lib/idlelib/
DPyParse.py231 level = lno = 0 # level is nesting level; lno is line number
244 lno = lno + 1
246 push_good(lno)
265 firstlno = lno
280 lno = lno + 1
284 push_good(lno)
291 lno = lno + 1
300 if (lno - 1) == firstlno:
317 lno = lno + 1
332 assert (continuation == C_NONE) == (goodlines[-1] == lno)
[all …]
DHyperParser.py24 lno = index2line(text.index(index))
28 startat = max(lno - context, 1)
30 stopatindex = "%d.end" % lno
47 stopatindex = "%d.end" % lno
DEditorWindow.py1319 lno = index2line(text.index('insert'))
1323 startat = max(lno - context, 1)
/external/python/cpython2/Tools/i18n/
Dmsgfmt.py122 lno = 0
124 lno += 1
148 (infile, lno)
159 (infile, lno)
167 (infile, lno)
180 print >> sys.stderr, 'Syntax error on %s:%d' % (infile, lno), \
/external/python/cpython2/Modules/
Dcgen.py430 lno = 0 variable
449 lno = lno+1 variable
491 err('Line', lno, ': bad return type :', words[0])
493 err('Line', lno, ': no funcname :', line)
496 err('Line', lno, ': odd argument list :', words[2:])
509 err('Line', lno, ':', msg)
/external/mksh/src/
Dhistrap.c588 int lno = hist_source->line; in histsync() local
594 if (lno != hist_source->line) in histsync()
856 int lno = 0, lines = 0; in histload() local
870 lno = ((base[0] & 0xFF) << 24) | ((base[1] & 0xFF) << 16) | in histload()
874 if (histptr >= history && lno - 1 != s->line) { in histload()
878 if (lno >= s->line - (histptr - history) && lno <= s->line) { in histload()
879 hp = &histptr[lno - s->line]; in histload()
884 s->line = lno--; in histload()
885 histsave(&lno, (char *)(base + 4), HIST_NOTE, false); in histload()
903 writehistfile(int lno, const char *cmd) in writehistfile() argument
[all …]
Dsyn.c266 int c, iopn = 0, syniocf, lno; in get_command() local
405 lno = source->line; in get_command()
417 t->lineno = lno; in get_command()
/external/selinux/checkpolicy/
Dpolicy_scan.l37 static unsigned int lno = 0; variable
59 \n.* { strncpy(linebuf[lno], yytext+1, 255);
60 linebuf[lno][254] = 0;
61 lno = 1 - lno;
/external/bzip2/
Ddecompress.c425 Int32 ii, jj, kk, pp, lno, off; in BZ2_decompress() local
447 lno = nn / MTFL_SIZE; in BZ2_decompress()
449 pp = s->mtfbase[lno] + off; in BZ2_decompress()
451 while (pp > s->mtfbase[lno]) { in BZ2_decompress()
454 s->mtfbase[lno]++; in BZ2_decompress()
455 while (lno > 0) { in BZ2_decompress()
456 s->mtfbase[lno]--; in BZ2_decompress()
457 s->mtfa[s->mtfbase[lno]] in BZ2_decompress()
458 = s->mtfa[s->mtfbase[lno-1] + MTFL_SIZE - 1]; in BZ2_decompress()
459 lno--; in BZ2_decompress()
/external/valgrind/coregrind/
Dm_mallocfree.c1183 void swizzle ( Arena* a, UInt lno ) in swizzle() argument
1190 p_best = a->freelist[lno]; in swizzle()
1205 if (p_best < a->freelist[lno]) { in swizzle()
1207 VG_(printf)("retreat by %ld\n", (Word)(a->freelist[lno] - p_best)); in swizzle()
1209 a->freelist[lno] = p_best; in swizzle()
1742 UInt lno, i; in VG_() local
1779 for (lno = pszB_to_listNo(req_pszB); lno < N_MALLOC_LISTS; lno++) { in VG_()
1781 b = a->freelist[lno]; in VG_()
1787 && lno < N_MALLOC_LISTS-1) { in VG_()
1794 b = a->freelist[lno]; in VG_()
[all …]
/external/python/cpython2/Lib/logging/
D__init__.py1254 def makeRecord(self, name, level, fn, lno, msg, args, exc_info, func=None, extra=None): argument
1259 rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func)
1277 fn, lno, func = self.findCaller()
1279 fn, lno, func = "(unknown file)", 0, "(unknown function)"
1281 fn, lno, func = "(unknown file)", 0, "(unknown function)"
1285 record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra)
/external/valgrind/cachegrind/
Dcg_merge.c121 UInt lno; member
128 fprintf(stderr, "%s: near %s line %u\n", argv0, s->filename, s->lno-1); in printSrcLoc()
178 s->lno++; in readline()
904 src.lno = 1; in main()
/external/python/cpython2/Lib/test/
Dtest_zipimport.py368 f,lno,n,line = extract_tb(tb, 1)[0]
371 f,lno,n,line = extract_stack(tb.tb_frame, 1)[0]
/external/valgrind/memcheck/tests/
Dvarinfo6.c1822 Int32 ii, jj, kk, pp, lno, off; in BZ2_decompress() local
1844 lno = nn / MTFL_SIZE; in BZ2_decompress()
1846 pp = s->mtfbase[lno] + off; in BZ2_decompress()
1848 while (pp > s->mtfbase[lno]) { in BZ2_decompress()
1851 s->mtfbase[lno]++; in BZ2_decompress()
1852 while (lno > 0) { in BZ2_decompress()
1853 s->mtfbase[lno]--; in BZ2_decompress()
1854 s->mtfa[s->mtfbase[lno]] in BZ2_decompress()
1855 = s->mtfa[s->mtfbase[lno-1] + MTFL_SIZE - 1]; in BZ2_decompress()
1856 lno--; in BZ2_decompress()
Dorigin5-bz2.c1783 Int32 ii, jj, kk, pp, lno, off; in BZ2_decompress() local
1805 lno = nn / MTFL_SIZE; in BZ2_decompress()
1807 pp = s->mtfbase[lno] + off; in BZ2_decompress()
1809 while (pp > s->mtfbase[lno]) { in BZ2_decompress()
1812 s->mtfbase[lno]++; in BZ2_decompress()
1813 while (lno > 0) { in BZ2_decompress()
1814 s->mtfbase[lno]--; in BZ2_decompress()
1815 s->mtfa[s->mtfbase[lno]] in BZ2_decompress()
1816 = s->mtfa[s->mtfbase[lno-1] + MTFL_SIZE - 1]; in BZ2_decompress()
1817 lno--; in BZ2_decompress()
/external/valgrind/perf/
Dbz2.c1781 Int32 ii, jj, kk, pp, lno, off; in BZ2_decompress() local
1803 lno = nn / MTFL_SIZE; in BZ2_decompress()
1805 pp = s->mtfbase[lno] + off; in BZ2_decompress()
1807 while (pp > s->mtfbase[lno]) { in BZ2_decompress()
1810 s->mtfbase[lno]++; in BZ2_decompress()
1811 while (lno > 0) { in BZ2_decompress()
1812 s->mtfbase[lno]--; in BZ2_decompress()
1813 s->mtfa[s->mtfbase[lno]] in BZ2_decompress()
1814 = s->mtfa[s->mtfbase[lno-1] + MTFL_SIZE - 1]; in BZ2_decompress()
1815 lno--; in BZ2_decompress()
Dtest_input_for_tinycc.c1740 Int32 ii, jj, kk, pp, lno, off; in BZ2_decompress() local
1762 lno = nn / 16; in BZ2_decompress()
1764 pp = s->mtfbase[lno] + off; in BZ2_decompress()
1766 while (pp > s->mtfbase[lno]) { in BZ2_decompress()
1769 s->mtfbase[lno]++; in BZ2_decompress()
1770 while (lno > 0) { in BZ2_decompress()
1771 s->mtfbase[lno]--; in BZ2_decompress()
1772 s->mtfa[s->mtfbase[lno]] in BZ2_decompress()
1773 = s->mtfa[s->mtfbase[lno-1] + 16 - 1]; in BZ2_decompress()
1774 lno--; in BZ2_decompress()
/external/valgrind/exp-sgcheck/tests/
Dhackedbz2.c1792 Int32 ii, jj, kk, pp, lno, off; in BZ2_decompress() local
1814 lno = nn / MTFL_SIZE; in BZ2_decompress()
1816 pp = s->mtfbase[lno] + off; in BZ2_decompress()
1818 while (pp > s->mtfbase[lno]) { in BZ2_decompress()
1821 s->mtfbase[lno]++; in BZ2_decompress()
1822 while (lno > 0) { in BZ2_decompress()
1823 s->mtfbase[lno]--; in BZ2_decompress()
1824 s->mtfa[s->mtfbase[lno]] in BZ2_decompress()
1825 = s->mtfa[s->mtfbase[lno-1] + MTFL_SIZE - 1]; in BZ2_decompress()
1826 lno--; in BZ2_decompress()
/external/valgrind/coregrind/m_debuginfo/
Ddebuginfo.c1707 Word lno; in search_all_loctabs() local
1714 lno = ML_(search_one_loctab) ( di, ptr ); in search_all_loctabs()
1715 if (lno == -1) goto not_found; in search_all_loctabs()
1716 *locno = lno; in search_all_loctabs()
/external/python/cpython2/Doc/library/
Dlogging.rst281 .. method:: Logger.makeRecord(name, lvl, fn, lno, msg, args, exc_info, func=None, extra=None)