/external/chromium_org/net/tools/balsa/ |
balsa_headers_token_utils.cc | 21 const char* line_end = stream_begin + header_line.last_char_idx; local 24 ParseTokenList(value_begin, line_end, tokens);
|
balsa_frame.cc | 479 // '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 >= line_begin 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/qemu/android/filesystems/ |
fstab_parser.cpp | 61 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...] |
/ndk/sources/android/crazy_linker/src/ |
crazy_linker_line_reader.cpp | 56 const char* line_end = reinterpret_cast<const char*>( local 58 if (line_end != NULL) { 60 line_len_ = static_cast<size_t>(line_end + 1 - line);
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
crazy_linker_line_reader.cpp | 58 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);
|
/external/chromium_org/third_party/skia/src/core/ |
SkUtilsArm.cpp | 100 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/ |
SkUtilsArm.cpp | 153 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/ |
tld_cleanup_util.cc | 140 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 - line_start) [all...] |
/external/chromium_org/rlz/win/lib/ |
machine_deal.cc | 84 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/opencv/otherlibs/highgui/ |
grfmt_sunras.cpp | 221 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 += step [all...] |
grfmt_bmp.cpp | 253 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, step, width3, [all...] |
/external/chromium_org/chrome/browser/extensions/ |
user_script_loader.cc | 244 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/content/browser/appcache/ |
appcache_manifest_parser.cc | 46 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) 312 const wchar_t* line_end = line_p + line.length(); local [all...] |
/external/chromium_org/net/base/ |
sdch_manager.cc | 534 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/rlz/lib/ |
rlz_lib.cc | 527 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/ |
profiledata_unittest.cc | 260 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/ |
profiledata_unittest.cc | 260 char* line_end = strchr(line_start, '\n'); local 261 *line_end = '\0'; 310 cur_offset += (line_end - line_start) + 1;
|
/external/chromium_org/net/websockets/ |
websocket_handshake_handler.cc | 69 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);
|
/external/chromium_org/ui/views/controls/tabbed_pane/ |
tabbed_pane.cc | 213 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);
|
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/ |
plasma.c | 215 uint16_t* line_end = line + info->width; local 217 if (line < line_end) { 228 while (line + 2 <= line_end) { 244 if (line < line_end) {
|
/development/ndk/platforms/android-9/samples/native-plasma/jni/ |
plasma.c | 224 uint16_t* line_end = line + buffer->width; local 226 if (line < line_end) { 237 while (line + 2 <= line_end) { 253 if (line < line_end) {
|
/external/chromium_org/net/http/ |
http_util.cc | 610 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);
|
http_response_headers.cc | 403 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 points at a vali [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
tncs.c | 1021 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/chromium_org/testing/gtest/src/ |
gtest-death-test.cc | 496 const size_t line_end = output.find('\n', at); local 498 if (line_end == ::std::string::npos) { 502 ret += output.substr(at, line_end + 1 - at); 503 at = line_end + 1; [all...] |