Home
last modified time | relevance | path

Searched refs:shp (Results 51 – 75 of 1911) sorted by relevance

12345678910>>...77

/dports/shells/ast-ksh/ast-ksh93v/src/cmd/ksh93/bltins/
H A Dcd_pwd.c76 register Shell_t *shp = context->shp; in b_cd() local
81 int dirfd = shp->pwdfd; in b_cd()
113 shp->pwd = path_pwd(shp,0); in b_cd()
133 if(!shp->strbuf2) in b_cd()
152 cdpath->shp = shp; in b_cd()
169 if(!shp->strbuf2) in b_cd()
218 if(shp->pwdfd >= 0) in b_cd()
238 rval = newdirfd = sh_diropenat(shp, shp->pwdfd, dir); in b_cd()
305 path_newdir(shp,shp->pathlist); in b_cd()
306 path_newdir(shp,shp->cdpathlist); in b_cd()
[all …]
/dports/shells/ksh93/ast-93u/src/cmd/ksh93/sh/
H A Dtrestore.c51 t = r_tree(shp); in sh_trestore()
126 t->sw.swarg = r_arg(shp); in r_tree()
147 shp->st.staklist = 0; in r_tree()
151 if(shp->st.filename) in r_tree()
152 fp->functnam = stkcopy(shp->stk,shp->st.filename); in r_tree()
181 Stk_t *stkp=shp->stk; in r_arg()
201 sh_endword(shp,1); in r_arg()
204 ap = sh_endword(shp,0); in r_arg()
248 if(shp->heredocs) in r_redirect()
273 com->comset = r_arg(shp); in r_comarg()
[all …]
H A Dio.c428 shp->fdptrs = (int**)(&shp->sftable[n]); in sh_iovalidfd()
431 shp->fdstatus = (unsigned char*)(&shp->fdptrs[n]); in sh_iovalidfd()
610 if(shp->fdptrs[fd]=shp->fdptrs[f2]) in io_preserve()
618 shp->fdstatus[fd] = shp->fdstatus[f2]; in io_preserve()
1497 io_preserve(shp,shp->sftable[fn],fn); in sh_redirect()
1517 shp->fdstatus[fn] = shp->fdstatus[fd]; in sh_redirect()
1709 shp->fdstatus[savefd] = shp->fdstatus[origfd]; in sh_iosave()
1795 shp->sftable[origfd] = shp->sftable[savefd]; in sh_iorestore()
1881 else if(shp->bltinfun && (shp->trapnote&SH_SIGTRAP) && shp->lastsig) in slowexcept()
1888 if(shp->bltinfun && shp->bltindata.sigset) in slowexcept()
[all …]
/dports/shells/ksh93-devel/ast-cc1bca27/src/cmd/ksh93/sh/
H A Dtrestore.c51 t = r_tree(shp); in sh_trestore()
126 t->sw.swarg = r_arg(shp); in r_tree()
147 shp->st.staklist = 0; in r_tree()
151 if(shp->st.filename) in r_tree()
152 fp->functnam = stkcopy(shp->stk,shp->st.filename); in r_tree()
181 Stk_t *stkp=shp->stk; in r_arg()
201 sh_endword(shp,1); in r_arg()
204 ap = sh_endword(shp,0); in r_arg()
248 if(shp->heredocs) in r_redirect()
273 com->comset = r_arg(shp); in r_comarg()
[all …]
H A Dio.c428 shp->fdptrs = (int**)(&shp->sftable[n]); in sh_iovalidfd()
431 shp->fdstatus = (unsigned char*)(&shp->fdptrs[n]); in sh_iovalidfd()
610 if(shp->fdptrs[fd]=shp->fdptrs[f2]) in io_preserve()
618 shp->fdstatus[fd] = shp->fdstatus[f2]; in io_preserve()
1497 io_preserve(shp,shp->sftable[fn],fn); in sh_redirect()
1517 shp->fdstatus[fn] = shp->fdstatus[fd]; in sh_redirect()
1709 shp->fdstatus[savefd] = shp->fdstatus[origfd]; in sh_iosave()
1795 shp->sftable[origfd] = shp->sftable[savefd]; in sh_iorestore()
1881 else if(shp->bltinfun && (shp->trapnote&SH_SIGTRAP) && shp->lastsig) in slowexcept()
1888 if(shp->bltinfun && shp->bltindata.sigset) in slowexcept()
[all …]
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/ksh93/sh/
H A Dtrestore.c51 t = r_tree(shp); in sh_trestore()
126 t->sw.swarg = r_arg(shp); in r_tree()
147 shp->st.staklist = 0; in r_tree()
151 if(shp->st.filename) in r_tree()
152 fp->functnam = stkcopy(shp->stk,shp->st.filename); in r_tree()
181 Stk_t *stkp=shp->stk; in r_arg()
201 sh_endword(shp,1); in r_arg()
204 ap = sh_endword(shp,0); in r_arg()
248 if(shp->heredocs) in r_redirect()
273 com->comset = r_arg(shp); in r_comarg()
[all …]
H A Dbash.c155 Shell_t *shp = np->nvshell; in put_globignore() local
157 sh_onoption(shp,SH_DOTGLOB); in put_globignore()
193 Shell_t *shp = extra->shp; in b_shopt() local
290 sh_applyopts(shp,newflags); in b_shopt()
291 shp->options = newflags; in b_shopt()
293 sh_trace(shp,argv,1); in b_shopt()
322 if(sh_isoption(shp,SH_LOGIN_SHELL) && !sh_isoption(shp,SH_POSIX)) in bash_init()
323 sh_source(shp, NiL, sh_mactry(shp,(char*)e_bash_logout)); in bash_init()
338 if(shp->login_sh==2) in bash_init()
341 sh_onoption(shp,SH_POSIX); in bash_init()
[all …]
H A Dinit.c368 pp->shp = shp; in put_restricted()
392 pp->shp = shp; in put_cdpath()
1519 shp->bltindata.shp = shp; in sh_init()
1708 if(shp->gd->userid!=shp->gd->euserid || shp->gd->groupid!=shp->gd->egroupid) in sh_init()
1744 shp->st.self = &shp->global; in sh_init()
1750 shp->bltindata.shp = shp; in sh_init()
1824 shp->last_root = shp->var_tree; in sh_reinit_20120720()
1827 (*shp->userinit)(shp, 1); in sh_reinit_20120720()
1885 shp->inpipe = shp->outpipe = 0; in sh_reinit_20120720()
2172 shp->nvfun.last = (char*)shp; in nv_init()
[all …]
H A Dargs.c123 Shell_t *shp = sp->shp; in arraysort() local
471 sp->shp = shp; in sh_argopts()
619 shp->gd->euserid = shp->gd->userid; in sh_applyopts()
620 shp->gd->egroupid = shp->gd->groupid; in sh_applyopts()
623 else if((shp->gd->userid!=shp->gd->euserid && setuid(shp->gd->euserid)<0) || in sh_applyopts()
624 (shp->gd->groupid!=shp->gd->egroupid && setgid(shp->gd->egroupid)<0) || in sh_applyopts()
625 (shp->gd->userid==shp->gd->euserid && shp->gd->groupid==shp->gd->egroupid)) in sh_applyopts()
1027 sfputr(shp->stk,shp->fifo,0); in sh_argprocsub()
1030 shp->inpipe = shp->outpipe = 0; in sh_argprocsub()
1043 pid0=shp->procsub?*shp->procsub:0; in sh_argprocsub()
[all …]
H A Dexpand.c82 pp = path_get(shp,""); in nextdir()
111 if(sh_isoption(shp,SH_BASH) && !sh_isoption(shp,SH_EXTGLOB)) in path_expand()
122 extra += scantree(shp,shp->alias_tree,pattern,arghead); in path_expand()
123 extra += scantree(shp,shp->fun_tree,pattern,arghead); in path_expand()
170 sfputc(shp->stk,'*'); in path_expand()
179 sfputc(shp->stk,')'); in path_expand()
182 else if(!sh_isstate(shp,SH_FCOMPLETE) && sh_isoption(shp,SH_DOTGLOB)) in path_expand()
197 stkset(shp->stk,sp,off); in path_expand()
199 stkseek(shp->stk,0); in path_expand()
201 sh_sigcheck(shp); in path_expand()
[all …]
/dports/cad/feappv/feappv-4.1i/program/
H A Dshap2.f2 subroutine shap2(s,t,shp,ix,nel) argument
31 real*8 shp(3,nel) local
40 shp(j,i) = 0.0d0
48 shp(2,5) = -s2
53 shp(1,6) = t2
60 shp(2,7) = s2
65 shp(1,8) = -t2
72 shp(1,9) = -4.d0*s*t2
81 shp(j,i) = shp(j,i) - 0.25d0*shp(j,9)
84 if(ix(i).ne.0) shp(j,i) = shp(j,i) - 0.5d0*shp(j,9)
[all …]
/dports/shells/ksh93-devel/ast-cc1bca27/src/cmd/ksh93/bltins/
H A Dmisc.c105 shp = context->shp; in B_login()
119 if(shp->subshell && !shp->subshare) in B_login()
163 Shell_t *shp = context->shp; in b_let() local
185 register Shell_t *shp = context->shp; in b_eval() local
212 register Shell_t *shp = context->shp; in b_dot_cmd() local
265 shp->st.var_local = shp->st.save_tree = shp->var_tree; in b_dot_cmd()
312 *shp->st.self = shp->st; in b_dot_cmd()
347 register Shell_t *shp = context->shp; in b_shift() local
373 register Shell_t *shp = context->shp; in b_wait() local
399 register Shell_t *shp = context->shp; in b_bg() local
[all …]
H A Dtrap.c48 register Shell_t *shp = context->shp; in b_trap() local
85 else if(*action=='+' && action[1]==0 && shp->st.self == &shp->global) in b_trap()
105 char **trap = (shp->st.otrap?shp->st.otrap:shp->st.trap); in b_trap()
140 char **trapcom = (shp->st.otrapcom?shp->st.otrapcom:shp->st.trapcom); in b_trap()
163 sig_list(shp,-2); in b_trap()
171 register Shell_t *shp = context->shp; in b_kill() local
228 if((sig=sig_number(shp,signame)) < 0 || sig > shp->gd->sigmax) in b_kill()
232 shp->exitval = 1; in b_kill()
328 …if(sig>shp->gd->sigruntime[SH_SIGRTMIN]+(shp->gd->sigruntime[SH_SIGRTMAX]-shp->gd->sigruntime[SH_S… in sig_name()
400 trapcom = (shp->st.otrapcom?shp->st.otrapcom:shp->st.trapcom); in sig_list()
[all …]
/dports/shells/ksh93/ast-93u/src/cmd/ksh93/bltins/
H A Dmisc.c105 shp = context->shp; in B_login()
119 if(shp->subshell && !shp->subshare) in B_login()
163 Shell_t *shp = context->shp; in b_let() local
185 register Shell_t *shp = context->shp; in b_eval() local
212 register Shell_t *shp = context->shp; in b_dot_cmd() local
265 shp->st.var_local = shp->st.save_tree = shp->var_tree; in b_dot_cmd()
312 *shp->st.self = shp->st; in b_dot_cmd()
347 register Shell_t *shp = context->shp; in b_shift() local
373 register Shell_t *shp = context->shp; in b_wait() local
399 register Shell_t *shp = context->shp; in b_bg() local
[all …]
H A Dtrap.c48 register Shell_t *shp = context->shp; in b_trap() local
85 else if(*action=='+' && action[1]==0 && shp->st.self == &shp->global) in b_trap()
105 char **trap = (shp->st.otrap?shp->st.otrap:shp->st.trap); in b_trap()
140 char **trapcom = (shp->st.otrapcom?shp->st.otrapcom:shp->st.trapcom); in b_trap()
163 sig_list(shp,-2); in b_trap()
171 register Shell_t *shp = context->shp; in b_kill() local
228 if((sig=sig_number(shp,signame)) < 0 || sig > shp->gd->sigmax) in b_kill()
232 shp->exitval = 1; in b_kill()
328 …if(sig>shp->gd->sigruntime[SH_SIGRTMIN]+(shp->gd->sigruntime[SH_SIGRTMAX]-shp->gd->sigruntime[SH_S… in sig_name()
400 trapcom = (shp->st.otrapcom?shp->st.otrapcom:shp->st.trapcom); in sig_list()
[all …]
/dports/shells/ksh2020/ast-ksh2020/src/cmd/ksh93/sh/
H A Dtrestore.c54 t = r_tree(shp); in sh_trestore()
135 t->sw.swarg = r_arg(shp); in r_tree()
157 shp->st.staklist = NULL; in r_tree()
161 if (shp->st.filename) fp->functnam = stkcopy(shp->stk, shp->st.filename); in r_tree()
190 Stk_t *stkp = shp->stk; in r_arg()
240 if (shp->heredocs) { in r_redirect()
263 com->comio = r_redirect(shp); in r_comarg()
264 com->comset = r_arg(shp); in r_comarg()
267 com->comarg = r_arg(shp); in r_comarg()
320 reg->regptr = r_arg(shp); in r_switch()
[all …]
H A Dbash.c164 Shell_t *shp = np->nvshell; in put_globignore() local
199 Shell_t *shp = extra->shp; in b_shopt() local
289 shp->options = newflags; in b_shopt()
314 if (sh_isoption(shp, SH_LOGIN_SHELL) && !sh_isoption(shp, SH_POSIX)) { in bash_init()
315 sh_source(shp, NULL, sh_mactry(shp, (char *)e_bash_logout)); in bash_init()
321 if (sh_isoption(shp, SH_RESTRICTED)) sh_onoption(shp, SH_RESTRICTED2); in bash_init()
329 sh_onoption(shp, SH_POSIX); in bash_init()
330 if (shp->login_sh == 2) sh_onoption(shp, SH_LOGIN_SHELL); in bash_init()
408 sh_offoption(shp, SH_XTRACE); in bash_init()
410 sh_offoption(shp, SH_VERBOSE); in bash_init()
[all …]
H A Dinit.c281 if (pp) pp->shp = shp; in put_restricted()
298 if (pp) pp->shp = shp; in put_cdpath()
1129 shp->init_context = nv_init(shp); in sh_init()
1221 if (shp->gd->userid != shp->gd->euserid || shp->gd->groupid != shp->gd->egroupid) { in sh_init()
1247 shp->st.self = &shp->global; in sh_init()
1253 shp->bltindata.shp = shp; in sh_init()
1287 shp->last_root = shp->var_tree; in sh_reinit()
1289 if (shp->userinit) (*shp->userinit)(shp, 1); in sh_reinit()
1316 if (shp->arglist) sh_argreset(shp, shp->arglist, NULL); in sh_reinit()
1567 shp->nvfun.last = (char *)shp; in nv_init()
[all …]
H A Dargs.c119 Shell_t *shp = sp->shp; in arraysort() local
476 sp->shp = shp; in sh_argopts()
616 shp->gd->euserid = shp->gd->userid; in sh_applyopts()
619 } else if ((shp->gd->userid != shp->gd->euserid && setuid(shp->gd->euserid) < 0) || in sh_applyopts()
620 (shp->gd->groupid != shp->gd->egroupid && setgid(shp->gd->egroupid) < 0) || in sh_applyopts()
621 (shp->gd->userid == shp->gd->euserid && shp->gd->groupid == shp->gd->egroupid)) { in sh_applyopts()
936 sfputr(shp->stk, shp->fifo, 0); in sh_argprocsub()
939 shp->inpipe = shp->outpipe = NULL; in sh_argprocsub()
952 pid0 = shp->procsub ? *shp->procsub : 0; in sh_argprocsub()
961 shp->procsub = realloc(shp->procsub, shp->nprocsub * sizeof(pid_t)); in sh_argprocsub()
[all …]
/dports/cad/calculix-ccx/CalculiX/ccx_2.18/src/
H A Dshape6w.f65 shp(1, 3)= 0.d0
68 shp(1, 6)= 0.d0
73 shp(2, 2)= 0.d0
76 shp(2, 5)= 0.d0
82 shp(3, 1)=-0.5d0*a
83 shp(3, 2)=-0.5d0*xi
84 shp(3, 3)=-0.5d0*et
85 shp(3, 4)= 0.5d0*a
86 shp(3, 5)= 0.5d0*xi
127 sh(j)=shp(1,k)*xsi(1,j)+shp(2,k)*xsi(2,j)+shp(3,k)*xsi(3,j)
[all …]
H A Dshape6tritilde.f93 shp(1,1)=4.d0*(xi+et)-3.d0
94 shp(1,2)=4.d0*xi-1.d0
95 shp(1,3)=0.d0
97 shp(1,5)=4.d0*et
98 shp(1,6)=-4.d0*et
103 shp(2,2)=0.d0
104 shp(2,3)=4.d0*et-1.d0
105 shp(2,4)=-4.d0*xi
106 shp(2,5)=4.d0*xi
172 sh(j)=shp(1,k)*xsi(1,j)+shp(2,k)*xsi(2,j)
[all …]
H A Dlinscal10.f19 subroutine linscal10(scal,konl,scall,idim,shp) argument
32 real*8 scal(0:idim,*),scall,shp(4,*) local
35 & (shp(4,1)+(shp(4,5)+shp(4,7)+shp(4,8))/2.d0)*scal(0,konl(1))
36 & +(shp(4,2)+(shp(4,5)+shp(4,6)+shp(4,9))/2.d0)*scal(0,konl(2))
37 & +(shp(4,3)+(shp(4,6)+shp(4,7)+shp(4,10))/2.d0)*scal(0,konl(3))
38 & +(shp(4,4)+(shp(4,8)+shp(4,9)+shp(4,10))/2.d0)*scal(0,konl(4))
/dports/cad/calculix/CalculiX/cgx_2.18/src/
H A DshapeFunctions.c149 shp[4]=4.0*xi*a; in shapeTet10()
151 shp[6]=4.0*et*a; in shapeTet10()
152 shp[7]=4.0*ze*a; in shapeTet10()
552 shp[6] = 0.;
553 shp[9] = 0.;
564 shp[4] = 0.;
577 shp[5] = 0.;
578 shp[8] = 0.;
620 double *shp; local
644 shp -= 5;
[all …]
/dports/games/exult/exult-snapshot-v1.7.0.20211128/content/bgkeyring/
H A DMakefile.am140 src/graphics/faces/Codex.shp \
164 src/graphics/mainshp/title.shp
190 src/graphics/shapes/Bodies.shp \
191 src/graphics/shapes/Book.shp \
196 src/graphics/shapes/Bucket.shp \
202 src/graphics/shapes/Dough.shp \
203 src/graphics/shapes/Dupre.shp \
211 src/graphics/shapes/Iolo.shp \
214 src/graphics/shapes/Jaana.shp \
215 src/graphics/shapes/Julia.shp \
[all …]
/dports/math/octave-forge-mapping/mapping-1.4.1/inst/
H A Dshapewrite.m175 [shp.X] = deal (shp.Lon);
176 [shp.Y] = deal (shp.Lat);
287 fwrite (fids, [shp(ishp).X shp(ishp).Y shp(ishp).Z shp(ishp).M], "double");
306 fwrite (fids, [shp(ishp).X shp(ishp).Y shp(ishp).M], "double");
355 fwrite (fids, [min(shp(ishp).Z) max(shp(ishp).Z) shp(ishp).Z], "double");
356 fwrite (fids, [min(shp(ishp).M) max(shp(ishp).M) shp(ishp).M], "double");
378 fwrite (fids, [min(shp(ishp).M) max(shp(ishp).M) shp(ishp).M], "double");
493 shp = rmfield (shp, {"M"}); variable
495 shp = rmfield (shp, {"Z"}); variable
506 shp = rmfield (shp, setdiff (fldn, atts)); variable
[all …]

12345678910>>...77