/external/dbus/bus/ |
D | desktop-file.c | 365 int line_end, eol_len; in parse_comment_or_blank() local 367 if (!_dbus_string_find_eol (&parser->data, parser->pos, &line_end, &eol_len)) in parse_comment_or_blank() 368 line_end = parser->len; in parse_comment_or_blank() 370 if (line_end == parser->len) in parse_comment_or_blank() 373 parser->pos = line_end + eol_len; in parse_comment_or_blank() 398 int line_end, eol_len; in parse_section_start() local 403 if (!_dbus_string_find_eol (&parser->data, parser->pos, &line_end, &eol_len)) in parse_section_start() 404 line_end = parser->len; in parse_section_start() 406 if (line_end - parser->pos <= 2 || in parse_section_start() 407 _dbus_string_get_byte (&parser->data, line_end - 1) != ']') in parse_section_start() [all …]
|
/external/opencv/otherlibs/highgui/ |
D | grfmt_bmp.cpp | 253 uchar* line_end = data + width3; in ReadData() local 273 if( end > line_end ) goto decode_rle4_bad; in ReadData() 286 if( data + code*nch > line_end ) goto decode_rle4_bad; in ReadData() 295 int x_shift3 = (int)(line_end - data); in ReadData() 307 data = FillUniColor( data, line_end, step, width3, in ReadData() 311 data = FillUniGray( data, line_end, step, width3, in ReadData() 341 uchar* line_end = data + width3; in ReadData() local 355 if( data + len > line_end ) in ReadData() 359 data = FillUniColor( data, line_end, step, width3, in ReadData() 363 data = FillUniGray( data, line_end, step, width3, in ReadData() [all …]
|
D | grfmt_sunras.cpp | 221 uchar* line_end = src + (m_width*m_bpp + 7)/8; in ReadData() local 227 int max_count = (int)(line_end - tsrc); in ReadData() 248 if( len > line_end - tsrc ) in ReadData() 258 if( tsrc >= line_end ) in ReadData() 290 uchar* line_end = data + width3; in ReadData() local 295 int max_count = (int)(line_end - data); in ReadData() 328 data = FillUniColor( data, line_end, step, width3, in ReadData() 332 data = FillUniGray( data, line_end, step, width3, in ReadData() 339 if( data == line_end ) in ReadData() 343 line_end += step; in ReadData() [all …]
|
D | utils.cpp | 380 uchar* FillUniColor( uchar* data, uchar*& line_end, in FillUniColor() argument 389 if( end > line_end ) in FillUniColor() 390 end = line_end; in FillUniColor() 399 if( data >= line_end ) in FillUniColor() 401 line_end += step; in FillUniColor() 402 data = line_end - width3; in FillUniColor() 412 uchar* FillUniGray( uchar* data, uchar*& line_end, in FillUniGray() argument 421 if( end > line_end ) in FillUniGray() 422 end = line_end; in FillUniGray() 431 if( data >= line_end ) in FillUniGray() [all …]
|
D | utils.h | 99 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/net/tools/tld_cleanup/ |
D | tld_cleanup.cc | 177 size_t line_end = 0; in NormalizeFile() local 185 line_end = data.find_first_of("\r\n", line_start); in NormalizeFile() 186 if (line_end == std::string::npos) in NormalizeFile() 187 line_end = data.size(); in NormalizeFile() 190 line_end = data.find_first_of("\r\n \t", line_start); in NormalizeFile() 191 if (line_end == std::string::npos) in NormalizeFile() 192 line_end = data.size(); in NormalizeFile() 193 domain.assign(data.data(), line_start, line_end - line_start); in NormalizeFile() 218 line_start = data.find_first_of("\r\n", line_end); in NormalizeFile()
|
/external/chromium/net/tools/flip_server/ |
D | balsa_frame.cc | 464 const char* line_end, in CleanUpKeyValueWhitespace() argument 467 DCHECK_LT(colon_loc, line_end); in CleanUpKeyValueWhitespace() 470 DCHECK_GE(' ', *line_end) in CleanUpKeyValueWhitespace() 471 << "\"" << std::string(line_begin, line_end) << "\""; in CleanUpKeyValueWhitespace() 483 while (current < line_end && *current <= ' ') ++current; in CleanUpKeyValueWhitespace() 528 const char* line_end = stream_begin + lines_[i - 1].second; in FindColonsAndParseIntoKeyValue() local 529 DCHECK_LT(line_begin - stream_begin, line_end - stream_begin); in FindColonsAndParseIntoKeyValue() 536 --line_end; in FindColonsAndParseIntoKeyValue() 537 DCHECK_EQ('\n', *line_end) in FindColonsAndParseIntoKeyValue() 538 << "\"" << std::string(line_begin, line_end) << "\""; in FindColonsAndParseIntoKeyValue() [all …]
|
D | balsa_headers_token_utils.cc | 21 const char* line_end = stream_begin + header_line.last_char_idx; in TokenizeHeaderLine() local 24 ParseTokenList(value_begin, line_end, tokens); in TokenizeHeaderLine()
|
D | balsa_frame.h | 157 const char* line_end,
|
/external/chromium/net/http/ |
D | http_response_headers.cc | 331 std::string::const_iterator line_end = in Parse() local 335 bool has_headers = (line_end != raw_input.end() && in Parse() 336 (line_end + 1) != raw_input.end() && in Parse() 337 *(line_end + 1) != '\0'); in Parse() 338 ParseStatusLine(line_begin, line_end, has_headers); in Parse() 340 if (line_end == raw_input.end()) { in Parse() 350 raw_headers_.append(line_end + 1, raw_input.end()); in Parse() 353 line_end = raw_headers_.begin() + status_line_len - 1; in Parse() 355 HttpUtil::HeadersIterator headers(line_end + 1, raw_headers_.end(), in Parse() 541 std::string::const_iterator line_end) { in ParseVersion() argument [all …]
|
D | http_util.cc | 541 const char* line_end = lines.token_end(); in AssembleRawHeaders() local 546 raw_headers.append(FindFirstNonLWS(line_begin, line_end), line_end); in AssembleRawHeaders() 552 raw_headers.append(line_begin, line_end); in AssembleRawHeaders() 555 prev_line_continuable = IsLineSegmentContinuable(line_begin, line_end); in AssembleRawHeaders()
|
D | http_response_headers.h | 270 std::string::const_iterator line_end); 279 std::string::const_iterator line_end,
|
/external/chromium/net/base/ |
D | sdch_manager.cc | 390 size_t line_end = dictionary_text.find('\n', line_start); in AddSdchDictionary() local 391 DCHECK(std::string::npos != line_end); in AddSdchDictionary() 392 DCHECK(line_end <= header_end); in AddSdchDictionary() 400 if (colon_index > line_end) in AddSdchDictionary() 406 if (value_start >= line_end) in AddSdchDictionary() 409 std::string value(dictionary_text, value_start, line_end - value_start); in AddSdchDictionary() 430 if (line_end >= header_end) in AddSdchDictionary() 432 line_start = line_end + 1; in AddSdchDictionary()
|
/external/chromium/chrome/browser/extensions/ |
D | user_script_master.cc | 56 size_t line_end = line_start; in ParseMetadataHeader() local 73 line_end = script_text.find('\n', line_start); in ParseMetadataHeader() 76 if (line_end == std::string::npos) in ParseMetadataHeader() 77 line_end = script_text.length() - 1; in ParseMetadataHeader() 79 line.set(script_text.data() + line_start, line_end - line_start); in ParseMetadataHeader() 124 line_start = line_end + 1; in ParseMetadataHeader()
|
/external/chromium/net/websockets/ |
D | websocket_handshake_handler.cc | 58 std::string::const_iterator line_end, in GetHeaderName() argument 61 std::string::const_iterator colon = std::find(line_begin, line_end, ':'); in GetHeaderName() 62 if (colon == line_end) { in GetHeaderName() 84 std::string::const_iterator line_end = lines.token_end(); in FilterHeaders() local 88 if (GetHeaderName(line_begin, line_end, &name_begin, &name_end)) { in FilterHeaders() 97 filtered_headers.append(line_begin, line_end); in FilterHeaders()
|
/external/opencv/cv/src/ |
D | cvhough.cpp | 561 CvPoint line_end[2] = {{0,0}, {0,0}}; in icvHoughLinesProbabalistic() local 653 line_end[k].y = i1; in icvHoughLinesProbabalistic() 654 line_end[k].x = j1; in icvHoughLinesProbabalistic() 661 good_line = abs(line_end[1].x - line_end[0].x) >= lineLength || in icvHoughLinesProbabalistic() 662 abs(line_end[1].y - line_end[0].y) >= lineLength; in icvHoughLinesProbabalistic() 710 if( i1 == line_end[k].y && j1 == line_end[k].x ) in icvHoughLinesProbabalistic() 717 CvRect lr = { line_end[0].x, line_end[0].y, line_end[1].x, line_end[1].y }; in icvHoughLinesProbabalistic()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | tncs.c | 1089 char *config, *end, *pos, *line_end; in tncs_read_config() local 1104 for (pos = config; pos < end; pos = line_end + 1) { in tncs_read_config() 1105 line_end = pos; in tncs_read_config() 1106 while (*line_end != '\n' && *line_end != '\r' && in tncs_read_config() 1107 line_end < end) in tncs_read_config() 1108 line_end++; in tncs_read_config() 1109 *line_end = '\0'; in tncs_read_config() 1114 imv = tncs_parse_imv(id++, pos + 4, line_end, &error); in tncs_read_config()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
D | tncs.c | 1095 char *config, *end, *pos, *line_end; in tncs_read_config() local 1110 for (pos = config; pos < end; pos = line_end + 1) { in tncs_read_config() 1111 line_end = pos; in tncs_read_config() 1112 while (*line_end != '\n' && *line_end != '\r' && in tncs_read_config() 1113 line_end < end) in tncs_read_config() 1114 line_end++; in tncs_read_config() 1115 *line_end = '\0'; in tncs_read_config() 1120 imv = tncs_parse_imv(id++, pos + 4, line_end, &error); in tncs_read_config()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | tncc.c | 1119 char *config, *end, *pos, *line_end; in tncc_read_config() local 1133 for (pos = config; pos < end; pos = line_end + 1) { in tncc_read_config() 1134 line_end = pos; in tncc_read_config() 1135 while (*line_end != '\n' && *line_end != '\r' && in tncc_read_config() 1136 line_end < end) in tncc_read_config() 1137 line_end++; in tncc_read_config() 1138 *line_end = '\0'; in tncc_read_config() 1143 imc = tncc_parse_imc(pos + 4, line_end, &error); in tncc_read_config()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
D | tncc.c | 1125 char *config, *end, *pos, *line_end; in tncc_read_config() local 1139 for (pos = config; pos < end; pos = line_end + 1) { in tncc_read_config() 1140 line_end = pos; in tncc_read_config() 1141 while (*line_end != '\n' && *line_end != '\r' && in tncc_read_config() 1142 line_end < end) in tncc_read_config() 1143 line_end++; in tncc_read_config() 1144 *line_end = '\0'; in tncc_read_config() 1149 imc = tncc_parse_imc(pos + 4, line_end, &error); in tncc_read_config()
|
/external/chromium/testing/gtest/src/ |
D | gtest-death-test.cc | 456 const size_t line_end = output.find('\n', at); in FormatDeathTestOutput() local 458 if (line_end == ::std::string::npos) { in FormatDeathTestOutput() 462 ret += output.substr(at, line_end + 1 - at); in FormatDeathTestOutput() 463 at = line_end + 1; in FormatDeathTestOutput()
|
/external/gtest/src/ |
D | gtest-death-test.cc | 456 const size_t line_end = output.find('\n', at); in FormatDeathTestOutput() local 458 if (line_end == ::std::string::npos) { in FormatDeathTestOutput() 462 ret += output.substr(at, line_end + 1 - at); in FormatDeathTestOutput() 463 at = line_end + 1; in FormatDeathTestOutput()
|
/external/llvm/utils/unittest/googletest/ |
D | gtest-death-test.cc | 456 const size_t line_end = output.find('\n', at); in FormatDeathTestOutput() local 458 if (line_end == ::std::string::npos) { in FormatDeathTestOutput() 462 ret += output.substr(at, line_end + 1 - at); in FormatDeathTestOutput() 463 at = line_end + 1; in FormatDeathTestOutput()
|
/external/chromium/sdch/open-vcdiff/src/ |
D | gflags.cc | 1226 const char* line_end = flagfile_contents; in ProcessOptionsFromStringLocked() local 1228 for (; line_end; flagfile_contents = line_end + 1) { in ProcessOptionsFromStringLocked() 1231 line_end = strchr(flagfile_contents, '\n'); in ProcessOptionsFromStringLocked() 1232 size_t len = line_end ? static_cast<size_t>(line_end - flagfile_contents) in ProcessOptionsFromStringLocked()
|