Home
last modified time | relevance | path

Searched refs:line_start (Results 1 – 25 of 43) sorted by relevance

12

/third_party/toybox/toys/pending/
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 == '>') line_start++; in klogd_main()
106 if (*line_start) syslog(prio, "%s", line_start); in klogd_main()
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/calc7/
Derror_handler.hpp35 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()
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/calc8/
Derror_handler.hpp35 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()
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure1/
Derror_handler.hpp35 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()
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/mini_c/
Derror_handler.hpp35 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()
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure3/
Derror_handler.hpp41 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()
/third_party/boost/libs/spirit/example/qi/compiler_tutorial/conjure2/
Derror_handler.hpp47 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()
/third_party/ninja/src/
Dlexer.in.cc25 const char* line_start = input_.str_; in Error() local
29 line_start = p + 1; in Error()
32 int col = last_token_ ? (int)(last_token_ - line_start) : 0; in Error()
45 if (line_start[len] == 0 || line_start[len] == '\n') { in Error()
50 *err += string(line_start, len); in Error()
Dbuild_log.cc217 bool ReadLine(char** line_start, char** line_end) { in ReadLine()
243 *line_start = line_start_; in ReadLine()
273 char* line_start = 0; in Load() local
275 while (reader.ReadLine(&line_start, &line_end)) { in Load()
277 sscanf(line_start, kFileSignature, &log_version); in Load()
296 char* start = line_start; in Load()
355 if (!line_start) { in Load()
Dlexer.cc26 const char* line_start = input_.str_; in Error() local
30 line_start = p + 1; in Error()
33 int col = last_token_ ? (int)(last_token_ - line_start) : 0; in Error()
46 if (line_start[len] == 0 || line_start[len] == '\n') { in Error()
51 *err += string(line_start, len); in Error()
/third_party/boost/libs/test/doc/examples/
Druntime-configuration_4.run-fail.cpp32 file_dataset(std::size_t line_start = 0, std::size_t line_end = std::size_t(-1)) in file_dataset() argument
33 : m_line_start(line_start) in file_dataset()
62 iterator(std::string const& filename, std::size_t line_start) in iterator()
66 for(std::size_t i = 0; i < line_start; i++) { in iterator()
/third_party/flutter/skia/modules/skottie/src/text/
DTextAdapter.cpp82 line_start = 0, in buildDomainMaps() local
106 fMaps.fLinesMap.push_back({line_start, i - line_start}); in buildDomainMaps()
108 line_start = i; in buildDomainMaps()
116 if (i > line_start) { in buildDomainMaps()
117 fMaps.fLinesMap.push_back({line_start, i - line_start}); in buildDomainMaps()
DSkottieShaper.cpp334 const char* line_start = ptr; in ShapeImpl() local
340 blobMaker.shapeLine(line_start, ptr - 1); in ShapeImpl()
341 line_start = ptr; in ShapeImpl()
344 blobMaker.shapeLine(line_start, ptr); in ShapeImpl()
/third_party/ffmpeg/libavcodec/
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/boost/tools/inspect/
Dminmax_check.cpp81 string::const_iterator line_start = it; in inspect() local
87 line_start = it + 1; // could be end() in inspect()
Dapple_macro_check.cpp82 string::const_iterator line_start = it; in inspect() local
88 line_start = it + 1; // could be end() in inspect()
Dassert_macro_check.cpp89 string::const_iterator line_start = it; in inspect() local
95 line_start = it + 1; // could be end() in inspect()
Dascii_check.cpp59 …std::string::const_iterator line_start = contents.begin () + ( start_pos == std::string::npos ? 0 … in find_line() local
70 return std::string ( line_start, line_end ); in find_line()
/third_party/skia/modules/skottie/src/layers/shapelayer/
DPuckerBloat.cpp86 const auto line_start = pts[0], in onRevalidateEffect() local
89 lerp(line_start, line_end, kCtrlPosFraction), in onRevalidateEffect()
90 lerp(line_start, line_end, 1 - kCtrlPosFraction), in onRevalidateEffect()
/third_party/python/Parser/
Dtokenizer.c375 Py_ssize_t line_start = tok->start == NULL ? -1 : tok->line_start - tok->buf; in tok_reserve_buf() local
387 tok->line_start = line_start < 0 ? NULL : tok->buf + line_start; in tok_reserve_buf()
845 tok->line_start = tok->cur; in tok_underflow_string()
922 tok->line_start = tok->buf; in tok_underflow_interactive()
1055 tok->line_start = tok->cur; in tok_nextc()
1086 errtext = PyUnicode_DecodeUTF8(tok->line_start, tok->cur - tok->line_start, in _syntaxerror_range()
1099 Py_ssize_t line_len = strcspn(tok->line_start, "\n"); in _syntaxerror_range()
1100 if (line_len != tok->cur - tok->line_start) { in _syntaxerror_range()
1102 errtext = PyUnicode_DecodeUTF8(tok->line_start, line_len, in _syntaxerror_range()
1818 tok, (int)(tok->start + 1 - tok->line_start), in tok_get()
[all …]
/third_party/mesa3d/src/amd/compiler/tests/
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/skia/modules/skottie/src/text/
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()
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/quickjs/
Dlibregexp-opcode.h32 DEF(line_start, 1)
/third_party/boost/boost/spirit/home/x3/support/utility/
Derror_reporting.hpp65 void print_line(Iterator line_start, Iterator last) const;
66 void print_indicator(Iterator& line_start, Iterator last, char ind) const;

12