Home
last modified time | relevance | path

Searched refs:first_line (Results 1 – 25 of 69) sorted by relevance

123

/external/webrtc/talk/media/base/
Drtpdump.cc164 std::string first_line; in ReadFileHeader() local
165 rtc::StreamResult res = stream_->ReadLine(&first_line); in ReadFileHeader()
169 if (!CheckFirstLine(first_line)) { in ReadFileHeader()
184 first_line_and_file_header_len_ = first_line.size() + 1 + sizeof(header); in ReadFileHeader()
189 bool RtpDumpReader::CheckFirstLine(const std::string& first_line) { in CheckFirstLine() argument
191 bool matched = (0 == first_line.find("#!rtpplay1.0 ")); in CheckFirstLine()
195 size_t pos = first_line.find('/'); in CheckFirstLine()
196 matched &= (pos != std::string::npos && pos < first_line.size() - 1); in CheckFirstLine()
197 for (++pos; pos < first_line.size() && matched; ++pos) { in CheckFirstLine()
198 matched &= (0 != isdigit(first_line[pos])); in CheckFirstLine()
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DRTPchange.cc72 char first_line[FIRSTLINELEN]; in main() local
73 if (fgets(first_line, FIRSTLINELEN, in_file) == NULL) { in main()
77 fputs(first_line, out_file); in main()
80 if (fread(first_line, 1, kRtpDumpHeaderSize, in_file) in main()
85 if (fwrite(first_line, 1, kRtpDumpHeaderSize, out_file) in main()
/external/dtc/
Dsrcpos.c205 .first_line = 0,
220 pos->first_line = current_srcfile->lineno; in srcpos_update()
259 if (pos->first_line != pos->last_line) in srcpos_string()
261 pos->first_line, pos->first_column, in srcpos_string()
265 pos->first_line, pos->first_column, in srcpos_string()
269 pos->first_line, pos->first_column); in srcpos_string()
Dsrcpos.h72 int first_line; member
84 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
90 (Current).first_line = (Current).last_line = \
/external/protobuf/objectivec/DevTools/
Dpddm.py426 def first_line(self): member in SourceFile.SectionBase
461 (directive, line_num, self.first_line))
467 self.first_line)
494 self.first_line_num, self.first_line))
517 (directive, line_num, self.first_line))
529 (e.message, self.first_line_num, self.first_line))
550 ' "%s".' % (self.first_line_num, self.first_line))
551 import_name = self.first_line.split(' ', 1)[1].strip()
556 (import_name, self.first_line_num, self.first_line))
565 (e.message, self.first_line_num, self.first_line))
/external/python/cpython3/Lib/
Ddis.py229 def get_instructions(x, *, first_line=None): argument
243 if first_line is not None:
244 line_offset = first_line - co.co_firstlineno
424 def __init__(self, x, *, first_line=None, current_offset=None): argument
426 if first_line is None:
427 self.first_line = co.co_firstlineno
430 self.first_line = first_line
431 self._line_offset = first_line - co.co_firstlineno
Dcgi.py697 first_line = self.fp.readline() # bytes
698 if not isinstance(first_line, bytes):
700 % (self.fp, type(first_line).__name__))
701 self.bytes_read += len(first_line)
704 while (first_line.strip() != (b"--" + self.innerboundary) and
705 first_line):
706 first_line = self.fp.readline()
707 self.bytes_read += len(first_line)
/external/syslinux/core/fs/pxe/
Dftp.c40 bool first_line, done; in ftp_cmd_response() local
80 first_line = true; in ftp_cmd_response()
94 first_line = false; in ftp_cmd_response()
103 if (first_line) in ftp_cmd_response()
119 else if (first_line) in ftp_cmd_response()
/external/mesa3d/src/compiler/glsl/glcpp/
Dglcpp.h73 int first_line; member
86 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
93 (Current).first_line = (Current).last_line = \
Dpp.c40 locp->first_line, in glcpp_error()
61 locp->first_line, in glcpp_warning()
/external/trappy/tests/
Dtest_copyright.py32 first_line = re.compile(r"(#| \*) Copyright")
34 if not first_line.search(lines[0]):
35 if first_line.search(lines[1]):
/external/python/cpython2/Lib/distutils/command/
Dbuild_scripts.py82 first_line = f.readline()
83 if not first_line:
87 match = first_line_re.match(first_line)
/external/syslinux/com32/hdt/
Dhdt-cli-pci.c158 char first_line[81]; in show_pci_devices() local
192 snprintf(first_line, sizeof(first_line), in show_pci_devices()
208 more_printf("%s", first_line); in show_pci_devices()
/external/python/cpython3/Lib/distutils/command/
Dbuild_scripts.py84 first_line = f.readline()
85 if not first_line:
89 match = first_line_re.match(first_line)
/external/autotest/client/bin/
Dsetup_job_unittest.py98 def __init__(self, first_line): argument
99 self.first_line = first_line
103 return self.first_line == parameter.splitlines()[0]
/external/mesa3d/src/compiler/glsl/
Dast.h80 locp.first_line = this->location.first_line; in get_location()
96 this->location.first_line = locp.first_line; in set_location()
110 this->location.first_line = begin.first_line; in set_location_range()
121 unsigned first_line; /**< First line number within the source string. */ member
Dglsl_parser_extras.h62 int first_line; member
843 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
850 (Current).first_line = (Current).last_line = \
/external/webrtc/talk/app/webrtc/
Dwebrtcsdp.cc354 std::string first_line; in ParseFailed() local
360 first_line = message.substr(line_start, (line_end - line_start)); in ParseFailed()
362 first_line = message.substr(line_start); in ParseFailed()
366 error->line = first_line; in ParseFailed()
369 LOG(LS_ERROR) << "Failed to parse: \"" << first_line in ParseFailed()
949 std::string first_line = message; in ParseCandidate() local
951 GetLine(message, &pos, &first_line); in ParseCandidate()
954 if (message.size() > first_line.size()) { in ParseCandidate()
966 if (IsLineType(first_line, kLineTypeAttributes)) { in ParseCandidate()
967 first_line = first_line.substr(kLinePrefixLength); in ParseCandidate()
[all …]
/external/google-benchmark/test/
Doutput_test_helper.cc79 std::string first_line; in CheckCase() local
86 first_line = line; in CheckCase()
94 << "\n started matching near: " << first_line; in CheckCase()
101 << "\n started matching near: " << first_line; in CheckCase()
107 << "\n started matching near: " << first_line; in CheckCase()
/external/libcxx/utils/google-benchmark/test/
Doutput_test_helper.cc79 std::string first_line; in CheckCase() local
86 first_line = line; in CheckCase()
94 << "\n started matching near: " << first_line; in CheckCase()
101 << "\n started matching near: " << first_line; in CheckCase()
107 << "\n started matching near: " << first_line; in CheckCase()
/external/google-benchmark/tools/gbench/
Dreport.py99first_line = "{:<{}s}Time CPU Time Old Time New CPU Old CPU New"…
101 output_strs = [first_line, '-' * len(first_line)]
/external/libcxx/utils/google-benchmark/tools/gbench/
Dreport.py99first_line = "{:<{}s}Time CPU Time Old Time New CPU Old CPU New"…
101 output_strs = [first_line, '-' * len(first_line)]
/external/tensorflow/tensorflow/examples/learn/
Diris.py48 first_line = f.readline()
49 num_elements = first_line.split(',')[0]
/external/tensorflow/tensorflow/python/debug/lib/
Dsource_utils_test.py293 _, is_tf_py_library, num_nodes, num_tensors, num_dumps, first_line = (
299 self.assertEqual(self.traceback_first_line, first_line)
335 first_line) = source_list[0]
341 self.assertEqual(self.traceback_first_line, first_line)
/external/autotest/frontend/tko/
Dcsv_encoder.py83 first_line = [''] + [self._header_string(header_value)
85 self._append_output_row(first_line)

123