Home
last modified time | relevance | path

Searched refs:row (Results 1 – 25 of 309) sorted by relevance

12345678910>>...13

/openbsd-src/lib/libcurses/base/
H A Dwresize.c59 int row; in repair_subwindows() local
95 for (row = 0; row <= tst->_maxy; ++row) { in repair_subwindows()
96 tst->_line[row].text = &pline[tst->_pary + row].text[tst->_parx]; in repair_subwindows()
112 int col, row, size_x, size_y; in wresize() local
169 for (row = 0; row <= ToLines; ++row) { in wresize()
170 int begin = (row > size_y) ? 0 : (size_x + 1); in wresize()
175 if (row <= size_y) { in wresize()
179 returnCode(cleanup_lines(new_lines, row)); in wresize()
185 && isWidecBase(win->_line[row].text[col])) { in wresize()
190 ? win->_line[row].text[col] in wresize()
[all …]
/openbsd-src/gnu/llvm/llvm/utils/
H A Dllvm-original-di-preservation.py83 row = []
87 row.append(" <tr>\n")
88 row.append(file)
89 row.append(llvm_pass)
90 row.append(x.instr)
91 row.append(x.fn_name)
92 row.append(x.bb_name)
93 row.append(x.action)
94 row.append(" </tr>\n")
96 for column in row:
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/Linux/
H A DPlatformLinux.cpp213 UnwindPlan::RowSP row = std::make_shared<UnwindPlan::Row>(); in GetAArch64TrapHanlderUnwindPlan() local
214 row->SetOffset(0); in GetAArch64TrapHanlderUnwindPlan()
238 row->GetCFAValue().SetIsRegisterPlusOffset(arm64_dwarf::sp, offset); in GetAArch64TrapHanlderUnwindPlan()
240 row->SetRegisterLocationToAtCFAPlusOffset(arm64_dwarf::x0, 0 * 8, false); in GetAArch64TrapHanlderUnwindPlan()
241 row->SetRegisterLocationToAtCFAPlusOffset(arm64_dwarf::x1, 1 * 8, false); in GetAArch64TrapHanlderUnwindPlan()
242 row->SetRegisterLocationToAtCFAPlusOffset(arm64_dwarf::x2, 2 * 8, false); in GetAArch64TrapHanlderUnwindPlan()
243 row->SetRegisterLocationToAtCFAPlusOffset(arm64_dwarf::x3, 3 * 8, false); in GetAArch64TrapHanlderUnwindPlan()
244 row->SetRegisterLocationToAtCFAPlusOffset(arm64_dwarf::x4, 4 * 8, false); in GetAArch64TrapHanlderUnwindPlan()
245 row->SetRegisterLocationToAtCFAPlusOffset(arm64_dwarf::x5, 5 * 8, false); in GetAArch64TrapHanlderUnwindPlan()
246 row->SetRegisterLocationToAtCFAPlusOffset(arm64_dwarf::x6, 6 * 8, false); in GetAArch64TrapHanlderUnwindPlan()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Symbol/
H A DCompactUnwindInfo.cpp747 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 DDWARFCallFrameInfo.cpp630 UnwindPlan::RowSP row(cie_initial_row); in FDEToUnwindPlan() local
644 offset, *row)) { in FDEToUnwindPlan()
654 unwind_plan.AppendRow(row); in FDEToUnwindPlan()
656 *newrow = *row.get(); in FDEToUnwindPlan()
657 row.reset(newrow); in FDEToUnwindPlan()
658 row->SlideOffset(extended_opcode * code_align); in FDEToUnwindPlan()
676 row->SetRegisterInfo(reg_num, reg_location); in FDEToUnwindPlan()
689 unwind_plan.AppendRow(row); in FDEToUnwindPlan()
691 *newrow = *row.get(); in FDEToUnwindPlan()
692 row.reset(newrow); in FDEToUnwindPlan()
[all …]
/openbsd-src/usr.bin/column/
H A Dcolumn.c157 struct field **row; in c_columnate() local
162 for (col = 0, row = table;; ++row) { in c_columnate()
163 fputs((*row)->content, stdout); in c_columnate()
170 while (INCR_NEXTTAB((*row)->width) <= *maxwidths) in c_columnate()
180 int base, col, numcols, numrows, row; in r_columnate() local
189 for (base = row = 0; row < numrows; base = ++row) { in r_columnate()
204 int row; in print() local
206 for (row = 0; row < entries; row++) in print()
207 puts(table[row]->content); in print()
214 struct field **row; in maketbl() local
[all …]
/openbsd-src/games/hunt/hunt/
H A Dotto.c122 static int row, col; variable
152 row = y; col = x; in otto()
153 been_there[row][col] |= 1 << facing; in otto()
272 if (been_there[row - 1][col] & NORTH) in ottolook()
274 for (r = row - 1; r >= 0; r--) in ottolook()
277 if (stop_look(itemp, ch, row - r, c - col)) in ottolook()
287 for (r = row - 1; r > row - itemp->distance; r--) in ottolook()
293 if (been_there[row + 1][col] & SOUTH) in ottolook()
295 for (r = row + 1; r < HEIGHT; r++) in ottolook()
298 if (stop_look(itemp, ch, r - row, col - c)) in ottolook()
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.law/
H A Dcode-gen5.C57 int row; /* Row element refers to */ variable
74 int row() const { return 19; } in row() function
107 Vector( int row ) in Vector() argument
109 assert( row > 0 ); in Vector()
111 r = new VectorInt( row ); in Vector()
117 Vector( int row, double *d, int beg ) in Vector() argument
119 assert( row > 0 ); in Vector()
121 r = new VectorInt( row, d, beg ); in Vector()
143 operator()( int row ) const in operator()
164 if( rownum > row() || rownum <= 0 ) { in assign()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/UnwindAssembly/x86/
H A Dx86AssemblyInspectionEngine.cpp928 UnwindPlan::RowSP row(new UnwindPlan::Row); in GetNonCallSiteUnwindPlanFromAssembly() local
935 row->SetOffset(current_func_text_offset); in GetNonCallSiteUnwindPlanFromAssembly()
936 row->GetCFAValue().SetIsRegisterPlusOffset(m_lldb_sp_regnum, m_wordsize); in GetNonCallSiteUnwindPlanFromAssembly()
940 row->SetRegisterInfo(m_lldb_sp_regnum, initial_regloc); in GetNonCallSiteUnwindPlanFromAssembly()
945 row->SetRegisterInfo(m_lldb_ip_regnum, initial_regloc); in GetNonCallSiteUnwindPlanFromAssembly()
947 unwind_plan.AppendRow(row); in GetNonCallSiteUnwindPlanFromAssembly()
951 *newrow = *row.get(); in GetNonCallSiteUnwindPlanFromAssembly()
952 row.reset(newrow); in GetNonCallSiteUnwindPlanFromAssembly()
988 auto &cfa_value = row->GetCFAValue(); in GetNonCallSiteUnwindPlanFromAssembly()
989 auto &afa_value = row->GetAFAValue(); in GetNonCallSiteUnwindPlanFromAssembly()
[all …]
/openbsd-src/sys/dev/rasops/
H A Drasops.c673 rasops_copycols(void *cookie, int row, int src, int dst, int num) in rasops_copycols() argument
686 if ((unsigned)row >= (unsigned)ri->ri_rows) in rasops_copycols()
710 row *= ri->ri_yscale; in rasops_copycols()
713 sp = ri->ri_bits + row + src * ri->ri_xscale; in rasops_copycols()
714 dp = ri->ri_bits + row + dst * ri->ri_xscale; in rasops_copycols()
740 rasops_cursor(void *cookie, int on, int row, int col) in rasops_cursor() argument
761 if (row < 0 || row >= ri->ri_rows) in rasops_cursor()
766 ri->ri_crow = row; in rasops_cursor()
885 rasops_eraserows(void *cookie, int row, int num, uint32_t attr) in rasops_eraserows() argument
894 if (row < 0) { in rasops_eraserows()
[all …]
H A Drasops_bitops.h40 NAME(erasecols)(void *cookie, int row, int col, int num, uint32_t attr) in NAME()
50 if ((unsigned)row >= (unsigned)ri->ri_rows) in NAME()
68 rp = (int32_t *)(ri->ri_bits + row*ri->ri_yscale + ((col >> 3) & ~3)); in NAME()
118 int lmask, rmask, height, row, col, num; in NAME() local
121 row = ri->ri_crow; in NAME()
125 rp = (int32_t *)(ri->ri_bits + row * ri->ri_yscale + ((col >> 3) & ~3)); in NAME()
158 NAME(copycols)(void *cookie, int row, int src, int dst, int num) in NAME()
171 if ((unsigned)row >= (unsigned)ri->ri_rows) in NAME()
198 row *= ri->ri_yscale; in NAME()
204 srp = (int32_t *)(ri->ri_bits + row + ((src >> 3) & ~3)); in NAME()
[all …]
H A Drasops8.c96 rasops8_putchar(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops8_putchar() argument
106 if ((unsigned)row >= (unsigned)ri->ri_rows) in rasops8_putchar()
112 rp = ri->ri_bits + row * ri->ri_yscale + col * ri->ri_xscale; in rasops8_putchar()
197 rasops8_putchar8(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops8_putchar8() argument
207 return rasops8_putchar(cookie, row, col, uc, attr); in rasops8_putchar8()
213 if ((unsigned)row >= (unsigned)ri->ri_rows) { in rasops8_putchar8()
228 rp = (int32_t *)(ri->ri_bits + row*ri->ri_yscale + col*ri->ri_xscale); in rasops8_putchar8()
265 rasops8_putchar12(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops8_putchar12() argument
275 return rasops8_putchar(cookie, row, col, uc, attr); in rasops8_putchar12()
281 if ((unsigned)row >= (unsigned)ri->ri_rows) { in rasops8_putchar12()
[all …]
H A Drasops4.c99 rasops4_putchar(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops4_putchar() argument
110 if ((unsigned)row >= (unsigned)ri->ri_rows) in rasops4_putchar()
120 rp = (int32_t *)(ri->ri_bits + row * ri->ri_yscale + ((col >> 3) & ~3)); in rasops4_putchar()
212 rasops4_putchar(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops4_putchar() argument
251 rasops4_putchar8(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops4_putchar8() argument
261 return rasops4_putchar(cookie, row, col, uc, attr); in rasops4_putchar8()
268 if ((unsigned)row >= (unsigned)ri->ri_rows) { in rasops4_putchar8()
279 rp = (u_int16_t *)(ri->ri_bits + row * ri->ri_yscale + col * ri->ri_xscale); in rasops4_putchar8()
323 rasops4_putchar12(void *cookie, int row, int col, u_int uc, uint32_t attr) in rasops4_putchar12() argument
333 return rasops4_putchar(cookie, row, col, uc, attr); in rasops4_putchar12()
[all …]
/openbsd-src/usr.bin/mg/
H A Dtty.c181 ttmove(int row, int col) in ttmove() argument
183 if (ttrow != row || ttcol != col) { in ttmove()
184 putpad(tgoto(cursor_address, col, row), 1); in ttmove()
185 ttrow = row; in ttmove()
250 ttinsl(int row, int bot, int nchunk) in ttinsl() argument
255 if (row == bot) { in ttinsl()
256 ttmove(row, 0); in ttinsl()
262 nl = bot - row; in ttinsl()
263 ttwindow(row, bot); in ttinsl()
264 ttmove(row, 0); in ttinsl()
[all …]
/openbsd-src/lib/libmenu/
H A Dm_item_top.c56 set_top_row(MENU *menu, int row) in MENU_EXPORT()
58 T((T_CALLED("set_top_row(%p,%d)"), (void *)menu, row)); in MENU_EXPORT()
67 if ((row < 0) || (row > (menu->rows - menu->arows))) in MENU_EXPORT()
73 if (row != menu->toprow) in MENU_EXPORT()
80 item = menu->items[(menu->opt & O_ROWMAJOR) ? (row * menu->cols) : row]; in MENU_EXPORT()
83 _nc_New_TopRow_and_CurrentItem(menu, row, item); in MENU_EXPORT()
H A Dm_global.c386 int col = 0, row = 0; in _nc_Link_Items() local
401 Last_in_Row = row * Number_Of_Columns + (Number_Of_Columns - 1); in _nc_Link_Items()
416 (cycle ? menu->items[row * Number_Of_Columns] : in _nc_Link_Items()
422 item->up = (row) ? menu->items[i - Number_Of_Columns] : in _nc_Link_Items()
431 (cycle ? menu->items[(row + 1) < menu->rows ? in _nc_Link_Items()
435 item->y = (short)row; in _nc_Link_Items()
438 row++; in _nc_Link_Items()
450 item = menu->items[i = (col * Number_Of_Rows + row)]; in _nc_Link_Items()
452 Last_in_Column = (menu->cols - 1) * Number_Of_Rows + row; in _nc_Link_Items()
464 (cycle ? menu->items[row] : (ITEM *)0); in _nc_Link_Items()
[all …]
/openbsd-src/sys/arch/luna88k/stand/boot/
H A Dbmd.c243 int col = 0, row = 0; in bmd_escape_1() local
256 row = (row * 10) + (*p - 0x30); in bmd_escape_1()
262 bp->bc_row = row + bp->bc_ymin; in bmd_escape_1()
466 bmd_draw_char(char *raddr, char *waddr, int col, int row, int c) in bmd_draw_char() argument
477 p = (u_short *) ( raddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 )); in bmd_draw_char()
478 q = (u_short *) ( waddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 )); in bmd_draw_char()
488 p = (u_short *) ( raddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 )); in bmd_draw_char()
489 q = (u_short *) ( waddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 )); in bmd_draw_char()
500 p = (u_short *) ( raddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 ) + 2 ); in bmd_draw_char()
501 q = (u_short *) ( waddr + (( row * FB_HEIGHT ) << 8 ) + (( col / 4 ) * 6 ) + 2 ); in bmd_draw_char()
[all …]
/openbsd-src/games/boggle/boggle/
H A Dmach.c141 int col, row; in results() local
151 getyx(stdscr, row, col); in results()
152 move(row + 1, col); in results()
155 move(row + 2, col); in results()
194 int row, col; in get_line() local
214 getyx(stdscr, row, col); in get_line()
215 move(row, col - 1); in get_line()
223 getyx(stdscr, row, col); in get_line()
224 move(row, col - (int) (p - q)); in get_line()
397 int col, row; in showword() local
[all …]
/openbsd-src/games/battlestar/
H A Dfly.c47 static int row, column; variable
86 row = rnd(LINES - 3) + 1; in visual()
151 if (row == MIDR && column - MIDC < 2 && MIDC - column < 2) { in visual()
252 oldr = row; in moveenemy()
255 if (row + dr <= LINES - 3 && row + dr > 0) in moveenemy()
256 row += dr; in moveenemy()
264 d = (double) ((row - MIDR) * (row - MIDR) + (column - MIDC) * (column - MIDC)); in moveenemy()
266 row += (rnd(9) - 4) % (4 - abs(row - MIDR)); in moveenemy()
273 mvaddstr(row, column - 1, "/-\\"); in moveenemy()
/openbsd-src/lib/libfido2/src/
H A Dlog.c72 char row[XXDROW], xxd[XXDLEN]; in fido_log_xxd() local
78 snprintf(row, sizeof(row), "buf=%p, len=%zu", buf, count); in fido_log_xxd()
80 do_log(row, fmt, args); in fido_log_xxd()
82 *row = '\0'; in fido_log_xxd()
90 strlcat(row, xxd, sizeof(row)); in fido_log_xxd()
92 fido_log_debug("%s", row); in fido_log_xxd()
93 *row = '\0'; in fido_log_xxd()
/openbsd-src/usr.bin/openssl/
H A Dca.c1680 OPENSSL_STRING row[DB_NUMBER]; in do_body() local
1688 row[i] = NULL; in do_body()
2038 row[DB_name] = X509_NAME_oneline(X509_get_subject_name(ret), NULL, 0); in do_body()
2039 if (row[DB_name] == NULL) { in do_body()
2045 row[DB_serial] = strdup("00"); in do_body()
2047 row[DB_serial] = BN_bn2hex(serial); in do_body()
2048 if (row[DB_serial] == NULL) { in do_body()
2053 if (row[DB_name][0] == '\0') { in do_body()
2059 free(row[DB_name]); in do_body()
2060 row[DB_name] = strdup(row[DB_serial]); in do_body()
[all …]
/openbsd-src/gnu/gcc/gcc/
H A Dlambda-mat.c201 lambda_vector row; in lambda_matrix_row_exchange() local
203 row = mat[r1]; in lambda_matrix_row_exchange()
205 mat[r2] = row; in lambda_matrix_row_exchange()
345 lambda_vector row; in lambda_matrix_inverse_hard() local
359 row = temp[j]; in lambda_matrix_inverse_hard()
363 if (row[i] < 0) in lambda_matrix_inverse_hard()
371 while (lambda_vector_first_nz (row, n, j + 1) < n) in lambda_matrix_inverse_hard()
373 int min_col = lambda_vector_min_nz (row, n, j); in lambda_matrix_inverse_hard()
381 factor = -1 * row[i]; in lambda_matrix_inverse_hard()
382 if (row[j] != 1) in lambda_matrix_inverse_hard()
[all …]
/openbsd-src/games/canfield/canfield/
H A Dcanfield.c110 #define INCRHAND(row, col) {\ argument
111 row -= cheightcol;\
112 if (row < ctoprow) {\
113 row = cbotrow;\
117 #define DECRHAND(row, col) {\ argument
118 row += cheightcol;\
119 if (row > cbotrow) {\
120 row = ctoprow;\
445 int cnt, row, col; in cleanupboard() local
450 for(ptr = stock, row = stockrow; in cleanupboard()
[all …]
/openbsd-src/usr.bin/vi/cl/
H A Dcl_term.c302 size_t col, row; in cl_ssize() local
321 row = col = 0; in cl_ssize()
323 row = win.ws_row; in cl_ssize()
333 if (row == 0 || col == 0) { in cl_ssize()
348 row == O_VAL(sp, O_LINES) && col == O_VAL(sp, O_COLUMNS)) { in cl_ssize()
355 *rowp = row; in cl_ssize()
368 if (row == 0 || col == 0) { in cl_ssize()
371 if (row == 0) { in cl_ssize()
375 row = rval; in cl_ssize()
386 noterm: if (row == 0) in cl_ssize()
[all …]
/openbsd-src/sys/arch/luna88k/dev/
H A Domrasops.c96 om1_putchar(void *cookie, int row, int startcol, u_int uc, uint32_t attr) in om1_putchar() argument
106 y = ri->ri_font->fontheight * row; in om1_putchar()
161 om4_putchar(void *cookie, int row, int startcol, u_int uc, uint32_t attr) in om4_putchar() argument
173 y = ri->ri_font->fontheight * row; in om4_putchar()
291 om_erasecols(void *cookie, int row, int col, int num, uint32_t attr) in om_erasecols() argument
301 srow = row * ri->ri_font->fontheight + ri->ri_yorigin; in om_erasecols()
309 rasops_erasecols(cookie, row, col, num, attr); in om_erasecols()
315 om_eraserows(void *cookie, int row, int num, uint32_t attr) in om_eraserows() argument
329 srow = row * ri->ri_font->fontheight + ri->ri_yorigin; in om_eraserows()
335 rasops_eraserows(cookie, row, num, attr); in om_eraserows()
[all …]

12345678910>>...13