Home
last modified time | relevance | path

Searched refs:num_lines (Results 1 – 24 of 24) sorted by relevance

/openbsd/src/lib/libcurses/base/
Dlib_newwin.c142 int num_lines, int num_columns, int begy, int begx) in NCURSES_SP_NAME()
148 T((T_CALLED("newwin(%p, %d,%d,%d,%d)"), (void *) SP_PARM, num_lines, num_columns, in NCURSES_SP_NAME()
153 || num_lines < 0 in NCURSES_SP_NAME()
158 if (num_lines == 0) in NCURSES_SP_NAME()
159 num_lines = SP_PARM->_lines_avail - begy; in NCURSES_SP_NAME()
164 num_lines, num_columns, begy, begx, 0); in NCURSES_SP_NAME()
168 for (i = 0; i < num_lines; i++) { in NCURSES_SP_NAME()
185 newwin(int num_lines, int num_columns, int begy, int begx) in newwin() argument
190 num_lines, num_columns, begy, begx); in newwin()
197 derwin(WINDOW *orig, int num_lines, int num_columns, int begy, int begx) in derwin() argument
[all …]
/openbsd/src/gnu/llvm/lldb/source/Commands/
DCommandObjectSource.cpp63 if (option_arg.getAsInteger(0, num_lines)) in SetOptionValue()
97 num_lines = 0; in OptionParsingStarting()
112 uint32_t num_lines; member in CommandObjectSourceInfo::CommandOptions
143 uint32_t num_lines = m_options.num_lines; in DumpLinesInSymbolContexts() local
169 if (num_lines > 0 && num_matches > num_lines) in DumpLinesInSymbolContexts()
201 uint32_t num_lines = m_options.num_lines; in DumpFileLinesInCompUnit() local
242 if (num_lines > 0 && num_matches > num_lines) in DumpFileLinesInCompUnit()
636 if (option_arg.getAsInteger(0, num_lines)) in SetOptionValue()
692 num_lines = 0; in OptionParsingStarting()
708 uint32_t num_lines; member in CommandObjectSourceList::CommandOptions
[all …]
DCommandObjectExpression.cpp495 const size_t num_lines = lines.GetSize(); in IOHandlerIsInputComplete() local
496 if (num_lines > 0 && lines[num_lines - 1].empty()) { in IOHandlerIsInputComplete()
/openbsd/src/gnu/usr.bin/binutils-2.17/gprof/
Dbasic_blocks.c330 if (line_num <= sf->num_lines) in annotate_with_count()
477 if (sym->file && sym->line_num > sym->file->num_lines in print_annotated_source()
482 sym->file->num_lines = sym->line_num; in print_annotated_source()
489 if (sf->num_lines > 0) in print_annotated_source()
491 sf->line = (void *) xmalloc (sf->num_lines * sizeof (sf->line[0])); in print_annotated_source()
492 memset (sf->line, 0, sf->num_lines * sizeof (sf->line[0])); in print_annotated_source()
499 if (sym->file && sym->file->num_lines in print_annotated_source()
532 if (!sf->num_lines || (ignore_zeros && sf->ncalls == 0)) in print_annotated_source()
547 qsort (sf->line, sf->num_lines, sizeof (sf->line[0]), cmp_ncalls); in print_annotated_source()
550 if (table_len > sf->num_lines) in print_annotated_source()
[all …]
Dsource.h29 int num_lines; /* # of lines in file. */ member
/openbsd/src/gnu/usr.bin/binutils/gprof/
Dbasic_blocks.c340 if (line_num <= sf->num_lines)
487 if (sym->file && sym->line_num > sym->file->num_lines in print_annotated_source()
492 sym->file->num_lines = sym->line_num; in print_annotated_source()
499 if (sf->num_lines > 0) in print_annotated_source()
501 sf->line = (void *) xmalloc (sf->num_lines * sizeof (sf->line[0])); in print_annotated_source()
502 memset (sf->line, 0, sf->num_lines * sizeof (sf->line[0])); in print_annotated_source()
509 if (sym->file && sym->file->num_lines in print_annotated_source()
542 if (!sf->num_lines || (ignore_zeros && sf->ncalls == 0)) in print_annotated_source()
557 qsort (sf->line, sf->num_lines, sizeof (sf->line[0]), cmp_ncalls); in print_annotated_source()
560 if (table_len > sf->num_lines) in print_annotated_source()
[all …]
Dsource.h29 int num_lines; /* # of lines in file. */ member
/openbsd/src/games/atc/
Dgrammar.y248 if (sp->num_lines % REALLOC == 0) {
250 (sp->num_lines + REALLOC) ,
255 sp->line[sp->num_lines].p1.x = $3;
256 sp->line[sp->num_lines].p1.y = $4;
257 sp->line[sp->num_lines].p2.x = $7;
258 sp->line[sp->num_lines].p2.y = $8;
260 sp->num_lines++;
Dstruct.h67 int num_lines; member
Dgraphics.c163 for (i = 0; i < scp->num_lines; i++) { in setup_screen()
/openbsd/src/gnu/llvm/lldb/examples/python/
Dlldbtk.py300 num_lines = self.cu.GetNumLineEntries()
305 'children': num_lines > 0,
324 num_lines = self.cu.GetNumLineEntries()
325 summary = '%u line entries' % (num_lines)
329 'children': num_lines > 0,
334 num_lines = self.cu.GetNumLineEntries()
335 for i in range(num_lines):
Dgdbremote.py1384 num_lines = len(lines)
1426 while idx < num_lines:
/openbsd/src/gnu/usr.bin/binutils/gdb/tui/
Dtui-regs.c76 int num_lines = (-1); in tui_last_regs_line_no() local
80 num_lines = (TUI_DATA_WIN->detail.data_display_info.regs_content_count / in tui_last_regs_line_no()
84 num_lines++; in tui_last_regs_line_no()
86 return num_lines; in tui_last_regs_line_no()
/openbsd/src/gnu/gcc/gcc/
Dgcov.c240 unsigned num_lines; member
521 src->lines = XCNEWVEC (line_t, src->num_lines); in process_file()
761 if (lineno >= src->num_lines) in read_graph_file()
762 src->num_lines = lineno + 1; in read_graph_file()
869 if (lineno >= src->num_lines) in read_graph_file()
870 src->num_lines = lineno + 1; in read_graph_file()
1571 for (ix = src->num_lines, line = src->lines; ix--; line++) in accumulate_line_counts()
1821 line_num < src->num_lines; line_num++, line++) in output_lines()
/openbsd/src/gnu/llvm/lldb/include/lldb/Core/
DIOHandler.h314 const size_t num_lines = lines.GetSize(); in IOHandlerIsInputComplete() local
315 if (num_lines > 0 && lines[num_lines - 1] == m_end_line) { in IOHandlerIsInputComplete()
/openbsd/src/usr.bin/ssh/
Dmoduli.c575 char *checkpoint_file, unsigned long start_lineno, unsigned long num_lines) in prime_test() argument
590 if (num_lines == 0) in prime_test()
593 end_lineno = start_lineno + num_lines; in prime_test()
/openbsd/src/distrib/special/more/
Dmore.c513 screen(FILE *f, int num_lines) in screen() argument
521 while (num_lines > 0 && !Pause) { in screen()
558 num_lines--; in screen()
576 if ((num_lines = command(NULL, f)) == 0) in screen()
580 if (noscroll && num_lines >= dlines) { in screen()
/openbsd/src/gnu/llvm/lldb/source/Core/
DIOHandlerCursesGUI.cpp807 const size_t num_lines = help_delegate_up->GetNumLines(); in CreateHelpSubwindow() local
822 if (num_lines + 2 < static_cast<size_t>(bounds.size.height)) { in CreateHelpSubwindow()
823 bounds.origin.y += (bounds.size.height - num_lines + 2) / 2; in CreateHelpSubwindow()
824 bounds.size.height = num_lines + 2; in CreateHelpSubwindow()
6220 const size_t num_lines = m_text.GetSize(); in WindowDelegateDraw() local
6222 if (num_lines <= num_visible_lines) in WindowDelegateDraw()
6239 const size_t num_lines = m_text.GetSize(); in WindowDelegateHandleChar() local
6242 if (num_lines <= num_visible_lines) { in WindowDelegateHandleChar()
6254 if (m_first_visible_line + num_visible_lines < num_lines) in WindowDelegateHandleChar()
6270 if (m_first_visible_line + num_visible_lines < num_lines) { in WindowDelegateHandleChar()
[all …]
/openbsd/src/sys/dev/pci/drm/
Ddrm_modes.c197 unsigned int num_lines; member
217 .num_lines = _lines, \
352 params->num_lines, in fill_analog_mode()
487 porches = params->num_lines - vactive - vslen; in fill_analog_mode()
498 if (params->num_lines != vtotal) { in fill_analog_mode()
500 vtotal, params->num_lines); in fill_analog_mode()
509 if (mode->vtotal != params->num_lines) in fill_analog_mode()
/openbsd/src/gnu/llvm/lldb/source/Expression/
DREPL.cpp140 const size_t num_lines = lines.GetSize(); in IOHandlerIsInputComplete() local
141 if (num_lines == 1) { in IOHandlerIsInputComplete()
/openbsd/src/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Python/
DScriptInterpreterPython.cpp1282 int num_lines = input.GetSize(); in GenerateFunction() local
1283 if (num_lines == 0) { in GenerateFunction()
1311 for (int i = 0; i < num_lines; ++i) { in GenerateFunction()
1391 int num_lines = user_input.GetSize(); in GenerateTypeSynthClass() local
1413 for (int i = 0; i < num_lines; ++i) { in GenerateTypeSynthClass()
/openbsd/src/gnu/llvm/lldb/source/Interpreter/
DCommandInterpreter.cpp2535 size_t num_lines = commands.GetSize(); in HandleCommands() local
2547 for (size_t idx = 0; idx < num_lines && !WasInterrupted(); idx++) { in HandleCommands()
2611 if (idx != num_lines - 1) in HandleCommands()
2631 if (idx != num_lines - 1) in HandleCommands()
/openbsd/src/usr.sbin/nsd/
Dixfr.c1765 int num_lines = 0, got_old = 0, got_new = 0, got_datasize = 0; in ixfr_read_file_header() local
1775 while(!(got_old && got_new && got_datasize) && num_lines < 10) { in ixfr_read_file_header()
1784 num_lines++; in ixfr_read_file_header()
/openbsd/src/gnu/llvm/lldb/source/Target/
DStackFrame.cpp1921 size_t num_lines = in GetStatus() local
1925 if (num_lines != 0) in GetStatus()