/external/toybox/toys/pending/ |
D | klogd.c | 67 char *start, *line_start, msg_buffer[16348]; //LOG_LINE_LENGTH - Ring buffer size in klogd_main() local 93 if ((line_start = strsep(&start, "\n")) != NULL && start != NULL) used = 0; in klogd_main() 95 used = strlen(line_start); in klogd_main() 96 strcpy(msg_buffer, line_start); in klogd_main() 101 if (*line_start == '<') { //we have new line to syslog in klogd_main() 102 line_start++; in klogd_main() 103 if (line_start) prio = (int)strtoul(line_start, &line_start, 10); in klogd_main() 104 if (*line_start == '>') line_start++; in klogd_main() 106 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 90 if (line_start == line_end) { in parse_line() 95 const char* separator = line_start; in parse_line() 104 (int) (line_end - line_start), line_start); in parse_line() 110 for (; key_end != line_start; key_end--) { in parse_line() 116 if (key_end == line_start) { in parse_line() 118 (int) (line_end - line_start), line_start); in parse_line() 132 (int) (line_end - line_start), line_start); in parse_line() 152 const size_t key_length = key_end - line_start; in parse_line() 155 if (memcmp(line_start, "apicid", key_length) == 0) { in parse_line() [all …]
|
/external/cpuinfo/src/arm/linux/ |
D | cpuinfo.c | 664 const char* line_start, in parse_line() argument 670 if (line_start == line_end) { in parse_line() 675 const char* separator = line_start; in parse_line() 684 (int) (line_end - line_start), line_start); in parse_line() 690 for (; key_end != line_start; key_end--) { in parse_line() 696 if (key_end == line_start) { in parse_line() 698 (int) (line_end - line_start), line_start); in parse_line() 712 (int) (line_end - line_start), line_start); in parse_line() 732 const size_t key_length = key_end - line_start; in parse_line() 735 if (memcmp(line_start, "Serial", key_length) == 0) { in parse_line() [all …]
|
/external/curl/lib/ |
D | http_proxy.c | 167 s->line_start = s->connect_buffer; in connect_init() 168 s->ptr = s->line_start; in connect_init() 413 result = Curl_convert_from_network(data, s->line_start, in CONNECT() 422 s->line_start, (size_t)s->perline); in CONNECT() 431 s->line_start, s->perline); in CONNECT() 443 if(('\r' == s->line_start[0]) || in CONNECT() 444 ('\n' == s->line_start[0])) { in CONNECT() 469 if(s->line_start[1] == '\n') { in CONNECT() 472 s->line_start++; in CONNECT() 477 r = Curl_httpchunk_read(conn, s->line_start + 1, 1, &gotbytes, in CONNECT() [all …]
|
/external/cpuinfo/src/linux/ |
D | multiline.c | 56 const char* line_start = buffer; in cpuinfo_linux_parse_multiline_file() local 61 if (!callback(line_start, line_end, context, line_number)) { in cpuinfo_linux_parse_multiline_file() 68 for (line_end = line_start; line_end != data_end; line_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() 87 const size_t line_length = (size_t) (line_end - line_start); in cpuinfo_linux_parse_multiline_file() 88 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/perfetto/src/traced/probes/system_info/ |
D | system_info_data_source.cc | 64 std::string::iterator line_start = proc_cpu_info.begin(); in Start() local 69 while (line_start != proc_cpu_info.end()) { in Start() 70 line_end = find(line_start, proc_cpu_info.end(), '\n'); in Start() 73 std::string line = std::string(line_start, line_end); in Start() 74 line_start = line_end + 1; in Start()
|
/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/skia/modules/skottie/src/text/ |
D | TextAdapter.cpp | 139 line_start = 0, in buildDomainMaps() local 163 fMaps.fLinesMap.push_back({line_start, i - line_start}); in buildDomainMaps() 165 line_start = i; in buildDomainMaps() 173 if (i > line_start) { in buildDomainMaps() 174 fMaps.fLinesMap.push_back({line_start, i - line_start}); in buildDomainMaps()
|
D | SkottieShaper.cpp | 351 const char* line_start = ptr; in ShapeImpl() local 357 blobMaker.shapeLine(line_start, ptr - 1); in ShapeImpl() 358 line_start = ptr; in ShapeImpl() 361 blobMaker.shapeLine(line_start, ptr); in ShapeImpl()
|
/external/python/cpython3/Parser/ |
D | parsetok.c | 266 const char *line_start; in parsetok() local 321 line_start = type == STRING ? tok->multi_line_start : tok->line_start; in parsetok() 322 if (a != NULL && a >= line_start) { in parsetok() 323 col_offset = Py_SAFE_DOWNCAST(a - line_start, in parsetok() 330 if (b != NULL && b >= tok->line_start) { in parsetok() 331 end_col_offset = Py_SAFE_DOWNCAST(b - tok->line_start, in parsetok()
|
D | tokenizer.h | 56 const char* line_start; /* pointer to start of current line */ member
|
D | tokenizer.c | 842 tok->line_start = tok->cur; in tok_nextc() 901 tok->line_start = tok->cur; in tok_nextc() 914 tok->line_start = tok->buf; in tok_nextc() 973 tok->line_start = tok->cur; in tok_nextc() 996 tok->line_start = tok->cur; in tok_nextc() 1045 (int)(tok->cur - tok->line_start)); in syntaxerror() 1632 tok->multi_line_start = tok->line_start; in tok_get()
|
/external/mesa3d/src/amd/compiler/tests/ |
D | glsl_scraper.py | 162 line_start = 0 163 while line_start < len(self.dwords): 165 for i in range(line_start, min(line_start + 6, len(self.dwords))): 167 line_start += 6
|
/external/v8/src/objects/ |
D | script.h | 135 PositionInfo() : line(-1), column(-1), line_start(-1), line_end(-1) {} in PositionInfo() 139 int line_start; // Position of first character in line. member
|
/external/pdfium/xfa/fde/ |
D | cfde_texteditengine.cpp | 464 size_t line_start = GetIndexAtStartOfLine(pos); in GetIndexUp() local 465 if (line_start == 0) in GetIndexUp() 469 size_t dist = pos - line_start; in GetIndexUp() 474 --line_start; in GetIndexUp() 475 ch = GetChar(line_start); in GetIndexUp() 476 } while (line_start != 0 && (ch == '\r' || ch == '\n')); in GetIndexUp() 478 if (line_start == 0) in GetIndexUp() 482 size_t prior_start = GetIndexAtStartOfLine(line_start); in GetIndexUp() 486 if (prior_start + dist > line_start) in GetIndexUp() 487 return GetIndexAtEndOfLine(line_start); in GetIndexUp()
|
/external/skqp/modules/skottie/src/ |
D | SkottieAdapter.cpp | 342 const char* line_start = ptr; in makeBlob() local 347 push_line(line_start, ptr - 1); in makeBlob() 348 line_start = ptr; in makeBlob() 351 push_line(line_start, ptr); in makeBlob()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_lexer.cc | 416 size_t line_start = in GetLine() local 418 const char* start = line_start == absl::string_view::npos in GetLine() 420 : buf_.begin() + line_start + 1; in GetLine()
|
/external/python/cpython2/Parser/ |
D | tokenizer.h | 48 const char* line_start; /* pointer to start of current line */ member
|
D | parsetok.c | 192 if (a != NULL && a >= tok->line_start) { in parsetok() 193 col_offset = a - tok->line_start; in parsetok()
|
D | tokenizer.c | 878 tok->line_start = tok->cur; in tok_nextc() 913 tok->line_start = tok->cur; in tok_nextc() 926 tok->line_start = tok->buf; in tok_nextc() 983 tok->line_start = tok->cur; in tok_nextc() 1005 tok->line_start = tok->cur; in tok_nextc()
|
/external/libgav1/libgav1/src/post_filter/ |
D | super_res.cc | 21 void ExtendLine(uint8_t* const line_start, const int width, const int left, in ExtendLine() argument 23 auto* const start = reinterpret_cast<Pixel*>(line_start); in ExtendLine()
|
/external/tensorflow/tensorflow/lite/micro/memory_planner/ |
D | greedy_memory_planner.cc | 311 const int line_start = (offset * kLineWidth) / max_size; in PrintMemoryPlan() local 313 for (int n = line_start; n < line_end; ++n) { in PrintMemoryPlan()
|
/external/webrtc/talk/app/webrtc/ |
D | webrtcsdp.cc | 350 size_t line_start, in ParseFailed() argument 355 size_t line_end = message.find(kNewLine, line_start); in ParseFailed() 360 first_line = message.substr(line_start, (line_end - line_start)); in ParseFailed() 362 first_line = message.substr(line_start); in ParseFailed() 424 size_t line_start, in ParseFailedExpectLine() argument 430 return ParseFailed(message, line_start, description.str(), error); in ParseFailedExpectLine() 498 size_t line_start) { in IsLineType() argument 499 if (message.size() < line_start + kLinePrefixLength) { in IsLineType() 503 return (cmessage[line_start] == type && in IsLineType() 504 cmessage[line_start + 1] == kSdpDelimiterEqual); in IsLineType()
|
/external/v8/src/debug/ |
D | debug.cc | 2158 int line_start = line == 0 ? 0 : Smi::ToInt(line_ends->get(line - 1)) + 1; in PrintBreakLocation() local 2163 PrintF("[debug] %.*s\n", line_end - line_start, in PrintBreakLocation() 2164 content.ToOneByteVector().begin() + line_start); in PrintBreakLocation()
|