Home
last modified time | relevance | path

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

12345678910>>...58

/NextBSD/tools/test/testfloat/sparc64/
HDsystfloat.S83 save %sp,-192,%sp
85 st %i0,[%sp+2231]
86 ld [%sp+2231],%f0
88 st %f0,[%sp+2231]
89 ld [%sp+2231],%i0
101 save %sp,-192,%sp
103 st %i0,[%sp+2231]
104 ld [%sp+2231],%f0
106 std %f0,[%sp+2231]
107 ldx [%sp+2231],%i0
[all …]
/NextBSD/contrib/ipfilter/lib/
HDprintstate.c14 printstate(sp, opts, now) in printstate() argument
15 ipstate_t *sp; in printstate()
23 pr = getprotobynumber(sp->is_p);
27 PRINTF("%d:", sp->is_v);
31 PRINTF("%d", sp->is_p);
33 PRINTF(" src:%s", hostname(sp->is_family, &sp->is_src.in4));
34 if (sp->is_p == IPPROTO_UDP || sp->is_p == IPPROTO_TCP) {
35 if (sp->is_flags & IS_WSPORT)
38 PRINTF(",%d", ntohs(sp->is_sport));
41 PRINTF(" dst:%s", hostname(sp->is_family, &sp->is_dst.in4));
[all …]
HDprintstatefields.c73 printstatefield(sp, fieldnum) in printstatefield() argument
74 ipstate_t *sp; in printstatefield()
84 printstatefield(sp, i);
92 PRINTF("%#lx", (u_long)sp->is_ifp[0]);
96 PRINTF("%#lx", (u_long)sp->is_ifp[1]);
100 PRINTF("%#lx", (u_long)sp->is_ifp[2]);
104 PRINTF("%#lx", (u_long)sp->is_ifp[3]);
108 PRINTF("%s", sp->is_ifname[0]);
112 PRINTF("%s", sp->is_ifname[1]);
116 PRINTF("%s", sp->is_ifname[2]);
[all …]
/NextBSD/sys/contrib/octeon-sdk/
HDcvmx-log-arc.S78 dsubu sp, sp, 32
80 dsubu sp, sp, 16
82 sd s3, 24(sp) // Save register
84 sd s0, 0(sp) // Save register
86 sd s1, 8(sp) // Save register
88 sd s2, 16(sp) // Save register
101 ld s0, 0(sp) // Restore register
102 ld s1, 8(sp) // Restore register
103 ld s2, 16(sp) // Restore register
104 ld s3, 24(sp) // Restore register
[all …]
HDcvmx-interrupt-handler.S64 dsubu sp, sp, STACK_SIZE
65 sd zero, 0(sp) // Just a place holder
66 sd $1, 8(sp) // start saving registers
67 sd $2, 16(sp)
68 sd $3, 24(sp)
69 sd $4, 32(sp)
70 sd $5, 40(sp)
71 sd $6, 48(sp)
72 sd $7, 56(sp)
73 sd $8, 64(sp)
[all …]
/NextBSD/contrib/nvi/vi/
HDvs_refresh.c44 SCR *sp, in vs_repaint() argument
52 if (vs_line(sp, smp, NULL, NULL)) in vs_repaint()
66 SCR *sp, in vs_refresh() argument
74 gp = sp->gp; in vs_refresh()
82 if (F_ISSET(sp, SC_SCR_REDRAW)) in vs_refresh()
84 if (tsp != sp) in vs_refresh()
98 if (O_ISSET(sp, O_NUMBER)) in vs_refresh()
101 if (tsp != sp && !F_ISSET(tsp, SC_EXIT | SC_EXIT_FORCE) && in vs_refresh()
107 F_SET(VIP(sp), VIP_CUR_INVALID); in vs_refresh()
117 if (vs_paint(sp, UPDATE_CURSOR | (!forcepaint && in vs_refresh()
[all …]
HDvs_split.c33 static void vs_insert(SCR *sp, GS *gp);
44 SCR *sp, in vs_split() argument
53 gp = sp->gp; in vs_split()
57 if (sp->rows < 4) { in vs_split()
58 msgq(sp, M_ERR, in vs_split()
64 vs_resolve(sp, NULL, 1); in vs_split()
67 CALLOC(sp, _HMAP(new), SMAP *, SIZE_HMAP(sp), sizeof(SMAP)); in vs_split()
70 _HMAP(new)->lno = sp->lno; in vs_split()
75 half = sp->rows / 2; in vs_split()
83 issmallscreen = IS_SMALL(sp); in vs_split()
[all …]
HDvs_msg.c59 vs_busy(SCR *sp, const char *msg, busy_t btype) in vs_busy() argument
70 if (F_ISSET(sp, SC_EX | SC_SCR_EXWROTE)) in vs_busy()
73 gp = sp->gp; in vs_busy()
74 vip = VIP(sp); in vs_busy()
93 (void)gp->scr_cursor(sp, &vip->busy_oldy, &vip->busy_oldx); in vs_busy()
96 p = msg_cat(sp, msg, &len); in vs_busy()
97 (void)gp->scr_move(sp, LASTLINE(sp), 0); in vs_busy()
98 (void)gp->scr_addstr(sp, p, len); in vs_busy()
99 (void)gp->scr_cursor(sp, &notused, &vip->busy_fx); in vs_busy()
100 (void)gp->scr_clrtoeol(sp); in vs_busy()
[all …]
HDv_ex.c43 v_again(SCR *sp, VICMD *vp) in v_again() argument
47 ex_cinit(sp, &cmd, C_SUBAGAIN, 2, vp->m_start.lno, vp->m_start.lno, 1); in v_again()
48 argv_exp0(sp, &cmd, L(""), 1); in v_again()
49 return (v_exec_ex(sp, vp, &cmd)); in v_again()
59 v_exmode(SCR *sp, VICMD *vp) in v_exmode() argument
63 gp = sp->gp; in v_exmode()
66 if (gp->scr_screen(sp, SC_EX)) { in v_exmode()
67 msgq(sp, M_ERR, in v_exmode()
71 (void)gp->scr_attr(sp, SA_ALTERNATE, 0); in v_exmode()
74 sp->frp->lno = sp->lno; in v_exmode()
[all …]
HDvs_smap.c45 vs_change(SCR *sp, recno_t lno, lnop_t op) in vs_change() argument
51 vip = VIP(sp); in vs_change()
66 !db_exist(sp, 2)) { in vs_change()
92 for (p = HMAP, cnt = sp->t_rows; cnt--; ++p) in vs_change()
94 if (sp->lno >= lno) in vs_change()
95 --sp->lno; in vs_change()
99 for (p = HMAP, cnt = sp->t_rows; cnt--; ++p) in vs_change()
101 if (sp->lno >= lno) in vs_change()
102 ++sp->lno; in vs_change()
118 if (sp->lno == lno) in vs_change()
[all …]
HDvi.c54 #define DOT (&VIP(sp)->sdot)
55 #define DOTMOTION (&VIP(sp)->sdotmotion)
68 SCR *next, *sp; in vi() local
74 sp = *spp; in vi()
75 gp = sp->gp; in vi()
84 if (v_init(sp)) in vi()
88 (void)sp->gp->scr_rename(sp, sp->frp->name, 1); in vi()
90 for (vip = VIP(sp), rval = 0;;) { in vi()
92 if (!MAPPED_KEYS_WAITING(sp) && vs_resolve(sp, NULL, 0)) in vi()
102 sp->showmode = SM_COMMAND; in vi()
[all …]
/NextBSD/sys/dev/iscsi_initiator/
HDisc_sm.c70 _async(isc_session_t *sp, pduq_t *pq) in _async() argument
74 iscsi_async(sp, pq); in _async()
76 pdu_free(sp->isc, pq); in _async()
80 _reject(isc_session_t *sp, pduq_t *pq) in _reject() argument
92 opq = i_search_hld(sp, itt, 0); in _reject()
94 iscsi_reject(sp, opq, pq); in _reject()
102 sp->sid, ntohl(pq->pdu.ipdu.bhs.itt)); in _reject()
105 pdu_free(sp->isc, pq); in _reject()
109 _r2t(isc_session_t *sp, pduq_t *pq) in _r2t() argument
114 opq = i_search_hld(sp, pq->pdu.ipdu.bhs.itt, 1); in _r2t()
[all …]
HDiscsivar.h49 printf("%d] %s: " fmt "\n", sp->sid, __func__ , ##args);} while(0)
225 void isc_start_receiver(isc_session_t *sp);
226 void isc_stop_receiver(isc_session_t *sp);
228 int isc_sendPDU(isc_session_t *sp, pduq_t *pq);
229 int isc_qout(isc_session_t *sp, pduq_t *pq);
230 int i_prepPDU(isc_session_t *sp, pduq_t *pq);
235 int i_setopt(isc_session_t *sp, isc_opt_t *opt);
238 int ic_init(isc_session_t *sp);
239 void ic_destroy(isc_session_t *sp);
240 void ic_lost_target(isc_session_t *sp, int target);
[all …]
/NextBSD/sys/net/
HDif_spppsubr.c216 void (*Up)(struct sppp *sp);
217 void (*Down)(struct sppp *sp);
218 void (*Open)(struct sppp *sp);
219 void (*Close)(struct sppp *sp);
220 void (*TO)(void *sp);
221 int (*RCR)(struct sppp *sp, struct lcp_header *h, int len);
222 void (*RCN_rej)(struct sppp *sp, struct lcp_header *h, int len);
223 void (*RCN_nak)(struct sppp *sp, struct lcp_header *h, int len);
225 void (*tlu)(struct sppp *sp);
226 void (*tld)(struct sppp *sp);
[all …]
/NextBSD/sys/geom/bde/
HDg_bde_work.c78 static void g_bde_delete_sector(struct g_bde_softc *wp, struct g_bde_sector *sp);
82 static int g_bde_start_read(struct g_bde_sector *sp);
133 g_bde_delete_sector(struct g_bde_softc *sc, struct g_bde_sector *sp) in g_bde_delete_sector() argument
138 if (sp->malloc) in g_bde_delete_sector()
139 free(sp->data, M_GBDE); in g_bde_delete_sector()
140 free(sp, M_GBDE); in g_bde_delete_sector()
146 struct g_bde_sector *sp; in g_bde_new_sector() local
148 sp = malloc(sizeof *sp, M_GBDE, M_NOWAIT | M_ZERO); in g_bde_new_sector()
149 if (sp == NULL) in g_bde_new_sector()
150 return (sp); in g_bde_new_sector()
[all …]
/NextBSD/contrib/nvi/common/
HDscreen.c43 SCR *sp; in screen_init() local
47 CALLOC_RET(orig, sp, SCR *, 1, sizeof(SCR)); in screen_init()
48 *spp = sp; in screen_init()
51 sp->id = ++gp->id; in screen_init()
52 sp->refcnt = 1; in screen_init()
54 sp->gp = gp; /* All ref the GS structure. */ in screen_init()
56 sp->ccnt = 2; /* Anything > 1 */ in screen_init()
64 TAILQ_INIT(sp->tiq); in screen_init()
68 sp->searchdir = NOTSET; in screen_init()
72 (sp->alt_name = strdup(orig->alt_name)) == NULL) in screen_init()
[all …]
HDoptions_f.c36 SCR *sp, in f_altwerase() argument
42 O_CLR(sp, O_TTYWERASE); in f_altwerase()
51 SCR *sp, in f_columns() argument
58 msgq(sp, M_ERR, "040|Screen columns too small, less than %d", in f_columns()
73 msgq(sp, M_ERR, "041|Screen columns too large, greater than %d", in f_columns()
85 SCR *sp, in f_lines() argument
92 msgq(sp, M_ERR, "042|Screen lines too small, less than %d", in f_lines()
107 msgq(sp, M_ERR, "043|Screen lines too large, greater than %d", in f_lines()
116 o_set(sp, O_LINES, 0, NULL, *valp); in f_lines()
118 sp->defscroll = 1; in f_lines()
[all …]
/NextBSD/cddl/contrib/opensolaris/lib/libdtrace/common/
HDdt_strtab.c39 dt_strtab_grow(dt_strtab_t *sp) in dt_strtab_grow() argument
43 if ((ptr = malloc(sp->str_bufsz)) == NULL) in dt_strtab_grow()
46 bufs = realloc(sp->str_bufs, (sp->str_nbufs + 1) * sizeof (char *)); in dt_strtab_grow()
53 sp->str_nbufs++; in dt_strtab_grow()
54 sp->str_bufs = bufs; in dt_strtab_grow()
55 sp->str_ptr = ptr; in dt_strtab_grow()
56 sp->str_bufs[sp->str_nbufs - 1] = sp->str_ptr; in dt_strtab_grow()
64 dt_strtab_t *sp = malloc(sizeof (dt_strtab_t)); in dt_strtab_create() local
69 if (sp == NULL) in dt_strtab_create()
72 bzero(sp, sizeof (dt_strtab_t)); in dt_strtab_create()
[all …]
/NextBSD/contrib/ncurses/ncurses/base/
HDlib_set_term.c53 #define MaxColors InfoOf(sp).maxcolors
54 #define NumLabels InfoOf(sp).numlabels
111 delink_screen(SCREEN *sp) in delink_screen() argument
118 if (temp == sp) { in delink_screen()
120 last->_next_screen = sp->_next_screen; in delink_screen()
122 _nc_screen_chain = sp->_next_screen; in delink_screen()
135 delscreen(SCREEN *sp) in delscreen() argument
139 T((T_CALLED("delscreen(%p)"), (void *) sp)); in delscreen()
142 if (delink_screen(sp)) { in delscreen()
157 (void) _nc_freewin(CurScreen(sp)); in delscreen()
[all …]
HDlib_mouse.c171 #define GET_DLSYM(name) (my_##name = (TYPE_##name) dlsym(sp->_dlopen_gpm, #name))
181 #define FirstEV(sp) ((sp)->_mouse_events) argument
182 #define LastEV(sp) ((sp)->_mouse_events + EV_MAX - 1) argument
194 #define IndexEV(sp, ep) (ep - FirstEV(sp)) argument
196 #define RunParams(sp, eventp, runp) \ argument
197 (long) IndexEV(sp, runp), \
198 (long) (IndexEV(sp, eventp) + (EV_MAX - 1)) % EV_MAX
202 _trace_slot(SCREEN *sp, const char *tag) in _trace_slot() argument
208 for (ep = FirstEV(sp); ep <= LastEV(sp); ep++) in _trace_slot()
210 (long) IndexEV(sp, ep), in _trace_slot()
[all …]
HDlib_getch.c50 #define GetEscdelay(sp) *_nc_ptr_Escdelay(sp) argument
58 _nc_ptr_Escdelay(SCREEN *sp) in _nc_ptr_Escdelay() argument
60 return ptrEscdelay(sp); in _nc_ptr_Escdelay()
63 #define GetEscdelay(sp) ESCDELAY
123 SCREEN *sp = _nc_screen_of(win); in _nc_use_meta() local
124 return (sp ? sp->_use_meta : 0); in _nc_use_meta()
131 check_mouse_activity(SCREEN *sp, int delay EVENTLIST_2nd(_nc_eventlist * evl)) in check_mouse_activity() argument
136 rc = TCBOf(sp)->drv->testmouse(TCBOf(sp), delay EVENTLIST_2nd(evl)); in check_mouse_activity()
139 if ((sp->_mouse_type == M_SYSMOUSE) in check_mouse_activity()
140 && (sp->_sysmouse_head < sp->_sysmouse_tail)) { in check_mouse_activity()
[all …]
/NextBSD/crypto/heimdal/lib/krb5/
HDstore.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 …]
/NextBSD/contrib/nvi/ex/
HDex_args.c45 ex_next(SCR *sp, EXCMD *cmdp) in ex_next() argument
57 if (cmdp->argc == 0 && (sp->cargv == NULL || sp->cargv[1] == NULL)) { in ex_next()
58 msgq(sp, M_ERR, "111|No more files to edit"); in ex_next()
65 CHAR2INT(sp, sp->cargv[1], strlen(sp->cargv[1]) + 1, in ex_next()
67 if (argv_exp0(sp, cmdp, wp, wlen - 1)) in ex_next()
69 return (ex_edit(sp, cmdp)); in ex_next()
71 return (ex_N_next(sp, cmdp)); in ex_next()
75 if (file_m1(sp, in ex_next()
82 if (!F_ISSET(sp, SC_ARGNOFREE) && sp->argv != NULL) { in ex_next()
83 for (ap = sp->argv; *ap != NULL; ++ap) in ex_next()
[all …]
HDex_subst.c51 ex_s(SCR *sp, EXCMD *cmdp) in ex_s() argument
78 subagain: return (ex_subagain(sp, cmdp)); in ex_s()
82 return (s(sp, cmdp, p, &sp->subre_c, SUB_MUSTSETR)); in ex_s()
89 sp->c_suffix = sp->g_suffix = 0; in ex_s()
135 if (sp->re == NULL) { in ex_s()
136 ex_emsg(sp, NULL, EXM_NOPREVRE); in ex_s()
141 if (!F_ISSET(sp, SC_RE_SEARCH) && in ex_s()
142 re_compile(sp, sp->re, sp->re_len, in ex_s()
143 NULL, NULL, &sp->re_c, RE_C_SEARCH)) in ex_s()
154 if (re_compile(sp, ptrn, t - ptrn, &sp->re, in ex_s()
[all …]
/NextBSD/cddl/contrib/opensolaris/tools/ctf/cvt/
HDstrtab.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 …]

12345678910>>...58