/dports/shells/ast-ksh/ast-ksh93v/src/cmd/ksh93/sh/ |
H A D | path.c | 80 if (shp->gd->user && *shp->gd->user) in path_xattr() 470 sfputr(shp->stk,path_pwd(shp,1),-1); in path_nextcomp() 471 if(*stkptr(shp->stk,stktell(shp->stk)-1)!='/') in path_nextcomp() 501 shp->pathlist = pp = (void*)path_addpath(shp,(Pathcomp_t*)shp->pathlist,val,PATH_PATH); in path_init() 671 pname = stkcopy(shp->stk,shp->st.filename); in funload() 709 sfputr(shp->stk,path_pwd(shp,1),'/'); in path_search() 742 pp=sh_isstate(shp,SH_DEFPATH)?shp->defpathlist:shp->pathlist; in path_search() 1388 if(shp->cpid && shp->outpipe) in exscript() 1394 if(shp->infd>0 && (shp->fdstatus[shp->infd]&IOCLEX)) in exscript() 1458 shp->infd = sh_iomovefd(shp,shp->infd); in exscript() [all …]
|
H A D | io.c | 212 shp->fdptrs = (int**)(&shp->sftable[n]); in sh_iovalidfd() 327 …if(shp->bltinfun && shp->bltinfun!=b_read && shp->bltindata.bnode && !nv_isattr(shp->bltindata.bno… in sh_iostream() 403 if(shp->fdptrs[fd]=shp->fdptrs[f2]) in io_preserve() 411 shp->fdstatus[fd] = shp->fdstatus[f2]; in io_preserve() 1482 shp->sftable[fn] = shp->sftable[-1]; in sh_redirect() 1591 shp->sftable[fn] = shp->sftable[-1]; in sh_redirect() 1841 shp->sftable[fd] = shp->sftable[fn]; in sh_vexsave() 1842 shp->fdstatus[fd] = shp->fdstatus[fn]; in sh_vexsave() 1856 shp->sftable[fd] = shp->sftable[fn]; in sh_vexsave() 1857 shp->fdstatus[fd] = shp->fdstatus[fn]; in sh_vexsave() [all …]
|
/dports/shells/ksh2020/ast-ksh2020/src/cmd/ksh93/sh/ |
H A D | path.c | 260 if (shp->pwd) return (char *)shp->pwd; in path_pwd() 418 sfputr(shp->stk, path_pwd(shp), -1); in path_nextcomp() 448 shp->pathlist = path_addpath(shp, shp->pathlist, val, PATH_PATH); in path_init() 466 if (!shp->pathlist) path_init(shp); in path_get() 483 if (!pp && !shp->pathlist) path_init(shp); in path_opentype() 629 sfputr(shp->stk, path_pwd(shp), '/'); in path_search() 655 if (!pp) pp = sh_isstate(shp, SH_DEFPATH) ? shp->defpathlist : shp->pathlist; in path_search() 1225 if (shp->cpid && shp->outpipe) sh_close(*shp->outpipe); in exscript() 1234 if (shp->infd > 0 && (shp->fdstatus[shp->infd] & IOCLEX)) sh_close(shp->infd); in exscript() 1306 shp->infd = sh_iomovefd(shp, shp->infd); in exscript() [all …]
|
H A D | io.c | 212 shp->fdptrs = (int **)(&shp->sftable[n]); in sh_iovalidfd() 321 if (shp->bltinfun && shp->bltinfun != b_read && shp->bltindata.bnode && in sh_iostream() 381 if (f2 == shp->infd) shp->infd = fd; in io_preserve() 389 shp->fdptrs[fd] = shp->fdptrs[f2]; in io_preserve() 396 shp->fdstatus[fd] = shp->fdstatus[f2]; in io_preserve() 474 if (shp->fdptrs[fd]) *shp->fdptrs[fd] = -1; in sh_close() 1734 shp->sftable[fd] = shp->sftable[fn]; in sh_vexsave() 1735 shp->fdstatus[fd] = shp->fdstatus[fn]; in sh_vexsave() 1747 shp->sftable[fd] = shp->sftable[fn]; in sh_vexsave() 1860 if (last < shp->topfd) shp->topfd = last; in sh_iorestore() [all …]
|
/dports/shells/ksh93/ast-93u/src/cmd/ksh93/sh/ |
H A D | subshell.c | 128 shp->fdstatus[fd] = shp->fdstatus[1]|IOCLEX; in sh_subtmpfile() 161 shp->fdstatus[1] = shp->fdstatus[fd]; in sh_subtmpfile() 182 Shell_t *shp = sp->shp; in sh_subfork() local 246 Shell_t *shp = sp->shp; in sh_assignok() local 255 if(sp->var!=shp->var_tree && sp->var!=shp->var_base && shp->last_root==shp->var_tree) in sh_assignok() 501 sp->shp = shp; in sh_subshell() 568 sp->pwd = (shp->pwd?strdup(shp->pwd):0); in sh_subshell() 633 shp->oldexit = shp->exitval; in sh_subshell() 686 shp->fdstatus[fd] = (shp->fdstatus[1]|IOCLEX); in sh_subshell() 738 if(!shp->pwd || strcmp(sp->pwd,shp->pwd)) in sh_subshell() [all …]
|
H A D | main.c | 107 shp->st.filename = path_fullname(shp,stakptr(PATH_OFFSET)); in sh_source() 152 shp->fn_depth = shp->dot_depth = 0; in sh_main() 187 shp->options.v[i] &= ~shp->offoptions.v[i]; in sh_main() 221 sh_source(shp, iop, shp->gd->rcfile ? shp->gd->rcfile : sh_mactry(shp,(char*)e_bash_rc)); in sh_main() 300 shp->st.filename = path_fullname(shp,name); in sh_main() 313 shp->st.filename = path_fullname(shp,sp); in sh_main() 334 shp->readscript = shp->shname; in sh_main() 381 shp->fdstatus[r] = shp->fdstatus[fno]; in exfile() 424 shp->st.execbrk = shp->st.breakcnt = 0; in exfile() 511 shp->timeout = shp->st.tmout; in exfile() [all …]
|
/dports/shells/ksh93-devel/ast-cc1bca27/src/cmd/ksh93/sh/ |
H A D | subshell.c | 128 shp->fdstatus[fd] = shp->fdstatus[1]|IOCLEX; in sh_subtmpfile() 161 shp->fdstatus[1] = shp->fdstatus[fd]; in sh_subtmpfile() 182 Shell_t *shp = sp->shp; in sh_subfork() local 246 Shell_t *shp = sp->shp; in sh_assignok() local 255 if(sp->var!=shp->var_tree && sp->var!=shp->var_base && shp->last_root==shp->var_tree) in sh_assignok() 501 sp->shp = shp; in sh_subshell() 568 sp->pwd = (shp->pwd?strdup(shp->pwd):0); in sh_subshell() 633 shp->oldexit = shp->exitval; in sh_subshell() 686 shp->fdstatus[fd] = (shp->fdstatus[1]|IOCLEX); in sh_subshell() 738 if(!shp->pwd || strcmp(sp->pwd,shp->pwd)) in sh_subshell() [all …]
|
H A D | main.c | 107 shp->st.filename = path_fullname(shp,stakptr(PATH_OFFSET)); in sh_source() 152 shp->fn_depth = shp->dot_depth = 0; in sh_main() 187 shp->options.v[i] &= ~shp->offoptions.v[i]; in sh_main() 221 sh_source(shp, iop, shp->gd->rcfile ? shp->gd->rcfile : sh_mactry(shp,(char*)e_bash_rc)); in sh_main() 300 shp->st.filename = path_fullname(shp,name); in sh_main() 313 shp->st.filename = path_fullname(shp,sp); in sh_main() 334 shp->readscript = shp->shname; in sh_main() 381 shp->fdstatus[r] = shp->fdstatus[fno]; in exfile() 424 shp->st.execbrk = shp->st.breakcnt = 0; in exfile() 511 shp->timeout = shp->st.tmout; in exfile() [all …]
|
/dports/cad/calculix-ccx/CalculiX/ccx_2.18/src/ |
H A D | shape15w.f | 74 shp(1,3)= 0.d0 91 shp(2,2)= 0.d0 94 shp(2,5)= 0.d0 103 shp(2,14)= 0.0d0 114 shp(3,7)= -2*xi*a 115 shp(3,8)= -2*xi*et 116 shp(3,9)= -2*et*a 117 shp(3,10)= 2*xi*a 119 shp(3,12)= 2*et*a 120 shp(3,13)=-2*a*ze [all …]
|
H A D | shape9q.f | 63 shp(4,1)=fxi1*fet1 64 shp(4,2)=fxi3*fet1 65 shp(4,3)=fxi3*fet3 66 shp(4,4)=fxi1*fet3 67 shp(4,5)=fxi2*fet1 68 shp(4,6)=fxi3*fet2 69 shp(4,7)=fxi2*fet3 70 shp(4,8)=fxi1*fet2 71 shp(4,9)=fxi2*fet2 87 shp(1,1)=dfxi1*fet1 [all …]
|
H A D | shape8qtilde_lin.f | 165 sh(j)=shp(1,k)*xsi(1,j)+shp(2,k)*xsi(2,j) 176 shp(5,1)=0.d0 177 shp(5,2)=0.d0 178 shp(5,3)=0.d0 179 shp(5,4)=0.d0 181 shp(5,6)=0.d0 183 shp(5,8)=0.d0 191 shp(6,5)=xi 192 shp(6,6)=-et 193 shp(6,7)=-xi [all …]
|
H A D | shape10tet.f | 59 shp(1, 3)=0.d0 60 shp(1, 4)=0.d0 62 shp(1, 6)=4.d0*et 66 shp(1,10)=0.d0 71 shp(2, 2)=0.d0 73 shp(2, 4)=0.d0 78 shp(2, 9)=0.d0 84 shp(3, 2)=0.d0 85 shp(3, 3)=0.d0 88 shp(3, 6)=0.d0 [all …]
|
H A D | shape8q.f | 80 shp(1,5)=-xi*etm 82 shp(1,7)=-xi*etp 92 shp(2,6)=-et*xip 94 shp(2,8)=-et*xim 161 sh(j)=shp(1,k)*xsi(1,j)+shp(2,k)*xsi(2,j) 176 shp(5,5)=-etm 177 shp(5,6)=0.d0 187 shp(6,5)=xi 188 shp(6,6)=-et 189 shp(6,7)=-xi [all …]
|
H A D | shape6tritilde_lin.f | 68 shp(4,2)=xi 69 shp(4,3)=et 84 shp(1,3)=0.d0 86 shp(1,5)=4.d0*et 87 shp(1,6)=-4.d0*et 92 shp(2,2)=0.d0 94 shp(2,4)=-4.d0*xi 95 shp(2,5)=4.d0*xi 161 sh(j)=shp(1,k)*xsi(1,j)+shp(2,k)*xsi(2,j) 172 shp(5,1)=0.d0 [all …]
|
H A D | shape6tri.f | 68 shp(1,3)=0.d0 70 shp(1,5)=4.d0*et 71 shp(1,6)=-4.d0*et 76 shp(2,2)=0.d0 78 shp(2,4)=-4.d0*xi 79 shp(2,5)=4.d0*xi 147 sh(j)=shp(1,k)*xsi(1,j)+shp(2,k)*xsi(2,j) 158 shp(5,1)=4.d0 159 shp(5,2)=4.d0 160 shp(5,3)=0.d0 [all …]
|
H A D | shape7tri.f | 61 shp(4,7)=27.d0*b 75 shp(1,3)=0.d0+3.d0*bxi 79 shp(1,7)=27.d0*bxi 84 shp(2,2)=0.d0+3.d0*bet 89 shp(2,7)=27.d0*bet 154 sh(j)=shp(1,k)*xsi(1,j)+shp(2,k)*xsi(2,j) 157 shp(j,k)=sh(j) 171 shp(5,3)=3.d0*bxixi 180 shp(6,2)=3.d0*bxiet 181 shp(6,3)=3.d0*bxiet [all …]
|
H A D | shape8h.f | 66 shp(1, 2)=omh*omr 67 shp(1, 3)=oph*omr 70 shp(1, 6)=omh*opr 71 shp(1, 7)=oph*opr 78 shp(2, 3)=opg*omr 79 shp(2, 4)=omg*omr 82 shp(2, 7)=opg*opr 83 shp(2, 8)=omg*opr 91 shp(3, 5)=omg*omh 92 shp(3, 6)=opg*omh [all …]
|
/dports/cad/feappv/feappv-4.1i/program/ |
H A D | shptri.f | 2 subroutine shptri(el, nel, shp) argument 29 shp(1,1) = -1.0d0 30 shp(2,1) = -1.0d0 33 shp(1,2) = 1.0d0 34 shp(2,2) = 0.0d0 35 shp(3,2) = el(1) 37 shp(1,3) = 0.0d0 38 shp(2,3) = 1.0d0 39 shp(3,3) = el(2) 48 shp(2,2) = 0.0d0 [all …]
|
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/ksh93/bltins/ |
H A D | trap.c | 47 register Shell_t *shp = context->shp; in b_trap() local 97 else if(*action=='+' && action[1]==0 && shp->st.self == &shp->global) in b_trap() 117 char **trap = (shp->st.otrap?shp->st.otrap:shp->st.trap); in b_trap() 163 char **trapcom = (shp->st.otrapcom?shp->st.otrapcom:shp->st.trapcom); in b_trap() 207 register Shell_t *shp = context->shp; in b_kill() local 233 if((int)shp->sigval != shp->sigval) in b_kill() 243 shp->sigval = 0; in b_kill() 253 shp->sigval = 0; in b_kill() 281 if((sig=sig_number(shp,signame)) < 0 || sig >= shp->gd->sigmax) in b_kill() 288 shp->exitval = 1; in b_kill() [all …]
|
H A D | misc.c | 105 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 …]
|
/dports/shells/ksh2020/ast-ksh2020/src/cmd/ksh93/bltins/ |
H A D | source.c | 55 Shell_t *shp = context->shp; in b_source() local 96 np = shp->posix_fun; in b_source() 118 fd = path_open(shp, script, path_get(shp, script)); in b_source() 123 filename = path_fullname(shp, stkptr(shp->stk, PATH_OFFSET)); in b_source() 128 shp->st.var_local = shp->st.save_tree = shp->var_tree; in b_source() 133 level = shp->fn_depth + shp->dot_depth + 1; in b_source() 137 shp->topscope = (Shscope_t *)shp->st.self; in b_source() 156 sh_eval(shp, iop, sh_isstate(shp, SH_PROFILE) ? SH_FUNEVAL : 0); in b_source() 165 shp->dot_depth--; in b_source() 172 if (shp->st.self != &savst) *shp->st.self = shp->st; in b_source() [all …]
|
H A D | trap.c | 49 Shell_t *shp = context->shp; in b_trap() local 89 sh_siglist(shp, sfstdout, -1); in b_trap() 107 } else if (*action == '+' && action[1] == 0 && shp->st.self == &shp->global) { in b_trap() 125 char **trap = (shp->st.otrap ? shp->st.otrap : shp->st.trap); in b_trap() 136 shp->st.otrap = NULL; in b_trap() 138 shp->st.trap[sig] = 0; in b_trap() 160 if (!shp->fn_depth || shp->end_fn) shp->errtrap = 1; in b_trap() 170 char **trapcom = (shp->st.otrapcom ? shp->st.otrapcom : shp->st.trapcom); in b_trap() 178 if (sig >= shp->st.trapmax) shp->st.trapmax = sig + 1; in b_trap() 182 sh_sigtrap(shp, sig); in b_trap() [all …]
|
H A D | cd.c | 69 Shell_t *shp = context->shp; in b_cd() local 75 int dirfd = shp->pwdfd; in b_cd() 129 shp->pwd = path_pwd(shp); in b_cd() 130 oldpwd = (char *)shp->pwd; in b_cd() 161 cdpath->shp = shp; in b_cd() 175 if (!shp->strbuf2) shp->strbuf2 = sfstropen(); in b_cd() 214 if (shp->pwdfd >= 0) sh_close(shp->pwdfd); in b_cd() 234 rval = newdirfd = sh_diropenat(shp, shp->pwdfd, dir); in b_cd() 239 if (shp->pwdfd >= 0) sh_close(shp->pwdfd); in b_cd() 290 path_newdir(shp, shp->pathlist); in b_cd() [all …]
|
/dports/databases/spatialite/libspatialite-5.0.1/test/ |
H A D | Makefile.am | 149 shp/new-caledonia/points.shp \ 156 shp/gaza/aeroway.shp \ 160 shp/gaza/barrier.shp \ 164 shp/gaza/route.shp \ 168 shp/taiwan/hystoric.shp \ 172 shp/taiwan/leisure.shp \ 176 shp/taiwan/route.shp \ 180 shp/merano-3d/points.shp \ 184 shp/merano-3d/polygons.shp \ 188 shp/merano-3d/roads.shp \ [all …]
|
/dports/cad/feappv/feappv-4.1i/elements/ |
H A D | shell2d.f | 331 & + shp(1,i)*G1*shp(2,j) 338 & + shp(1,i)*G2*shp(2,j) 341 & + shp(2,i)*G1*shp(1,j) 344 & + shp(2,i)*G2*shp(1,j) 412 & - shp(1,i)*G1*shp(2,j) 420 & - shp(1,i)*G2*shp(2,j) 424 & - shp(2,i)*G1*shp(1,j) 427 & - shp(2,i)*G2*shp(1,j) 505 shp(1,2) = shp(2,1) 506 shp(2,2) = shp(1,1) [all …]
|