Home
last modified time | relevance | path

Searched refs:lnum (Results 1 – 25 of 27) sorted by relevance

12

/external/python/cpython2/Lib/lib2to3/pgen2/
Dtokenize.py363 lnum = parenlev = continued = 0
374 lnum = lnum + 1
384 strstart, (lnum, end), contline + line)
389 strstart, (lnum, len(line)), contline)
414 (lnum, pos), (lnum, pos + len(comment_token)), line)
416 (lnum, nl_pos), (lnum, len(line)), line)
419 (lnum, pos), (lnum, len(line)), line)
424 yield (INDENT, line[:pos], (lnum, 0), (lnum, pos), line)
429 ("<tokenize>", lnum, pos, line))
431 yield (DEDENT, '', (lnum, pos), (lnum, pos), line)
[all …]
/external/python/cpython2/Lib/
Dtokenize.py303 lnum = parenlev = continued = 0
321 lnum += 1
331 strstart, (lnum, end), contline + line)
336 strstart, (lnum, len(line)), contline)
366 (lnum, pos), (lnum, pos + len(comment_token)), line)
368 (lnum, nl_pos), (lnum, len(line)), line)
371 (lnum, pos), (lnum, len(line)), line)
376 yield (INDENT, line[:pos], (lnum, 0), (lnum, pos), line)
381 ("<tokenize>", lnum, pos, line))
383 yield (DEDENT, '', (lnum, pos), (lnum, pos), line)
[all …]
Dcgitb.py119 for frame, file, lnum, func, lines, index in records:
133 def reader(lnum=[lnum]): argument
134 highlight[lnum[0]] = 1
135 try: return linecache.getline(file, lnum[0])
136 finally: lnum[0] += 1
142 i = lnum - index
207 for frame, file, lnum, func, lines, index in records:
217 def reader(lnum=[lnum]): argument
218 highlight[lnum[0]] = 1
219 try: return linecache.getline(file, lnum[0])
[all …]
Dinspect.py576 lnum = object.co_firstlineno - 1
578 while lnum > 0:
579 if pat.match(lines[lnum]): break
580 lnum = lnum - 1
581 return lines, lnum
590 lines, lnum = findsource(object)
609 elif lnum > 0:
610 indent = indentsize(lines[lnum])
611 end = lnum - 1
689 lines, lnum = findsource(object)
[all …]
/external/python/cpython3/Lib/lib2to3/pgen2/
Dtokenize.py351 lnum = parenlev = continued = 0
367 lnum = lnum + 1
377 strstart, (lnum, end), contline + line)
382 strstart, (lnum, len(line)), contline)
411 (lnum, pos), (lnum, pos + len(comment_token)), line)
413 (lnum, nl_pos), (lnum, len(line)), line)
416 (lnum, pos), (lnum, len(line)), line)
421 yield (INDENT, line[:pos], (lnum, 0), (lnum, pos), line)
426 ("<tokenize>", lnum, pos, line))
434 yield (DEDENT, '', (lnum, pos), (lnum, pos), line)
[all …]
/external/python/cpython3/Lib/
Dtokenize.py432 lnum = parenlev = continued = 0
458 lnum += 1
468 strstart, (lnum, end), contline + line)
473 strstart, (lnum, len(line)), contline)
502 (lnum, pos), (lnum, pos + len(comment_token)), line)
506 (lnum, pos), (lnum, len(line)), line)
511 yield TokenInfo(INDENT, line[:pos], (lnum, 0), (lnum, pos), line)
516 ("<tokenize>", lnum, pos, line))
519 yield TokenInfo(DEDENT, '', (lnum, pos), (lnum, pos), line)
523 raise TokenError("EOF in multi-line statement", (lnum, 0))
[all …]
Dcgitb.py118 for frame, file, lnum, func, lines, index in records:
133 def reader(lnum=[lnum]): argument
134 highlight[lnum[0]] = 1
135 try: return linecache.getline(file, lnum[0])
136 finally: lnum[0] += 1
142 i = lnum - index
206 for frame, file, lnum, func, lines, index in records:
217 def reader(lnum=[lnum]): argument
218 highlight[lnum[0]] = 1
219 try: return linecache.getline(file, lnum[0])
[all …]
Dinspect.py987 lnum = object.co_firstlineno - 1
989 while lnum > 0:
991 line = lines[lnum]
996 lnum = lnum - 1
997 return lines, lnum
1006 lines, lnum = findsource(object)
1025 elif lnum > 0:
1026 indent = indentsize(lines[lnum])
1027 end = lnum - 1
1129 lines, lnum = findsource(object)
[all …]
/external/google-styleguide/
Dgoogle_python_style.vim3 setlocal indentexpr=GetGooglePythonIndent(v:lnum)
7 function GetGooglePythonIndent(lnum) argument
18 call cursor(a:lnum, 1)
20 \ "line('.') < " . (a:lnum - s:maxoff) . " ? dummy :"
31 return GetPythonIndent(a:lnum)
/external/llvm/utils/vim/indent/
Dllvm.vim28 function! FindOpenBrace(lnum) argument
29 call cursor(a:lnum, 1)
35 let thisline = getline(v:lnum)
37 call cursor(v:lnum, 1)
40 if opening_lnum != v:lnum
47 let blockbegin = FindOpenBrace(v:lnum)
54 let prev_lnum = prevnonblank(v:lnum - 1)
/external/mksh/src/
Dshf.c796 unsigned long lnum; in shf_vfprintf() local
914 lnum = (long)VA(ssize_t); in shf_vfprintf()
916 lnum = VA(long); in shf_vfprintf()
918 lnum = (long)(short)VA(int); in shf_vfprintf()
920 lnum = (long)VA(int); in shf_vfprintf()
927 lnum = VA(size_t); in shf_vfprintf()
929 lnum = VA(unsigned long); in shf_vfprintf()
931 lnum = (unsigned long)(unsigned short)VA(int); in shf_vfprintf()
933 lnum = (unsigned long)VA(unsigned int); in shf_vfprintf()
943 if (0 > (long)lnum) { in shf_vfprintf()
[all …]
/external/catch2/scripts/
DapprovalTests.py118 filename, lnum = m.groups()
119 lnum = ":<line number>" if lnum else ""
120 line = filename + lnum + line[m.end():]
/external/curl/tests/server/
Dfake_ntlm.c165 long lnum = strtol(env, &endptr, 10); in main() local
166 if((endptr != env + strlen(env)) || (lnum < 1L)) { in main()
170 testnum = lnum; in main()
/external/curl/tests/
Dmemanalyze.pl98 my $lnum=0;
102 $lnum++;
150 print "Mixed debug compile ($source:$linenum at line $lnum), rebuild curl now\n";
/external/conscrypt/testing/src/main/java/org/conscrypt/testing/
DNullPrintStream.java83 public void print(long lnum) {} in print() argument
113 public void println(long lnum) {} in println() argument
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/testing/
DNullPrintStream.java85 public void print(long lnum) {} in print() argument
115 public void println(long lnum) {} in println() argument
/external/kernel-headers/original/uapi/mtd/
Dubi-user.h431 __s32 lnum; member
444 __s32 lnum; member
/external/strace/
Dubi.c116 tprintf("{lnum=%d, bytes=%d}", leb.lnum, leb.bytes); in ubi_ioctl()
149 map.lnum, map.dtype); in ubi_ioctl()
/external/tensorflow/tensorflow/python/autograph/pyct/
Dinspect_utils.py124 lines, lnum = inspect.findsource(obj)
125 return ''.join(inspect.getblock(lines[lnum:]))
/external/mesa3d/src/mesa/main/
Dlight.h85 _mesa_light(struct gl_context *ctx, GLuint lnum, GLenum pname, const GLfloat *params);
Dlight.c100 _mesa_light(struct gl_context *ctx, GLuint lnum, GLenum pname, const GLfloat *params) in _mesa_light() argument
104 assert(lnum < MAX_LIGHTS); in _mesa_light()
105 light = &ctx->Light.Light[lnum]; in _mesa_light()
192 ctx->Driver.Lightfv( ctx, GL_LIGHT0 + lnum, pname, params ); in _mesa_light()
/external/AFLplusplus/dictionaries/
Dotf.dict62 "lnum"
/external/oj-libjdwp/src/share/javavm/export/
Djvm.h1017 unsigned long lnum; /* line number */ member
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/
DShadowNativeStaticLayoutTest.java1838 int lnum) {
/external/pcre/testdata/
Dtestinput24984 /[:[:alnum:]-[[a:lnum:]+/

12