/dports/shells/ast-ksh/ast-ksh93v/src/cmd/ksh93/bltins/ |
H A D | whence.c | 56 register Shell_t *shp = context->shp; in b_command() local 61 if(sh_isoption(shp,SH_RESTRICTED)) in b_command() 63 sh_onstate(shp,SH_DEFPATH); in b_command() 72 shp->xargexit = 1; in b_command() 90 return(whence(shp,argv, flags)); in b_command() 99 register Shell_t *shp = context->shp; in b_whence() local 137 return(whence(shp, argv, flags)); in b_whence() 177 if((np=nv_search(name,shp->alias_tree,0)) in whence() 200 root = (flags&F_FLAG)?shp->bltin_tree:shp->fun_tree; in whence() 240 if(sh_isstate(shp,SH_DEFPATH)) in whence() [all …]
|
H A D | alarm.c | 147 void sh_timetraps(Shell_t *shp) in sh_timetraps() argument 153 shp->trapnote &= ~SH_SIGALRM; in sh_timetraps() 156 shp->sigflag[SIGALRM] &= ~SH_SIGALRM; in sh_timetraps() 180 if(!(shp->sigflag[SIGALRM]&SH_SIGALRM)) in sh_timetraps() 214 Shell_t *shp = tp->sh; in putval() local 243 shp->st.timetrap = time_delete(tp,shp->st.timetrap); in putval() 245 shp->st.timetrap = time_add(tp,shp->st.timetrap); in putval() 250 shp->st.timetrap = time_delete(tp,shp->st.timetrap); in putval() 272 register Shell_t *shp = context->shp; in b_alarm() local 291 print_alarms(shp->st.timetrap); in b_alarm() [all …]
|
/dports/shells/ksh2020/ast-ksh2020/src/cmd/ksh93/bltins/ |
H A D | fg.c | 45 Shell_t *shp = context->shp; in b_fg() local 52 builtin_print_help(shp, cmd); in b_fg() 56 builtin_missing_argument(shp, cmd, argv[optget_ind - 1]); in b_fg() 60 builtin_unknown_option(shp, cmd, argv[optget_ind - 1]); in b_fg() 68 if (!sh_isoption(shp, SH_MONITOR) || !job.jobcontrol) { in b_fg() 69 if (sh_isstate(shp, SH_INTERACTIVE)) { in b_fg() 75 if (job_walk(shp, sfstdout, job_switch, 'f', argv)) { in b_fg() 79 return shp->exitval; in b_fg()
|
H A D | bg.c | 44 Shell_t *shp = context->shp; in b_bg() local 51 builtin_print_help(shp, cmd); in b_bg() 55 builtin_missing_argument(shp, cmd, argv[optget_ind - 1]); in b_bg() 59 builtin_unknown_option(shp, cmd, argv[optget_ind - 1]); in b_bg() 67 if (!sh_isoption(shp, SH_MONITOR) || !job.jobcontrol) { in b_bg() 68 if (sh_isstate(shp, SH_INTERACTIVE)) { in b_bg() 74 if (job_walk(shp, sfstdout, job_switch, 'b', argv)) { in b_bg() 78 return shp->exitval; in b_bg()
|
H A D | shift.c | 40 Shell_t *shp = context->shp; in b_shift() local 47 builtin_print_help(shp, cmd); in b_shift() 51 builtin_missing_argument(shp, cmd, argv[optget_ind - 1]); in b_shift() 55 builtin_unknown_option(shp, cmd, argv[optget_ind - 1]); in b_shift() 64 int n = arg ? (int)sh_arith(shp, arg) : 1; in b_shift() 65 if (n < 0 || shp->st.dolc < n) { in b_shift() 70 shp->st.dolv += n; in b_shift() 71 shp->st.dolc -= n; in b_shift()
|
H A D | disown.c | 43 Shell_t *shp = context->shp; in b_disown() local 50 builtin_print_help(shp, cmd); in b_disown() 54 builtin_missing_argument(shp, cmd, argv[optget_ind - 1]); in b_disown() 58 builtin_unknown_option(shp, cmd, argv[optget_ind - 1]); in b_disown() 66 if (!sh_isoption(shp, SH_MONITOR) || !job.jobcontrol) { in b_disown() 67 if (sh_isstate(shp, SH_INTERACTIVE)) { in b_disown() 74 if (job_walk(shp, sfstdout, job_switch, 'd', argv)) { in b_disown() 78 return shp->exitval; in b_disown()
|
H A D | whence.c | 48 Shell_t *shp = context->shp; in b_whence() local 55 builtin_print_help(shp, cmd); in b_whence() 86 builtin_missing_argument(shp, cmd, argv[optget_ind - 1]); in b_whence() 90 builtin_unknown_option(shp, cmd, argv[optget_ind - 1]); in b_whence() 99 builtin_usage_error(shp, cmd, "expected at least one arg"); in b_whence() 103 return whence(shp, argv, flags); in b_whence() 106 int whence(Shell_t *shp, char **argv, int flags) { in whence() argument 162 root = (flags & WHENCE_F_FLAG) ? shp->bltin_tree : shp->fun_tree; in whence() 199 if (sh_isstate(shp, SH_DEFPATH)) { in whence() 204 if (path_search(shp, name, &pp, 2 + (aflag > 1))) { in whence() [all …]
|
H A D | eval.c | 40 Shell_t *shp = context->shp; in b_eval() local 47 builtin_print_help(shp, cmd); in b_eval() 51 builtin_missing_argument(shp, cmd, argv[optget_ind - 1]); in b_eval() 55 builtin_unknown_option(shp, cmd, argv[optget_ind - 1]); in b_eval() 64 sh_offstate(shp, SH_MONITOR); in b_eval() 65 sh_eval(shp, sh_sfeval((const char **)argv), 0); in b_eval() 67 return shp->exitval; in b_eval()
|
/dports/audio/snack/snack2.2.10/generic/ |
H A D | shape.c | 59 Sound *shp = NULL, *preshp = NULL; in shapeCmd() local 78 if (shp == s) { in shapeCmd() 84 if (shp) { in shapeCmd() 234 if (shp && check) { in shapeCmd() 235 float shpLen = (float) Snack_GetLength(shp) / Snack_GetSampleRate(shp); in shapeCmd() 267 if (shp) { in shapeCmd() 275 SetFcname(shp, interp, empty); in shapeCmd() 283 if (Snack_ResizeSoundStorage(shp, Snack_GetLength(shp)) != TCL_OK) { in shapeCmd() 324 if (shp) { in shapeCmd() 340 if (shp) { in shapeCmd() [all …]
|
/dports/games/duel/duel/src/ |
H A D | GunParticle.cpp | 70 CShip *shp = (CShip*)gal->ents[gal->ships[sc_i]]; in Update() local 72 int mxSldStr_i = (25*shp->mk1Shield_i) + (45*shp->mk2Shield_i) + (65*shp->mk3Shield_i); in Update() 73 if((shp->shieldDamage_f += sdam) > mxSldStr_i) in Update() 75 shp->damage_i += shp->shieldDamage_f - mxSldStr_i; in Update() 76 shp->shieldDamage_f = mxSldStr_i; in Update() 144 shp->damage_i += hdam; in Update() 145 if(shp->damage_i > gal->shipTypes[shp->shipType_i]->maxHullHealth_i) in Update() 147 if(shp->dead_b == false) in Update() 150 shp->dead_b = true; in Update() 151 shp->aiStartTime_i = SDL_GetTicks(); in Update() [all …]
|
/dports/databases/spatialite-tools/spatialite-tools-5.0.1/ |
H A D | shp_sanitize.c | 234 shp->Valid = 0; in allocShapefile() 237 return shp; in allocShapefile() 244 if (shp->Path) in freeShapefile() 245 free (shp->Path); in freeShapefile() 252 if (shp->Dbf) in freeShapefile() 260 free (shp); in freeShapefile() 292 if (shp->flShp != NULL || shp->flShx != NULL || shp->flDbf != NULL) in openShpRead() 608 offset = shp->DbfHdsz + (current_row * shp->DbfReclen); in readShpEntity() 613 shp->flDbf); in readShpEntity() 632 shp->BufShp = malloc (sizeof (unsigned char) * shp->ShpBfsz); in readShpEntity() [all …]
|
/dports/cad/feappv/feappv-4.1i/elements/ |
H A D | strn2m.f | 2 subroutine strn2m(d,xr1,shp,xl,ul,tl,type,xr0,xz0,ndm,ndf, argument 24 real*8 d(*),shp(3,*),xl(ndm,*),ul(ndf,nen),tl(*),ep(4) 38 xr0 = xr0 + shp(3,k)*xl(1,k) 39 xz0 = xz0 + shp(3,k)*xl(2,k) 40 ta = ta + shp(3,k)*tl(k) 41 ur = ur + shp(3,k)*ul(1,k) 42 ep(1) = ep(1) + shp(1,k)*ul(1,k) 43 ep(2) = ep(2) + shp(2,k)*ul(2,k) 44 ep(4) = ep(4) + shp(1,k)*ul(2,k) 45 & + shp(2,k)*ul(1,k)
|
H A D | shell3d.f | 1844 shp(1,1) = -shp(1,2) 1845 shp(1,4) = -shp(1,3) 1848 shp(2,2) = -shp(2,3) 1849 shp(2,1) = -shp(2,4) 1850 shp(3,1) = shp(1,2)*(1.d0-sg(1)) 1851 shp(3,2) = shp(1,2)*(1.d0+sg(1)) 1871 sx(2,2) = x(1,1)*shp(1,1)+x(1,2)*shp(1,2)+x(1,3)*shp(1,3) 1873 sx(1,2) = x(1,1)*shp(2,1)+x(1,2)*shp(2,2)+x(1,3)*shp(2,3) 1875 sx(2,1) = x(2,1)*shp(1,1)+x(2,2)*shp(1,2)+x(2,3)*shp(1,3) 1877 sx(1,1) = x(2,1)*shp(2,1)+x(2,2)*shp(2,2)+x(2,3)*shp(2,3) [all …]
|
/dports/shells/ksh93/ast-93u/src/cmd/ksh93/sh/ |
H A D | jobs.c | 206 shp->trapnote = 0; in job_chldtrap() 326 shp->exitval = r; in job_cowalk() 523 job_chldtrap(shp,shp->st.trapcom[SIGCHLD],0); in job_reap() 837 if(!shp->forked) in job_set() 839 shp->forked = 0; in job_set() 1138 if(sig==SIGSTOP && pid==shp->gd->pid && shp->gd->ppid==1) in job_kill() 1304 shp->jobenv = shp->curenv; in job_post() 1368 pw->p_shp = shp; in job_post() 1371 if(!shp->outpipe || shp->cpid==pid) in job_post() 1542 if(shp->coutpipe>=0 && lastpid && shp->cpid==lastpid) in job_wait() [all …]
|
H A D | arith.c | 65 Shell_t *shp = lvalue->shp; in scope() local 68 Dt_t *sdict = (shp->st.real_fun? shp->st.real_fun->sdict:0); in scope() 69 Dt_t *nsdict = (shp->namespace?nv_dict(shp->namespace):0); in scope() 70 Dt_t *root = shp->var_tree; in scope() 95 root = shp->last_root; in scope() 158 sub = sfstruse(shp->strbuf); in scope() 222 Shell_t *shp = lvalue->shp; in arith() local 272 int off=stktell(shp->stk); in arith() 279 stkseek(shp->stk,off); in arith() 280 if(np=nv_search(stkptr(shp->stk,off),shp->fun_tree,0)) in arith() [all …]
|
/dports/shells/ksh93-devel/ast-cc1bca27/src/cmd/ksh93/sh/ |
H A D | jobs.c | 206 shp->trapnote = 0; in job_chldtrap() 326 shp->exitval = r; in job_cowalk() 523 job_chldtrap(shp,shp->st.trapcom[SIGCHLD],0); in job_reap() 837 if(!shp->forked) in job_set() 839 shp->forked = 0; in job_set() 1138 if(sig==SIGSTOP && pid==shp->gd->pid && shp->gd->ppid==1) in job_kill() 1304 shp->jobenv = shp->curenv; in job_post() 1368 pw->p_shp = shp; in job_post() 1371 if(!shp->outpipe || shp->cpid==pid) in job_post() 1542 if(shp->coutpipe>=0 && lastpid && shp->cpid==lastpid) in job_wait() [all …]
|
H A D | arith.c | 65 Shell_t *shp = lvalue->shp; in scope() local 68 Dt_t *sdict = (shp->st.real_fun? shp->st.real_fun->sdict:0); in scope() 69 Dt_t *nsdict = (shp->namespace?nv_dict(shp->namespace):0); in scope() 70 Dt_t *root = shp->var_tree; in scope() 95 root = shp->last_root; in scope() 158 sub = sfstruse(shp->strbuf); in scope() 222 Shell_t *shp = lvalue->shp; in arith() local 272 int off=stktell(shp->stk); in arith() 279 stkseek(shp->stk,off); in arith() 280 if(np=nv_search(stkptr(shp->stk,off),shp->fun_tree,0)) in arith() [all …]
|
/dports/science/PETSc/petsc-3.14.1/src/ksp/ksp/tutorials/ |
H A D | ex54f.F90 | 137 a1 = (dd(1,1)*shp(1,kj) + dd(1,2)*shp(2,kj))*xsj 138 a2 = (dd(2,1)*shp(1,kj) + dd(2,2)*shp(2,kj))*xsj 144 ss(i1,j1) = ss(i1,j1) + a1*shp(1,ki) + a2*shp(2,ki) 337 shp(3,1) = sm*tm 338 shp(3,2) = sp*tm 339 shp(3,3) = sp*tp 340 shp(3,4) = sm*tp 384 shp(1,1) = - ytm+ysm 385 shp(1,2) = ytm+ysp 386 shp(1,3) = ytp-ysp [all …]
|
/dports/math/py-theano/Theano-1.0.5/theano/gpuarray/tests/ |
H A D | test_pool.py | 24 shp = (2, 2, 2, 2) 25 inp = theano.shared(rand(*shp), 'a') 40 shp = (2, 2, 2, 2) 41 inp = theano.shared(rand(*shp), 'a') 54 shp = (2, 2, 2, 2) 55 inp = theano.shared(rand(*shp), 'a') 107 for shp in shps: 109 if ws[0] > shp[-2] or ws[1] > shp[-1]: 119 a = theano.shared(rand(*shp), 'a') 217 for shp in shps: [all …]
|
/dports/databases/phpmyadmin/phpMyAdmin-4.9.7-all-languages/libraries/classes/Plugins/Import/ |
H A D | ImportShp.php | 80 $shp = new ShapeFileImport(1); 144 $shp->FileName = $file_name; 157 $shp->loadFromFile(''); 158 if ($shp->lastError != "") { 163 $message->addParam($shp->lastError); 168 switch ($shp->shapeType) { 204 $num_rows = count($shp->records); 206 $num_data_cols = isset($shp->DBFHeader) ? count($shp->DBFHeader) : 0; 211 foreach ($shp->records as $record) { 220 if (isset($shp->DBFHeader)) { [all …]
|
/dports/shells/ksh93-devel/ast-cc1bca27/src/cmd/ksh93/bltins/ |
H A D | typeset.c | 534 if(!shp->prefix) in setall() 585 sfprintf(shp->strbuf,"%s.%s%c",shp->prefix,name,0); in setall() 609 if(shp->subshell && !shp->subshare) in setall() 623 sfputr(shp->stk,shp->prefix,'.'); in setall() 1144 Shell_t *shp = context->shp; in b_unalias() local 1145 return(unall(argc,argv,shp->alias_tree,shp)); in b_unalias() 1150 Shell_t *shp = context->shp; in b_unset() local 1151 return(unall(argc,argv,shp->var_tree,shp)); in b_unset() 1214 if(shp->namespace && troot!=shp->var_tree) in unall() 1253 …if(troot==shp->var_tree && shp->st.real_fun && (dp=shp->var_tree->walk) && dp==shp->st.real_fun->s… in unall() [all …]
|
/dports/shells/ksh93/ast-93u/src/cmd/ksh93/bltins/ |
H A D | typeset.c | 534 if(!shp->prefix) in setall() 585 sfprintf(shp->strbuf,"%s.%s%c",shp->prefix,name,0); in setall() 609 if(shp->subshell && !shp->subshare) in setall() 623 sfputr(shp->stk,shp->prefix,'.'); in setall() 1144 Shell_t *shp = context->shp; in b_unalias() local 1145 return(unall(argc,argv,shp->alias_tree,shp)); in b_unalias() 1150 Shell_t *shp = context->shp; in b_unset() local 1151 return(unall(argc,argv,shp->var_tree,shp)); in b_unset() 1214 if(shp->namespace && troot!=shp->var_tree) in unall() 1253 …if(troot==shp->var_tree && shp->st.real_fun && (dp=shp->var_tree->walk) && dp==shp->st.real_fun->s… in unall() [all …]
|
/dports/cad/calculix-ccx/CalculiX/ccx_2.18/src/ |
H A D | norshell3.f | 29 real*8 shp(7,3),xs(3,7),xl(3,3),xnor(3) local 38 shp(1,1)=-1.d0 39 shp(1,2)=1.d0 40 shp(1,3)=0.d0 44 shp(2,1)=-1.d0 45 shp(2,2)=0.d0 46 shp(2,3)=1.d0 55 xs(i,j)=xs(i,j)+xl(i,k)*shp(j,k)
|
H A D | newton.f | 104 call shape20h(xi,et,ze,xl,xsj,shp,iflag) 106 call shape8h(xi,et,ze,xl,xsj,shp,iflag) 108 call shape10tet(xi,et,ze,xl,xsj,shp,iflag) 110 call shape4tet(xi,et,ze,xl,xsj,shp,iflag) 112 call shape15w(xi,et,ze,xl,xsj,shp,iflag) 114 call shape6w(xi,et,ze,xl,xsj,shp,iflag) 122 cgr(k,i)=cgr(k,i)+shp(4,j)*xl(k,j) 137 t0l=t0l+shp(4,j)*t0(konl(j)) 180 call shape8h(xi,et,ze,xl,xsj,shp,iflag) 186 call shape15w(xi,et,ze,xl,xsj,shp,iflag) [all …]
|
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/ksh93/sh/ |
H A D | nvdisc.c | 114 d = sh_arith(shp,str); in nv_getn() 342 if(shp->subshell) in assign() 1025 if(!shp->subshell) in clone_putv() 1080 if(shp->inpool) in nv_search() 1085 if(shp->namespace && !(mode&HASH_NOSCOPE) && root==shp->var_tree) in nv_search() 1146 if(shp->namespace) in nv_bfsearch() 1148 sfprintf(shp->strbuf,"%s.%s%c",nv_name(shp->namespace),name,0); in nv_bfsearch() 1184 shp->namespace = 0; in nv_bfsearch() 1222 sfputr(shp->stk,shp->bltin_dir,'/'); in sh_addbuiltin_20120720() 1311 Shell_t *shp; member [all …]
|