/dports/shells/ksh2020/ast-ksh2020/src/cmd/ksh93/bltins/ |
H A D | getopts.c | 48 Stk_t *stkp = shp->stk; in getopts_infof() 50 if ((shp->namespace && sh_fsearch(shp, s, 0)) || nv_search(s, shp->fun_tree, 0)) { in getopts_infof() 69 Shell_t *shp = context->shp; in b_getopts() local 82 disc.sh = shp; in b_getopts() 117 argv = shp->st.dolv; in b_getopts() 118 argc = shp->st.dolc; in b_getopts() 126 sh_pushcontext(shp, &buff, 1); in b_getopts() 130 shp->st.opterror = 1; in b_getopts() 133 sh_exit(shp, 2); in b_getopts() 158 shp->st.opterror = 1; in b_getopts() [all …]
|
H A D | unset.c | 41 Shell_t *shp = context->shp; in b_unset() local 43 Dt_t *troot = shp->var_tree; in b_unset() 51 builtin_print_help(shp, cmd); in b_unset() 55 troot = sh_subfuntree(shp, true); in b_unset() 61 troot = shp->var_tree; in b_unset() 65 troot = shp->var_tree; in b_unset() 69 builtin_missing_argument(shp, cmd, argv[optget_ind - 1]); in b_unset() 73 builtin_unknown_option(shp, cmd, argv[optget_ind - 1]); in b_unset() 82 builtin_usage_error(shp, cmd, "expected at least one variable or function name"); in b_unset() 87 if (troot == shp->var_tree) nvflags |= NV_VARNAME; in b_unset() [all …]
|
H A D | break.c | 41 Shell_t *shp = context->shp; in b_break() local 48 builtin_print_help(shp, cmd); in b_break() 52 builtin_missing_argument(shp, cmd, argv[optget_ind - 1]); in b_break() 56 builtin_unknown_option(shp, cmd, argv[optget_ind - 1]); in b_break() 75 if (shp->st.loopcnt) { in b_break() 76 shp->st.execbrk = shp->st.breakcnt = n; in b_break() 77 if (shp->st.breakcnt > shp->st.loopcnt) shp->st.breakcnt = shp->st.loopcnt; in b_break()
|
H A D | set.c | 32 Shell_t *shp = context->shp; in b_set() local 34 int was_monitor = sh_isoption(shp, SH_MONITOR); in b_set() 37 tdata.sh = shp; in b_set() 41 if (sh_isoption(shp, SH_VERBOSE)) { in b_set() 42 sh_onstate(shp, SH_VERBOSE); in b_set() 44 sh_offstate(shp, SH_VERBOSE); in b_set() 46 if (sh_isoption(shp, SH_MONITOR) && !was_monitor) { in b_set() 47 sh_onstate(shp, SH_MONITOR); in b_set() 48 } else if (!sh_isoption(shp, SH_MONITOR) && was_monitor) { in b_set() 49 sh_offstate(shp, SH_MONITOR); in b_set()
|
H A D | exit.c | 41 Shell_t *shp = context->shp; in b_exit() local 54 builtin_print_help(shp, cmd); in b_exit() 58 builtin_missing_argument(shp, cmd, argv[optget_ind - 1]); in b_exit() 62 builtin_unknown_option(shp, cmd, argv[optget_ind - 1]); in b_exit() 70 int exit_val = *argv ? strtol(*argv, NULL, 10) : shp->oldexit; in b_exit() 71 if (exit_val < 0 || exit_val == 256 || exit_val > SH_EXITMASK + shp->gd->sigmax) { in b_exit() 75 shp->jmplist->mode = SH_JMPEXIT; in b_exit() 76 shp->savexit = exit_val; in b_exit() 77 sh_exit(shp, shp->savexit); in b_exit()
|
/dports/cad/calculix-ccx/CalculiX/ccx_2.18/src/ |
H A D | shape8hr.f | 52 shp(4, 1)=1.0d0/8.0d0 53 shp(4, 2)=1.0d0/8.0d0 54 shp(4, 3)=1.0d0/8.0d0 55 shp(4, 4)=1.0d0/8.0d0 56 shp(4, 5)=1.0d0/8.0d0 57 shp(4, 6)=1.0d0/8.0d0 58 shp(4, 7)=1.0d0/8.0d0 59 shp(4, 8)=1.0d0/8.0d0 193 a=a+shp(j,i)*shp(j,i) 194 s0=shp(j,i)/vol [all …]
|
H A D | turningdirection.f | 106 call shape8hr(xl,xsj,shp,gs,a) 108 call shape8hu(xi,et,ze,xl,xsj,shp,iflag) 118 call shape8h(xi,et,ze,xl,xsj,shp,iflag) 124 call shape15w(xi,et,ze,xl,xsj,shp,iflag) 126 call shape6w(xi,et,ze,xl,xsj,shp,iflag) 134 cog(k)=cog(k)+shp(4,j)*xl(k,j) 157 ur(k)=ur(k)+shp(4,j)*v(k,konl(j)) 158 ui(k)=ui(k)+shp(4,j)*v(k,nk+konl(j)) 210 call shape8hr(xl,xsj,shp,gs,a) 222 call shape8h(xi,et,ze,xl,xsj,shp,iflag) [all …]
|
H A D | e_c3d_em.f | 320 diag=shp(1,ii)*shp(1,jj)+shp(2,ii)*shp(2,jj)+ 321 & shp(3,ii)*shp(3,jj) 335 & sigma*shp(4,ii)*shp(4,jj) 344 & sigma*shp(4,ii)*shp(k,jj) 346 & sigma*shp(k,ii)*shp(4,jj) 352 & sigma*(shp(1,ii)*shp(1,jj)+ 353 & shp(2,ii)*shp(2,jj)+ 354 & shp(3,ii)*shp(3,jj)) 361 & um*(shp(1,ii)*shp(1,jj)+ 362 & shp(2,ii)*shp(2,jj)+ [all …]
|
/dports/shells/ksh2020/ast-ksh2020/src/cmd/ksh93/edit/ |
H A D | hexpand.c | 53 stkseek(shp->stk, 0); \ 74 off = stktell(shp->stk); in parse_subst() 99 sfputc(shp->stk, del); in parse_subst() 111 sfputc(shp->stk, *cp); in parse_subst() 165 off = stktell(shp->stk); in hist_expand() 180 sfputc(shp->stk, *cp++); in hist_expand() 185 sfputc(shp->stk, *cp++); in hist_expand() 617 sfputc(shp->stk, '\0'); in hist_expand() 627 if (stktell(shp->stk) && !(flag & HIST_ERROR)) *xp = strdup(stkfreeze(shp->stk, 1)); in hist_expand() 631 stkset(shp->stk, sp, off); in hist_expand() [all …]
|
H A D | completion.c | 48 int offset = stktell(shp->stk); in fmtx() 60 sfputc(shp->stk, c); in fmtx() 65 sfputc(shp->stk, 0); in fmtx() 66 return stkptr(shp->stk, offset); in fmtx() 237 Shell_t *shp = ep->sh; in ed_expand() local 240 sh_onstate(shp, SH_FCOMPLETE); in ed_expand() 253 ap = stkseek(shp->stk, ARGVAL); in ed_expand() 309 sfputc(shp->stk, c); in ed_expand() 316 sfputc(shp->stk, addstar); in ed_expand() 343 sh_offstate(shp, SH_COMPLETE); in ed_expand() [all …]
|
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/ksh93/edit/ |
H A D | hexpand.c | 65 off = stktell(shp->stk); in parse_subst() 85 sfputc(shp->stk,'\0'); in parse_subst() 89 stkseek(shp->stk,off); in parse_subst() 101 sfputc(shp->stk,del); in parse_subst() 106 sfputc(shp->stk,'&'); in parse_subst() 110 sfputc(shp->stk,'\\'); in parse_subst() 116 sfputc(shp->stk,*cp); in parse_subst() 121 stkseek(shp->stk,off); in parse_subst() 237 sfputc(shp->stk,'\0'); in hist_expand() 697 sfputc(shp->stk,'\0'); in hist_expand() [all …]
|
H A D | completion.c | 43 int offset = stktell(shp->stk); in fmtx() 45 sfputc(shp->stk,'\\'); in fmtx() 55 sfputc(shp->stk,'\\'); in fmtx() 56 sfputc(shp->stk,c); in fmtx() 59 sfwrite(shp->stk,string,n); in fmtx() 61 sfputc(shp->stk,0); in fmtx() 260 Shell_t *shp=ep->sh; in ed_expand() local 329 sfwrite(shp->stk,"${!",3); in ed_expand() 331 sfwrite(shp->stk,"$@}",2); in ed_expand() 350 sfputc(shp->stk,c); in ed_expand() [all …]
|
/dports/games/exult/exult-snapshot-v1.7.0.20211128/ |
H A D | Makefile.common | 269 data/font.shp \ 270 data/fonton.shp \ 271 data/navfont.shp \ 274 data/extras.shp \ 280 data/sav_up.shp \ 289 data/hp_bar.shp \ 293 data/sb_disk.shp \ 298 data/sb_food.shp \ 299 data/sb_key.shp \ 300 data/sb_maps.shp \ [all …]
|
/dports/science/py-obspy/obspy-1.2.2/obspy/io/shapefile/tests/ |
H A D | test_core.py | 215 shp = shapefile.Reader(shp=fh_shp, shx=fh_shx, dbf=fh_dbf) 218 got_fields=shp.fields, got_records=shp.records(), 274 shp = shapefile.Reader(shp=fh_shp, shx=fh_shx, dbf=fh_dbf) 277 got_fields=shp.fields, got_records=shp.records(), 322 shp = shapefile.Reader(shp=fh_shp, shx=fh_shx, dbf=fh_dbf) 325 got_fields=shp.fields, got_records=shp.records(), 365 shp = shapefile.Reader(shp=fh_shp, shx=fh_shx, dbf=fh_dbf) 368 got_fields=shp.fields, got_records=shp.records(), 395 shp = shapefile.Reader(shp=fh_shp, shx=fh_shx, dbf=fh_dbf) 398 got_fields=shp.fields, got_records=shp.records(), [all …]
|
/dports/shells/ksh2020/ast-ksh2020/src/cmd/ksh93/sh/ |
H A D | arith.c | 118 Shell_t *shp = lvalue->shp; in scope() local 120 Dt_t *sdict = (shp->st.real_fun ? shp->st.real_fun->sdict : 0); in scope() 121 Dt_t *nsdict = (shp->namespace ? nv_dict(shp->namespace) : 0); in scope() 122 Dt_t *root = shp->var_tree; in scope() 134 if ((!np || nv_isnull(np)) && sh_macfun(shp, cp, offset = stktell(shp->stk))) { in scope() 135 Fun = sh_arith(shp, sub = stkptr(shp->stk, offset)); in scope() 147 root = shp->last_root; in scope() 300 Shell_t *shp = lvalue->shp; in arith() local 348 nq = nv_search(stkptr(shp->stk, off), shp->fun_tree, 0); in arith() 551 Sfdouble_t sh_arith(Shell_t *shp, const char *str) { return sh_strnum(shp, str, NULL, 1); } in sh_arith() argument [all …]
|
H A D | streval.c | 72 Shell_t *shp; member 174 Shell_t *shp = ep->shp; in arith_exec() local 177 node.shp = shp; in arith_exec() 664 Shell_t *shp = vp->shp; in expr() local 669 lvalue.shp = shp; in expr() 767 stkseek(shp->stk, stktell(shp->stk) - 1); in expr() 846 *((short *)stkptr(shp->stk, offset1)) = stktell(shp->stk); in expr() 849 *((short *)stkptr(shp->stk, offset2)) = stktell(shp->stk); in expr() 872 *((short *)stkptr(shp->stk, offset)) = stktell(shp->stk); in expr() 970 cur.shp = shp; in arith_compile() [all …]
|
H A D | shcomp.c | 57 Shell_t *shp; in main() local 66 shp = sh_init(argc, argv, NULL); in main() 101 shp->shcomp = 1; in main() 110 in = sh_pathopen(shp, cp); in main() 128 sh_onoption(shp, SH_DICTIONARY); in main() 129 sh_onoption(shp, SH_NOEXEC); in main() 132 if (nflag) sh_onoption(shp, SH_NOEXEC); in main() 135 shp->inlineno = 1; in main() 136 sh_onoption(shp, SH_BRACEEXPAND); in main() 139 t = sh_parse(shp, in, 0); in main() [all …]
|
/dports/games/exult/exult-snapshot-v1.7.0.20211128/content/sifixes/src/graphics/ |
H A D | gumps.in | 2 :30:gumps/spellbook_2.shp 3 :31:gumps/spellbook_3.shp 4 :33:gumps/spellbook_5.shp 5 :34:gumps/spellbook_6.shp 6 :35:gumps/spellbook_7.shp 7 :66:gumps/magic_scroll_1st.shp 8 :69:gumps/magic_scroll_4th.shp 9 :70:gumps/magic_scroll_5th.shp 10 :71:gumps/magic_scroll_6th.shp 11 :72:gumps/magic_scroll_7th.shp [all …]
|
/dports/net/gnu-dico/dico-2.10/lib/tests/ |
H A D | itrsh.c | 53 dico_iterator_t itr = shp->get_iterator(shp->object); in print() 56 if (shp->count) in print() 57 printf("# items: %lu\n", (unsigned long) shp->count(shp->object)); in print() 66 shp->print_item(elt); in print() 127 shp->print_item(elt); in current() 154 itr[num] = shp->get_iterator(shp->object); in shell() 167 shp->print_item(elt); in shell() 188 print(shp); in shell() 194 itr[n] = shp->get_iterator(shp->object); in shell() 211 current(shp); in shell() [all …]
|
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/ksh93/bltins/ |
H A D | hist.c | 47 register Shell_t *shp = context->shp; in b_hist() local 59 if(!sh_histinit((void*)shp)) in b_hist() 61 hp = shp->gd->hist_ptr; in b_hist() 205 hist_list(shp->gd->hist_ptr,outfile,hist_tell(shp->gd->hist_ptr,range[flag]),0,arg); in b_hist() 207 sh_sigcheck(shp); in b_hist() 236 if(!sh_isstate(shp,SH_FORKED)) in b_hist() 238 sh_onstate(shp,SH_HISTORY); in b_hist() 249 sh_eval(shp,iop,1); in b_hist() 250 shp->hist_depth--; in b_hist() 257 sh_offstate(shp,SH_HISTORY); in b_hist() [all …]
|
/dports/news/inn/inn-2.6.4/backends/ |
H A D | buffchan.c | 79 for (shp = SITEtable; shp < ARRAY_END(SITEtable); shp++) { in SITEsetup() 80 shp->Size = 3; in SITEsetup() 81 shp->Sites = xmalloc(shp->Size * sizeof(SITE)); in SITEsetup() 82 shp->Used = 0; in SITEsetup() 114 for (shp = SITEtable; shp < ARRAY_END(SITEtable); shp++) in SITEcloseall() 115 for (sp = shp->Sites, i = shp->Used; --i >= 0; sp++) in SITEcloseall() 172 if (shp->Used == shp->Size - 1) { in SITEfind() 174 shp->Sites = xrealloc(shp->Sites, shp->Size * sizeof(SITE)); in SITEfind() 176 sp = &shp->Sites[shp->Used++]; in SITEfind() 222 for (shp = SITEtable; shp < ARRAY_END(SITEtable); shp++) in SITEflushall() [all …]
|
/dports/sysutils/shlock/inn-2.6.4/backends/ |
H A D | buffchan.c | 79 for (shp = SITEtable; shp < ARRAY_END(SITEtable); shp++) { in SITEsetup() 80 shp->Size = 3; in SITEsetup() 81 shp->Sites = xmalloc(shp->Size * sizeof(SITE)); in SITEsetup() 82 shp->Used = 0; in SITEsetup() 114 for (shp = SITEtable; shp < ARRAY_END(SITEtable); shp++) in SITEcloseall() 115 for (sp = shp->Sites, i = shp->Used; --i >= 0; sp++) in SITEcloseall() 172 if (shp->Used == shp->Size - 1) { in SITEfind() 174 shp->Sites = xrealloc(shp->Sites, shp->Size * sizeof(SITE)); in SITEfind() 176 sp = &shp->Sites[shp->Used++]; in SITEfind() 222 for (shp = SITEtable; shp < ARRAY_END(SITEtable); shp++) in SITEflushall() [all …]
|
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/ksh93/sh/ |
H A D | streval.c | 68 Shell_t *shp; member 181 Shell_t *shp = ep->shp; in arith_exec() local 183 node.shp = shp; in arith_exec() 626 Shell_t *shp = vp->shp; in expr() local 631 lvalue.shp = shp; in expr() 750 stkseek(shp->stk,stktell(shp->stk)-1); in expr() 841 *((short*)stkptr(shp->stk,offset1)) = stktell(shp->stk); in expr() 845 *((short*)stkptr(shp->stk,offset2)) = stktell(shp->stk); in expr() 869 *((short*)stkptr(shp->stk,offset)) = stktell(shp->stk); in expr() 964 cur.shp = shp; in arith_compile() [all …]
|
H A D | nvtree.c | 181 dp->root = shp->last_root?shp->last_root:shp->var_tree; in nv_diropen() 1001 Shell_t *shp = wp->shp; in genvalue() local 1217 walk.shp = shp; in walk_tree() 1222 shp->last_root = shp->prev_root; in walk_tree() 1223 shp->last_table = shp->prev_table; in walk_tree() 1226 shp->last_root = nv_dict(shp->last_table); in walk_tree() 1228 shp->var_tree = shp->last_root; in walk_tree() 1239 else if(*stkptr(shp->stk,stktell(shp->stk)-1) == ']') in walk_tree() 1247 walk.root = shp->last_root?shp->last_root:shp->var_tree; in walk_tree() 1385 shp->prev_table = shp->last_table; in put_tree() [all …]
|
/dports/cad/feappv/feappv-4.1i/elements/ |
H A D | strn2d.f | 40 xx = xx + shp(3,j)*xl(1,j) 41 yy = yy + shp(3,j)*xl(2,j) 42 ta = ta + shp(3,j)*tl(j) 43 eps(1,1) = eps(1,1) + shp(1,j)*ul(1,j,1) 44 eps(2,1) = eps(2,1) + shp(2,j)*ul(2,j,1) 45 eps(3,1) = eps(3,1) + shp(3,j)*ul(1,j,1) 46 eps(4,1) = eps(4,1) + shp(2,j)*ul(1,j,1) 47 & + shp(1,j)*ul(2,j,1) 48 eps(1,3) = eps(1,1) + shp(1,j)*ul(1,j,2) 49 eps(2,3) = eps(2,1) + shp(2,j)*ul(2,j,2) [all …]
|