| /freebsd/sbin/ipf/libipf/ |
| H A D | printstate.c | 13 printstate(ipstate_t *sp, int opts, u_long now) in printstate() argument 19 pr = getprotobynumber(sp->is_p); in printstate() 23 PRINTF("%d:", sp->is_v); in printstate() 27 PRINTF("%d", sp->is_p); in printstate() 29 PRINTF(" src:%s", hostname(sp->is_family, &sp->is_src.in4)); in printstate() 30 if (sp->is_p == IPPROTO_UDP || sp->is_p == IPPROTO_TCP) { in printstate() 31 if (sp->is_flags & IS_WSPORT) in printstate() 34 PRINTF(",%d", ntohs(sp->is_sport)); in printstate() 37 PRINTF(" dst:%s", hostname(sp->is_family, &sp->is_dst.in4)); in printstate() 38 if (sp->is_p == IPPROTO_UDP || sp->is_p == IPPROTO_TCP) { in printstate() [all …]
|
| H A D | printstatefields.c | 73 printstatefield(ipstate_t *sp, int fieldnum) in printstatefield() argument 82 printstatefield(sp, i); in printstatefield() 90 PRINTF("%#lx", (u_long)sp->is_ifp[0]); in printstatefield() 94 PRINTF("%#lx", (u_long)sp->is_ifp[1]); in printstatefield() 98 PRINTF("%#lx", (u_long)sp->is_ifp[2]); in printstatefield() 102 PRINTF("%#lx", (u_long)sp->is_ifp[3]); in printstatefield() 106 PRINTF("%s", sp->is_ifname[0]); in printstatefield() 110 PRINTF("%s", sp->is_ifname[1]); in printstatefield() 114 PRINTF("%s", sp->is_ifname[2]); in printstatefield() 118 PRINTF("%s", sp->is_ifname[3]); in printstatefield() [all …]
|
| /freebsd/contrib/nvi/vi/ |
| H A D | vs_refresh.c | 41 SCR *sp, in vs_repaint() argument 49 if (vs_line(sp, smp, NULL, NULL)) in vs_repaint() 63 SCR *sp, in vs_refresh() argument 71 gp = sp->gp; in vs_refresh() 79 if (F_ISSET(sp, SC_SCR_REDRAW)) in vs_refresh() 81 if (tsp != sp) in vs_refresh() 95 if (O_ISSET(sp, O_NUMBER)) in vs_refresh() 98 if (tsp != sp && !F_ISSET(tsp, SC_EXIT | SC_EXIT_FORCE) && in vs_refresh() 104 F_SET(VIP(sp), VIP_CUR_INVALID); in vs_refresh() 114 if (vs_paint(sp, UPDATE_CURSOR | (!forcepaint && in vs_refresh() [all …]
|
| H A D | vs_split.c | 29 static void vs_insert(SCR *sp, GS *gp); 40 SCR *sp, in vs_split() argument 49 gp = sp->gp; in vs_split() 53 if (sp->rows < 4) { in vs_split() 54 msgq(sp, M_ERR, in vs_split() 60 vs_resolve(sp, NULL, 1); in vs_split() 63 CALLOC(sp, _HMAP(new), SIZE_HMAP(sp), sizeof(SMAP)); in vs_split() 66 _HMAP(new)->lno = sp->lno; in vs_split() 71 half = sp->rows / 2; in vs_split() 79 issmallscreen = IS_SMALL(sp); in vs_split() [all …]
|
| H A D | vs_msg.c | 55 vs_busy(SCR *sp, const char *msg, busy_t btype) in vs_busy() argument 66 if (F_ISSET(sp, SC_EX | SC_SCR_EXWROTE)) in vs_busy() 69 gp = sp->gp; in vs_busy() 70 vip = VIP(sp); in vs_busy() 89 (void)gp->scr_cursor(sp, &vip->busy_oldy, &vip->busy_oldx); in vs_busy() 92 p = msg_cat(sp, msg, &len); in vs_busy() 93 (void)gp->scr_move(sp, LASTLINE(sp), 0); in vs_busy() 94 (void)gp->scr_addstr(sp, p, len); in vs_busy() 95 (void)gp->scr_cursor(sp, ¬used, &vip->busy_fx); in vs_busy() 96 (void)gp->scr_clrtoeol(sp); in vs_busy() [all …]
|
| H A D | v_ex.c | 39 v_again(SCR *sp, VICMD *vp) in v_again() argument 43 ex_cinit(sp, &cmd, C_SUBAGAIN, 2, vp->m_start.lno, vp->m_start.lno, 1); in v_again() 44 argv_exp0(sp, &cmd, L(""), 1); in v_again() 45 return (v_exec_ex(sp, vp, &cmd)); in v_again() 55 v_exmode(SCR *sp, VICMD *vp) in v_exmode() argument 59 gp = sp->gp; in v_exmode() 62 if (gp->scr_screen(sp, SC_EX)) { in v_exmode() 63 msgq(sp, M_ERR, in v_exmode() 67 (void)gp->scr_attr(sp, SA_ALTERNATE, 0); in v_exmode() 70 sp->frp->lno = sp->lno; in v_exmode() [all …]
|
| H A D | vs_smap.c | 41 vs_change(SCR *sp, recno_t lno, lnop_t op) in vs_change() argument 47 vip = VIP(sp); in vs_change() 62 !db_exist(sp, 2)) { in vs_change() 88 for (p = HMAP, cnt = sp->t_rows; cnt--; ++p) in vs_change() 90 if (sp->lno >= lno) in vs_change() 91 --sp->lno; in vs_change() 95 for (p = HMAP, cnt = sp->t_rows; cnt--; ++p) in vs_change() 97 if (sp->lno >= lno) in vs_change() 98 ++sp->lno; in vs_change() 114 if (sp->lno == lno) in vs_change() [all …]
|
| /freebsd/crypto/openssl/crypto/ec/asm/ |
| H A D | ecp_nistz256-ppc64.pl | 42 my $sp="r1"; 108 stdu $sp,-128($sp) 110 std r22,48($sp) 111 std r23,56($sp) 112 std r24,64($sp) 113 std r25,72($sp) 114 std r26,80($sp) 115 std r27,88($sp) 116 std r28,96($sp) 117 std r29,104($sp) [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/orc/ |
| H A D | elfnix_tls.aarch64.S | 24 sub sp, sp, #REGISTER_SAVE_SPACE_SIZE 25 stp x29, x30, [sp, #16 * 1] 26 stp x27, x28, [sp, #16 * 2] 27 stp x25, x26, [sp, #16 * 3] 28 stp x23, x24, [sp, #16 * 4] 29 stp x21, x22, [sp, #16 * 5] 30 stp x19, x20, [sp, #16 * 6] 31 stp x17, x18, [sp, #16 * 7] 32 stp x15, x16, [sp, #16 * 8] 33 stp x13, x14, [sp, #16 * 9] [all …]
|
| H A D | macho_tlv.arm64.S | 23 sub sp, sp, #REGISTER_SAVE_SPACE_SIZE 24 stp x29, x30, [sp, #16 * 1] 25 stp x27, x28, [sp, #16 * 2] 26 stp x25, x26, [sp, #16 * 3] 27 stp x23, x24, [sp, #16 * 4] 28 stp x21, x22, [sp, #16 * 5] 29 stp x19, x20, [sp, #16 * 6] 30 stp x17, x18, [sp, #16 * 7] 31 stp x15, x16, [sp, #16 * 8] 32 stp x13, x14, [sp, #16 * 9] [all …]
|
| H A D | sysv_reenter.arm64.S | 22 stp x27, x28, [sp, #-16]! 23 stp x25, x26, [sp, #-16]! 24 stp x23, x24, [sp, #-16]! 25 stp x21, x22, [sp, #-16]! 26 stp x19, x20, [sp, #-16]! 27 stp x14, x15, [sp, #-16]! 28 stp x12, x13, [sp, #-16]! 29 stp x10, x11, [sp, #-16]! 30 stp x8, x9, [sp, #-16]! 31 stp x6, x7, [sp, #-16]! [all …]
|
| /freebsd/sys/riscv/riscv/ |
| H A D | exception.S | 42 addi sp, sp, -(TF_SIZE) 44 sd ra, (TF_RA)(sp) 45 sd tp, (TF_TP)(sp) 46 sd gp, (TF_GP)(sp) 56 ld tp, (TF_SIZE + KF_TP)(sp) 59 sd t0, (TF_T + 0 * 8)(sp) 60 sd t1, (TF_T + 1 * 8)(sp) 61 sd t2, (TF_T + 2 * 8)(sp) 62 sd t3, (TF_T + 3 * 8)(sp) 63 sd t4, (TF_T + 4 * 8)(sp) [all …]
|
| /freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_strtab.c | 43 dt_strtab_grow(dt_strtab_t *sp) in dt_strtab_grow() argument 47 if ((ptr = malloc(sp->str_bufsz)) == NULL) in dt_strtab_grow() 50 bufs = realloc(sp->str_bufs, (sp->str_nbufs + 1) * sizeof (char *)); in dt_strtab_grow() 57 sp->str_nbufs++; in dt_strtab_grow() 58 sp->str_bufs = bufs; in dt_strtab_grow() 59 sp->str_ptr = ptr; in dt_strtab_grow() 60 sp->str_bufs[sp->str_nbufs - 1] = sp->str_ptr; in dt_strtab_grow() 68 dt_strtab_t *sp = malloc(sizeof (dt_strtab_t)); in dt_strtab_create() local 73 if (sp == NULL) in dt_strtab_create() 76 bzero(sp, sizeof (dt_strtab_t)); in dt_strtab_create() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
| H A D | xray_trampoline_riscv64.S | 19 addi sp, sp, -144 21 sd ra, 136(sp) 22 sd a7, 128(sp) 23 sd a6, 120(sp) 24 sd a5, 112(sp) 25 sd a4, 104(sp) 26 sd a3, 96(sp) 27 sd a2, 88(sp) 28 sd a1, 80(sp) 29 sd a0, 72(sp) [all …]
|
| H A D | xray_trampoline_riscv32.S | 19 addi sp, sp, -112 21 sw ra, 108(sp) 22 sw a7, 104(sp) 23 sw a6, 100(sp) 24 sw a5, 96(sp) 25 sw a4, 92(sp) 26 sw a3, 88(sp) 27 sw a2, 84(sp) 28 sw a1, 80(sp) 29 sw a0, 76(sp) [all …]
|
| H A D | xray_trampoline_mips64.S | 24 daddiu $sp, $sp, -144 25 sd $ra, 136($sp) 27 sd $gp, 128($sp) 28 sd $a7, 120($sp) 29 sd $a6, 112($sp) 30 sd $a5, 104($sp) 31 sd $a4, 96($sp) 32 sd $a3, 88($sp) 33 sd $a2, 80($sp) 34 sd $a1, 72($sp) [all …]
|
| /freebsd/contrib/nvi/common/ |
| H A D | screen.c | 36 SCR *sp; in screen_init() local 40 CALLOC_RET(orig, sp, 1, sizeof(SCR)); in screen_init() 41 *spp = sp; in screen_init() 44 sp->id = ++gp->id; in screen_init() 45 sp->refcnt = 1; in screen_init() 47 sp->gp = gp; /* All ref the GS structure. */ in screen_init() 49 sp->ccnt = 2; /* Anything > 1 */ in screen_init() 57 TAILQ_INIT(sp->tiq); in screen_init() 61 sp->searchdir = NOTSET; in screen_init() 65 (sp->alt_name = strdup(orig->alt_name)) == NULL) in screen_init() [all …]
|
| /freebsd/sys/geom/bde/ |
| H A D | g_bde_work.c | |
| /freebsd/contrib/ncurses/ncurses/base/ |
| H A D | lib_set_term.c | 63 #define MaxColors InfoOf(sp).maxcolors 64 #define NumLabels InfoOf(sp).numlabels 121 delink_screen(SCREEN *sp) in delink_screen() argument 128 if (temp == sp) { in delink_screen() 130 last->_next_screen = sp->_next_screen; in delink_screen() 132 _nc_screen_chain = sp->_next_screen; in delink_screen() 145 delscreen(SCREEN *sp) in delscreen() argument 148 T((T_CALLED("delscreen(%p)"), (void *) sp)); in delscreen() 151 if (delink_screen(sp)) { in delscreen() 153 bool is_current = (sp == CURRENT_SCREEN); in delscreen() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/builtins/riscv/ |
| H A D | save.S | 26 addi sp, sp, -64 28 sw s11, 12(sp) 43 addi sp, sp, -64 46 sw s10, 16(sp) 47 sw s9, 20(sp) 48 sw s8, 24(sp) 49 sw s7, 28(sp) 64 addi sp, sp, -64 67 sw s6, 32(sp) 68 sw s5, 36(sp) [all …]
|
| /freebsd/crypto/openssl/crypto/sha/asm/ |
| H A D | keccak1600p8-ppc.pl | 59 my $sp ="r1"; 229 $STU $sp,-$FRAME($sp) 234 stvx v20,r10,$sp 236 stvx v21,r11,$sp 238 stvx v22,r10,$sp 240 stvx v23,r11,$sp 242 stvx v24,r10,$sp 244 stvx v25,r11,$sp 246 stvx v26,r10,$sp 248 stvx v27,r11,$sp [all …]
|
| /freebsd/contrib/nvi/ex/ |
| H A D | ex_args.c | 41 ex_next(SCR *sp, EXCMD *cmdp) in ex_next() argument 53 if (cmdp->argc == 0 && (sp->cargv == NULL || sp->cargv[1] == NULL)) { in ex_next() 54 msgq(sp, M_ERR, "111|No more files to edit"); in ex_next() 61 CHAR2INT(sp, sp->cargv[1], strlen(sp->cargv[1]) + 1, in ex_next() 63 if (argv_exp0(sp, cmdp, wp, wlen - 1)) in ex_next() 65 return (ex_edit(sp, cmdp)); in ex_next() 67 return (ex_N_next(sp, cmdp)); in ex_next() 71 if (file_m1(sp, in ex_next() 78 if (!F_ISSET(sp, SC_ARGNOFREE) && sp->argv != NULL) { in ex_next() 79 for (ap = sp->argv; *ap != NULL; ++ap) in ex_next() [all …]
|
| H A D | ex_subst.c | 47 ex_s(SCR *sp, EXCMD *cmdp) in ex_s() argument 74 subagain: return (ex_subagain(sp, cmdp)); in ex_s() 78 return (s(sp, cmdp, p, &sp->subre_c, SUB_MUSTSETR)); in ex_s() 85 sp->c_suffix = sp->g_suffix = 0; in ex_s() 132 if (sp->re == NULL) { in ex_s() 133 ex_emsg(sp, NULL, EXM_NOPREVRE); in ex_s() 138 if (!F_ISSET(sp, SC_RE_SEARCH) && in ex_s() 139 re_compile(sp, sp->re, sp->re_len, in ex_s() 140 NULL, NULL, &sp->re_c, RE_C_SEARCH)) in ex_s() 151 if (re_compile(sp, ptrn, t - ptrn, &sp->re, in ex_s() [all …]
|
| /freebsd/crypto/heimdal/lib/krb5/ |
| H A D | store.c | 53 krb5_storage_set_flags(krb5_storage *sp, krb5_flags flags) in krb5_storage_set_flags() argument 55 sp->flags |= flags; in krb5_storage_set_flags() 68 krb5_storage_clear_flags(krb5_storage *sp, krb5_flags flags) in krb5_storage_clear_flags() argument 70 sp->flags &= ~flags; in krb5_storage_clear_flags() 86 krb5_storage_is_flags(krb5_storage *sp, krb5_flags flags) in krb5_storage_is_flags() argument 88 return (sp->flags & flags) == flags; in krb5_storage_is_flags() 104 krb5_storage_set_byteorder(krb5_storage *sp, krb5_flags byteorder) in krb5_storage_set_byteorder() argument 106 sp->flags &= ~KRB5_STORAGE_BYTEORDER_MASK; in krb5_storage_set_byteorder() 107 sp->flags |= byteorder; in krb5_storage_set_byteorder() 117 krb5_storage_get_byteorder(krb5_storage *sp) in krb5_storage_get_byteorder() argument [all …]
|
| /freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
| H A D | strtab.c | 42 strtab_grow(strtab_t *sp) in strtab_grow() argument 44 sp->str_nbufs++; in strtab_grow() 45 sp->str_bufs = xrealloc(sp->str_bufs, sp->str_nbufs * sizeof (char *)); in strtab_grow() 46 sp->str_ptr = xmalloc(sp->str_bufsz); in strtab_grow() 47 sp->str_bufs[sp->str_nbufs - 1] = sp->str_ptr; in strtab_grow() 51 strtab_create(strtab_t *sp) in strtab_create() argument 53 sp->str_hash = xcalloc(STRTAB_HASHSZ * sizeof (strhash_t *)); in strtab_create() 54 sp->str_hashsz = STRTAB_HASHSZ; in strtab_create() 55 sp->str_bufs = NULL; in strtab_create() 56 sp->str_ptr = NULL; in strtab_create() [all …]
|