Home
last modified time | relevance | path

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

/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
314 lnum += 1
324 strstart, (lnum, end), contline + line)
329 strstart, (lnum, len(line)), contline)
359 (lnum, pos), (lnum, pos + len(comment_token)), line)
361 (lnum, nl_pos), (lnum, len(line)), line)
364 (lnum, pos), (lnum, len(line)), line)
369 yield (INDENT, line[:pos], (lnum, 0), (lnum, pos), line)
374 ("<tokenize>", lnum, pos, line))
376 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.py363 lnum = parenlev = continued = 0
380 lnum = lnum + 1
390 strstart, (lnum, end), contline + line)
395 strstart, (lnum, len(line)), contline)
424 (lnum, pos), (lnum, pos + len(comment_token)), line)
426 (lnum, nl_pos), (lnum, len(line)), line)
429 (lnum, pos), (lnum, len(line)), line)
434 yield (INDENT, line[:pos], (lnum, 0), (lnum, pos), line)
439 ("<tokenize>", lnum, pos, line))
447 yield (DEDENT, '', (lnum, pos), (lnum, pos), line)
[all …]
/external/python/cpython3/Lib/
Dtokenize.py493 lnum = parenlev = continued = 0
518 lnum += 1
528 strstart, (lnum, end), contline + line)
533 strstart, (lnum, len(line)), contline)
563 (lnum, pos), (lnum, pos + len(comment_token)), line)
565 (lnum, nl_pos), (lnum, len(line)), line)
568 (lnum, pos), (lnum, len(line)), line)
573 yield TokenInfo(INDENT, line[:pos], (lnum, 0), (lnum, pos), line)
578 ("<tokenize>", lnum, pos, line))
586 yield TokenInfo(DEDENT, '', (lnum, pos), (lnum, pos), line)
[all …]
Dcgitb.py118 for frame, file, lnum, func, lines, index in records:
132 def reader(lnum=[lnum]): argument
133 highlight[lnum[0]] = 1
134 try: return linecache.getline(file, lnum[0])
135 finally: lnum[0] += 1
141 i = lnum - index
205 for frame, file, lnum, func, lines, index in records:
215 def reader(lnum=[lnum]): argument
216 highlight[lnum[0]] = 1
217 try: return linecache.getline(file, lnum[0])
[all …]
Dinspect.py795 lnum = object.co_firstlineno - 1
797 while lnum > 0:
798 if pat.match(lines[lnum]): break
799 lnum = lnum - 1
800 return lines, lnum
809 lines, lnum = findsource(object)
828 elif lnum > 0:
829 indent = indentsize(lines[lnum])
830 end = lnum - 1
925 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.c795 unsigned long lnum; in shf_vfprintf() local
913 lnum = (long)VA(ssize_t); in shf_vfprintf()
915 lnum = VA(long); in shf_vfprintf()
917 lnum = (long)(short)VA(int); in shf_vfprintf()
919 lnum = (long)VA(int); in shf_vfprintf()
926 lnum = VA(size_t); in shf_vfprintf()
928 lnum = VA(unsigned long); in shf_vfprintf()
930 lnum = (unsigned long)(unsigned short)VA(int); in shf_vfprintf()
932 lnum = (unsigned long)VA(unsigned int); in shf_vfprintf()
942 if (0 > (long)lnum) { in shf_vfprintf()
[all …]
/external/curl/tests/server/
Dfake_ntlm.c164 long lnum = strtol(env, &endptr, 10); in main() local
165 if((endptr != env + strlen(env)) || (lnum < 1L)) { in main()
169 testnum = lnum; in main()
/external/curl/tests/
Dmemanalyze.pl95 my $lnum=0;
99 $lnum++;
147 print "Mixed debug compile ($source:$linenum at line $lnum), rebuild curl now\n";
/external/conscrypt/libcore-stub/src/main/java/libcore/java/io/
DNullPrintStream.java83 public void print(long lnum) {} in print() argument
113 public void println(long lnum) {} in println() argument
/external/kernel-headers/original/uapi/mtd/
Dubi-user.h406 __s32 lnum; member
419 __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/mesa3d/src/mesa/main/
Dlight.h85 _mesa_light(struct gl_context *ctx, GLuint lnum, GLenum pname, const GLfloat *params);
Dlight.c101 _mesa_light(struct gl_context *ctx, GLuint lnum, GLenum pname, const GLfloat *params) in _mesa_light() argument
105 assert(lnum < MAX_LIGHTS); in _mesa_light()
106 light = &ctx->Light.Light[lnum]; in _mesa_light()
194 ctx->Driver.Lightfv( ctx, GL_LIGHT0 + lnum, pname, params ); in _mesa_light()
/external/oj-libjdwp/src/share/javavm/export/
Djvm.h1017 unsigned long lnum; /* line number */ member