Searched refs:line_end (Results 1 - 25 of 44) sorted by relevance

12

/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/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/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/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/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/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/opencv/otherlibs/highgui/
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 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 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...]
H A Dutils.h99 uchar* FillUniColor( uchar* data, uchar*& line_end, int step, int width3,
101 uchar* FillUniGray( uchar* data, uchar*& line_end, int step, int width3,
/external/chromium_org/net/tools/balsa/
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...]
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);
/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/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/http/
H A Dhttp_response_headers.cc403 std::string::const_iterator line_end = local
407 bool has_headers = (line_end != raw_input.end() &&
408 (line_end + 1) != raw_input.end() &&
409 *(line_end + 1) != '\0');
410 ParseStatusLine(line_begin, line_end, has_headers);
413 if (line_end == raw_input.end()) {
426 raw_headers_.append(line_end + 1, raw_input.end());
436 line_end = raw_headers_.begin() + status_line_len - 1;
438 HttpUtil::HeadersIterator headers(line_end + 1, raw_headers_.end(),
623 // Note: this implementation implicitly assumes that line_end point
626 ParseVersion( std::string::const_iterator line_begin, std::string::const_iterator line_end) argument
669 ParseStatusLine( std::string::const_iterator line_begin, std::string::const_iterator line_end, bool has_headers) argument
[all...]
/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
238 for line_start, line_end, line_text in \
248 is_valid_edit = (line_end == last_line - 1)
252 % (line_start, line_end, is_valid_edit))
261 "entry." % (line_start, line_end, self.end_marker),
/external/opencv/cv/src/
H A Dcvhough.cpp561 CvPoint line_end[2] = {{0,0}, {0,0}}; local
653 line_end[k].y = i1;
654 line_end[k].x = j1;
661 good_line = abs(line_end[1].x - line_end[0].x) >= lineLength ||
662 abs(line_end[1].y - line_end[0].y) >= lineLength;
710 if( i1 == line_end[k].y && j1 == line_end[k].x )
717 CvRect lr = { line_end[
[all...]
/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/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/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/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);
/external/wpa_supplicant_8/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/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 6000 milliseconds

12