Home
last modified time | relevance | path

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

12

/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DRTPtimeshift.cc44 char firstline[FIRSTLINELEN]; in main() local
45 EXPECT_TRUE(fgets(firstline, FIRSTLINELEN, inFile) != NULL); in main()
46 EXPECT_GT(fputs(firstline, outFile), 0); in main()
48 fread(firstline, 1, kRtpDumpHeaderSize, inFile)); in main()
50 fwrite(firstline, 1, kRtpDumpHeaderSize, outFile)); in main()
DRTPjitter.cc68 char firstline[FIRSTLINELEN]; in main() local
139 EXPECT_TRUE(fgets(firstline, FIRSTLINELEN, in_file) != NULL); in main()
140 EXPECT_GT(fputs(firstline, out_file), 0); in main()
141 EXPECT_EQ(kRtpDumpHeaderSize, fread(firstline, 1, kRtpDumpHeaderSize, in main()
143 EXPECT_EQ(kRtpDumpHeaderSize, fwrite(firstline, 1, kRtpDumpHeaderSize, in main()
Drtp_to_text.cc91 char firstline[FIRSTLINELEN]; in main() local
92 if (fgets(firstline, FIRSTLINELEN, inFile) == NULL) in main()
99 if (fread(firstline, 4+4+4+2+2, 1, inFile) != 1) in main()
DNETEQTEST_RTPpacket.cc72 char firstline[kFirstLineLength]; in skipFileHeader() local
73 if (fgets(firstline, kFirstLineLength, fp) == NULL) { in skipFileHeader()
76 if (strncmp(firstline, "#!rtpplay", 9) == 0) { in skipFileHeader()
77 if (strncmp(firstline, "#!rtpplay1.0", 12) != 0) { in skipFileHeader()
81 else if (strncmp(firstline, "#!RTPencode", 11) == 0) { in skipFileHeader()
82 if (strncmp(firstline, "#!RTPencode1.0", 14) != 0) { in skipFileHeader()
/external/lua/src/
Dlua.c273 static const char *get_prompt (lua_State *L, int firstline) { in get_prompt() argument
275 lua_getglobal(L, firstline ? "_PROMPT" : "_PROMPT2"); in get_prompt()
277 if (p == NULL) p = (firstline ? LUA_PROMPT : LUA_PROMPT2); in get_prompt()
307 static int pushline (lua_State *L, int firstline) { in pushline() argument
311 const char *prmt = get_prompt(L, firstline); in pushline()
319 if (firstline && b[0] == '=') /* for compatibility with 5.2, ... */ in pushline()
/external/webrtc/webrtc/test/
Drtp_file_reader.cc140 char firstline[kFirstLineLength + 1] = {0}; in Init() local
141 if (fgets(firstline, kFirstLineLength, file_) == NULL) { in Init()
145 if (strncmp(firstline, "#!rtpplay", 9) == 0) { in Init()
146 if (strncmp(firstline, "#!rtpplay1.0", 12) != 0) { in Init()
150 } else if (strncmp(firstline, "#!RTPencode", 11) == 0) { in Init()
151 if (strncmp(firstline, "#!RTPencode1.0", 14) != 0) { in Init()
/external/python/google-api-python-client/
Ddescribe.py312 firstline = doc.splitlines()[0]
314 name=name, params=params, firstline=firstline))
/external/yapf/plugins/vim/autoload/
Dyapf.vim25 let l:line_ranges = a:firstline . '-' . a:lastline
48 call cursor(a:firstline, 1)
/external/python/cpython3/Lib/
Dplatform.py304 def _parse_release_file(firstline): argument
313 m = _lsb_release_version.match(firstline)
319 m = _release_version.match(firstline)
324 l = firstline.strip().split()
382 firstline = f.readline()
383 _distname, _version, _id = _parse_release_file(firstline)
Dcodecs.py451 def read(self, size=-1, chars=-1, firstline=False): argument
506 if firstline:
558 data = self.read(readsize, firstline=True)
/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/python/cpython3/Lib/email/
Dfeedparser.py455 firstline = epilogue[0]
456 bolmo = NLCRE_bol.match(firstline)
458 epilogue[0] = firstline[len(bolmo.group(0)):]
/external/protobuf/jenkins/
Dmake_test_output.py33 firstline = next(jobs)
/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/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/jemalloc/bin/
Djeprof.in1660 my $firstline = 1;
1663 $firstline = $instructions[$i]->[2];
1682 if ($l >= $firstline) {
1713 for (my $l = $firstline; $l <= $lastline; $l++) {
1767 ($line >= $firstline) &&
1822 if ($l >= $firstline - 5 &&
1826 if ($l == $firstline) { print $output $skip_marker; }
3800 my $firstline = ReadProfileHeader(*TFILE);
3802 if (!$firstline) {
3807 return $firstline =~ /^--- *$symbol_marker/;
/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.c3236 BOOL utf, anchored, startline, firstline; in pcre2_dfa_match() local
3336 firstline = (re->overall_options & PCRE2_FIRSTLINE) != 0; in pcre2_dfa_match()
3553 if (firstline) in pcre2_dfa_match()
3825 if (firstline && IS_NEWLINE(start_match)) break; in pcre2_dfa_match()
Dpcre2_match.c6008 BOOL firstline; in pcre2_match() local
6187 firstline = (re->overall_options & PCRE2_FIRSTLINE) != 0; in pcre2_match()
6388 if (firstline) in pcre2_match()
6753 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
Dtestinput21405 /line\nbreak/I,firstline
1410 /line\nbreak/Im,firstline
3940 /abcd/newline=lf,firstline
5320 /a\b(c/literal,firstline
5413 /\n/firstline
5416 /\nabc/firstline
5419 /\x{0a}abc/firstline,newline=crlf
5423 /[abc]/firstline

12