Home
last modified time | relevance | path

Searched refs:startline (Results 1 – 25 of 35) sorted by relevance

12

/external/python/cpython3/Lib/idlelib/idle_test/
Dmock_tk.py205 startline, startchar = self._decode(index1)
207 endline, endchar = startline, startchar+1
211 if startline == endline:
212 return self.data[startline][startchar:endchar]
214 lines = [self.data[startline][startchar:]]
215 for i in range(startline+1, endline):
226 startline, startchar = self._decode(index1, -1)
228 if startchar < len(self.data[startline])-1:
230 endline, endchar = startline, startchar+1
231 elif startline < len(self.data) - 1:
[all …]
/external/python/cpython2/Lib/idlelib/idle_test/
Dmock_tk.py200 startline, startchar = self._decode(index1)
202 endline, endchar = startline, startchar+1
206 if startline == endline:
207 return self.data[startline][startchar:endchar]
209 lines = [self.data[startline][startchar:]]
210 for i in range(startline+1, endline):
222 startline, startchar = self._decode(index1, -1)
224 if startchar < len(self.data[startline])-1:
226 endline, endchar = startline, startchar+1
227 elif startline < len(self.data) - 1:
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/generated/com/github/javaparser/
DJavaCharStream.java410 int startline, int startcolumn, int buffersize) in JavaCharStream() argument
413 line = startline; in JavaCharStream()
425 int startline, int startcolumn) in JavaCharStream() argument
427 this(dstream, startline, startcolumn, 4096); in JavaCharStream()
437 int startline, int startcolumn, int buffersize) in ReInit() argument
440 line = startline; in ReInit()
458 int startline, int startcolumn) in ReInit() argument
460 ReInit(dstream, startline, startcolumn, 4096); in ReInit()
469 public JavaCharStream(java.io.InputStream dstream, String encoding, int startline, in JavaCharStream() argument
472 …reamReader(dstream) : new java.io.InputStreamReader(dstream, encoding), startline, startcolumn, bu… in JavaCharStream()
[all …]
/external/apache-commons-bcel/src/examples/Mini/
DASCII_CharStream.java237 public ASCII_CharStream(java.io.Reader dstream, int startline, in ASCII_CharStream() argument
246 line = startline; in ASCII_CharStream()
255 public ASCII_CharStream(java.io.Reader dstream, int startline, in ASCII_CharStream() argument
258 this(dstream, startline, startcolumn, 4096); in ASCII_CharStream()
260 static public void ReInit(java.io.Reader dstream, int startline, in ReInit() argument
264 line = startline; in ReInit()
279 static public void ReInit(java.io.Reader dstream, int startline, in ReInit() argument
282 ReInit(dstream, startline, startcolumn, 4096); in ReInit()
284 public ASCII_CharStream(java.io.InputStream dstream, int startline, in ASCII_CharStream() argument
287 this(new java.io.InputStreamReader(dstream), startline, startcolumn, 4096); in ASCII_CharStream()
[all …]
/external/icu/icu4c/source/tools/genrb/
Dparse.cpp125 ParseResourceFunction(ParseState* state, char *tag, uint32_t startline, const struct UString* comme…
310 parseUCARules(ParseState* state, char *tag, uint32_t startline, const struct UString* /*comment*/, … in parseUCARules() argument
330 printf(" %s at line %i \n", (tag == NULL) ? "(null)" : tag, (int)startline); in parseUCARules()
454 parseTransliterator(ParseState* state, char *tag, uint32_t startline, const struct UString* /*comme… in parseTransliterator() argument
471 printf(" %s at line %i \n", (tag == NULL) ? "(null)" : tag, (int)startline); in parseTransliterator()
532 parseDependency(ParseState* state, char *tag, uint32_t startline, const struct UString* comment, UE… in parseDependency() argument
544 printf(" %s at line %i \n", (tag == NULL) ? "(null)" : tag, (int)startline); in parseDependency()
594 parseString(ParseState* state, char *tag, uint32_t startline, const struct UString* comment, UError… in parseString() argument
604 printf(" string %s at line %i \n", (tag == NULL) ? "(null)" : tag, (int)startline); in parseString()
629 parseAlias(ParseState* state, char *tag, uint32_t startline, const struct UString *comment, UErrorC… in parseAlias() argument
[all …]
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/
DSimpleCharStream.java275 public SimpleCharStream(Provider dstream, int startline, in SimpleCharStream() argument
279 line = startline; in SimpleCharStream()
289 public SimpleCharStream(Provider dstream, int startline, in SimpleCharStream() argument
292 this(dstream, startline, startcolumn, 4096); in SimpleCharStream()
302 public void ReInit(Provider dstream, int startline, in ReInit() argument
306 line = startline; in ReInit()
322 public void ReInit(Provider dstream, int startline, in ReInit() argument
325 ReInit(dstream, startline, startcolumn, 4096); in ReInit()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/
DJavaCharStream.java413 int startline, int startcolumn, int buffersize) in JavaCharStream() argument
416 line = startline; in JavaCharStream()
428 int startline, int startcolumn) in JavaCharStream() argument
430 this(dstream, startline, startcolumn, 4096); in JavaCharStream()
440 int startline, int startcolumn, int buffersize) in ReInit() argument
443 line = startline; in ReInit()
461 int startline, int startcolumn) in ReInit() argument
463 ReInit(dstream, startline, startcolumn, 4096); in ReInit()
/external/llvm-project/lldb/utils/lui/
Dcommandwin.py90 self.startline = self.win.getmaxyx()[0] - 2
98 self.el.showPrompt(self.startline, 0)
117 self.win.addstr(self.startline, 0, out + '\n', attr)
119 self.el.showPrompt(self.startline, 0)
/external/python/cpython2/Lib/
Dtokenize.py202 startline = False
218 startline = True
219 elif startline and indents:
224 startline = False
236 startline = token[0] in (NEWLINE, NL)
260 startline = True
261 elif startline and indents:
263 startline = False
/external/python/cpython3/Lib/idlelib/
Dsearchengine.py144 startline = line
152 if wrapped and line > startline:
166 startline = line
174 if wrapped and line < startline:
/external/python/cpython2/Lib/idlelib/
DSearchEngine.py145 startline = line
153 if wrapped and line > startline:
167 startline = line
175 if wrapped and line < startline:
/external/python/cpython3/Lib/
Dtokenize.py186 startline = False
205 startline = True
206 elif startline and indents:
211 startline = False
223 startline = token[0] in (NEWLINE, NL)
250 startline = True
251 elif startline and indents:
253 startline = False
/external/python/cpython2/Tools/scripts/
Dtexcheck.py114 startline = int(opts.get('-s', '1'))
117 for lineno, line in izip(count(startline), islice(source, startline-1, None)):
Dcleanfuture.py184 startline = srow - 1 # tokenize is one-based
245 changed.append((startline, endline, line))
/external/python/cpython2/Lib/lib2to3/pgen2/
Dtokenize.py212 startline = False
219 startline = True
233 startline = True
234 elif startline and indents:
236 startline = False
/external/python/cpython3/Lib/lib2to3/pgen2/
Dtokenize.py200 startline = False
207 startline = True
221 startline = True
222 elif startline and indents:
224 startline = False
/external/libcups/cups/
Dppd.c2868 startline, /* Start line */ in ppd_read() local
2883 startline = pg->ppd_line + 1; in ppd_read()
2922 pg->ppd_line = startline; in ppd_read()
2931 pg->ppd_line = startline; in ppd_read()
2982 pg->ppd_line = startline; in ppd_read()
3002 pg->ppd_line = startline; in ppd_read()
3048 pg->ppd_line = startline; in ppd_read()
3063 pg->ppd_line = startline; in ppd_read()
3107 pg->ppd_line = startline; in ppd_read()
3122 pg->ppd_line = startline; in ppd_read()
[all …]
/external/python/cpython3/Tools/scripts/
Dcleanfuture.py183 startline = srow - 1 # tokenize is one-based
244 changed.append((startline, endline, line))
/external/igt-gpu-tools/runner/
Dresultgen.c369 char *beg, *end, *startline; in fill_from_output() local
387 startline = beg; in fill_from_output()
415 end = next_line(startline, bufend); in fill_from_output()
/external/libcups/ppdc/
Dppdc-source.cxx1937 startline; // Start line for quote in get_token() local
1949 startline = 0; in get_token()
2074 startline = fp->line; in get_token()
2082 startline = fp->line; in get_token()
2119 "of %s."), quote, startline, fp->filename); in get_token()
/external/pcre/dist2/src/
Dpcre2_dfa_match.c3254 BOOL utf, anchored, startline, firstline; in pcre2_dfa_match() local
3367 startline = (re->flags & PCRE2_STARTLINE) != 0; in pcre2_dfa_match()
3542 if (!startline && (re->flags & PCRE2_FIRSTMAPSET) != 0) in pcre2_dfa_match()
3733 else if (startline) in pcre2_dfa_match()
/external/libvpx/libvpx/tools/
Dcpplint.py4075 (_, startline, startpos) = ReverseCloseExpression(
4077 if startpos > -1 and startline < linenum:
4081 for i in xrange(startline, linenum + 1):
/external/libchrome/third_party/ply/
Dyacc.py217 startline = getattr(self.slice[n],"lineno",0)
218 endline = getattr(self.slice[n],"endlineno",startline)
219 return startline,endline
/external/libaom/libaom/tools/
Dcpplint.py4075 (_, startline, startpos) = ReverseCloseExpression(
4077 if startpos > -1 and startline < linenum:
4081 for i in xrange(startline, linenum + 1):
/external/selinux/python/sepolgen/src/sepolgen/
Dyacc.py263 startline = getattr(self.slice[n], 'lineno', 0)
264 endline = getattr(self.slice[n], 'endlineno', startline)
265 return startline, endline

12