Searched defs:line_end (Results 1 - 25 of 37) sorted by relevance

12

/external/chromium_org/net/tools/balsa/
H A Dbalsa_headers_token_utils.cc21 const char* line_end = stream_begin + header_line.last_char_idx; local
24 ParseTokenList(value_begin, line_end, tokens);
H A Dbalsa_frame.cc479 // 'line_end' points to the position of '\n' + 1.
485 const char* line_end,
488 DCHECK_LT(colon_loc, line_end);
491 DCHECK_GE(' ', *line_end)
492 << "\"" << std::string(line_begin, line_end) << "\"";
504 while (current < line_end && *current <= ' ') ++current;
548 const char* line_end = stream_begin + lines_[i - 1].second; local
549 DCHECK_LT(line_begin - stream_begin, line_end - stream_begin);
555 // We're guaranteed to have *line_end > ' ' while line_end >
481 CleanUpKeyValueWhitespace( const char* stream_begin, const char* line_begin, const char* current, const char* line_end, HeaderLineDescription* current_header_line) argument
646 const char* line_end = stream_begin + header_line.last_char_idx; local
691 const char* line_end = stream_begin + header_line.last_char_idx; local
[all...]
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_line_reader.cpp58 const char* line_end; local
60 line_end = reinterpret_cast<const char*>(::memchr(line, '\n', range));
62 line_end = NULL;
63 if (line_end != NULL) {
65 line_len_ = static_cast<size_t>(line_end + 1 - line);
H A Dcrazy_linker_proc_maps.cpp28 const char* line_end,
55 while (p < line_end && *p == separator)
62 const size_t range = line_end - p;
69 tok_end = line_end;
70 p = line_end;
27 ParseProcMapsLine(const char* line, const char* line_end, ProcMaps::Entry* entry) argument
/external/chromium_org/third_party/skia/src/core/
H A DSkUtilsArm.cpp100 char* line_end = (char*) memchr(line, '\n', buffer_end - line); local
101 if (line_end == NULL)
102 line_end = buffer_end;
109 const char* flag = (const char*) memmem(line, line_end - line,
/external/qemu/android/filesystems/
H A Dfstab_parser.cpp61 const char* line_end = ::strchr(p, '\n'); local
62 if (!line_end) {
63 line_end = end;
66 p = line_end + 1;
70 line = skipWhitespace(line, line_end);
71 if (line == line_end || line[0] == '#') {
78 line = skipExpectedToken(line, line_end);
83 line = skipWhitespace(line, line_end);
84 size_t tokenLen = getTokenLen(line, line_end);
91 line = skipWhitespace(line + tokenLen, line_end);
[all...]
/external/skia/src/core/
H A DSkUtilsArm.cpp153 char* line_end = (char*) memchr(line, '\n', buffer_end - line); local
154 if (line_end == NULL)
155 line_end = buffer_end;
162 const char* flag = (const char*) memmem(line, line_end - line,
/external/chromium_org/net/tools/tld_cleanup/
H A Dtld_cleanup_util.cc140 size_t line_end = 0; local
150 line_end = line_start + begin_private_length;
155 line_end = line_start + end_private_length;
160 line_end = data.find_first_of("\r\n", line_start);
161 if (line_end == std::string::npos)
162 line_end = data.size();
165 line_end = data.find_first_of("\r\n \t", line_start);
166 if (line_end == std::string::npos)
167 line_end = data.size();
168 domain.assign(data.data(), line_start, line_end
[all...]
/external/chromium_org/rlz/win/lib/
H A Dmachine_deal.cc84 const char* line_end = strchr(response_text + line_begin, '\n'); local
86 if (line_end == NULL || line_end - response_text > response_length) {
87 line_end = response_text + response_length;
90 *search_index = line_end - response_text + 1;
94 line_end - response_text - line_begin);
/external/chromium_org/content/browser/appcache/
H A Dappcache_manifest_parser.cc46 const wchar_t* line_end) {
49 while (line_p < line_end && (*line_p == '\t' || *line_p == ' '))
51 if (line_p == line_end)
53 std::wstring annotation(line_p, line_end - line_p);
187 const wchar_t *line_end = line_p + line.length(); local
190 while (line_p < line_end && *line_p != '\t' && *line_p != ' ')
220 bool is_pattern = HasPatternMatchingAnnotation(line_p, line_end);
234 const wchar_t* line_end = line_p + line.length(); local
238 while (line_p < line_end && *line_p != '\t' && *line_p != ' ')
241 if (line_p == line_end)
45 HasPatternMatchingAnnotation(const wchar_t* line_p, const wchar_t* line_end) argument
312 const wchar_t* line_end = line_p + line.length(); local
[all...]
/external/opencv/otherlibs/highgui/
H A Dgrfmt_bmp.cpp253 uchar* line_end = data + width3; local
273 if( end > line_end ) goto decode_rle4_bad;
286 if( data + code*nch > line_end ) goto decode_rle4_bad;
295 int x_shift3 = (int)(line_end - data);
307 data = FillUniColor( data, line_end, step, width3,
311 data = FillUniGray( data, line_end, step, width3,
341 uchar* line_end = data + width3; local
355 if( data + len > line_end )
359 data = FillUniColor( data, line_end, step, width3,
363 data = FillUniGray( data, line_end, ste
[all...]
H A Dgrfmt_sunras.cpp221 uchar* line_end = src + (m_width*m_bpp + 7)/8; local
227 int max_count = (int)(line_end - tsrc);
248 if( len > line_end - tsrc )
258 if( tsrc >= line_end )
290 uchar* line_end = data + width3; local
295 int max_count = (int)(line_end - data);
328 data = FillUniColor( data, line_end, step, width3,
332 data = FillUniGray( data, line_end, step, width3,
339 if( data == line_end )
343 line_end
[all...]
H A Dutils.cpp380 uchar* FillUniColor( uchar* data, uchar*& line_end, argument
389 if( end > line_end )
390 end = line_end;
399 if( data >= line_end )
401 line_end += step;
402 data = line_end - width3;
412 uchar* FillUniGray( uchar* data, uchar*& line_end, argument
421 if( end > line_end )
422 end = line_end;
431 if( data >= line_end )
[all...]
/external/chromium_org/cc/quads/
H A Ddraw_polygon.cc158 const gfx::Point3F& line_end,
164 gfx::Vector3dF end_to_origin_vector = plane_origin - line_end;
182 gfx::Vector3dF v = line_end - line_start;
157 LineIntersectPlane(const gfx::Point3F& line_start, const gfx::Point3F& line_end, const gfx::Point3F& plane_origin, const gfx::Vector3dF& plane_normal, gfx::Point3F* intersection, float distance_threshold) argument
/external/chromium_org/chrome/browser/extensions/
H A Duser_script_loader.cc244 size_t line_end = line_start; local
263 line_end = script_text.find('\n', line_start);
266 if (line_end == std::string::npos)
267 line_end = script_text.length() - 1;
269 line.set(script_text.data() + line_start, line_end - line_start);
322 line_start = line_end + 1;
/external/chromium_org/net/base/
H A Dsdch_manager.cc534 size_t line_end = dictionary_text.find('\n', line_start); local
535 DCHECK(std::string::npos != line_end);
536 DCHECK_LE(line_end, header_end);
544 if (colon_index > line_end)
550 if (value_start >= line_end)
553 std::string value(dictionary_text, value_start, line_end - value_start);
574 if (line_end >= header_end)
576 line_start = line_end + 1;
/external/chromium_org/net/websockets/
H A Dwebsocket_handshake_handler.cc69 std::string::const_iterator line_end,
72 std::string::const_iterator colon = std::find(line_begin, line_end, ':');
73 if (colon == line_end) {
95 std::string::const_iterator line_end = lines.token_end(); local
99 if (GetHeaderName(line_begin, line_end, &name_begin, &name_end)) {
108 filtered_headers.append(line_begin, line_end);
68 GetHeaderName(std::string::const_iterator line_begin, std::string::const_iterator line_end, std::string::const_iterator* name_begin, std::string::const_iterator* name_end) argument
/external/chromium_org/rlz/lib/
H A Drlz_lib.cc527 int line_end = line_end_index; local
528 if (line_end < 0)
529 line_end = response_length;
531 if (line_end <= line_begin)
535 response_line = response_string.substr(line_begin, line_end - line_begin);
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dprofiledata_unittest.cc260 char* line_end = strchr(line_start, '\n'); local
261 *line_end = '\0';
310 cur_offset += (line_end - line_start) + 1;
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Dprofiledata_unittest.cc260 char* line_end = strchr(line_start, '\n'); local
261 *line_end = '\0';
310 cur_offset += (line_end - line_start) + 1;
/external/chromium_org/ui/views/controls/tabbed_pane/
H A Dtabbed_pane.cc213 SkScalar line_end = SkIntToScalar(width()); local
228 path.lineTo(line_end, line_y);
236 canvas->sk_canvas()->drawLine(0, line_y, line_end, line_y, paint);
/external/chromium_org/net/http/
H A Dhttp_util.cc610 const char* line_end = lines.token_end(); local
615 raw_headers.append(FindFirstNonLWS(line_begin, line_end), line_end); local
621 raw_headers.append(line_begin, line_end);
624 prev_line_continuable = IsLineSegmentContinuable(line_begin, line_end);
/external/pdfium/core/src/fpdfapi/fpdf_render/
H A Dfpdf_render_text.cpp110 int line_end = bFirst ? height : -1; local
111 while (line != line_end) {
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Dtncc.c1070 char *config, *end, *pos, *line_end; local
1084 for (pos = config; pos < end; pos = line_end + 1) {
1085 line_end = pos;
1086 while (*line_end != '\n' && *line_end != '\r' &&
1087 line_end < end)
1088 line_end++;
1089 *line_end = '\0';
1094 imc = tncc_parse_imc(pos + 4, line_end, &error);
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Dtncs.c1021 char *config, *end, *pos, *line_end; local
1036 for (pos = config; pos < end; pos = line_end + 1) {
1037 line_end = pos;
1038 while (*line_end != '\n' && *line_end != '\r' &&
1039 line_end < end)
1040 line_end++;
1041 *line_end = '\0';
1046 imv = tncs_parse_imv(id++, pos + 4, line_end, &error);

Completed in 1388 milliseconds

12