Searched refs:shgd (Results 1 - 15 of 15) sorted by relevance

/ast/src/cmd/ksh93/include/
H A Dvariables.h30 #define PATHNOD (shgd->bltin_nodes)
31 #define PS1NOD (shgd->bltin_nodes+1)
32 #define PS2NOD (shgd->bltin_nodes+2)
33 #define IFSNOD (shgd->bltin_nodes+3)
34 #define PWDNOD (shgd->bltin_nodes+4)
35 #define HOME (shgd->bltin_nodes+5)
36 #define MAILNOD (shgd->bltin_nodes+6)
37 #define REPLYNOD (shgd->bltin_nodes+7)
38 #define SHELLNOD (shgd->bltin_nodes+8)
39 #define EDITNOD (shgd
[all...]
H A Dbuiltins.h29 #define SYSLOGIN (shgd->bltin_cmds)
30 #define SYSEXEC (shgd->bltin_cmds+1)
31 #define SYSSET (shgd->bltin_cmds+2)
32 #define SYSTRUE (shgd->bltin_cmds+4)
33 #define SYSCOMMAND (shgd->bltin_cmds+5)
34 #define SYSCD (shgd->bltin_cmds+6)
35 #define SYSBREAK (shgd->bltin_cmds+7)
36 #define SYSCONT (shgd->bltin_cmds+8)
37 #define SYSTYPESET (shgd->bltin_cmds+9)
38 #define SYSTEST (shgd
[all...]
H A Ddefs.h386 extern struct shared *shgd;
504 # define sh_stats(x) (shgd->stats[(x)]++)
/ast/src/cmd/ksh93/sh/
H A Dwaitevent.c34 old = shgd->waitevent;
35 shgd->waitevent = newevent;
H A Ddefs.c33 struct shared *shgd; variable in typeref:struct:shared
H A Dinit.c590 # define dtime(tp) (((double)times(tp))/shgd->lim.clk_tck)
933 if(!shgd->lim.fs3d)
1280 shgd = newof(0,struct shared,1,0);
1281 shgd->pid = getpid();
1282 shgd->ppid = getppid();
1283 shgd->userid=getuid();
1284 shgd->euserid=geteuid();
1285 shgd->groupid=getgid();
1286 shgd->egroupid=getegid();
1287 shgd
[all...]
H A Djobs.c237 if(++bck.count > shgd->lim.child_max)
1072 hist_list(shgd->hist_ptr,outfile,pw->p_name,0,";");
1223 if(!shgd->hist_ptr)
1229 if(hist_match(shgd->hist_ptr,pw->p_name,cp,flag)>=0)
1391 pw->p_name=hist_tell(shgd->hist_ptr,(int)hp->histind-1);
1718 hist_list(shgd->hist_ptr,outfile,pw->p_name,'&',";");
1869 register int jmax = BYTE(shgd->lim.child_max);
1875 for(j=1; j < shgd->lim.child_max; j++)
1917 if(sig<=shgd->sigmax && shgd
[all...]
H A Dfault.c307 register int flag, sig = shgd->sigmax;
309 for(sig=shgd->sigmax; sig>0; sig--)
H A Dxec.c192 frac = t%shgd->lim.clk_tck;
193 frac = (frac*100)/shgd->lim.clk_tck;
195 t /= shgd->lim.clk_tck;
/ast/src/cmd/ksh93/edit/
H A Dcompletion.c555 if(!shgd->hist_ptr)
566 sfwrite(shgd->hist_ptr->histfp,(char*)ep->e_inbuf,ep->e_eol+1);
568 hist_flush(shgd->hist_ptr);
H A Dhistory.c198 if(shgd->euserid >=id1 && shgd->euserid <= id2)
200 if(shgd->userid >=id1 && shgd->userid <= id2)
238 if(shgd->hist_ptr=hist_ptr)
255 shgd->hist_ptr = hist_ptr = hp;
292 if(shgd->userid)
314 shgd->hist_ptr = hist_ptr = hp;
424 shgd->hist_ptr = 0;
837 sfprintf(hp->auditfp,"%u;%u;%s;%*s%c",sh_isoption(SH_PRIVILEGED)?shgd
[all...]
H A Dhexpand.c304 hl = hist_find(shgd->hist_ptr, str,
305 shgd->hist_ptr->histind,
313 n = shgd->hist_ptr->histind + n;
315 if(n > 0 && hist_seek(shgd->hist_ptr, n) != -1)
316 ref = shgd->hist_ptr->histfp;
H A Dedit.c163 register Edit_t *ep = (Edit_t*)(shgd->ed_context);
177 register Edit_t *ep = (Edit_t*)(shgd->ed_context);
205 register Edit_t *ep = (Edit_t*)(shgd->ed_context);
234 register Edit_t *ep = (Edit_t*)(shgd->ed_context);
271 register Edit_t *ep = (Edit_t*)(shgd->ed_context);
395 register Edit_t *ep = (Edit_t*)(shgd->ed_context);
443 register Edit_t *ep = (Edit_t*)(shgd->ed_context);
1500 register Edit_t *ep = (Edit_t*)(shgd->ed_context);
1522 register Edit_t *ep = (Edit_t*)(shgd->ed_context);
H A Demacs.c265 location = hist_locate(shgd->hist_ptr,location.hist_command,location.hist_line,1);
676 location = hist_locate(shgd->hist_ptr,hline,hloff,count);
1306 location = hist_find(shgd->hist_ptr,(char*)lstring,hline,1,direction);
H A Dvi.c2277 location = hist_find(shgd->hist_ptr,((char*)virtual)+1, curhline, 1, new_direction);

Completed in 60 milliseconds