/external/toybox/toys/pending/ |
D | klogd.c | 63 char *start, *line_start; in klogd_main() local 83 if ((line_start = strsep(&start, "\n")) && start) used = 0; in klogd_main() 85 used = stpcpy(toybuf, line_start)-toybuf; in klogd_main() 90 if (*line_start == '<') { //we have new line to syslog in klogd_main() 91 line_start++; in klogd_main() 92 if (line_start) prio = strtoul(line_start, &line_start, 10); in klogd_main() 93 if (*line_start == '>') line_start++; in klogd_main() 95 if (*line_start) syslog(prio, "%s", line_start); in klogd_main()
|
/external/cpuinfo/src/x86/linux/ |
D | cpuinfo.c | 84 const char* line_start, in parse_line() argument 89 if (line_start == line_end) { in parse_line() 94 const char* separator = line_start; in parse_line() 104 (int)(line_end - line_start), in parse_line() 105 line_start); in parse_line() 111 for (; key_end != line_start; key_end--) { in parse_line() 117 if (key_end == line_start) { in parse_line() 120 (int)(line_end - line_start), in parse_line() 121 line_start); in parse_line() 136 (int)(line_end - line_start), in parse_line() [all …]
|
/external/cpuinfo/src/arm/linux/ |
D | cpuinfo.c | 727 const char* line_start, in parse_line() argument 732 if (line_start == line_end) { in parse_line() 737 const char* separator = line_start; in parse_line() 747 (int)(line_end - line_start), in parse_line() 748 line_start); in parse_line() 754 for (; key_end != line_start; key_end--) { in parse_line() 760 if (key_end == line_start) { in parse_line() 763 (int)(line_end - line_start), in parse_line() 764 line_start); in parse_line() 779 (int)(line_end - line_start), in parse_line() [all …]
|
/external/sdv/vsomeip/third_party/boost/spirit/example/qi/compiler_tutorial/calc7/ |
D | error_handler.hpp | 35 Iterator line_start = get_pos(err_pos, line); in operator ()() local 39 std::cout << get_line(line_start) << std::endl; in operator ()() 40 for (; line_start != err_pos; ++line_start) in operator ()() 55 Iterator line_start = first; in get_pos() local 62 line_start = ++i; in get_pos() 67 line_start = ++i; in get_pos() 74 return line_start; in get_pos()
|
/external/sdv/vsomeip/third_party/boost/spirit/example/qi/compiler_tutorial/mini_c/ |
D | error_handler.hpp | 35 Iterator line_start = get_pos(err_pos, line); in operator ()() local 39 std::cout << get_line(line_start) << std::endl; in operator ()() 40 for (; line_start != err_pos; ++line_start) in operator ()() 55 Iterator line_start = first; in get_pos() local 62 line_start = ++i; in get_pos() 67 line_start = ++i; in get_pos() 74 return line_start; in get_pos()
|
/external/sdv/vsomeip/third_party/boost/spirit/example/qi/compiler_tutorial/conjure1/ |
D | error_handler.hpp | 35 Iterator line_start = get_pos(err_pos, line); in operator ()() local 39 std::cout << get_line(line_start) << std::endl; in operator ()() 40 for (; line_start != err_pos; ++line_start) in operator ()() 55 Iterator line_start = first; in get_pos() local 62 line_start = ++i; in get_pos() 67 line_start = ++i; in get_pos() 74 return line_start; in get_pos()
|
/external/sdv/vsomeip/third_party/boost/spirit/example/qi/compiler_tutorial/calc8/ |
D | error_handler.hpp | 35 Iterator line_start = get_pos(err_pos, line); in operator ()() local 39 std::cout << get_line(line_start) << std::endl; in operator ()() 40 for (; line_start != err_pos; ++line_start) in operator ()() 55 Iterator line_start = first; in get_pos() local 62 line_start = ++i; in get_pos() 67 line_start = ++i; in get_pos() 74 return line_start; in get_pos()
|
/external/sdv/vsomeip/third_party/boost/spirit/example/qi/compiler_tutorial/conjure3/ |
D | error_handler.hpp | 41 BaseIterator line_start = get_pos(err_pos_base, line); in operator ()() local 45 std::cout << get_line(line_start) << std::endl; in operator ()() 46 for (; line_start != err_pos_base; ++line_start) in operator ()() 61 BaseIterator line_start = first; in get_pos() local 68 line_start = ++i; in get_pos() 73 line_start = ++i; in get_pos() 80 return line_start; in get_pos()
|
/external/sdv/vsomeip/third_party/boost/spirit/example/qi/compiler_tutorial/conjure2/ |
D | error_handler.hpp | 47 BaseIterator line_start = get_pos(err_pos_base, line); in dump_error_line() local 51 std::cout << get_line(line_start) << std::endl; in dump_error_line() 52 for (; line_start != err_pos_base; ++line_start) in dump_error_line() 67 BaseIterator line_start = first; in get_pos() local 74 line_start = ++i; in get_pos() 79 line_start = ++i; in get_pos() 86 return line_start; in get_pos()
|
/external/mesa3d/src/amd/compiler/ |
D | aco_print_asm.cpp | 141 char** line_start) in get_branch_target() argument 144 if (sscanf(*line_start, ".L%d_0", &pos) != 1) in get_branch_target() 147 *line_start = strchr(*line_start, '_') + 2; in get_branch_target() 201 char* line_start = line; in print_asm_clrx() 202 if (strncmp(line_start, "/*", 2)) in print_asm_clrx() 206 if (sscanf(line_start, "/*%x*/", &pos) != 1) in print_asm_clrx() 210 while (strncmp(line_start, "*/", 2)) in print_asm_clrx() 211 line_start++; in print_asm_clrx() 212 line_start += 2; in print_asm_clrx() 214 while (line_start[0] == ' ') in print_asm_clrx() [all …]
|
/external/cpuinfo/src/linux/ |
D | multiline.c | 58 const char* line_start = buffer; in cpuinfo_linux_parse_multiline_file() local 64 if (!callback(line_start, line_end, context, line_number)) { in cpuinfo_linux_parse_multiline_file() 73 for (line_end = line_start; line_end != data_end; line_end++) { in cpuinfo_linux_parse_multiline_file() 85 if (!callback(line_start, line_end, context, line_number++)) { in cpuinfo_linux_parse_multiline_file() 88 line_start = line_end + 1; in cpuinfo_linux_parse_multiline_file() 94 const size_t line_length = (size_t)(line_end - line_start); in cpuinfo_linux_parse_multiline_file() 95 memmove(buffer, line_start, line_length); in cpuinfo_linux_parse_multiline_file()
|
/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/python/cpython3/Python/ |
D | Python-tokenize.c | 184 _get_current_line(tokenizeriterobject *it, const char *line_start, Py_ssize_t size, in _get_current_line() argument 193 line = PyUnicode_DecodeUTF8(line_start, size, "replace"); in _get_current_line() 205 _get_col_offsets(tokenizeriterobject *it, struct token token, const char *line_start, in _get_col_offsets() argument 211 if (token.start != NULL && token.start >= line_start) { in _get_col_offsets() 212 byte_offset = token.start - line_start; in _get_col_offsets() 222 if (token.end != NULL && token.end >= it->tok->line_start) { in _get_col_offsets() 223 Py_ssize_t end_byte_offset = token.end - it->tok->line_start; in _get_col_offsets() 233 …*end_col_offset = _PyPegen_byte_offset_to_character_offset_raw(it->tok->line_start, end_byte_offse… in _get_col_offsets() 280 const char *line_start = ISSTRINGLIT(type) ? it->tok->multi_line_start : it->tok->line_start; in tokenizeriter_next() local 286 Py_ssize_t size = it->tok->inp - line_start; in tokenizeriter_next() [all …]
|
/external/perfetto/src/trace_processor/importers/android_bugreport/ |
D | android_log_event.cc | 33 const char* line_start = reinterpret_cast<const char*>(data); in FindLines() local 34 const char* ptr = line_start; in FindLines() 39 lines.emplace_back(line_start, static_cast<size_t>(ptr - line_start)); in FindLines() 40 line_start = ptr + 1; in FindLines()
|
/external/python/cpython3/Parser/lexer/ |
D | buffer.c | 58 Py_ssize_t line_start = tok->start == NULL ? -1 : tok->line_start - tok->buf; in _PyLexer_tok_reserve_buf() local 71 tok->line_start = line_start < 0 ? NULL : tok->buf + line_start; in _PyLexer_tok_reserve_buf()
|
/external/perfetto/src/trace_processor/util/ |
D | streaming_line_reader.cc | 55 const char* line_start = input.data(); in Tokenize() local 61 lines.emplace_back(line_start, static_cast<size_t>(c - line_start)); in Tokenize() 62 line_start = c + 1; in Tokenize()
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/bench/ |
D | cssmin.py | 196 line_start = 0 199 if char == '}' and (i - line_start >= line_length): 200 lines.append(css[line_start:i + 1]) 201 line_start = i + 1 203 if line_start < len(css): 204 lines.append(css[line_start:])
|
/external/rust/android-crates-io/crates/annotate-snippets/tests/fixtures/no-color/ |
D | issue_9.toml | 7 line_start = 4 16 line_start = 7 24 line_start = 9
|
/external/perfetto/src/traced/probes/system_info/ |
D | system_info_data_source.cc | 89 std::string::iterator line_start = proc_cpu_info.begin(); in Start() local 102 while (line_start != proc_cpu_info.end()) { in Start() 103 line_end = find(line_start, proc_cpu_info.end(), '\n'); in Start() 106 std::string line = std::string(line_start, line_end); in Start() 107 line_start = line_end + 1; in Start()
|
/external/rust/android-crates-io/crates/codespan-reporting/examples/ |
D | custom_files.rs | 59 fn line_start(&self, line_index: usize) -> Result<usize, files::Error> { in line_start() method 149 let line_start = file.line_start(line_index)?; in line_range() localVariable 150 let next_line_start = file.line_start(line_index + 1)?; in line_range() 152 Ok(line_start..next_line_start) in line_range()
|
/external/pytorch/torch/csrc/jit/frontend/ |
D | source_range.cpp | 280 size_t line_start = start(); in print_with_context() local 284 while (line_start < range_end) { in print_with_context() 290 auto actual_line = str.substr(line_start, (line_end - line_start) + 1); in print_with_context() 298 size_t hightlight_begin = line_start; in print_with_context() 299 size_t highlight_end = line_start; in print_with_context() 332 line_start = line_end; in print_with_context()
|
/external/rust/android-crates-io/crates/annotate-snippets/examples/ |
D | multislice.rs | 17 line_start: 51, in main() 24 line_start: 129, in main()
|
/external/cronet/tot/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/ |
D | stack_trace_posix.cc | 124 bool ParseMapsLine(const char* line_start, in ParseMapsLine() argument 131 const char* ptr = line_start; in ParseMapsLine() 313 char* line_start = buffer; in PrintStackTraceInternal() local 328 ParseMapsLine(line_start, line_end, &start_address, &end_address, in PrintStackTraceInternal() 352 line_start = parsed; in PrintStackTraceInternal()
|
/external/cronet/stable/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/debug/ |
D | stack_trace_posix.cc | 124 bool ParseMapsLine(const char* line_start, in ParseMapsLine() argument 131 const char* ptr = line_start; in ParseMapsLine() 313 char* line_start = buffer; in PrintStackTraceInternal() local 328 ParseMapsLine(line_start, line_end, &start_address, &end_address, in PrintStackTraceInternal() 352 line_start = parsed; in PrintStackTraceInternal()
|
/external/rust/android-crates-io/crates/codespan-reporting/src/ |
D | files.rs | 299 fn line_start(&self, line_index: usize) -> Result<usize, Error> { in line_start() function 342 let line_start = self.line_start(line_index)?; in line_range() localVariable 343 let next_line_start = self.line_start(line_index + 1)?; in line_range() 345 Ok(line_start..next_line_start) in line_range()
|