Home
last modified time | relevance | path

Searched refs:line_start (Results 1 - 25 of 31) sorted by relevance

12

/third_party/toybox/toys/pending/
H A Dklogd.c67 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 in klogd_main()
[all...]
/third_party/mesa3d/src/amd/compiler/
H A Daco_print_asm.cpp157 char** line_start) in get_branch_target()
160 if (sscanf(*line_start, ".L%d_0", &pos) != 1) in get_branch_target()
163 *line_start = strchr(*line_start, '_') + 2; in get_branch_target()
213 char* line_start = line; in print_asm_clrx()
214 if (strncmp(line_start, "/*", 2)) in print_asm_clrx()
218 if (sscanf(line_start, "/*%x*/", &pos) != 1) in print_asm_clrx()
222 while (strncmp(line_start, "*/", 2)) in print_asm_clrx()
223 line_start++; in print_asm_clrx()
224 line_start in print_asm_clrx()
156 get_branch_target(char** output, Program* program, const std::vector<bool>& referenced_blocks, char** line_start) get_branch_target() argument
[all...]
/third_party/ninja/src/
H A Dlexer.in.cc27 const char* line_start = input_.str_; in Error() local
31 line_start = p + 1; in Error()
34 int col = last_token_ ? (int)(last_token_ - line_start) : 0; in Error()
47 if (line_start[len] == 0 || line_start[len] == '\n') { in Error()
52 *err += string(line_start, len); in Error()
H A Dbuild_log.cc217 // On return, *line_start points to the beginning of the next line, and
220 bool ReadLine(char** line_start, char** line_end) { in ReadLine()
246 *line_start = line_start_; in ReadLine()
257 // Points at the next \n in buf_ after line_start, or NULL.
276 char* line_start = 0; in Load() local
278 while (reader.ReadLine(&line_start, &line_end)) { in Load()
280 sscanf(line_start, kFileSignature, &log_version); in Load()
306 char* start = line_start; in Load()
360 if (!line_start) { in Load()
H A Dlexer.cc28 const char* line_start = input_.str_; in Error() local
32 line_start = p + 1; in Error()
35 int col = last_token_ ? (int)(last_token_ - line_start) : 0; in Error()
48 if (line_start[len] == 0 || line_start[len] == '\n') { in Error()
53 *err += string(line_start, len); in Error()
/third_party/python/Python/
H A DPython-tokenize.c89 const char *line_start = type == STRING ? it->tok->multi_line_start : it->tok->line_start; in tokenizeriter_next() local
94 if (start != NULL && start >= line_start) { in tokenizeriter_next()
95 col_offset = (int)(start - line_start); in tokenizeriter_next()
97 if (end != NULL && end >= it->tok->line_start) { in tokenizeriter_next()
98 end_col_offset = (int)(end - it->tok->line_start); in tokenizeriter_next()
/third_party/rust/crates/codespan/codespan-reporting/examples/
H A Dcustom_files.rs59 fn line_start(&self, line_index: usize) -> Result<usize, files::Error> { in line_start() functions
149 let line_start = file.line_start(line_index)?; in line_range()
150 let next_line_start = file.line_start(line_index + 1)?; in line_range()
152 Ok(line_start..next_line_start) in line_range()
/third_party/ffmpeg/libavcodec/
H A Dhtmlsubtitles.c132 int len, tag_close, sptr = 0, line_start = 1, an = 0, end = 0; in ff_htmlmarkup_to_ass() local
168 if (line_start) { in ff_htmlmarkup_to_ass()
174 line_start = 1; in ff_htmlmarkup_to_ass()
177 if (!line_start) in ff_htmlmarkup_to_ass()
307 line_start = 0; in ff_htmlmarkup_to_ass()
/third_party/rust/crates/codespan/codespan-reporting/src/
H A Dfiles.rs299 fn line_start(&self, line_index: usize) -> Result<usize, Error> { in line_start() functions
342 let line_start = self.line_start(line_index)?; in line_range()
343 let next_line_start = self.line_start(line_index + 1)?; in line_range()
345 Ok(line_start..next_line_start) in line_range()
/third_party/skia/modules/skottie/src/layers/shapelayer/
H A DPuckerBloat.cpp86 const auto line_start = pts[0], variable
89 lerp(line_start, line_end, kCtrlPosFraction),
90 lerp(line_start, line_end, 1 - kCtrlPosFraction),
/third_party/mesa3d/src/amd/compiler/tests/
H A Dglsl_scraper.py162 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
/third_party/node/deps/v8/src/objects/
H A Dscript.h171 PositionInfo() : line(-1), column(-1), line_start(-1), line_end(-1) {} in PositionInfo()
175 int line_start; // Position of first character in line. member
H A Dobjects.cc4902 info->line_start = static_cast<int>(line_begin - begin); in GetPositionInfoSlowImpl()
4939 info->line_start = module->functions[0].code.offset(); in GetPositionInfo()
4968 info->line_start = 0; in GetPositionInfo()
4988 info->line_start = Smi::ToInt(ends.get(info->line - 1)) + 1; in GetPositionInfo()
4989 info->column = position - info->line_start; in GetPositionInfo()
/third_party/skia/modules/skottie/src/text/
H A DTextAdapter.cpp382 line_start = 0, in buildDomainMaps() local
416 fMaps.fLinesMap.push_back({line_start, i - line_start, line_advance, line_ascent}); in buildDomainMaps()
418 line_start = i; in buildDomainMaps()
430 if (i > line_start) { in buildDomainMaps()
431 fMaps.fLinesMap.push_back({line_start, i - line_start, line_advance, line_ascent}); in buildDomainMaps()
H A DSkottieShaper.cpp373 const char* line_start = ptr; in ShapeImpl() local
379 blobMaker.shapeLine(line_start, ptr - 1); in ShapeImpl()
380 line_start = ptr; in ShapeImpl()
383 blobMaker.shapeLine(line_start, ptr); in ShapeImpl()
/third_party/python/Parser/
H A Dtokenizer.c361 Py_ssize_t line_start = tok->start == NULL ? -1 : tok->line_start - tok->buf; in tok_reserve_buf() local
373 tok->line_start = line_start < 0 ? NULL : tok->buf + line_start; in tok_reserve_buf()
873 tok->line_start = tok->cur; in tok_underflow_string()
950 tok->line_start = tok->buf; in tok_underflow_interactive()
1085 tok->line_start = tok->cur; in tok_nextc()
1087 if (contains_null_bytes(tok->line_start, tok->inp - tok->line_start)) { in tok_nextc()
[all...]
H A Dpegen.c165 const char *line_start = token_type == STRING ? p->tok->multi_line_start : p->tok->line_start; in initialize_token() local
169 int col_offset = (start != NULL && start >= line_start) ? (int)(start - line_start) : -1; in initialize_token()
170 int end_col_offset = (end != NULL && end >= p->tok->line_start) ? (int)(end - p->tok->line_start) : -1; in initialize_token()
H A Dtokenizer.h67 const char* line_start; /* pointer to start of current line */ member
H A Dpegen_errors.c226 const char* start = p->tok->buf ? p->tok->line_start : p->tok->buf; in _PyPegen_raise_error()
300 end_col_offset = p->tok->cur - p->tok->line_start; in _PyPegen_raise_error_known_location()
/third_party/cups-filters/filter/foomatic-rip/
H A Dutil.h124 int line_start(const char *str, int line_number);
H A Dpostscript.c962 dstrinsert(psheader, line_start(psheader->data, insertoptions), tmp->data); in _print_ps()
1133 dstrinsert(psheader, line_start(psheader->data, insertoptions), tmp->data); in _print_ps()
H A Dutil.c495 int line_start(const char *str, int line_number) in line_start() function
/third_party/ffmpeg/libavfilter/
H A Dvf_drawtext.c621 FriBidiStrIndex line_start = 0; in shape_text() local
661 for (line_end = 0, line_start = 0; line_end < len; line_end++) { in shape_text()
664 line_end - line_start + 1, line_start, in shape_text()
669 line_start = line_end + 1; in shape_text()
/third_party/node/deps/v8/src/debug/
H A Ddebug.cc2567 int line_start = line == 0 ? 0 : Smi::ToInt(line_ends->get(line - 1)) + 1; in PrintBreakLocation() local
2572 PrintF("[debug] %.*s\n", line_end - line_start, in PrintBreakLocation()
2573 content.ToOneByteVector().begin() + line_start); in PrintBreakLocation()
/third_party/node/deps/v8/src/runtime/
H A Druntime-debug.cc606 info.line_start, info.line_end); in GetJSPositionInfo()

Completed in 35 milliseconds

12