Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 25 of 1440) sorted by relevance

12345678910>>...58

/src/sbin/ipf/libipf/
H A Dprintstate.c13 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 Dprintstatefields.c73 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 …]
/src/contrib/nvi/vi/
H A Dvs_refresh.c41 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 Dvs_split.c29 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 Dvs_msg.c55 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, &notused, &vip->busy_fx); in vs_busy()
96 (void)gp->scr_clrtoeol(sp); in vs_busy()
[all …]
H A Dv_ex.c39 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 Dvs_smap.c41 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 …]
H A Dvi.c50 #define DOT (&VIP(sp)->sdot)
51 #define DOTMOTION (&VIP(sp)->sdotmotion)
64 SCR *next, *sp; in vi() local
70 sp = *spp; in vi()
71 gp = sp->gp; in vi()
80 if (v_init(sp)) in vi()
84 (void)sp->gp->scr_rename(sp, sp->frp->name, 1); in vi()
86 for (vip = VIP(sp), rval = 0;;) { in vi()
88 if (!MAPPED_KEYS_WAITING(sp) && vs_resolve(sp, NULL, 0)) in vi()
98 sp->showmode = SM_COMMAND; in vi()
[all …]
/src/crypto/openssl/crypto/ec/asm/
H A Decp_nistz256-ppc64.pl42 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 …]
/src/contrib/llvm-project/compiler-rt/lib/orc/
H A Delfnix_tls.aarch64.S24 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 Dmacho_tlv.arm64.S23 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 …]
/src/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_strtab.c43 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 …]
/src/sys/riscv/riscv/
H A Dexception.S42 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 …]
/src/contrib/nvi/common/
H A Dscreen.c36 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 …]
H A Doptions_f.c31 f_altwerase(SCR *sp, OPTION *op, char *str, u_long *valp) in f_altwerase() argument
34 O_CLR(sp, O_TTYWERASE); in f_altwerase()
42 f_columns(SCR *sp, OPTION *op, char *str, u_long *valp) in f_columns() argument
46 msgq(sp, M_ERR, "040|Screen columns too small, less than %d", in f_columns()
61 msgq(sp, M_ERR, "041|Screen columns too large, greater than %d", in f_columns()
72 f_lines(SCR *sp, OPTION *op, char *str, u_long *valp) in f_lines() argument
76 msgq(sp, M_ERR, "042|Screen lines too small, less than %d", in f_lines()
91 msgq(sp, M_ERR, "043|Screen lines too large, greater than %d", in f_lines()
100 o_set(sp, O_LINES, 0, NULL, *valp); in f_lines()
102 sp->defscroll = 1; in f_lines()
[all …]
/src/contrib/ncurses/ncurses/base/
H A Dlib_set_term.c63 #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 …]
H A Dlib_getch.c52 #define GetEscdelay(sp) *_nc_ptr_Escdelay(sp) argument
60 _nc_ptr_Escdelay(SCREEN *sp) in _nc_ptr_Escdelay() argument
62 return ptrEscdelay(sp); in _nc_ptr_Escdelay()
65 #define GetEscdelay(sp) ESCDELAY
133 SCREEN *sp = _nc_screen_of(win); in _nc_use_meta() local
134 return (sp ? sp->_use_meta : 0); in _nc_use_meta()
141 check_mouse_activity(SCREEN *sp, int delay EVENTLIST_2nd(_nc_eventlist * evl)) in check_mouse_activity() argument
146 TERMINAL_CONTROL_BLOCK *TCB = TCBOf(sp); in check_mouse_activity()
147 rc = TCBOf(sp)->drv->td_testmouse(TCBOf(sp), delay EVENTLIST_2nd(evl)); in check_mouse_activity()
150 if (IsTermInfoOnConsole(sp)) { in check_mouse_activity()
[all …]
H A Dlib_mouse.c181 #define GET_DLSYM(name) (my_##name = (TYPE_##name) dlsym(sp->_dlopen_gpm, #name))
191 #define FirstEV(sp) ((sp)->_mouse_events) argument
192 #define LastEV(sp) ((sp)->_mouse_events + EV_MAX - 1) argument
204 #define IndexEV(sp, ep) (ep - FirstEV(sp)) argument
206 #define RunParams(sp, eventp, runp) \ argument
207 (long) IndexEV(sp, runp), \
208 (long) (IndexEV(sp, eventp) + (EV_MAX - 1)) % EV_MAX
212 _trace_slot(SCREEN *sp, const char *tag) in _trace_slot() argument
218 for (ep = FirstEV(sp); ep <= LastEV(sp); ep++) in _trace_slot()
220 (long) IndexEV(sp, ep), in _trace_slot()
[all …]
/src/crypto/openssl/crypto/sha/asm/
H A Dkeccak1600p8-ppc.pl59 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 …]
/src/contrib/nvi/ex/
H A Dex_args.c41 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 Dex_subst.c47 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 …]
/src/crypto/heimdal/lib/krb5/
H A Dstore.c53 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 …]
/src/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_trampoline_mips64.S24 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 …]
/src/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dstrtab.c42 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 …]
/src/libexec/rtld-elf/riscv/
H A Drtld_start.S44 mv s1, sp /* And the stack pointer */
46 addi sp, sp, -16 /* Make room for obj_main & exit proc */
48 mv a1, sp /* exit_proc */
53 ld a2, 0(sp) /* Load cleanup */
54 ld a1, 8(sp) /* Load obj_main */
56 mv sp, s1 /* Restore the stack pointer */
67 addi sp, sp, -(8 * 18)
68 sd a0, (8 * 0)(sp)
69 sd a1, (8 * 1)(sp)
70 sd a2, (8 * 2)(sp)
[all …]

12345678910>>...58