Searched refs:line_start (Results 1 - 21 of 21) sorted by relevance

/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/
H A Dmatcher.py46 def __init__(self, regex, token_type, result_mode=None, line_start=False):
54 line_start: Whether this matcher should only match string at the start
60 self.line_start = line_start
H A Dtokenizer.py113 if matcher.line_start and index > 0:
/external/chromium_org/third_party/closure_linter/closure_linter/common/
H A Dmatcher.py46 def __init__(self, regex, token_type, result_mode=None, line_start=False):
54 line_start: Whether this matcher should only match string at the start
60 self.line_start = line_start
H A Dtokenizer.py114 if matcher.line_start and index > 0:
/external/chromium_org/net/tools/tld_cleanup/
H A Dtld_cleanup_util.cc139 size_t line_start = 0; local
145 while (line_start < data.size()) {
146 if (line_start + begin_private_length < data.size() &&
147 !data.compare(line_start, begin_private_length,
150 line_end = line_start + begin_private_length;
151 } else if (line_start + end_private_length < data.size() &&
152 !data.compare(line_start, end_private_length,
155 line_end = line_start + end_private_length;
156 } else if (line_start + 1 < data.size() &&
157 data[line_start]
[all...]
/external/lldb/source/Breakpoint/
H A DBreakpointResolverFileRegex.cpp80 Address line_start = line_entry.range.GetBaseAddress(); local
81 if (line_start.IsValid())
83 if (filter.AddressPasses(line_start))
85 BreakpointLocationSP bp_loc_sp (m_breakpoint->AddLocation(line_start));
96 line_start.GetFileAddress(),
105 line_start.GetFileAddress(),
H A DBreakpointResolverFileLine.cpp169 Address line_start = sc.line_entry.range.GetBaseAddress(); local
170 if (line_start.IsValid())
172 if (filter.AddressPasses(line_start))
181 if (prologue_addr.IsValid() && (line_start == prologue_addr))
191 line_start = prologue_addr;
198 BreakpointLocationSP bp_loc_sp (m_breakpoint->AddLocation(line_start));
209 line_start.GetFileAddress(),
218 line_start.GetFileAddress(),
/external/lldb/source/Core/
H A DAddressResolverFileLine.cpp64 Address line_start = sc.line_entry.range.GetBaseAddress(); local
66 if (line_start.IsValid())
68 AddressRange new_range (line_start, byte_size);
81 line_start.GetFileAddress(),
H A DInputReader.cpp203 const char *line_start = bytes; local
210 size_t line_length = p - line_start;
217 if (line_start <= end_token && end_token < line_start + line_length)
223 line_start,
224 end_token - line_start);
232 line_start,
240 return line_start - bytes + bytes_handled;
247 line_start = p;
/external/chromium_org/cc/quads/
H A Ddraw_polygon.cc157 static bool LineIntersectPlane(const gfx::Point3F& line_start, argument
163 gfx::Vector3dF start_to_origin_vector = plane_origin - line_start;
173 intersection->SetPoint(line_start.x(), line_start.y(), line_start.z());
182 gfx::Vector3dF v = line_end - line_start;
186 intersection->SetPoint(line_start.x() + (v.x() * lerp_factor),
187 line_start.y() + (v.y() * lerp_factor),
188 line_start.z() + (v.z() * lerp_factor));
/external/chromium_org/content/browser/appcache/
H A Dappcache_manifest_parser.cc153 const wchar_t* line_start = p; local
160 if (*line_start == '#')
165 while (tmp > line_start && (*tmp == ' ' || *tmp == '\t'))
168 std::wstring line(line_start, tmp - line_start + 1);
/external/chromium_org/tools/strict_enum_value_checker/
H A Dstrict_enum_value_checker.py125 """Returns a list of triplet (line_start, line_end, line_text) of ranges of
126 edits changes. The |line_text| part is the text at line |line_start|.
238 for line_start, line_end, line_text in \
252 % (line_start, line_end, is_valid_edit))
261 "entry." % (line_start, line_end, self.end_marker),
262 line_start,
/external/chromium_org/net/base/
H A Dsdch_manager.cc532 size_t line_start = 0; // Start of line being parsed. local
534 size_t line_end = dictionary_text.find('\n', line_start);
538 size_t colon_index = dictionary_text.find(':', line_start);
552 std::string name(dictionary_text, line_start, colon_index - line_start);
576 line_start = line_end + 1;
/external/chromium_org/chrome/browser/extensions/
H A Duser_script_loader.cc243 size_t line_start = 0; local
244 size_t line_end = line_start;
262 while (line_start < script_text.length()) {
263 line_end = script_text.find('\n', line_start);
269 line.set(script_text.data() + line_start, line_end - line_start);
322 line_start = line_end + 1;
/external/chromium_org/v8/test/cctest/
H A Dtest-mark-compact.cc430 intptr_t line_start = 0; local
433 while (line_start < length) {
434 if (buffer[line_start] == '\n') {
435 line_start++;
438 intptr_t position = line_start;
468 line_start = position;
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dprofiledata_unittest.cc256 char* line_start = filedata.get() + cur_offset; local
260 char* line_end = strchr(line_start, '\n');
266 char* line_cur = line_start;
310 cur_offset += (line_end - line_start) + 1;
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dprofiledata_unittest.cc256 char* line_start = filedata.get() + cur_offset; local
260 char* line_end = strchr(line_start, '\n');
266 char* line_cur = line_start;
310 cur_offset += (line_end - line_start) + 1;
/external/chromium_org/ui/base/clipboard/
H A Dclipboard_util_win.cc460 size_t line_start = cf_html.find(src_url_str); local
461 if (line_start != std::string::npos) {
462 size_t src_end = cf_html.find("\n", line_start);
463 size_t src_start = line_start + src_url_str.length();
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
H A Dpeerconnectionendtoend_unittest.cc55 void RemoveLinesFromSdp(const std::string& line_start, argument
59 while ((ssrc_pos = sdp->find(line_start, ssrc_pos)) !=
H A Dwebrtcsdp.cc336 // The line starting at |line_start| of |message| is the failing line.
340 size_t line_start,
343 // Get the first line of |message| from |line_start|.
345 size_t line_end = message.find(kNewLine, line_start);
350 first_line = message.substr(line_start, (line_end - line_start));
352 first_line = message.substr(line_start);
409 // The line starting at |line_start| of |message| is the failing line. The
414 size_t line_start,
420 return ParseFailed(message, line_start, descriptio
339 ParseFailed(const std::string& message, size_t line_start, const std::string& description, SdpParseError* error) argument
413 ParseFailedExpectLine(const std::string& message, size_t line_start, const char line_type, const std::string& line_value, SdpParseError* error) argument
485 IsLineType(const std::string& message, const char type, size_t line_start) argument
[all...]
H A Dpeerconnection_unittest.cc104 static void RemoveLinesFromSdp(const std::string& line_start, argument
108 while ((ssrc_pos = sdp->find(line_start, ssrc_pos)) !=

Completed in 489 milliseconds