/external/cpuinfo/src/linux/ |
D | multiline.c | 60 const char* line_end = data_end; in cpuinfo_linux_parse_multiline_file() local 61 if (!callback(line_start, line_end, context, line_number)) { in cpuinfo_linux_parse_multiline_file() 65 const char* line_end; in cpuinfo_linux_parse_multiline_file() local 68 for (line_end = line_start; line_end != data_end; line_end++) { in cpuinfo_linux_parse_multiline_file() 69 if (*line_end == '\n') { in cpuinfo_linux_parse_multiline_file() 78 if (line_end != data_end) { in cpuinfo_linux_parse_multiline_file() 79 if (!callback(line_start, line_end, context, line_number++)) { in cpuinfo_linux_parse_multiline_file() 82 line_start = line_end + 1; in cpuinfo_linux_parse_multiline_file() 84 } while (line_end != data_end); in cpuinfo_linux_parse_multiline_file() 87 const size_t line_length = (size_t) (line_end - line_start); in cpuinfo_linux_parse_multiline_file()
|
/external/image_io/src/base/ |
D | data_line_map.cc | 36 size_t line_end; in FindDataLines() local 41 line_end = std::min(range_end, segment.Find(line_begin, '\n')); in FindDataLines() 44 data_lines_.back().range = DataRange(line_begin, line_end); in FindDataLines() 45 if (line_end < range_end && in FindDataLines() 46 segment.GetValidatedByte(line_end).value == '\n') { in FindDataLines() 50 data_lines_.emplace_back(next_number++, DataRange(line_begin, line_end)); in FindDataLines() 52 line_begin = line_end + 1; in FindDataLines() 55 line_end == range_end || segment.GetValidatedByte(line_end).value != '\n'; in FindDataLines()
|
D | data_context.cc | 116 size_t line_begin, line_end; in GetClippedAndLineRange() local 124 line_end = std::min(line_begin + 2 * kLimit, clipped_range->GetEnd()); in GetClippedAndLineRange() 127 line_end = std::min(location_ + 2 * kLimit, range_.GetEnd()); in GetClippedAndLineRange() 128 *clipped_range = DataRange(line_begin, line_end); in GetClippedAndLineRange() 130 *line_range = DataRange(line_begin, line_end); in GetClippedAndLineRange()
|
/external/cpuinfo/src/x86/linux/ |
D | cpuinfo.c | 85 const char* line_end, in parse_line() argument 90 if (line_start == line_end) { in parse_line() 96 for (; separator != line_end; separator++) { in parse_line() 102 if (separator == line_end) { in parse_line() 104 (int) (line_end - line_start), line_start); in parse_line() 118 (int) (line_end - line_start), line_start); in parse_line() 124 for (; value_start != line_end; value_start++) { in parse_line() 130 if (value_start == line_end) { in parse_line() 132 (int) (line_end - line_start), line_start); in parse_line() 137 const char* value_end = line_end; in parse_line()
|
/external/ply/ply/test/ |
D | yacc_error5.py | 29 line_start, line_end = t.linespan(3) 31 print("Assignment Error at %d:%d to %d:%d" % (line_start,pos_start,line_end,pos_end)) 53 line_start, line_end = t.linespan(2) 55 print("Group at %d:%d to %d:%d" % (line_start,pos_start, line_end, pos_end)) 60 line_start, line_end = t.linespan(2) 62 print("Syntax error at %d:%d to %d:%d" % (line_start,pos_start, line_end, pos_end))
|
/external/libcups/filter/ |
D | rastertohp.c | 434 *line_end, /* End-of-line byte pointer */ in CompressData() local 448 line_end = line + length; in CompressData() 456 line_end = line + length; in CompressData() 458 line_ptr < line_end; in CompressData() 462 (line_ptr + count) < line_end && in CompressData() 472 line_end = comp_ptr; in CompressData() 481 line_end = line + length; in CompressData() 484 while (line_ptr < line_end) in CompressData() 486 if ((line_ptr + 1) >= line_end) in CompressData() 504 while (line_ptr < (line_end - 1) && in CompressData() [all …]
|
D | rastertoepson.c | 418 *line_end, /* End-of-line byte pointer */ in CompressData() local 432 line_end = line + length; in CompressData() 440 for (comp_ptr = (unsigned char *)line; comp_ptr < line_end;) in CompressData() 474 if ((temp & 0x01) && comp_ptr < line_end && *comp_ptr & 0x80) in CompressData() 494 while (line_ptr < line_end) in CompressData() 496 if ((line_ptr + 1) >= line_end) in CompressData() 514 while (line_ptr < (line_end - 1) && in CompressData() 535 while (line_ptr < (line_end - 1) && in CompressData() 551 line_end = comp_ptr; in CompressData() 608 pwrite(line_ptr, (size_t)(line_end - line_ptr)); in CompressData()
|
D | rastertolabel.c | 909 *line_end, /* End-of-line byte pointer */ in PCLCompress() local 922 line_end = line + length; in PCLCompress() 927 while (line_ptr < line_end) in PCLCompress() 943 if ((count = (unsigned)(line_end - line_ptr)) > 8) in PCLCompress() 955 line_ptr < line_end) in PCLCompress() 961 if (line_ptr == line_end) in PCLCompress() 973 line_ptr < line_end && in PCLCompress()
|
/external/perfetto/src/traced/probes/system_info/ |
D | system_info_data_source.cc | 65 std::string::iterator line_end = proc_cpu_info.end(); in Start() local 70 line_end = find(line_start, proc_cpu_info.end(), '\n'); in Start() 71 if (line_end == proc_cpu_info.end()) in Start() 73 std::string line = std::string(line_start, line_end); in Start() 74 line_start = line_end + 1; in Start()
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | proc_cpuinfo_reader.h | 70 const char* line_end = line + line_len; in GetNextField() local 84 while (val < line_end && my_isspace(*val)) in GetNextField() 88 value_len_ = static_cast<size_t>(line_end - val); in GetNextField()
|
/external/curl/lib/vquic/ |
D | quiche.c | 547 char *end, *line_end; in http_request() local 580 line_end = memchr(hdbuf, '\r', len); in http_request() 581 if(!line_end) { in http_request() 587 end = memchr(hdbuf, ' ', line_end - hdbuf); in http_request() 599 for(i = (size_t)(line_end - hdbuf); i; --i) { in http_request() 626 hdbuf = line_end + 2; in http_request() 630 line_end = memchr(hdbuf, '\r', len - (hdbuf - (char *)mem)); in http_request() 631 if(!line_end || (line_end == hdbuf)) in http_request() 638 for(end = hdbuf; end < line_end && *end != ':'; ++end) in http_request() 640 if(end == hdbuf || end == line_end) in http_request() [all …]
|
D | ngtcp2.c | 1083 char *end, *line_end; in http_request() local 1126 line_end = memchr(hdbuf, '\r', len); in http_request() 1127 if(!line_end) { in http_request() 1133 end = memchr(hdbuf, ' ', line_end - hdbuf); in http_request() 1146 for(i = (size_t)(line_end - hdbuf); i; --i) { in http_request() 1175 hdbuf = line_end + 2; in http_request() 1179 line_end = memchr(hdbuf, '\r', len - (hdbuf - (char *)mem)); in http_request() 1180 if(!line_end || (line_end == hdbuf)) in http_request() 1187 for(end = hdbuf; end < line_end && *end != ':'; ++end) in http_request() 1189 if(end == hdbuf || end == line_end) in http_request() [all …]
|
/external/cpuinfo/src/arm/linux/ |
D | cpuinfo.c | 665 const char* line_end, in parse_line() argument 670 if (line_start == line_end) { in parse_line() 676 for (; separator != line_end; separator++) { in parse_line() 682 if (separator == line_end) { in parse_line() 684 (int) (line_end - line_start), line_start); in parse_line() 698 (int) (line_end - line_start), line_start); in parse_line() 704 for (; value_start != line_end; value_start++) { in parse_line() 710 if (value_start == line_end) { in parse_line() 712 (int) (line_end - line_start), line_start); in parse_line() 717 const char* value_end = line_end; in parse_line()
|
/external/selinux/libsemanage/src/ |
D | semanage_store.c | 2505 char *line_end = NULL; in semanage_get_line_end() local 2512 line_end = semanage_strnchr(buf, buf_len, '\n'); in semanage_get_line_end() 2513 if (!line_end) in semanage_get_line_end() 2514 line_end = semanage_strnchr(buf, buf_len, '\r'); in semanage_get_line_end() 2515 if (!line_end) in semanage_get_line_end() 2516 line_end = semanage_strnchr(buf, buf_len, EOF); in semanage_get_line_end() 2518 return line_end; in semanage_get_line_end() 2534 const char *line_buf, *line_end; in semanage_fc_sort() local 2572 while ((line_end = semanage_get_line_end(line_buf, buf_remainder))) { in semanage_fc_sort() 2573 line_len = line_end - line_buf + 1; in semanage_fc_sort() [all …]
|
/external/skia/third_party/icu/ |
D | make_data_cpp.py | 30 header, line_begin, line_end, footer = fmt 39 o.write('%s%s%s\n' % (line_begin, line, line_end))
|
/external/igt-gpu-tools/runner/ |
D | resultgen.c | 48 char *line_end = memchr(haystack, '\n', end - haystack); in find_line_starting_with() local 54 if (line_end == NULL) in find_line_starting_with() 56 haystack = line_end + 1; in find_line_starting_with() 68 char *line_end = memchr(haystack, '\n', end - haystack); in find_line_starting_with_either() local 69 size_t linelen = line_end != NULL ? line_end - haystack : end - haystack; in find_line_starting_with_either() 74 if (line_end == NULL) in find_line_starting_with_either() 77 haystack = line_end + 1; in find_line_starting_with_either() 212 char *line_end; in parse_subtest_result() local 244 line_end = memchr(line, '\n', bufend - line); in parse_subtest_result() 245 linelen = line_end != NULL ? line_end - line : bufend - line; in parse_subtest_result()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | tncs.c | 1018 char *config, *end, *pos, *line_end; in tncs_read_config() local 1033 for (pos = config; pos < end; pos = line_end + 1) { in tncs_read_config() 1034 line_end = pos; in tncs_read_config() 1035 while (*line_end != '\n' && *line_end != '\r' && in tncs_read_config() 1036 line_end < end) in tncs_read_config() 1037 line_end++; in tncs_read_config() 1038 *line_end = '\0'; in tncs_read_config() 1043 imv = tncs_parse_imv(id++, pos + 4, line_end, &error); in tncs_read_config()
|
/external/v8/src/objects/ |
D | script.h | 135 PositionInfo() : line(-1), column(-1), line_start(-1), line_end(-1) {} in PositionInfo() 140 int line_end; // Position of final linebreak character in line. member
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | tncc.c | 1070 char *config, *end, *pos, *line_end; in tncc_read_config() local 1084 for (pos = config; pos < end; pos = line_end + 1) { in tncc_read_config() 1085 line_end = pos; in tncc_read_config() 1086 while (*line_end != '\n' && *line_end != '\r' && in tncc_read_config() 1087 line_end < end) in tncc_read_config() 1088 line_end++; in tncc_read_config() 1089 *line_end = '\0'; in tncc_read_config() 1094 imc = tncc_parse_imc(pos + 4, line_end, &error); in tncc_read_config()
|
/external/pdfium/xfa/fde/ |
D | cfde_texteditengine.cpp | 493 size_t line_end = GetIndexAtEndOfLine(pos); in GetIndexDown() local 494 if (line_end == text_length_) in GetIndexDown() 499 ++line_end; in GetIndexDown() 500 ch = GetChar(line_end); in GetIndexDown() 501 } while (line_end < text_length_ && (ch == '\r' || ch == '\n')); in GetIndexDown() 503 if (line_end == text_length_) in GetIndexDown() 504 return line_end; in GetIndexDown() 511 size_t next_line_end = GetIndexAtEndOfLine(line_end); in GetIndexDown() 512 if (line_end + dist > next_line_end) in GetIndexDown() 515 return line_end + dist; in GetIndexDown()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_type3cache.cpp | 72 int line_end = bFirst ? height : -1; in DetectFirstLastScan() local 73 while (line != line_end) { in DetectFirstLastScan()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_lexer.cc | 421 size_t line_end = StringPieceFromPointers(loc, buf_.end()).find('\n'); in GetLine() local 423 line_end == absl::string_view::npos ? buf_.end() : loc + line_end; in GetLine()
|
/external/curl/lib/ |
D | http2.c | 1867 char *end, *line_end; in http2_send() local 1951 line_end = memchr(hdbuf, '\r', len); in http2_send() 1952 if(!line_end) in http2_send() 1956 end = memchr(hdbuf, ' ', line_end - hdbuf); in http2_send() 1973 for(i = (size_t)(line_end - hdbuf); i; --i) { in http2_send() 2009 hdbuf = line_end + 2; in http2_send() 2013 line_end = memchr(hdbuf, '\r', len - (hdbuf - (char *)mem)); in http2_send() 2014 if(!line_end || (line_end == hdbuf)) in http2_send() 2021 for(end = hdbuf; end < line_end && *end != ':'; ++end) in http2_send() 2023 if(end == hdbuf || end == line_end) in http2_send() [all …]
|
/external/gflags/src/ |
D | gflags.cc | 1277 const char* line_end = flagfile_contents; in ProcessOptionsFromStringLocked() local 1279 for (; line_end; flagfile_contents = line_end + 1) { in ProcessOptionsFromStringLocked() 1283 line_end = strchr(flagfile_contents, '\r'); in ProcessOptionsFromStringLocked() 1284 if (line_end == NULL) in ProcessOptionsFromStringLocked() 1285 line_end = strchr(flagfile_contents, '\n'); in ProcessOptionsFromStringLocked() 1287 size_t len = line_end ? line_end - flagfile_contents in ProcessOptionsFromStringLocked()
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest-death-test.cc | 459 const size_t line_end = output.find('\n', at); in FormatDeathTestOutput() local 461 if (line_end == ::std::string::npos) { in FormatDeathTestOutput() 465 ret += output.substr(at, line_end + 1 - at); in FormatDeathTestOutput() 466 at = line_end + 1; in FormatDeathTestOutput()
|