Searched refs:sp (Results 76 - 100 of 1146) sorted by relevance

1234567891011>>

/freebsd-10-stable/contrib/nvi/ex/
H A Dex_edit.c49 ex_edit(SCR *sp, EXCMD *cmdp) argument
65 frp = sp->frp;
66 if (sp->ep == NULL || F_ISSET(frp, FR_TMPFILE)) {
67 if ((frp = file_add(sp, NULL)) == NULL)
75 INT2CHAR(sp, cmdp->argv[0]->bp, cmdp->argv[0]->len + 1,
77 if ((frp = file_add(sp, np)) == NULL)
81 set_alt_name(sp, np);
88 return (ex_N_edit(sp, cmdp, frp, attach));
96 if (file_m2(sp, FL_ISSET(cmdp->iflags, E_C_FORCE)))
100 if (file_init(sp, fr
113 ex_N_edit(SCR *sp, EXCMD *cmdp, FREF *frp, int attach) argument
[all...]
H A Dex_delete.c34 ex_delete(SCR *sp, EXCMD *cmdp) argument
38 NEEDFILE(sp, cmdp);
46 if (cut(sp,
52 if (del(sp, &cmdp->addr1, &cmdp->addr2, 1))
56 sp->lno = cmdp->addr1.lno;
59 if (db_last(sp, &lno))
61 if (sp->lno > lno)
62 sp->lno = lno;
H A Dex_equal.c32 ex_equal(SCR *sp, EXCMD *cmdp) argument
36 NEEDFILE(sp, cmdp);
51 if (db_last(sp, &lno))
56 (void)ex_printf(sp, "%ld\n", lno);
H A Dex_init.c44 ex_screen_copy(SCR *orig, SCR *sp) argument
50 sp->ex_private = nexp;
62 (nexp->lastbcomm = v_wstrdup(sp, oexp->lastbcomm,
64 msgq(sp, M_SYSERR, NULL);
67 if (ex_tag_copy(orig, sp))
80 ex_screen_end(SCR *sp) argument
85 if ((exp = EXP(sp)) == NULL)
91 if (F_ISSET(sp, SC_SCRIPT) && sscr_end(sp))
94 if (argv_free(sp))
126 ex_optchange(SCR *sp, int offset, char *str, u_long *valp) argument
143 ex_exrc(SCR *sp) argument
268 ex_run_file(SCR *sp, char *name) argument
287 ex_run_str(SCR *sp, char *name, CHAR_T *str, size_t len, int ex_flags, int nocopy) argument
358 exrc_isok(SCR *sp, struct stat *sbp, char *path, int rootown, int rootid) argument
[all...]
H A Dex_mark.c35 ex_mark(SCR *sp, EXCMD *cmdp) argument
37 NEEDFILE(sp, cmdp);
40 msgq(sp, M_ERR, "136|Mark names must be a single character");
43 return (mark_set(sp, cmdp->argv[0]->bp[0], &cmdp->addr1, 1));
/freebsd-10-stable/contrib/nvi/vi/
H A Dvs_smap.c45 vs_change(SCR *sp, recno_t lno, lnop_t op) argument
51 vip = VIP(sp);
66 !db_exist(sp, 2)) {
92 for (p = HMAP, cnt = sp->t_rows; cnt--; ++p)
94 if (sp->lno >= lno)
95 --sp->lno;
99 for (p = HMAP, cnt = sp->t_rows; cnt--; ++p)
101 if (sp->lno >= lno)
102 ++sp->lno;
118 if (sp
177 vs_sm_fill(SCR *sp, recno_t lno, pos_t pos) argument
311 vs_sm_delete(SCR *sp, recno_t lno) argument
359 vs_sm_insert(SCR *sp, recno_t lno) argument
413 vs_sm_reset(SCR *sp, recno_t lno) argument
518 vs_sm_scroll(SCR *sp, MARK *rp, recno_t count, scroll_t scmd) argument
575 vs_sm_up(SCR *sp, MARK *rp, recno_t count, scroll_t scmd, SMAP *smp) argument
751 vs_sm_1up(SCR *sp) argument
780 vs_deleteln(SCR *sp, int cnt) argument
812 vs_sm_down(SCR *sp, MARK *rp, recno_t count, scroll_t scmd, SMAP *smp) argument
963 vs_sm_erase(SCR *sp) argument
984 vs_sm_1down(SCR *sp) argument
1013 vs_insertln(SCR *sp, int cnt) argument
1048 vs_sm_next(SCR *sp, SMAP *p, SMAP *t) argument
1076 vs_sm_prev(SCR *sp, SMAP *p, SMAP *t) argument
1101 vs_sm_cursor(SCR *sp, SMAP **smpp) argument
1140 vs_sm_position(SCR *sp, MARK *rp, u_long cnt, pos_t pos) argument
1220 vs_sm_nlines(SCR *sp, SMAP *from_sp, recno_t to_lno, size_t max) argument
[all...]
H A Dv_at.c36 v_at(SCR *sp, VICMD *vp) argument
59 if (!F_ISSET(sp, SC_AT_SET)) {
60 ex_emsg(sp, NULL, EXM_NOPREVBUF);
63 name = sp->at_lbuf;
65 F_SET(sp, SC_AT_SET);
67 CBNAME(sp, cbp, name);
69 ex_emsg(sp, KEY_NAME(sp, name), EXM_EMPTYBUF);
74 sp->at_lbuf = name;
95 v_event_push(sp, NUL
[all...]
H A Dvs_split.c33 static void vs_insert __P((SCR *sp, GS *gp));
44 SCR *sp,
53 gp = sp->gp;
57 if (sp->rows < 4) {
58 msgq(sp, M_ERR,
64 vs_resolve(sp, NULL, 1);
67 CALLOC(sp, _HMAP(new), SMAP *, SIZE_HMAP(sp), sizeof(SMAP));
70 _HMAP(new)->lno = sp->lno;
75 half = sp
43 vs_split( SCR *sp, SCR *new, int ccl) argument
208 vs_vsplit(SCR *sp, SCR *new) argument
298 vs_insert(SCR *sp, GS *gp) argument
337 vs_discard(SCR *sp, SCR **spp) argument
454 vs_join(SCR *sp, SCR **listp, jdir_t *jdirp) argument
614 vs_fg(SCR *sp, SCR **nspp, CHAR_T *name, int newscreen) argument
667 vs_bg(SCR *sp) argument
705 vs_swap(SCR *sp, SCR **nspp, char *name) argument
800 vs_resize(SCR *sp, long int count, adj_t adj) argument
917 vs_getbg(SCR *sp, char *name) argument
[all...]
H A Dv_itxt.c56 if (!MAPPED_KEYS_WAITING(sp)) \
57 (void)log_cursor(sp); \
69 v_iA(SCR *sp, VICMD *vp) argument
73 if (!db_get(sp, vp->m_start.lno, 0, NULL, &len))
74 sp->cno = len == 0 ? 0 : len - 1;
78 return (v_ia(sp, vp));
89 v_ia(SCR *sp, VICMD *vp) argument
96 flags = set_txt_std(sp, vp, 0);
97 sp->showmode = SM_APPEND;
98 sp
126 v_iI(SCR *sp, VICMD *vp) argument
145 v_ii(SCR *sp, VICMD *vp) argument
178 v_iO(SCR *sp, VICMD *vp) argument
190 v_io(SCR *sp, VICMD *vp) argument
196 io(SCR *sp, VICMD *vp, enum which cmd) argument
246 v_change(SCR *sp, VICMD *vp) argument
386 v_Replace(SCR *sp, VICMD *vp) argument
420 v_subst(SCR *sp, VICMD *vp) argument
460 set_txt_std(SCR *sp, VICMD *vp, u_int32_t flags) argument
[all...]
/freebsd-10-stable/contrib/binutils/libiberty/
H A Dsplay-tree.c52 splay_tree_delete_helper (splay_tree sp, splay_tree_node node) argument
60 #define KDEL(x) if (sp->delete_key) (*sp->delete_key)(x);
61 #define VDEL(x) if (sp->delete_value) (*sp->delete_value)(x);
102 (*sp->deallocate) ((char*) temp, sp->allocate_data);
138 splay_tree_splay (splay_tree sp, splay_tree_key key) argument
140 if (sp->root == 0)
147 n = sp
206 splay_tree_foreach_helper(splay_tree sp, splay_tree_node node, splay_tree_foreach_fn fn, void *data) argument
268 splay_tree sp = (splay_tree) (*allocate_fn) (sizeof (struct splay_tree_s), local
284 splay_tree_delete(splay_tree sp) argument
295 splay_tree_insert(splay_tree sp, splay_tree_key key, splay_tree_value value) argument
347 splay_tree_remove(splay_tree sp, splay_tree_key key) argument
387 splay_tree_lookup(splay_tree sp, splay_tree_key key) argument
400 splay_tree_max(splay_tree sp) argument
416 splay_tree_min(splay_tree sp) argument
433 splay_tree_predecessor(splay_tree sp, splay_tree_key key) argument
464 splay_tree_successor(splay_tree sp, splay_tree_key key) argument
497 splay_tree_foreach(splay_tree sp, splay_tree_foreach_fn fn, void *data) argument
[all...]
/freebsd-10-stable/contrib/gcclibs/libiberty/
H A Dsplay-tree.c52 splay_tree_delete_helper (splay_tree sp, splay_tree_node node) argument
60 #define KDEL(x) if (sp->delete_key) (*sp->delete_key)(x);
61 #define VDEL(x) if (sp->delete_value) (*sp->delete_value)(x);
102 (*sp->deallocate) ((char*) temp, sp->allocate_data);
138 splay_tree_splay (splay_tree sp, splay_tree_key key) argument
140 if (sp->root == 0)
147 n = sp
206 splay_tree_foreach_helper(splay_tree sp, splay_tree_node node, splay_tree_foreach_fn fn, void *data) argument
268 splay_tree sp = (splay_tree) (*allocate_fn) (sizeof (struct splay_tree_s), local
284 splay_tree_delete(splay_tree sp) argument
295 splay_tree_insert(splay_tree sp, splay_tree_key key, splay_tree_value value) argument
347 splay_tree_remove(splay_tree sp, splay_tree_key key) argument
387 splay_tree_lookup(splay_tree sp, splay_tree_key key) argument
400 splay_tree_max(splay_tree sp) argument
416 splay_tree_min(splay_tree sp) argument
433 splay_tree_predecessor(splay_tree sp, splay_tree_key key) argument
464 splay_tree_successor(splay_tree sp, splay_tree_key key) argument
497 splay_tree_foreach(splay_tree sp, splay_tree_foreach_fn fn, void *data) argument
[all...]
/freebsd-10-stable/sys/dev/iscsi_initiator/
H A Disc_cam.c63 isc_session_t *sp = cam_sim_softc(sim); local
66 debug(3, "sid=%d target=%d lun=%d", sp->sid, ccb->ccb_h.target_id, ccb->ccb_h.target_lun);
75 cpi->max_lun = sp->opt.maxluns - 1;
97 isc_session_t *sp = cam_sim_softc(sim); local
99 mtx_unlock(&sp->cam_mtx);
101 mtx_lock(&sp->cam_mtx);
107 ic_lost_target(isc_session_t *sp, int target) argument
112 if(sp->cam_path != NULL) {
113 mtx_lock(&sp->cam_mtx);
114 xpt_async(AC_LOST_DEVICE, sp
124 isc_session_t *sp = (isc_session_t *)ccb->ccb_h.spriv_ptr0; local
137 ic_scan(isc_session_t *sp) argument
170 isc_session_t *sp = cam_sim_softc(sim); local
276 ic_getCamVals(isc_session_t *sp, iscsi_cam_t *cp) argument
313 ic_init(isc_session_t *sp) argument
[all...]
H A Disc_sm.c69 _async(isc_session_t *sp, pduq_t *pq) argument
73 iscsi_async(sp, pq);
75 pdu_free(sp->isc, pq);
79 _reject(isc_session_t *sp, pduq_t *pq) argument
91 opq = i_search_hld(sp, itt, 0);
93 iscsi_reject(sp, opq, pq);
101 sp->sid, ntohl(pq->pdu.ipdu.bhs.itt));
104 pdu_free(sp->isc, pq);
108 _r2t(isc_session_t *sp, pduq_t *pq) argument
113 opq = i_search_hld(sp, p
128 _scsi_rsp(isc_session_t *sp, pduq_t *pq) argument
146 _read_data(isc_session_t *sp, pduq_t *pq) argument
168 _nop_out(isc_session_t *sp) argument
197 _nop_in(isc_session_t *sp, pduq_t *pq) argument
262 i_prepPDU(isc_session_t *sp, pduq_t *pq) argument
305 isc_qout(isc_session_t *sp, pduq_t *pq) argument
336 ism_restart(isc_session_t *sp) argument
358 ism_recv(isc_session_t *sp, pduq_t *pq) argument
424 proc_out(isc_session_t *sp) argument
530 isc_session_t *sp = (isc_session_t *)vp; local
604 isc_session_t *sp; local
652 isc_add_sysctls(isc_session_t *sp) argument
698 ism_stop(isc_session_t *sp) argument
756 ism_start(isc_session_t *sp) argument
[all...]
/freebsd-10-stable/contrib/byacc/
H A Dgraph.c15 shifts *sp; local
32 sp = shift_table[i];
33 if (sp)
34 for (j = 0; j < sp->nshifts; ++j)
36 sn = sp->shift[j];
56 Value_t *sp; local
64 sp1 = sp = ritem + *isp;
66 while (*sp >= 0)
67 ++sp;
68 rule = -(*sp);
[all...]
/freebsd-10-stable/crypto/heimdal/lib/kadm5/
H A Dcreate_c.c46 krb5_storage *sp; local
55 sp = krb5_storage_from_mem(buf, sizeof(buf));
56 if (sp == NULL) {
60 krb5_store_int32(sp, kadm_create);
61 kadm5_store_principal_ent(sp, princ);
62 krb5_store_int32(sp, mask);
63 krb5_store_string(sp, password);
64 ret = _kadm5_client_send(context, sp);
65 krb5_storage_free(sp);
71 sp
[all...]
H A Dget_c.c46 krb5_storage *sp; local
55 sp = krb5_storage_from_mem(buf, sizeof(buf));
56 if (sp == NULL) {
60 krb5_store_int32(sp, kadm_get);
61 krb5_store_principal(sp, princ);
62 krb5_store_int32(sp, mask);
63 ret = _kadm5_client_send(context, sp);
64 krb5_storage_free(sp);
70 sp = krb5_storage_from_data (&reply);
71 if (sp
[all...]
H A Drandkey_c.c46 krb5_storage *sp; local
55 sp = krb5_storage_from_mem(buf, sizeof(buf));
56 if (sp == NULL) {
60 krb5_store_int32(sp, kadm_randkey);
61 krb5_store_principal(sp, princ);
62 ret = _kadm5_client_send(context, sp);
63 krb5_storage_free(sp);
69 sp = krb5_storage_from_data(&reply);
70 if (sp == NULL) {
76 krb5_ret_int32(sp,
[all...]
/freebsd-10-stable/contrib/nvi/common/
H A Dmem.h22 #define BINC_GOTO(sp, type, lp, llen, nlen) { \
26 if ((L__bincp = binc(sp, lp, &(llen), nlen)) == NULL) \
35 #define BINC_GOTOC(sp, lp, llen, nlen) \
36 BINC_GOTO(sp, char, lp, llen, nlen)
37 #define BINC_GOTOW(sp, lp, llen, nlen) \
38 BINC_GOTO(sp, CHAR_T, lp, llen, (nlen) * sizeof(CHAR_T))
39 #define BINC_RET(sp, type, lp, llen, nlen) { \
43 if ((L__bincp = binc(sp, lp, &(llen), nlen)) == NULL) \
52 #define BINC_RETC(sp, lp, llen, nlen) \
53 BINC_RET(sp, cha
[all...]
/freebsd-10-stable/crypto/heimdal/lib/hdb/
H A Dprint.c61 append_string(krb5_context context, krb5_storage *sp, const char *fmt, ...) argument
73 ret = krb5_storage_write(sp, s, strlen(s));
79 append_hex(krb5_context context, krb5_storage *sp, krb5_data *data) argument
92 return append_string(context, sp, "\"%.*s\"",
95 append_string(context, sp, "%s", p);
109 append_event(krb5_context context, krb5_storage *sp, Event *ev) argument
114 return append_string(context, sp, "- ");
120 ret = append_string(context, sp, "%s:%s ",
127 entry2string_int (krb5_context context, krb5_storage *sp, hdb_entry *ent) argument
137 append_string(context, sp, "
246 krb5_storage *sp; local
273 krb5_storage *sp; local
[all...]
/freebsd-10-stable/contrib/tcpdump/
H A Dprint-telnet.c108 /* sp points to IAC byte */
110 telnet_parse(const u_char *sp, u_int length, int print) argument
115 #define FETCH(c, sp, length) \
119 TCHECK(*sp); \
120 c = *sp++; \
124 osp = sp;
126 FETCH(c, sp, length);
129 FETCH(c, sp, length);
147 FETCH(x, sp, length);
158 p = sp;
228 telnet_print(const u_char *sp, u_int length) argument
[all...]
/freebsd-10-stable/lib/libc/gdtoa/
H A Dmachdep_ldisQ.c46 strtold_l(const char * __restrict s, char ** __restrict sp, locale_t locale) argument
50 strtorQ_l(s, sp, FLT_ROUNDS, &result, locale);
H A Dmachdep_ldisd.c45 strtold_l(const char * __restrict s, char ** __restrict sp, locale_t locale) argument
48 return strtod_l(s, sp, locale);
/freebsd-10-stable/contrib/gdtoa/
H A Dstrtopd.c36 strtopd(s, sp, d) char *s; char **sp; double *d;
38 strtopd(CONST char *s, char **sp, double *d)
51 k = strtodg(s, sp, fpi, &exp, bits);
/freebsd-10-stable/contrib/netbsd-tests/lib/csu/arch/arm/
H A Dh_initfini_align.S13 tst sp, #7
15 tst sp, #3
/freebsd-10-stable/contrib/netbsd-tests/lib/csu/arch/mips/
H A Dh_initfini_align.S13 andi v1,sp,3
15 andi v1,sp,7

Completed in 219 milliseconds

1234567891011>>