/seL4-refos-master/libs/libvterm/src/ |
H A D | vterm.c | 219 void vterm_scroll_rect(VTermRect rect, argument 223 int (*eraserect)(VTermRect rect, int selective, void *user), 229 if(abs(downward) >= rect.end_row - rect.start_row || 230 abs(rightward) >= rect.end_col - rect.start_col) { 232 (*eraserect)(rect, 0, user); 237 /* rect: [XXX................] 241 dest.start_col = rect.start_col; 242 dest.end_col = rect [all...] |
H A D | screen.c | 6 #include "rect.h" 96 static void damagerect(VTermScreen *screen, VTermRect rect) argument 103 emit = rect; 109 if(rect.end_row > rect.start_row + 1) { 112 emit = rect; 116 screen->damaged = rect; 119 else if(rect.start_row == screen->damaged.start_row) { 121 if(screen->damaged.start_col > rect.start_col) 122 screen->damaged.start_col = rect 155 VTermRect rect = { local 184 VTermRect rect = { local 206 VTermRect rect = { local 215 VTermRect rect = { local 225 VTermRect rect = { local 234 VTermRect rect = { local 285 erase_internal(VTermRect rect, int selective, void *user) argument 303 erase_user(VTermRect rect, int selective, void *user) argument 312 erase(VTermRect rect, int selective, void *user) argument 318 scrollrect(VTermRect rect, int downward, int rightward, void *user) argument 514 VTermRect rect = { local 524 VTermRect rect = { local 598 _get_chars(VTermScreen *screen, const int utf8, void *buffer, size_t len, const VTermRect rect) argument 648 vterm_screen_get_chars(VTermScreen *screen, uint32_t *chars, size_t len, const VTermRect rect) argument 653 vterm_screen_get_text(VTermScreen *screen, char *str, size_t len, const VTermRect rect) argument [all...] |
H A D | state.c | 48 static void erase(VTermState *state, VTermRect rect, int selective) argument 51 if((*state->callbacks->erase)(rect, selective, state->cbdata)) 79 static void scroll(VTermState *state, VTermRect rect, int downward, int rightward) argument 85 if((*state->callbacks->scrollrect)(rect, downward, rightward, state->cbdata)) 89 vterm_scroll_rect(rect, downward, rightward, 96 VTermRect rect = { local 103 scroll(state, rect, 1, 0); 251 VTermRect rect = { local 257 scroll(state, rect, 0, -1); 347 VTermRect rect local 827 VTermRect rect; local 1500 VTermRect rect = { 0, state->rows, 0, state->cols }; local 1553 VTermRect rect = { local [all...] |
/seL4-refos-master/projects/refos/impl/libs/libvterm/src/ |
H A D | vterm.c | 219 void vterm_scroll_rect(VTermRect rect, argument 223 int (*eraserect)(VTermRect rect, int selective, void *user), 229 if(abs(downward) >= rect.end_row - rect.start_row || 230 abs(rightward) >= rect.end_col - rect.start_col) { 232 (*eraserect)(rect, 0, user); 237 /* rect: [XXX................] 241 dest.start_col = rect.start_col; 242 dest.end_col = rect [all...] |
H A D | screen.c | 6 #include "rect.h" 96 static void damagerect(VTermScreen *screen, VTermRect rect) argument 103 emit = rect; 109 if(rect.end_row > rect.start_row + 1) { 112 emit = rect; 116 screen->damaged = rect; 119 else if(rect.start_row == screen->damaged.start_row) { 121 if(screen->damaged.start_col > rect.start_col) 122 screen->damaged.start_col = rect 155 VTermRect rect = { local 184 VTermRect rect = { local 206 VTermRect rect = { local 215 VTermRect rect = { local 225 VTermRect rect = { local 234 VTermRect rect = { local 285 erase_internal(VTermRect rect, int selective, void *user) argument 303 erase_user(VTermRect rect, int selective, void *user) argument 312 erase(VTermRect rect, int selective, void *user) argument 318 scrollrect(VTermRect rect, int downward, int rightward, void *user) argument 514 VTermRect rect = { local 524 VTermRect rect = { local 598 _get_chars(VTermScreen *screen, const int utf8, void *buffer, size_t len, const VTermRect rect) argument 648 vterm_screen_get_chars(VTermScreen *screen, uint32_t *chars, size_t len, const VTermRect rect) argument 653 vterm_screen_get_text(VTermScreen *screen, char *str, size_t len, const VTermRect rect) argument [all...] |
H A D | state.c | 48 static void erase(VTermState *state, VTermRect rect, int selective) argument 51 if((*state->callbacks->erase)(rect, selective, state->cbdata)) 79 static void scroll(VTermState *state, VTermRect rect, int downward, int rightward) argument 85 if((*state->callbacks->scrollrect)(rect, downward, rightward, state->cbdata)) 89 vterm_scroll_rect(rect, downward, rightward, 96 VTermRect rect = { local 103 scroll(state, rect, 1, 0); 251 VTermRect rect = { local 257 scroll(state, rect, 0, -1); 347 VTermRect rect local 827 VTermRect rect; local 1500 VTermRect rect = { 0, state->rows, 0, state->cols }; local 1553 VTermRect rect = { local [all...] |
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/ |
H A D | rect.c | 1 /* SCCS Id: @(#)rect.c 3.4 1990/02/22 */ 20 static NhRect rect[MAXRECT+1]; variable 32 rect[0].lx = rect[0].ly = 0; 33 rect[0].hx = COLNO - 1; 34 rect[0].hy = ROWNO - 1; 52 for (i=0,rectp = &rect[0];i<rect_cnt;i++,rectp++) 73 for (i=0,rectp = &rect[0];i<rect_cnt;i++,rectp++) 87 return rect_cnt > 0 ? &rect[rn2(rect_cnt)] : 0; 126 rect[in [all...] |
H A D | region.c | 141 add_rect_to_reg(reg, rect) 143 NhRect *rect; 153 tmp_rect[reg->nrects] = *rect; 157 if (reg->bounding_box.lx > rect->lx) 158 reg->bounding_box.lx = rect->lx; 159 if (reg->bounding_box.ly > rect->ly) 160 reg->bounding_box.ly = rect->ly; 161 if (reg->bounding_box.hx < rect->hx) 162 reg->bounding_box.hx = rect->hx; 163 if (reg->bounding_box.hy < rect [all...] |
H A D | Makefile | 325 priest.c quest.c questpgr.c read.c rect.c region.c restore.c rip.c \ 361 os2conf.h patchlevel.h pcconf.h permonst.h prop.h rect.h region.h rm.h \ 382 quest.o questpgr.o read.o rect.o region.o restore.o rip.o rnd.o \ 570 ../include/rect.h ../include/region.h ../include/winprocs.h \ 777 rect.o: rect.c $(HACK_H)
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/ |
H A D | rect.c | 1 /* SCCS Id: @(#)rect.c 3.4 1990/02/22 */ 20 static NhRect rect[MAXRECT+1]; variable 32 rect[0].lx = rect[0].ly = 0; 33 rect[0].hx = COLNO - 1; 34 rect[0].hy = ROWNO - 1; 52 for (i=0,rectp = &rect[0];i<rect_cnt;i++,rectp++) 73 for (i=0,rectp = &rect[0];i<rect_cnt;i++,rectp++) 87 return rect_cnt > 0 ? &rect[rn2(rect_cnt)] : 0; 126 rect[in [all...] |
H A D | region.c | 141 add_rect_to_reg(reg, rect) 143 NhRect *rect; 153 tmp_rect[reg->nrects] = *rect; 157 if (reg->bounding_box.lx > rect->lx) 158 reg->bounding_box.lx = rect->lx; 159 if (reg->bounding_box.ly > rect->ly) 160 reg->bounding_box.ly = rect->ly; 161 if (reg->bounding_box.hx < rect->hx) 162 reg->bounding_box.hx = rect->hx; 163 if (reg->bounding_box.hy < rect [all...] |
H A D | Makefile | 325 priest.c quest.c questpgr.c read.c rect.c region.c restore.c rip.c \ 361 os2conf.h patchlevel.h pcconf.h permonst.h prop.h rect.h region.h rm.h \ 382 quest.o questpgr.o read.o rect.o region.o restore.o rip.o rnd.o \ 570 ../include/rect.h ../include/region.h ../include/winprocs.h \ 777 rect.o: rect.c $(HACK_H)
|
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/ |
H A D | qt_clust.h | 17 void add(const QRect& rect);
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/ |
H A D | qt_clust.h | 17 void add(const QRect& rect);
|
/seL4-refos-master/libs/libvterm/include/vterm/ |
H A D | vterm.h | 33 /* true if the rect contains the point */ 40 /* move a rect */ 41 static inline void vterm_rect_move(VTermRect *rect, int row_delta, int col_delta) argument 43 rect->start_row += row_delta; rect->end_row += row_delta; 44 rect->start_col += col_delta; rect->end_col += col_delta; 138 int (*scrollrect)(VTermRect rect, int downward, int rightward, void *user); 140 int (*erase)(VTermRect rect, int selective, void *user); 150 int (*damage)(VTermRect rect, voi [all...] |
/seL4-refos-master/projects/refos/impl/libs/libvterm/include/vterm/ |
H A D | vterm.h | 33 /* true if the rect contains the point */ 40 /* move a rect */ 41 static inline void vterm_rect_move(VTermRect *rect, int row_delta, int col_delta) argument 43 rect->start_row += row_delta; rect->end_row += row_delta; 44 rect->start_col += col_delta; rect->end_col += col_delta; 138 int (*scrollrect)(VTermRect rect, int downward, int rightward, void *user); 140 int (*erase)(VTermRect rect, int selective, void *user); 150 int (*damage)(VTermRect rect, voi [all...] |
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/sys/unix/ |
H A D | Makefile.src | 325 priest.c quest.c questpgr.c read.c rect.c region.c restore.c rip.c \ 361 os2conf.h patchlevel.h pcconf.h permonst.h prop.h rect.h region.h rm.h \ 382 quest.o questpgr.o read.o rect.o region.o restore.o rip.o rnd.o \ 570 ../include/rect.h ../include/region.h ../include/winprocs.h \ 777 rect.o: rect.c $(HACK_H)
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/unix/ |
H A D | Makefile.src | 325 priest.c quest.c questpgr.c read.c rect.c region.c restore.c rip.c \ 361 os2conf.h patchlevel.h pcconf.h permonst.h prop.h rect.h region.h rm.h \ 382 quest.o questpgr.o read.o rect.o region.o restore.o rip.o rnd.o \ 570 ../include/rect.h ../include/region.h ../include/winprocs.h \ 777 rect.o: rect.c $(HACK_H)
|