Home
last modified time | relevance | path

Searched refs:firstline (Results 1 – 25 of 31) 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/skia/third_party/lua/src/
Dlua.c235 static const char *get_prompt (lua_State *L, int firstline) { in get_prompt() argument
237 lua_getglobal(L, firstline ? "_PROMPT" : "_PROMPT2"); in get_prompt()
239 if (p == NULL) p = (firstline ? LUA_PROMPT : LUA_PROMPT2); in get_prompt()
260 static int pushline (lua_State *L, int firstline) { in pushline() argument
264 const char *prmt = get_prompt(L, firstline); in pushline()
272 if (firstline && b[0] == '=') /* first line starts with `=' ? */ in pushline()
/external/syslinux/com32/lua/src/
Dlua.c242 static const char *get_prompt (lua_State *L, int firstline) { in get_prompt() argument
244 lua_getglobal(L, firstline ? "_PROMPT" : "_PROMPT2"); in get_prompt()
246 if (p == NULL) p = (firstline ? LUA_PROMPT : LUA_PROMPT2); in get_prompt()
267 static int pushline (lua_State *L, int firstline) { in pushline() argument
271 const char *prmt = get_prompt(L, firstline); in pushline()
279 if (firstline && b[0] == '=') /* first line starts with `=' ? */ 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/cpython2/Lib/
Dplatform.py266 def _parse_release_file(firstline): argument
275 m = _lsb_release_version.match(firstline)
281 m = _release_version.match(firstline)
286 l = string.split(string.strip(firstline))
335 firstline = f.readline()
337 _distname, _version, _id = _parse_release_file(firstline)
Dcodecs.py442 def read(self, size=-1, chars=-1, firstline=False): argument
494 if firstline:
545 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/libedit/src/
Drefresh.c108 Char *firstline = el->el_vdisplay[0]; in re_nextline() local
113 firstline[0] = '\0'; /* empty the string */ in re_nextline()
114 el->el_vdisplay[i - 1] = firstline; in re_nextline()
1079 Char *firstline = el->el_display[0]; in re_fastputc() local
1084 re__copy_and_pad(firstline, STR(""), (size_t)0); in re_fastputc()
1085 el->el_display[i - 1] = firstline; in re_fastputc()
/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/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/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.c3127 BOOL utf, anchored, startline, firstline; in pcre2_dfa_match() local
3208 firstline = (re->overall_options & PCRE2_FIRSTLINE) != 0; in pcre2_dfa_match()
3400 if (firstline) in pcre2_dfa_match()
3594 if (firstline && IS_NEWLINE(start_match)) break; in pcre2_dfa_match()
Dpcre2_match.c6454 BOOL firstline; in pcre2_match() local
6620 firstline = (re->overall_options & PCRE2_FIRSTLINE) != 0; in pcre2_match()
6810 if (firstline) in pcre2_match()
7066 if (firstline && IS_NEWLINE(start_match)) break; in pcre2_match()
/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.
/external/pcre/dist2/testdata/
Dtestinput21400 /line\nbreak/I,firstline
1405 /line\nbreak/Im,firstline
3930 /abcd/newline=lf,firstline
Dtestinput63956 /line\nbreak/firstline
3961 /line\nbreak/m,firstline
Dtestinput17294 /[aC]/mg,firstline,newline=lf
297 /[aCz]/mg,firstline,newline=lf
Dtestoutput17536 /[aC]/mg,firstline,newline=lf
540 /[aCz]/mg,firstline,newline=lf
Dtestinput7649 /X/newline=any,utf,firstline

12