Home
last modified time | relevance | path

Searched refs:firstline (Results 1 – 25 of 32) sorted by relevance

12

/external/lua/src/
Dlua.c421 static const char *get_prompt (lua_State *L, int firstline) { in get_prompt() argument
423 lua_getglobal(L, firstline ? "_PROMPT" : "_PROMPT2"); in get_prompt()
425 if (p == NULL) p = (firstline ? LUA_PROMPT : LUA_PROMPT2); in get_prompt()
455 static int pushline (lua_State *L, int firstline) { in pushline() argument
459 const char *prmt = get_prompt(L, firstline); in pushline()
467 if (firstline && b[0] == '=') /* for compatibility with 5.2, ... */ in pushline()
/external/webrtc/test/
Drtp_file_reader.cc125 char firstline[kFirstLineLength + 1] = {0}; in Init() local
126 if (fgets(firstline, kFirstLineLength, file_) == nullptr) { in Init()
130 if (strncmp(firstline, "#!rtpplay", 9) == 0) { in Init()
131 if (strncmp(firstline, "#!rtpplay1.0", 12) != 0) { in Init()
135 } else if (strncmp(firstline, "#!RTPencode", 11) == 0) { in Init()
136 if (strncmp(firstline, "#!RTPencode1.0", 14) != 0) { in Init()
/external/yapf/plugins/vim/autoload/
Dyapf.vim25 let l:line_ranges = a:firstline . '-' . a:lastline
48 call cursor(a:firstline, 1)
/external/python/google-api-python-client/
Ddescribe.py328 firstline = doc.splitlines()[0]
331 name=name, params=params, firstline=firstline
/external/python/cpython2/Lib/
Dplatform.py295 def _parse_release_file(firstline): argument
304 m = _lsb_release_version.match(firstline)
310 m = _release_version.match(firstline)
315 l = string.split(string.strip(firstline))
364 firstline = f.readline()
366 _distname, _version, _id = _parse_release_file(firstline)
Dcodecs.py442 def read(self, size=-1, chars=-1, firstline=False): argument
496 if firstline:
547 data = self.read(readsize, firstline=True)
Drfc822.py142 firstline = 1
160 if firstline and line.startswith('From '):
163 firstline = 0
Dhttplib.py303 firstline = 1
323 if firstline and line.startswith('From '):
326 firstline = 0
/external/python/cpython2/Lib/email/
Dfeedparser.py436 firstline = epilogue[0]
437 bolmo = NLCRE_bol.match(firstline)
439 epilogue[0] = firstline[len(bolmo.group(0)):]
/external/protobuf/kokoro/linux/
Dmake_test_output.py34 firstline = next(jobs)
/external/python/cpython3/Lib/email/
Dfeedparser.py455 firstline = epilogue[0]
456 bolmo = NLCRE_bol.match(firstline)
458 epilogue[0] = firstline[len(bolmo.group(0)):]
/external/python/cpython2/Lib/compiler/
Dpyassem.py542 self.filename, self.name, self.lnotab.firstline,
605 self.firstline = 0
616 if self.firstline == 0:
617 self.firstline = lineno
/external/python/cpython3/Lib/
Dcodecs.py451 def read(self, size=-1, chars=-1, firstline=False): argument
506 if firstline:
558 data = self.read(readsize, firstline=True)
/external/jemalloc_new/bin/
Djeprof.in1661 my $firstline = 1;
1664 $firstline = $instructions[$i]->[2];
1683 if ($l >= $firstline) {
1714 for (my $l = $firstline; $l <= $lastline; $l++) {
1768 ($line >= $firstline) &&
1823 if ($l >= $firstline - 5 &&
1827 if ($l == $firstline) { print $output $skip_marker; }
3803 my $firstline = ReadProfileHeader(*TFILE);
3805 if (!$firstline) {
3810 return $firstline =~ /^--- *$symbol_marker/;
/external/python/cpython3/Doc/library/
Ddevmode.rst177 firstline = fp.readline()
178 print(firstline.rstrip())
Dcodecs.rst741 .. method:: read([size[, chars, [firstline]]])
757 The *firstline* flag indicates that
/external/python/cpython2/Lib/idlelib/
DIOBinding.py457 firstline = self.text.get("1.0", "2.0")
458 if firstline.startswith("#!"):
/external/pcre/dist2/src/
Dpcre2_dfa_match.c3254 BOOL utf, anchored, startline, firstline; in pcre2_dfa_match() local
3368 firstline = (re->overall_options & PCRE2_FIRSTLINE) != 0; in pcre2_dfa_match()
3608 if (firstline) in pcre2_dfa_match()
3943 if (firstline && IS_NEWLINE(start_match)) break; in pcre2_dfa_match()
Dpcre2_match.c6112 BOOL firstline; in pcre2_match() local
6516 firstline = (re->overall_options & PCRE2_FIRSTLINE) != 0; in pcre2_match()
6736 if (firstline) in pcre2_match()
7127 if (firstline && IS_NEWLINE(start_match)) break; in pcre2_match()
/external/pcre/dist2/testdata/
Dtestinput63944 /line\nbreak/firstline
3949 /line\nbreak/m,firstline
4944 /\n/firstline
4947 /\nabc/firstline
4950 /\x{0a}abc/firstline,newline=crlf
4954 /[abc]/firstline
Dtestinput21396 /line\nbreak/I,firstline
1401 /line\nbreak/Im,firstline
3940 /abcd/newline=lf,firstline
5346 /a\b(c/literal,firstline
5439 /\n/firstline
5442 /\nabc/firstline
5445 /\x{0a}abc/firstline,newline=crlf
5449 /[abc]/firstline
Dtestoutput65901 /line\nbreak/firstline
5908 /line\nbreak/m,firstline
7769 /\n/firstline
7773 /\nabc/firstline
7777 /\x{0a}abc/firstline,newline=crlf
7782 /[abc]/firstline
Dtestoutput25471 /line\nbreak/I,firstline
5474 Options: firstline
5484 /line\nbreak/Im,firstline
5487 Options: firstline multiline
13367 /abcd/newline=lf,firstline
16272 /a\b(c/literal,firstline
16496 /\n/firstline
16500 /\nabc/firstline
16504 /\x{0a}abc/firstline,newline=crlf
16509 /[abc]/firstline
/external/llvm-project/clang-tools-extra/clang-doc/assets/
Dclang-doc-default-stylesheet.css489 p.firstline {
/external/python/cpython2/Doc/library/
Dcodecs.rst649 .. method:: read([size[, chars, [firstline]]])
663 *firstline* indicates that it would be sufficient to only return the first
675 *firstline* argument added.

12