Searched refs:sp (Results 101 - 125 of 1146) sorted by relevance

1234567891011>>

/freebsd-10-stable/contrib/nvi/ex/
H A Dex_quit.c33 ex_quit(SCR *sp, EXCMD *cmdp) argument
40 if (file_m2(sp, force) || ex_ncheck(sp, force))
43 F_SET(sp, force ? SC_EXIT_FORCE : SC_EXIT);
H A Dex_shift.c38 ex_shiftl(SCR *sp, EXCMD *cmdp) argument
40 return (shift(sp, cmdp, LEFT));
49 ex_shiftr(SCR *sp, EXCMD *cmdp) argument
51 return (shift(sp, cmdp, RIGHT));
59 shift(SCR *sp, EXCMD *cmdp, enum which rl) argument
67 NEEDFILE(sp, cmdp);
69 if (O_VAL(sp, O_SHIFTWIDTH) == 0) {
70 msgq(sp, M_INFO, "152|shiftwidth option set to 0");
75 if (cut(sp, NULL, &cmdp->addr1, &cmdp->addr2, CUT_LINEMODE))
89 sw += O_VAL(sp, O_SHIFTWIDT
[all...]
H A Dex_write.c43 ex_wn(SCR *sp, EXCMD *cmdp) argument
45 if (exwr(sp, cmdp, WN))
47 if (file_m3(sp, 0))
53 return (ex_next(sp, cmdp));
63 ex_wq(SCR *sp, EXCMD *cmdp) argument
67 if (exwr(sp, cmdp, WQ))
69 if (file_m3(sp, 0))
74 if (ex_ncheck(sp, force))
77 F_SET(sp, force ? SC_EXIT_FORCE : SC_EXIT);
89 ex_write(SCR *sp, EXCM argument
102 ex_xit(SCR *sp, EXCMD *cmdp) argument
127 exwr(SCR *sp, EXCMD *cmdp, enum which cmd) argument
286 ex_writefp(SCR *sp, char *name, FILE *fp, MARK *fm, MARK *tm, u_long *nlno, u_long *nch, int silent) argument
[all...]
H A Dex_stop.c37 ex_stop(SCR *sp, EXCMD *cmdp) argument
42 if (!FL_ISSET(cmdp->iflags, E_C_FORCE) && file_aw(sp, FS_ALL))
45 if (sp->gp->scr_suspend(sp, &allowed))
48 ex_emsg(sp, NULL, EXM_NOSUSPEND);
H A Dex_tag.c59 ex_tag_first(SCR *sp, CHAR_T *tagarg) argument
64 ex_cinit(sp, &cmd, C_TAG, 0, OOBLNO, OOBLNO, 0);
65 argv_exp0(sp, &cmd, tagarg, STRLEN(tagarg));
73 if (ex_tag_push(sp, &cmd))
77 F_CLR(sp, SC_SCR_TOP);
78 F_SET(sp, SC_SCR_CENTER);
92 ex_tag_push(SCR *sp, EXCMD *cmdp) argument
98 exp = EXP(sp);
104 if ((exp->tag_last = v_wstrdup(sp, cmdp->argv[0]->bp,
106 msgq(sp, M_SYSER
143 ex_tag_next(SCR *sp, EXCMD *cmdp) argument
183 ex_tag_prev(SCR *sp, EXCMD *cmdp) argument
223 ex_tag_nswitch(SCR *sp, TAG *tp, int force) argument
257 ex_tag_Nswitch(SCR *sp, TAG *tp, int force) argument
311 ex_tag_pop(SCR *sp, EXCMD *cmdp) argument
390 ex_tag_top(SCR *sp, EXCMD *cmdp) argument
412 tag_pop(SCR *sp, TAGQ *dtqp, int force) argument
465 ex_tag_display(SCR *sp) argument
542 ex_tag_copy(SCR *orig, SCR *sp) argument
589 tagf_copy(SCR *sp, TAGF *otfp, TAGF **tfpp) argument
609 tagq_copy(SCR *sp, TAGQ *otqp, TAGQ **tqpp) argument
634 tag_copy(SCR *sp, TAG *otp, TAG **tpp) argument
665 tagf_free(SCR *sp, TAGF *tfp) argument
683 tagq_free(SCR *sp, TAGQ *tqp) argument
708 tagq_push(SCR *sp, TAGQ *tqp, int new_screen, int force) argument
820 tag_msg(SCR *sp, tagmsg_t msg, char *tag) argument
845 ex_tagf_alloc(SCR *sp, char *str) argument
887 ex_tag_free(SCR *sp) argument
909 ctag_search(SCR *sp, CHAR_T *search, size_t slen, char *tag) argument
973 ctag_slist(SCR *sp, CHAR_T *tag) argument
1030 ctag_sfile(SCR *sp, TAGF *tfp, TAGQ *tqp, char *tname) argument
1168 ctag_file(SCR *sp, TAGF *tfp, char *name, char **dirp, size_t *dlenp) argument
[all...]
H A Dex_file.c36 ex_file(SCR *sp, EXCMD *cmdp) argument
43 NEEDFILE(sp, cmdp);
49 frp = sp->frp;
52 INT2CHAR(sp, cmdp->argv[0]->bp, cmdp->argv[0]->len + 1,
54 if ((p = v_strdup(sp, np, nlen - 1)) == NULL)
59 set_alt_name(sp, frp->name);
75 (void)sp->gp->scr_rename(sp, sp->frp->name, 1);
80 msgq_status(sp, s
[all...]
H A Dex_move.c35 ex_copy(SCR *sp, EXCMD *cmdp) argument
44 NEEDFILE(sp, cmdp);
55 if (cut_line(sp, cnt, 0, ENTIRE_LINE, &cb)) {
64 if (put(sp, &cb, NULL, &tm, &m, 1))
73 sp->lno = m.lno + (cnt - 1);
74 sp->cno = 0;
87 ex_move(SCR *sp, EXCMD *cmdp) argument
97 NEEDFILE(sp, cmdp);
106 msgq(sp, M_ERR, "139|Destination line is inside move range");
126 SLIST_FOREACH(lmp, sp
[all...]
H A Dex_put.c35 ex_put(SCR *sp, EXCMD *cmdp) argument
39 NEEDFILE(sp, cmdp);
41 m.lno = sp->lno;
42 m.cno = sp->cno;
43 if (put(sp, NULL,
47 sp->lno = m.lno;
48 sp->cno = m.cno;
H A Dex_map.c46 ex_map(SCR *sp, EXCMD *cmdp) argument
55 if (seq_dump(sp, stype, 1) == 0)
56 msgq(sp, M_INFO, stype == SEQ_INPUT ?
78 if (seq_set(sp, NULL, 0, input, cmdp->argv[0]->len,
82 return (sp->gp->scr_fmap == NULL ? 0 :
83 sp->gp->scr_fmap(sp, stype, input, cmdp->argv[0]->len,
89 switch (KEY_VAL(sp, input[0])) {
93 msgq(sp, M_ERR,
95 KEY_NAME(sp, inpu
109 ex_unmap(SCR *sp, EXCMD *cmdp) argument
[all...]
/freebsd-10-stable/contrib/nvi/vi/
H A Dvs_line.c41 vs_line(SCR *sp, SMAP *smp, size_t *yp, size_t *xp) argument
56 TRACE(sp, "vs_line: row %u: line: %u off: %u\n",
64 if (!F_ISSET(sp, SC_TINPUT_INFO) && VIP(sp)->totalcount > 1)
66 if (F_ISSET(sp, SC_SCR_EXWROTE) && smp - HMAP != LASTLINE(sp))
89 gp = sp->gp;
90 (void)gp->scr_cursor(sp, &oldy, &oldx);
91 (void)gp->scr_move(sp, smp - HMAP, 0);
94 dne = db_get(sp, sm
488 vs_number(SCR *sp) argument
[all...]
H A Dv_redraw.c34 v_redraw(SCR *sp, VICMD *vp) argument
36 return (sp->gp->scr_refresh(sp, 1));
H A Dv_scroll.c70 v_lgoto(SCR *sp, VICMD *vp) argument
75 if (!db_exist(sp, vp->count)) {
81 if (db_last(sp, &nlines))
86 v_eof(sp, &vp->m_start);
91 if (db_last(sp, &nlines))
107 v_home(SCR *sp, VICMD *vp) argument
109 if (vs_sm_position(sp, &vp->m_stop,
124 v_middle(SCR *sp, VICMD *vp) argument
131 if (vs_sm_position(sp, &vp->m_stop, 0, P_MIDDLE))
145 v_bottom(SCR *sp, VICM argument
208 v_up(SCR *sp, VICMD *vp) argument
230 v_cr(SCR *sp, VICMD *vp) argument
251 v_down(SCR *sp, VICMD *vp) argument
272 v_hpageup(SCR *sp, VICMD *vp) argument
296 v_hpagedown(SCR *sp, VICMD *vp) argument
324 v_pagedown(SCR *sp, VICMD *vp) argument
370 v_pageup(SCR *sp, VICMD *vp) argument
416 v_lineup(SCR *sp, VICMD *vp) argument
436 v_linedown(SCR *sp, VICMD *vp) argument
[all...]
H A Dvi.c54 #define DOT (&VIP(sp)->sdot)
55 #define DOTMOTION (&VIP(sp)->sdotmotion)
68 SCR *next, *sp; local
74 sp = *spp;
75 gp = sp->gp;
84 if (v_init(sp))
88 (void)sp->gp->scr_rename(sp, sp->frp->name, 1);
90 for (vip = VIP(sp), rva
451 v_cmd( SCR *sp, VICMD *dp, VICMD *vp, VICMD *ismotion, int *comcountp, int *mappedp) argument
717 v_motion( SCR *sp, VICMD *dm, VICMD *vp, int *mappedp) argument
931 v_init(SCR *sp) argument
1001 v_dtoh(SCR *sp) argument
1037 v_curword(SCR *sp) argument
1095 v_alias( SCR *sp, VICMD *vp, VIKEYS const *kp) argument
1131 v_count( SCR *sp, ARG_CHAR_T fkey, u_long *countp) argument
1171 v_key( SCR *sp, int command_events, EVENT *evp, u_int32_t ec_flags) argument
1234 v_comlog( SCR *sp, VICMD *vp) argument
[all...]
/freebsd-10-stable/lib/libc/mips/sys/
H A Dcerror.S51 PTR_SUBU sp, sp, CALLFRAME_SIZ
55 PTR_S ra, CALLFRAME_RA(sp)
56 REG_S v0, CALLFRAME_S0(sp) # save errno value
61 REG_L t0, CALLFRAME_S0(sp)
62 PTR_L ra, CALLFRAME_RA(sp)
66 PTR_ADDU sp, sp, CALLFRAME_SIZ
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/sparc/ustack/
H A Dtst.circstack.s35 save %sp, -SA(MINFRAME), %sp
36 mov %sp, %fp
/freebsd-10-stable/crypto/heimdal/lib/krb5/
H A Dget_port.c42 struct servent *sp; local
44 if ((sp = roken_getservbyname (service, proto)) == NULL) {
51 return sp->s_port;
/freebsd-10-stable/lib/libc/arm/gen/
H A Dalloca.S43 sub sp, sp, r0 /* Adjust the stack pointer */
44 mov r0, sp /* r0 = base of new space */
/freebsd-10-stable/contrib/nvi/common/
H A Dexf.c63 SCR *sp,
78 gp = sp->gp;
93 CALLOC(sp, frp, FREF *, 1, sizeof(FREF));
105 msgq(sp, M_SYSERR, NULL);
125 SCR *sp,
148 return (rcv_read(sp, frp));
163 CALLOC_RET(sp, ep, EXF *, 1, sizeof(EXF));
172 if (file_spath(sp, frp, &sb, &exists))
185 if (opts_empty(sp, O_TMPDIR, 0))
188 join(O_STR(sp, O_TMPDI
62 file_add( SCR *sp, char *name) argument
124 file_init( SCR *sp, FREF *frp, char *rcv_name, int flags) argument
447 file_spath( SCR *sp, FREF *frp, struct stat *sbp, int *existsp) argument
520 file_cinit(SCR *sp) argument
631 file_end( SCR *sp, EXF *ep, int force) argument
743 file_write( SCR *sp, MARK *fm, MARK *tm, char *name, int flags) argument
1018 file_backup( SCR *sp, char *name, char *bname) argument
1215 file_encinit(SCR *sp) argument
1261 file_comment(SCR *sp) argument
1308 file_m1( SCR *sp, int force, int flags) argument
1349 file_m2( SCR *sp, int force) argument
1381 file_m3( SCR *sp, int force) argument
1417 file_aw( SCR *sp, int flags) argument
1478 set_alt_name( SCR *sp, char *name) argument
1497 file_lock( SCR *sp, char *name, int fd, int iswrite) argument
[all...]
H A Dput.c37 SCR *sp,
54 cbp = sp->gp->dcbp;
56 msgq(sp, M_ERR,
62 CBNAME(sp, cbp, name);
64 msgq(sp, M_ERR, "054|Buffer %s is empty",
65 KEY_NAME(sp, name));
87 if (db_last(sp, &lno))
91 ++lno, ++sp->rptlines[L_ADDED], tp = TAILQ_NEXT(tp, q))
92 if (db_append(sp, 1, lno, tp->lb, tp->len))
105 ++lno, ++sp
36 put( SCR *sp, CB *cbp, CHAR_T *namep, MARK *cp, MARK *rp, int append) argument
[all...]
H A Dkey.h15 #define FILE2INT5(sp,buf,n,nlen,w,wlen) \
16 sp->conv.file2int(sp, n, nlen, &buf, &wlen, &w)
17 #define INT2FILE(sp,w,wlen,n,nlen) \
18 sp->conv.int2file(sp, w, wlen, &sp->cw, &nlen, &n)
19 #define CHAR2INT5(sp,buf,n,nlen,w,wlen) \
20 sp->conv.sys2int(sp,
[all...]
/freebsd-10-stable/sys/arm/arm/
H A Dexception.S75 sub sp, sp, #4; /* Align the stack */ \
76 str lr, [sp, #-4]!; /* Push the return address */ \
77 sub sp, sp, #(4*17); /* Adjust the stack pointer */ \
78 stmia sp, {r0-r12}; /* Push the user mode registers */ \
79 add r0, sp, #(4*13); /* Adjust the stack pointer */ \
83 str r0, [sp, #-4]!; \
91 sub sp, sp, #
[all...]
/freebsd-10-stable/contrib/top/
H A Dgetopt.c50 static int sp = 1; local
54 if(sp == 1)
62 optopt = c = argv[optind][sp];
65 if(argv[optind][++sp] == '\0') {
67 sp = 1;
72 if(argv[optind][sp+1] != '\0')
73 optarg = &argv[optind++][sp+1];
76 sp = 1;
80 sp = 1;
82 if(argv[optind][++sp]
[all...]
/freebsd-10-stable/contrib/ncurses/ncurses/base/
H A Dlib_ungetch.c50 _nc_fifo_dump(SCREEN *sp) argument
55 T(("char %d = %s", i, _nc_tracechar(sp, sp->_fifo[i])));
60 _nc_ungetch(SCREEN *sp, int ch) argument
72 sp->_fifo[head] = ch;
73 T(("ungetch %s ok", _nc_tracechar(sp, ch)));
76 _nc_fifo_dump(sp);
/freebsd-10-stable/sys/amd64/amd64/
H A Dbios.c70 u_char *sp, *end; local
74 sp = (char *)BIOS_PADDRTOVADDR(start);
76 sp = (char *)BIOS_PADDRTOVADDR(BIOS_START);
85 while ((sp + sigofs + siglen) < end) {
88 if (!bcmp(sp + sigofs, sig, siglen)) {
90 return((u_int32_t)(uintptr_t)BIOS_VADDRTOPADDR(sp));
92 sp += paralen;
/freebsd-10-stable/contrib/groff/src/roff/grog/
H A Dgrog.pl9 $sp = "[\\s\\n]";
15 $sp = "" if $arg eq "-C";
37 if (/^\.TS$sp/) {
44 elsif (/^\.EQ$sp/) {
51 elsif (/^\.GS$sp/) {
58 elsif (/^\.G1$sp/) {
66 elsif (/^\.PS$sp([ 0-9.<].*)?$/) {
80 elsif (/^\.R1$sp/) {
92 elsif (/^\.[PLI]P$sp/) {
98 elsif (/^\.(PH|SA)$sp/) {
[all...]

Completed in 105 milliseconds

1234567891011>>