Home
last modified time | relevance | path

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

12

/external/chromium/third_party/libjingle/source/talk/session/phone/
Drtpdump.cc127 std::string first_line; in ReadFileHeader() local
128 talk_base::StreamResult res = stream_->ReadLine(&first_line); in ReadFileHeader()
132 if (!CheckFirstLine(first_line)) { in ReadFileHeader()
147 first_line_and_file_header_len_ = first_line.size() + 1 + sizeof(header); in ReadFileHeader()
152 bool RtpDumpReader::CheckFirstLine(const std::string& first_line) { in CheckFirstLine() argument
154 bool matched = (0 == first_line.find("#!rtpplay1.0 ")); in CheckFirstLine()
158 size_t pos = first_line.find('/'); in CheckFirstLine()
159 matched &= (pos != std::string::npos && pos < first_line.size() - 1); in CheckFirstLine()
160 for (++pos; pos < first_line.size() && matched; ++pos) { in CheckFirstLine()
161 matched &= (0 != isdigit(first_line[pos])); in CheckFirstLine()
Drtpdump.h107 bool CheckFirstLine(const std::string& first_line);
/external/mesa3d/src/glsl/
Dglsl_parser_extras.h148 int first_line; member
161 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
168 (Current).first_line = (Current).last_line = \
Dast.h95 locp.first_line = this->location.line; in get_location()
97 locp.last_line = locp.first_line; in get_location()
111 this->location.line = locp.first_line; in set_location()
Dglsl_parser.h286 int first_line; member
Dglsl_parser_extras.cpp110 locp->first_line, in _mesa_glsl_error()
129 locp->first_line, in _mesa_glsl_warning()
Dglsl_parser.cpp386 int first_line; member
2005 (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
2012 (Current).first_line = (Current).last_line = \
2029 (Loc).first_line, (Loc).first_column, \
2617 yylloc.first_line = yylloc.last_line = 1;
2626 yylloc.first_line = 1;
/external/mesa3d/src/glsl/glcpp/
Dglcpp.h63 int first_line; member
76 (Current).first_line = YYRHSLOC(Rhs, 1).first_line; \
83 (Current).first_line = (Current).last_line = \
Dpp.c40 locp->first_line, in glcpp_error()
57 locp->first_line, in glcpp_warning()
Dglcpp-parse.h89 int first_line; member
Dglcpp-lex.l42 yylloc->first_line = yylineno; \
Dglcpp-parse.c295 int first_line; member
995 (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
1002 (Current).first_line = (Current).last_line = \
1019 (Loc).first_line, (Loc).first_column, \
1607 yylloc.first_line = yylloc.last_line = 1;
1616 yylloc.first_line = 1;
/external/webkit/Tools/Scripts/webkitpy/common/checkout/
Dchangelog.py110 first_line = changelog_file.readline()
111 assert(isinstance(first_line, unicode))
112 if not date_line_regexp.match(first_line):
114 entry_lines.append(first_line)
/external/webkit/Tools/Scripts/webkitpy/common/system/
Dexecutive.py188 first_line = lines[0]
189 if not first_line.startswith('#!'):
191 if first_line.find('python') > -1:
193 if first_line.find('perl') > -1:
195 if first_line.find('ruby') > -1:
/external/chromium/chrome/browser/importer/
Dmork_reader.h127 bool ParseMap(const std::string& first_line,
137 void ParseTable(const std::string& first_line,
Dmork_reader.cc170 bool MorkReader::ParseMap(const std::string& first_line, in ParseMap() argument
174 std::string line(first_line); in ParseMap()
243 void MorkReader::ParseTable(const std::string& first_line, in ParseTable() argument
246 std::string line(first_line); in ParseTable()
/external/webkit/Source/WebKit2/Scripts/webkit2/
Dmessages_unittest.py665 for index, first_line in enumerate(first_list):
666 self.assertEquals(first_line, second_list[index])
/external/chromium-trace/trace-viewer/third_party/web_dev_style/web_dev_style/
Dcss_checker.py133 first_line = z.group(0).strip().splitlines()[0]
134 if not re.search(hsl, first_line):
135 errors.append(' ' + first_line)
/external/bison/data/
Dyacc.c202 int first_line;
601 (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
608 (Current).first_line = (Current).last_line = \
625 (Loc).first_line, (Loc).first_column, \
1065 yylloc.first_line = yylloc.last_line = 1;
1516 int first_line;
/external/bison/src/
Dparse-gram.h173 int first_line; member
Dparse-gram.c299 int first_line; member
880 (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
887 (Current).first_line = (Current).last_line = \
904 (Loc).first_line, (Loc).first_column, \
1557 yylloc.first_line = yylloc.last_line = 1;
/external/bison/tests/
Dcalc.at78 #define first_line begin.line
177 AT_LOC.first_line, AT_LOC.first_column);
178 if (AT_LOC.first_line != AT_LOC.last_line)
272 AT_LOC.first_line = AT_LOC.last_line;
280 AT_LOC.first_line = AT_LOC.last_line;
Dactions.at184 [#define RANGE(Location) (Location).first_line, (Location).last_line])
305 [ AT_LOC.first_line = AT_LOC.first_column = 10 * c;
306 AT_LOC.last_line = AT_LOC.last_column = AT_LOC.first_line + 9;
Dglr-regression.at1154 yylloc.first_line = yylloc.last_line = 1;
1174 yylloc.first_line, yylloc.first_column,
1360 yylloc.first_line = yylloc.last_line = 1;
1380 yylloc.first_line, yylloc.first_column,
1601 @$.first_line = 1;
1631 fprintf (stderr, "Error at %d.%d-%d.%d: %s.\n", locp->first_line,
1641 llocp->first_line = llocp->last_line = 2;
Dcxx-type.at98 @2.first_line, @2.first_column,
185 yylloc.first_line = yylloc.last_line = lineNum;

12