/freebsd/contrib/kyua/utils/text/ |
H A D | table_test.cpp | 159 text::table_row row; in ATF_TEST_CASE_BODY() local 160 row.push_back("First"); in ATF_TEST_CASE_BODY() 161 row.push_back("Second"); in ATF_TEST_CASE_BODY() 162 row.push_back("Third"); in ATF_TEST_CASE_BODY() 163 table.add_row(row); in ATF_TEST_CASE_BODY() 166 text::table_row row; in ATF_TEST_CASE_BODY() local 167 row.push_back("Fourth with some text"); in ATF_TEST_CASE_BODY() 168 row.push_back("Fifth with some more text"); in ATF_TEST_CASE_BODY() 169 row.push_back("Sixth foo"); in ATF_TEST_CASE_BODY() 170 table.add_row(row); in ATF_TEST_CASE_BODY() [all …]
|
H A D | table.cpp | 141 /// of a row or not. Values in the last column should not be padded to 164 /// \param row The row containing the cell to be refilled. 165 /// \param widths The widths of the row. 171 refill_cell(const text::table_row& row, const text::widths_vector& widths, in refill_cell() argument 175 const std::vector< std::string > rows = text::refill(row[column], in refill_cell() 179 textual_rows.resize(rows.size(), text::table_row(row.size())); in refill_cell() 182 for (text::table_row::size_type j = 0; j < row.size(); ++j) { in refill_cell() 183 const bool is_last = j == row.size() - 1; in refill_cell() 195 /// Formats a single table row. 197 /// \param row The row to format. [all …]
|
/freebsd/usr.bin/systat/ |
H A D | iostat.c | 162 int row; in labeliostat() local 164 row = 0; in labeliostat() 165 wmove(wnd, row, 0); wclrtobot(wnd); in labeliostat() 166 mvwaddstr(wnd, row++, INSET, in labeliostat() 168 mvwaddstr(wnd, row++, 0, "cpu user|"); in labeliostat() 169 mvwaddstr(wnd, row++, 0, " nice|"); in labeliostat() 170 mvwaddstr(wnd, row++, 0, " system|"); in labeliostat() 171 mvwaddstr(wnd, row++, 0, "interrupt|"); in labeliostat() 172 mvwaddstr(wnd, row++, 0, " idle|"); in labeliostat() 174 row = numlabels(row + 1); in labeliostat() [all …]
|
H A D | sysput.c | 40 sysputspaces(WINDOW *wd, int row, int lcol, int width) in sysputspaces() argument 45 mvwaddstr(wd, row, lcol, str60 + sizeof(str60) - width - 1); in sysputspaces() 49 sysputstrs(WINDOW *wd __unused, int row, int lcol, int width) in sysputstrs() argument 57 mvwaddstr(wnd, row, lcol, str60 + sizeof(str60) - width - 1); in sysputstrs() 61 sysputXs(WINDOW *wd __unused, int row, int lcol, int width) in sysputXs() argument 69 mvwaddstr(wnd, row, lcol, str60 + sizeof(str60) - width - 1); in sysputXs() 73 sysputuint64(WINDOW *wd, int row, int lcol, int width, uint64_t val, int flags) in sysputuint64() argument 92 mvwaddstr(wd, row, lcol, start); in sysputuint64() 96 sysputstrs(wd, row, lcol, width); in sysputuint64() 100 sysputwuint64(WINDOW *wd, int row, int lcol, int width, uint64_t val, int flags) in sysputwuint64() argument [all …]
|
/freebsd/contrib/ncurses/ncurses/base/ |
H A D | wresize.c | 57 int row; in repair_subwindows() local 93 for (row = 0; row <= tst->_maxy; ++row) { in repair_subwindows() 94 tst->_line[row].text = &pline[tst->_pary + row].text[tst->_parx]; in repair_subwindows() 110 int col, row, size_x, size_y; in wresize() local 167 for (row = 0; row <= ToLines; ++row) { in wresize() 168 int begin = (row > size_y) ? 0 : (size_x + 1); in wresize() 173 if (row <= size_y) { in wresize() 177 returnCode(cleanup_lines(new_lines, row)); in wresize() 183 && isWidecBase(win->_line[row].text[col])) { in wresize() 188 ? win->_line[row].text[col] in wresize() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Symbol/ |
H A D | DWARFCallFrameInfo.cpp | 627 UnwindPlan::Row *cie_initial_row = new UnwindPlan::Row; in FDEToUnwindPlan() 629 UnwindPlan::RowSP row(cie_initial_row); in FDEToUnwindPlan() local 636 UnwindPlan::Row::RegisterLocation reg_location; in FDEToUnwindPlan() 643 offset, *row)) { in FDEToUnwindPlan() 646 case DW_CFA_advance_loc: // (Row Creation Instruction) in FDEToUnwindPlan() 649 // required action is to create a new table row with a location value in FDEToUnwindPlan() 651 // adding (delta * code_align). All other values in the new row are in FDEToUnwindPlan() 652 // initially identical to the current row. in FDEToUnwindPlan() 653 unwind_plan.AppendRow(row); in FDEToUnwindPlan() 654 UnwindPlan::Row *newrow = new UnwindPlan::Row; in FDEToUnwindPlan() [all …]
|
H A D | CompactUnwindInfo.cpp | 747 UnwindPlan::RowSP row(new UnwindPlan::Row); in CreateUnwindPlan_x86_64() local 753 row->GetCFAValue().SetIsRegisterPlusOffset( in CreateUnwindPlan_x86_64() 756 row->SetOffset(0); in CreateUnwindPlan_x86_64() 757 row->SetRegisterLocationToAtCFAPlusOffset(x86_64_eh_regnum::rbp, in CreateUnwindPlan_x86_64() 759 row->SetRegisterLocationToAtCFAPlusOffset(x86_64_eh_regnum::rip, in CreateUnwindPlan_x86_64() 761 row->SetRegisterLocationToIsCFAPlusOffset(x86_64_eh_regnum::rsp, 0, true); in CreateUnwindPlan_x86_64() 781 row->SetRegisterLocationToAtCFAPlusOffset( in CreateUnwindPlan_x86_64() 789 unwind_plan.AppendRow(row); in CreateUnwindPlan_x86_64() 844 row->GetCFAValue().SetIsRegisterPlusOffset(x86_64_eh_regnum::rsp, offset); in CreateUnwindPlan_x86_64() 846 row->SetOffset(0); in CreateUnwindPlan_x86_64() [all …]
|
H A D | UnwindPlan.cpp | 25 bool UnwindPlan::Row::RegisterLocation:: 26 operator==(const UnwindPlan::Row::RegisterLocation &rhs) const { in operator ==() 56 void UnwindPlan::Row::RegisterLocation::SetAtDWARFExpression( in SetAtDWARFExpression() 65 void UnwindPlan::Row::RegisterLocation::SetIsDWARFExpression( in SetIsDWARFExpression() 93 void UnwindPlan::Row::RegisterLocation::Dump(Stream &s, in Dump() 95 const UnwindPlan::Row *row, in Dump() argument 168 bool UnwindPlan::Row::FAValue:: 169 operator==(const UnwindPlan::Row::FAValue &rhs) const { in operator ==() 192 void UnwindPlan::Row::FAValue::Dump(Stream &s, const UnwindPlan *unwind_plan, in Dump() 217 void UnwindPlan::Row::Clear() { in Clear() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/UnwindAssembly/x86/ |
H A D | x86AssemblyInspectionEngine.cpp | 918 UnwindPlan::Row::RegisterLocation initial_regloc; in GetNonCallSiteUnwindPlanFromAssembly() 919 UnwindPlan::RowSP row(new UnwindPlan::Row); in GetNonCallSiteUnwindPlanFromAssembly() local 926 row->SetOffset(current_func_text_offset); in GetNonCallSiteUnwindPlanFromAssembly() 927 row->GetCFAValue().SetIsRegisterPlusOffset(m_lldb_sp_regnum, m_wordsize); in GetNonCallSiteUnwindPlanFromAssembly() 931 row->SetRegisterInfo(m_lldb_sp_regnum, initial_regloc); in GetNonCallSiteUnwindPlanFromAssembly() 936 row->SetRegisterInfo(m_lldb_ip_regnum, initial_regloc); in GetNonCallSiteUnwindPlanFromAssembly() 938 unwind_plan.AppendRow(row); in GetNonCallSiteUnwindPlanFromAssembly() 940 // Allocate a new Row, populate it with the existing Row contents. in GetNonCallSiteUnwindPlanFromAssembly() 941 UnwindPlan::Row *newrow = new UnwindPlan::Row; in GetNonCallSiteUnwindPlanFromAssembly() 942 *newrow = *row.get(); in GetNonCallSiteUnwindPlanFromAssembly() [all …]
|
/freebsd/crypto/openssl/apps/ |
H A D | srp.c | 95 static int update_index(CA_DB *db, char **row) in update_index() argument 100 irow = app_malloc(sizeof(*irow) * (DB_NUMBER + 1), "row pointers"); in update_index() 102 irow[i] = row[i]; in update_index() 440 char **row = in srp_main() local 443 row[DB_srptype][0] = 'V'; in srp_main() 447 char *row[DB_NUMBER]; in srp_main() local 449 row[DB_srpverifier] = NULL; in srp_main() 450 row[DB_srpsalt] = NULL; in srp_main() 451 row[DB_srpinfo] = NULL; in srp_main() 454 srp_create_user(user, &(row[DB_srpverifier]), in srp_main() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | edit_distance.h | 55 // array, only one row plus one element are used at a time, so this 56 // implementation just keeps one vector for the row. To update one entry, 58 // entry is in Row[x-1], the top entry is what's in Row[x] from the last 72 SmallVector<unsigned, 64> Row(n + 1); 73 for (unsigned i = 1; i < Row.size(); ++i) 74 Row[i] = i; 77 Row[0] = y; 78 unsigned BestThisRow = Row[0]; 83 int OldRow = Row[x]; 85 Row[x] = std::min(Previous + (CurItem == Map(ToArray[x - 1]) ? 0u : 1u), [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
H A D | LineTable.cpp | 18 SetFile = 0x01, ///< Set LineTableRow.file_idx, don't push a row. 19 AdvancePC = 0x02, ///< Increment LineTableRow.address, and push a row. 20 AdvanceLine = 0x03, ///< Set LineTableRow.file_line, don't push a row. 21 FirstSpecial = 0x04, ///< All special opcodes push a row. 52 typedef std::function<bool(const LineEntry &Row)> LineEntryCallback; 70 LineEntry Row(BaseAddr, 1, FirstLine); in parse() local 86 Row.File = (uint32_t)Data.getULEB128(&Offset); in parse() 93 Row.Addr += Data.getULEB128(&Offset); in parse() 95 if (Callback(Row) == false) in parse() 103 Row in parse() 254 __anona32c1b310102(const LineEntry &Row) decode() argument 269 __anona32c1b310202(const LineEntry &Row) lookup() argument [all...] |
/freebsd/contrib/jemalloc/src/ |
H A D | stats.c | 102 mutex_stats_init_cols(emitter_row_t *row, const char *table_name, in mutex_stats_init_cols() argument 112 emitter_col_init(name, row); in mutex_stats_init_cols() 124 emitter_col_init(col, row); \ in mutex_stats_init_cols() 223 /* "row" can be NULL to avoid emitting in table mode. */ 225 mutex_stats_emit(emitter_t *emitter, emitter_row_t *row, in mutex_stats_emit() argument 228 if (row != NULL) { in mutex_stats_emit() 229 emitter_table_row(emitter, row); in mutex_stats_emit() 282 emitter_row_t row; in stats_arena_bins_print() local 283 emitter_row_init(&row); in stats_arena_bins_print() 285 COL_HDR(row, size, NULL, right, 20, size) in stats_arena_bins_print() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TileShapeInfo.h | 11 /// The 2D shape includes row and column. In AMX intrinsics interface the shape 14 /// tile config and register allocator. The row and column are machine operand 31 ShapeT(MachineOperand *Row, MachineOperand *Col, 33 : Row(Row), Col(Col) { 38 : Row(nullptr), Col(nullptr), RowImm(InvalidImmShape), in ShapeT() 41 MachineOperand *R = Shape.Row; 45 if (!Row || !Col) 47 if (Row->getReg() == R->getReg() && Col->getReg() == C->getReg()) 56 MachineOperand *getRow() const { return Row; } 34 Row(Row) Row() argument 88 MachineOperand *Row; global() variable [all...] |
/freebsd/lib/libiconv_modules/MSKanji/ |
H A D | citrus_mskanji.c | 287 _index_t col, row; in _citrus_MSKanji_stdenc_wctocs() local 332 row = ((_wc_t)wc >> 8) & 0xFF; in _citrus_MSKanji_stdenc_wctocs() 334 if (!_mskanji1(row) || !_mskanji2(col)) in _citrus_MSKanji_stdenc_wctocs() 336 if ((ei->mode & MODE_JIS2004) == 0 || row < 0xF0) { in _citrus_MSKanji_stdenc_wctocs() 348 row -= offset; in _citrus_MSKanji_stdenc_wctocs() 349 if (row >= 0x5F) in _citrus_MSKanji_stdenc_wctocs() 350 row -= 0x40; in _citrus_MSKanji_stdenc_wctocs() 351 row = row * 2 + 0x21; in _citrus_MSKanji_stdenc_wctocs() 356 row += 1; in _citrus_MSKanji_stdenc_wctocs() 359 *idx = ((_index_t)row << 8) | col; in _citrus_MSKanji_stdenc_wctocs() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugFrame.cpp | 186 raw_ostream &llvm::dwarf::operator<<(raw_ostream &OS, const UnwindRow &Row) { in operator <<() argument 188 Row.dump(OS, DumpOpts, 0); in operator <<() 194 for (const UnwindRow &Row : Rows) in dump() local 195 Row.dump(OS, DumpOpts, IndentLevel); in dump() 216 UnwindRow Row; in create() local 217 Row.setAddress(Fde->getInitialLocation()); in create() 219 if (Error CieError = UT.parseRows(Cie->cfis(), Row, nullptr)) in create() 223 const RegisterLocations InitialLocs = Row.getRegisterLocations(); in create() 224 if (Error FdeError = UT.parseRows(Fde->cfis(), Row, &InitialLocs)) in create() 226 // May be all the CFI instructions were DW_CFA_nop amd Row becomes empty. in create() [all …]
|
H A D | DWARFDebugLine.cpp | 483 DWARFDebugLine::Row::Row(bool DefaultIsStmt) { reset(DefaultIsStmt); } in Row() function in DWARFDebugLine::Row 485 void DWARFDebugLine::Row::postAppend() { in postAppend() 492 void DWARFDebugLine::Row::reset(bool DefaultIsStmt) { in reset() 508 void DWARFDebugLine::Row::dumpTableHeader(raw_ostream &OS, unsigned Indent) { in dumpTableHeader() 517 void DWARFDebugLine::Row::dump(raw_ostream &OS) const { in dump() 545 Row::dumpTableHeader(OS, 0); in dump() 546 for (const Row &R : Rows) { in dump() 570 Row.reset(LineTable->Prologue.DefaultIsStmt); in resetRowAndSequence() 579 Sequence.LowPC = Row.Address.Address; in appendRowToMatrix() 582 LineTable->appendRow(Row); in appendRowToMatrix() [all …]
|
/freebsd/sys/dev/vt/ |
H A D | vt_buf.c | 56 static int vtbuf_htw(const struct vt_buf *vb, int row); 57 static int vtbuf_wth(const struct vt_buf *vb, int row); 161 /* Translate history row to current view row number. */ 163 vtbuf_htw(const struct vt_buf *vb, int row) in vtbuf_htw() argument 172 return ((row - vb->vb_roffset + vb->vb_history_size) % in vtbuf_htw() 176 /* Translate current view row number to history row. */ 178 vtbuf_wth(const struct vt_buf *vb, int row) in vtbuf_wth() argument 181 return ((vb->vb_roffset + row) % vb->vb_history_size); in vtbuf_wth() 208 vtbuf_iscursor(const struct vt_buf *vb, int row, int col) in vtbuf_iscursor() argument 215 (vb->vb_cursor.tp_row == row) && (vb->vb_cursor.tp_col == col)) in vtbuf_iscursor() [all …]
|
/freebsd/contrib/ncurses/menu/ |
H A D | m_item_top.c | 45 | Function : int set_top_row(MENU *menu, int row) 47 | Description : Makes the specified row the top row in the menu 50 | E_BAD_ARGUMENT - not a menu pointer or invalid row 54 set_top_row(MENU *menu, int row) in MENU_EXPORT() 56 T((T_CALLED("set_top_row(%p,%d)"), (void *)menu, row)); in MENU_EXPORT() 65 if ((row < 0) || (row > (menu->rows - menu->arows))) in MENU_EXPORT() 71 if (row != menu->toprow) in MENU_EXPORT() 78 item = menu->items[(menu->opt & O_ROWMAJOR) ? (row * menu->cols) : row]; in MENU_EXPORT() 81 _nc_New_TopRow_and_CurrentItem(menu, row, item); in MENU_EXPORT() 91 | Description : Return the top row of the menu [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
H A D | LineTable.h | 48 /// LineEntry Row(BaseAddr, 1, FirstLine); 52 /// form. Some opcodes cause "Row" to be modified and some opcodes may also 53 /// push "Row" onto the end of the "LineTable.Lines" vector. The end result 65 /// ULEB LTOC_SetFile 0x01 Row.File = ULEB 66 /// ULEB LTOC_AdvancePC 0x02 Row.Addr += ULEB, push "Row". 67 /// SLEB LTOC_AdvanceLine 0x03 Row.Line += SLEB 74 /// increment both the Row.Addr and Row.Line and push "Row" onto the 97 /// And use these to modify our "Row": 99 /// Row.Line += LineDelta; 100 /// Row.Addr += AddrDelta; [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Headers/ |
H A D | amxcomplexintrin.h | 26 /// of (row of \a a, column of \a b), it performs a set of multiplication 32 /// then accumulated into the corresponding row and column of \a dst. 42 /// tmp := dst.row[m] 45 /// tmp.fp32[n] += FP32(a.row[m].fp16[2*k+0]) * FP32(b.row[k].fp16[2*n+1]) 46 /// tmp.fp32[n] += FP32(a.row[m].fp16[2*k+1]) * FP32(b.row[k].fp16[2*n+0]) 70 /// of (row of \a a, column of \a b), it performs a set of multiplication 76 /// are added, and then accumulated into the corresponding row and column 87 /// tmp := dst.row[m] 90 /// tmp.fp32[n] += FP32(a.row[m].fp16[2*k+0]) * FP32(b.row[k].fp16[2*n+0]) 91 /// tmp.fp32[n] += FP32(-a.row[m].fp16[2*k+1]) * FP32(b.row[k].fp16[2*n+1]) [all …]
|
/freebsd/sys/dev/smartpqi/ |
H A D | smartpqi_request.c | 617 aio_req->row = rcb->row_num; in pqisrc_build_aio_R5or6_write() 639 aio_req->row = ; in pqisrc_build_aio_R5or6_write() 712 DBG_INFO("%15s: 0x%lx\n", "row", aio_req->row); in pqisrc_show_aio_R5or6_write() 1257 l->row.data_disks = in pqisrc_calc_disk_params() 1265 l->row.blks_per_row = l->row.data_disks * l->strip_sz; in pqisrc_calc_disk_params() 1266 if (!l->row.blks_per_row || !l->strip_sz) { in pqisrc_calc_disk_params() 1272 rcb->blocks_per_row = l->row.blks_per_row; in pqisrc_calc_disk_params() 1273 l->row.first = l->block.first / l->row.blks_per_row; in pqisrc_calc_disk_params() 1274 rcb->row_num = l->row.first; in pqisrc_calc_disk_params() 1275 l->row.last = l->block.last / l->row.blks_per_row; in pqisrc_calc_disk_params() [all …]
|
/freebsd/contrib/libfido2/src/ |
H A D | log.c | 73 char row[XXDROW], xxd[XXDLEN]; in fido_log_xxd() local 79 snprintf(row, sizeof(row), "buf=%p, len=%zu", buf, count); in fido_log_xxd() 81 do_log(row, fmt, args); in fido_log_xxd() 83 *row = '\0'; in fido_log_xxd() 91 strlcat(row, xxd, sizeof(row)); in fido_log_xxd() 93 fido_log_debug("%s", row); in fido_log_xxd() 94 *row = '\0'; in fido_log_xxd()
|
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
H A D | DebugLineSectionEmitter.h | 325 for (const DWARFDebugLine::Row &Row : LineTable.Rows) { in emitLineTableRows() local 331 Section.emitIntVal(Row.Address.Address, in emitLineTableRows() 336 (Row.Address.Address - Address) / LineTable.Prologue.MinInstLength; in emitLineTableRows() 344 if (FileNum != Row.File) { in emitLineTableRows() 345 FileNum = Row.File; in emitLineTableRows() 349 if (Column != Row.Column) { in emitLineTableRows() 350 Column = Row.Column; in emitLineTableRows() 354 if (Discriminator != Row.Discriminator && MC->getDwarfVersion() >= 4) { in emitLineTableRows() 355 Discriminator = Row.Discriminator; in emitLineTableRows() 364 if (Isa != Row.Isa) { in emitLineTableRows() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/input/ |
H A D | samsung-keypad.txt | 4 keypad device. The keypad controller supports multiple row and column lines. 5 A key can be placed at each intersection of a unique row and a unique column. 22 - samsung,keypad-num-rows: Number of row lines connected to the keypad 31 - keypad,row: the row number to which the key is connected. 61 keypad,row = <0>; 67 keypad,row = <0>; 73 keypad,row = <0>;
|