Home
last modified time | relevance | path

Searched refs:first_line (Results 1 – 25 of 75) 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.h72 int first_line; member
84 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
90 (Current).first_line = (Current).last_line = \
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()
/external/u-boot/scripts/dtc/
Dsrcpos.h72 int first_line; member
84 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
90 (Current).first_line = (Current).last_line = \
Dsrcpos.c205 .first_line = 0,
218 pos->first_line = current_srcfile->lineno; in srcpos_update()
254 if (pos->first_line != pos->last_line) in srcpos_string()
256 pos->first_line, pos->first_column, in srcpos_string()
260 pos->first_line, pos->first_column, in srcpos_string()
264 pos->first_line, pos->first_column); in srcpos_string()
/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.py251 def get_instructions(x, *, first_line=None): argument
265 if first_line is not None:
266 line_offset = first_line - co.co_firstlineno
469 def __init__(self, x, *, first_line=None, current_offset=None): argument
471 if first_line is None:
472 self.first_line = co.co_firstlineno
475 self.first_line = first_line
476 self._line_offset = first_line - co.co_firstlineno
Dcgi.py626 first_line = self.fp.readline() # bytes
627 if not isinstance(first_line, bytes):
629 % (self.fp, type(first_line).__name__))
630 self.bytes_read += len(first_line)
633 while (first_line.strip() != (b"--" + self.innerboundary) and
634 first_line):
635 first_line = self.fp.readline()
636 self.bytes_read += len(first_line)
/external/mesa3d/src/compiler/glsl/glcpp/
Dglcpp.h75 int first_line; member
88 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
95 (Current).first_line = (Current).last_line = \
Dpp.c39 locp->first_line, in glcpp_error()
56 locp->first_line, in glcpp_warning()
/external/grpc-grpc/test/cpp/qps/
Dusage_timer.cc61 std::string first_line; in get_cpu_usage() local
62 std::getline(proc_stat, first_line); in get_cpu_usage()
63 std::stringstream first_line_s(first_line); in get_cpu_usage()
/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/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.h61 int first_line; member
877 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
884 (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/libcxx/utils/google-benchmark/test/
Doutput_test_helper.cc88 std::string first_line; in CheckCase() local
95 first_line = line; in CheckCase()
103 << "\n started matching near: " << first_line; in CheckCase()
110 << "\n started matching near: " << first_line; in CheckCase()
116 << "\n started matching near: " << first_line; in CheckCase()
/external/google-benchmark/test/
Doutput_test_helper.cc88 std::string first_line; in CheckCase() local
95 first_line = line; in CheckCase()
103 << "\n started matching near: " << first_line; in CheckCase()
110 << "\n started matching near: " << first_line; in CheckCase()
116 << "\n started matching near: " << first_line; in CheckCase()
/external/python/apitools/apitools/gen/
Dservice_registry.py66 first_line, newline, remaining = method_info.description.partition(
68 if not first_line.endswith('.'):
69 first_line = '%s.' % first_line
70 description = '%s%s%s' % (first_line, newline, remaining)
/external/iproute2/tc/
Demp_ematch.yacc.c149 int first_line; member
621 (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
628 (Current).first_line = (Current).last_line = \
669 if (0 <= yylocp->first_line) in yy_location_print_()
671 res += YYFPRINTF (yyo, "%d", yylocp->first_line); in yy_location_print_()
677 if (yylocp->first_line < yylocp->last_line) in yy_location_print_()
/external/autotest/server/site_tests/tast/
Dtast_unittest.py333 first_line = str(cm.exception).split('\n')[0]
334 self.assertTrue(FAILURE_MSG in first_line,
335 '"%s" not in "%s"' % (FAILURE_MSG, first_line))
393 first_line = str(cm.exception).split('\n')[0]
394 self.assertTrue(FAILURE_MSG in first_line,
395 '"%s" not in "%s"' % (FAILURE_MSG, first_line))
/external/python/setuptools/setuptools/command/
Dsdist.py176 first_line = fp.readline()
177 return (first_line !=
/external/yapf/yapf/yapflib/
Dfile_resources.py181 first_line = fd.readline(256)
185 return re.match(r'^#!.*\bpython[23]?\b', first_line)

123