/src/sys/lib/libunwind/ |
libunwind.cxx | 29 static _Unwind_Reason_Code unwind_phase1(ThisUnwindCursor &cursor, 31 cursor.setInfoBasedOnIPRegister(); 37 switch (cursor.step()) { 48 cursor.getInfo(&frameInfo); 57 exc, (struct _Unwind_Context *)(&cursor)); 64 exc->private_2 = cursor.getSP(); 78 static _Unwind_Reason_Code unwind_phase2(ThisUnwindCursor &cursor, 80 cursor.setInfoBasedOnIPRegister(); 86 switch (cursor.step()) { 96 cursor.getInfo(&frameInfo) 214 ThisUnwindCursor cursor(registers, sThisAddressSpace); local in function:_Unwind_ForcedUnwind 225 ThisUnwindCursor cursor(registers, sThisAddressSpace); local in function:_Unwind_Resume 255 ThisUnwindCursor *cursor = (ThisUnwindCursor *)context; local in function:_Unwind_GetGR 261 ThisUnwindCursor *cursor = (ThisUnwindCursor *)context; local in function:_Unwind_SetGR 266 ThisUnwindCursor *cursor = (ThisUnwindCursor *)context; local in function:_Unwind_GetIP 271 ThisUnwindCursor *cursor = (ThisUnwindCursor *)context; local in function:_Unwind_GetIPInfo 277 ThisUnwindCursor *cursor = (ThisUnwindCursor *)context; local in function:_Unwind_SetIP 287 ThisUnwindCursor *cursor = (ThisUnwindCursor *)context; local in function:_Unwind_GetRegionStart 294 ThisUnwindCursor *cursor = (ThisUnwindCursor *)context; local in function:_Unwind_GetLanguageSpecificData 302 ThisUnwindCursor cursor(registers, sThisAddressSpace); local in function:_Unwind_Backtrace 322 ThisUnwindCursor *cursor = (ThisUnwindCursor *)context; local in function:_Unwind_GetCFA 328 ThisUnwindCursor cursor(registers, sThisAddressSpace); local in function:_Unwind_FindEnclosingFunction 340 ThisUnwindCursor cursor(registers, sThisAddressSpace); local in function:_Unwind_Find_FDE 356 ThisUnwindCursor *cursor = (ThisUnwindCursor *)context; local in function:_Unwind_GetDataRelBase [all...] |
/src/lib/libedit/ |
emacs.c | 54 * Delete character under cursor or list completions if at end of line 62 if (el->el_line.cursor == el->el_line.lastchar) { 64 if (el->el_line.cursor == el->el_line.buffer) { 81 if (el->el_line.cursor > el->el_line.lastchar) 82 el->el_line.cursor = el->el_line.lastchar; 90 * Cut from cursor to end of current word 99 if (el->el_line.cursor == el->el_line.lastchar) 102 cp = c__next_word(el->el_line.cursor, el->el_line.lastchar, 105 for (p = el->el_line.cursor, kp = el->el_chared.c_kill.buf; p < cp; p++) 110 c_delafter(el, (int)(cp - el->el_line.cursor)); /* delete after dot * [all...] |
common.c | 92 || el->el_line.cursor >= el->el_line.lastchar) 95 *el->el_line.cursor++ = c; 101 while (count-- && el->el_line.cursor < el->el_line.lastchar) 102 *el->el_line.cursor++ = c; 114 * Delete from beginning of current word to cursor 123 if (el->el_line.cursor == el->el_line.buffer) 126 cp = c__prev_word(el->el_line.cursor, el->el_line.buffer, 129 for (p = cp, kp = el->el_chared.c_kill.buf; p < el->el_line.cursor; p++) 133 c_delbefore(el, (int)(el->el_line.cursor - cp));/* delete before dot */ 134 el->el_line.cursor = cp [all...] |
vi.c | 83 el->el_line.cursor = el->el_line.buffer; 90 el->el_chared.c_vcmd.pos = el->el_line.cursor; 96 * Paste previous deletion before or after the cursor 113 if (!c && el->el_line.cursor < el->el_line.lastchar) 114 el->el_line.cursor++; 117 if (el->el_line.cursor + len > el->el_line.lastchar) 119 (void) memcpy(el->el_line.cursor, k->buf, len * 120 sizeof(*el->el_line.cursor)); 127 * Vi paste previous deletion to the right of the cursor 140 * Vi paste previous deletion to the left of the cursor [all...] |
chared.c | 71 vu->cursor = (int)(el->el_line.cursor - el->el_line.buffer); 108 if (el->el_line.cursor < el->el_line.lastchar) { 110 for (cp = el->el_line.lastchar; cp >= el->el_line.cursor; cp--) 118 * Delete num characters after the cursor 124 if (el->el_line.cursor + num > el->el_line.lastchar) 125 num = (int)(el->el_line.lastchar - el->el_line.cursor); 129 cv_yank(el, el->el_line.cursor, num); 135 for (cp = el->el_line.cursor; cp <= el->el_line.lastchar; cp++) 144 * Delete the character after the cursor, do not yan [all...] |
history.c | 167 hentry_t *cursor; /* Current element in the list */ member in struct:history_t 253 h->cursor = h->list.next; 254 if (h->cursor != &h->list) 255 *ev = h->cursor->ev; 273 h->cursor = h->list.prev; 274 if (h->cursor != &h->list) 275 *ev = h->cursor->ev; 293 if (h->cursor == &h->list) { 298 if (h->cursor->next == &h->list) { 303 h->cursor = h->cursor->next [all...] |
search.c | 60 * Adjust cursor in vi mode to include the character under it 63 ((el)->el_line.cursor + (((el)->el_map.type == MAP_VI) && \ 195 (void) fprintf(el->el_errfile, "cursor %ld lastchar %ld\n", 211 wchar_t *ocursor = el->el_line.cursor, oldpchar = pchar, ch; 298 if (el->el_line.cursor == 301 el->el_line.cursor += 303 cp = c__next_word(el->el_line.cursor, 306 while (el->el_line.cursor < cp && 307 *el->el_line.cursor != '\n') { 314 *el->el_line.cursor; [all...] |
/src/lib/libquota/ |
quota_kernel.c | 232 struct kernel_quotacursor *cursor; local in function:__quota_kernel_cursor_create 235 cursor = malloc(sizeof(*cursor)); 236 if (cursor == NULL) { 241 args.u.cursoropen.qc_cursor = &cursor->kcursor; 244 free(cursor); 248 return cursor; 253 struct kernel_quotacursor *cursor) 258 args.u.cursorclose.qc_cursor = &cursor->kcursor; 263 free(cursor); [all...] |
/src/bin/ksh/ |
vi.c | 32 int cursor; member in struct:edstate 282 es->cursor--; 303 es->cursor = 0; 315 es->cursor = 0; 327 del_range(es->cursor, es->cursor + 1); 330 es->cbuf[es->cursor++] = ch; 414 es->cursor = es->linelen; 424 es->cursor = 1; 438 es->cursor = es->linelen [all...] |
/src/sys/ufs/ufs/ |
ufs_quota2.c | 916 * Cursor structure we used. 968 * Cursor-related functions 974 /* extract cursor from caller form */ 978 * Check that a cursor we're handed is something like valid. If 983 q2cursor_check(struct ufsq2_cursor *cursor) 985 if (cursor->q2c_magic != Q2C_MAGIC) { 988 if (cursor->q2c_hashsize < 0) { 992 if (cursor->q2c_users_done != 0 && cursor->q2c_users_done != 1) { 995 if (cursor->q2c_groups_done != 0 && cursor->q2c_groups_done != 1) 1280 struct ufsq2_cursor *cursor; local in function:quota2_handle_cmd_cursorget 1393 struct ufsq2_cursor *cursor; local in function:quota2_handle_cmd_cursoropen 1413 struct ufsq2_cursor *cursor; local in function:quota2_handle_cmd_cursorclose 1431 struct ufsq2_cursor *cursor; local in function:quota2_handle_cmd_cursorskipidtype 1458 struct ufsq2_cursor *cursor; local in function:quota2_handle_cmd_cursoratend 1474 struct ufsq2_cursor *cursor; local in function:quota2_handle_cmd_cursorrewind [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/ |
nouveau_dispnv04_disp.c | 71 if (nv_crtc->cursor.nvbo) { 72 if (nv_crtc->cursor.set_offset) 73 nouveau_bo_unmap(nv_crtc->cursor.nvbo); 74 nouveau_bo_unpin(nv_crtc->cursor.nvbo); 125 if (!nv_crtc->cursor.nvbo) 128 ret = nouveau_bo_pin(nv_crtc->cursor.nvbo, TTM_PL_FLAG_VRAM, true); 129 if (!ret && nv_crtc->cursor.set_offset) 130 ret = nouveau_bo_map(nv_crtc->cursor.nvbo); 132 NV_ERROR(drm, "Could not pin/map cursor.\n"); 155 if (!nv_crtc->cursor.nvbo [all...] |
nouveau_dispnv04_cursor.c | 70 crtc->cursor.set_offset = nv04_cursor_set_offset; 71 crtc->cursor.set_pos = nv04_cursor_set_pos; 72 crtc->cursor.hide = nv04_cursor_hide; 73 crtc->cursor.show = nv04_cursor_show;
|
/src/sys/dev/hpc/ |
hpcfbvar.h | 45 void (*cursor)(void *, int, int, int, int, int); member in struct:hpcfb_accessops
|
/src/sys/kern/ |
vfs_quotactl.c | 106 vfs_quotactl_cursoropen(struct mount *mp, struct quotakcursor *cursor) 111 args.u.cursoropen.qc_cursor = cursor; 116 vfs_quotactl_cursorclose(struct mount *mp, struct quotakcursor *cursor) 121 args.u.cursorclose.qc_cursor = cursor; 126 vfs_quotactl_cursorskipidtype(struct mount *mp, struct quotakcursor *cursor, 132 args.u.cursorskipidtype.qc_cursor = cursor; 138 vfs_quotactl_cursorget(struct mount *mp, struct quotakcursor *cursor, 145 args.u.cursorget.qc_cursor = cursor; 154 vfs_quotactl_cursoratend(struct mount *mp, struct quotakcursor *cursor, 160 args.u.cursoratend.qc_cursor = cursor; [all...] |
/src/sys/ufs/lfs/ |
ulfs_quota2.c | 912 * Cursor structure we used. 964 * Cursor-related functions 970 /* extract cursor from caller form */ 974 * Check that a cursor we're handed is something like valid. If 979 q2cursor_check(struct ulfsq2_cursor *cursor) 981 if (cursor->q2c_magic != Q2C_MAGIC) { 984 if (cursor->q2c_hashsize < 0) { 988 if (cursor->q2c_users_done != 0 && cursor->q2c_users_done != 1) { 991 if (cursor->q2c_groups_done != 0 && cursor->q2c_groups_done != 1) 1278 struct ulfsq2_cursor *cursor; local in function:lfsquota2_handle_cmd_cursorget 1391 struct ulfsq2_cursor *cursor; local in function:lfsquota2_handle_cmd_cursoropen 1411 struct ulfsq2_cursor *cursor; local in function:lfsquota2_handle_cmd_cursorclose 1429 struct ulfsq2_cursor *cursor; local in function:lfsquota2_handle_cmd_cursorskipidtype 1456 struct ulfsq2_cursor *cursor; local in function:lfsquota2_handle_cmd_cursoratend 1472 struct ulfsq2_cursor *cursor; local in function:lfsquota2_handle_cmd_cursorrewind [all...] |
/src/sys/lib/libkern/ |
strlist.c | 121 size_t cursor = *cursorp; local in function:strlist_next 123 if (cursor >= slsize) { 128 const char *cp = sl + cursor; 129 *cursorp = cursor + strlen(cp) + 1; 253 * This routine operates independently of the cursor used to enumerate 298 * This routine operates independently of the cursor used to enumerate 382 size_t cursor; local in function:main 393 cursor = 0; 394 assert((cp = strlist_next(sl, slsize, &cursor)) != NULL); 397 assert((cp = strlist_next(sl, slsize, &cursor)) != NULL) [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_vm.c | 393 * @cursor: state to initialize 399 struct amdgpu_vm_pt_cursor *cursor) 401 cursor->pfn = start; 402 cursor->parent = NULL; 403 cursor->entry = &vm->root; 404 cursor->level = adev->vm_manager.root_level; 411 * @cursor: current state 418 struct amdgpu_vm_pt_cursor *cursor) 422 if (!cursor->entry->entries) 425 BUG_ON(!cursor->entry->base.bo) 982 struct amdgpu_vm_pt_cursor cursor; local in function:amdgpu_vm_free_pts 1283 struct amdgpu_vm_pt_cursor cursor; local in function:amdgpu_vm_invalidate_pds 1451 struct amdgpu_vm_pt_cursor cursor; local in function:amdgpu_vm_update_ptes [all...] |
/src/games/larn/ |
display.c | 70 cursor(1, 18); 111 cursor(59, 18); 130 cursor(59, 19); 211 cursor(70, i + 1); 215 cursor(70, i + 1); 233 cursor(x, y); 269 cursor(70, i + 1); 295 cursor(1, 1); 325 cursor(j + 1, i + 1); 337 cursor(j + 1, i + 1) [all...] |
io.c | 45 * cursor(x,y) position cursor at [x,y] 46 * cursors() position cursor at [1,24] (saves memory) 47 * cl_line(x,y) clear line at [1,y] and leave cursor at [x,y] 572 * cursor(x,y) Subroutine to set the cursor position 574 * x and y are the cursor coordinates, and lpbuff is the output buffer where 595 cursor(x, y) function 612 * cursor(x,y) Put cursor at specified coordinates staring at [1,1] (termcap 615 cursor(int x, int y) function in typeref:typename:void [all...] |
store.c | 208 cursor(50, 18); 263 cursor(59, 18); 328 cursor((j = (i & 1) * 40 + 1), (k = ((i % 26) >> 1) + 5)); 340 cursor(j + 31, k); 387 cursor(30, 18); 399 cursor(57, 18); 602 cursor((k % 2) * 40 + 1, (k >> 1) + 4); 604 cursor((k % 2) * 40 + 33, (k >> 1) + 4); 608 cursor(31, 17); 610 cursor(40, 18) [all...] |
/src/sys/external/bsd/drm2/dist/drm/virtio/ |
virtgpu_plane.c | 261 /* new cursor -- update & wait */ 285 output->cursor.hdr.type = 287 output->cursor.resource_id = cpu_to_le32(handle); 289 output->cursor.hot_x = 291 output->cursor.hot_y = 294 output->cursor.hot_x = cpu_to_le32(0); 295 output->cursor.hot_y = cpu_to_le32(0); 301 output->cursor.hdr.type = 304 output->cursor.pos.x = cpu_to_le32(plane->state->crtc_x); 305 output->cursor.pos.y = cpu_to_le32(plane->state->crtc_y) [all...] |
/src/sys/dev/ofw/ |
ofw_network_subr.c | 100 size_t cursor; local in function:of_network_decode_media 122 for (nmedia = 0, cursor = 0; 123 (cp = strlist_next(sl, len, &cursor)) != NULL; ) {
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/ |
nouveau_crtc.h | 64 } cursor; member in struct:nouveau_crtc
|
/src/lib/libedit/TEST/ |
tc1.c | 100 for (ptr = lf->cursor - 1; 103 len = lf->cursor - ++ptr; 186 (li->cursor - li->buffer), li->buffer, 187 (li->lastchar - 1 - li->cursor), 188 (li->cursor >= li->lastchar) ? "" : li->cursor);
|
wtc1.c | 69 for (ptr = lf->cursor -1; !iswspace(*ptr) && ptr > lf->buffer; --ptr) 71 len = lf->cursor - ++ptr; 167 (li->cursor - li->buffer), li->buffer, 168 (li->lastchar - 1 - li->cursor), 169 (li->cursor >= li->lastchar) ? L"" : li->cursor);
|