Home
last modified time | relevance | path

Searched refs:extra_lines (Results 1 – 3 of 3) sorted by relevance

/external/flatbuffers/src/
Didl_gen_dart.cpp186 const std::string &extra_lines, in GenDocComment() argument
188 if (dc.empty() && extra_lines.empty()) { in GenDocComment()
199 if (!extra_lines.empty()) { in GenDocComment()
207 auto end = extra_lines.find('\n', start); in GenDocComment()
209 code += "/// " + extra_lines.substr(start, end - start) + "\n"; in GenDocComment()
212 code += "/// " + extra_lines.substr(start) + "\n"; in GenDocComment()
220 const std::string &extra_lines) { in GenDocComment() argument
221 GenDocComment(std::vector<std::string>(), code_ptr, extra_lines); in GenDocComment()
Didl_gen_js_ts.cpp234 const std::string &extra_lines, in GenDocComment() argument
236 if (dc.empty() && extra_lines.empty()) { in GenDocComment()
248 if (!extra_lines.empty()) { in GenDocComment()
256 auto end = extra_lines.find('\n', start); in GenDocComment()
258 code += " * " + extra_lines.substr(start, end - start) + "\n"; in GenDocComment()
261 code += " * " + extra_lines.substr(start) + "\n"; in GenDocComment()
271 const std::string &extra_lines) { in GenDocComment() argument
272 GenDocComment(std::vector<std::string>(), code_ptr, extra_lines); in GenDocComment()
/external/llvm-project/lldb/source/Commands/
DCommandObjectSource.cpp829 uint32_t extra_lines; in DisplayFunctionSource() local
831 extra_lines = 5; in DisplayFunctionSource()
833 extra_lines = m_options.num_lines / 2; in DisplayFunctionSource()
835 if (start_line <= extra_lines) in DisplayFunctionSource()
838 line_no = start_line - extra_lines; in DisplayFunctionSource()
844 m_options.num_lines = end_line - line_no + extra_lines; in DisplayFunctionSource()