Searched refs:attr (Results 1 - 25 of 33) sorted by relevance

12

/ast/src/lib/libast/path/
H A Dpathkey.c31 * if attr != 0 then attribute var assignments placed here:
44 pathkey(char* key, char* attr, const char* lang, const char* tool, const char* path) argument
46 return pathkey_20100601(lang, tool, path, key, 16, attr, PATH_MAX);
54 pathkey_20100601(const char* lang, const char* tool, const char* apath, char* key, size_t keysize, char* attr, size_t attrsize) argument
119 if (attr)
120 attr = strcopy(attr, "PREROOT='");
128 if (attr && (getpreroot(attr, path) || getpreroot(attr, Ni
[all...]
H A Dpathprobe.c29 * if attr != 0 then path attribute assignments placed here
52 pathprobe(char* path, char* attr, const char* lang, const char* tool, const char* proc, int op) argument
54 return pathprobe_20100601(lang, tool, proc, op, path, PATH_MAX, attr, PATH_MAX);
98 pathprobe_20100601(const char* lang, const char* tool, const char* aproc, int op, char* path, size_t pathsize, char* attr, size_t attrsize) argument
153 pathkey(lang, tool, proc, key, sizeof(key), attr, attrsize);
/ast/src/lib/libcs/
H A Dcsattr.c25 * return the local attr attributes for host name
82 * if attr==0 || attr=="-" then all attributes returned
86 csattr(register Cs_t* state, const char* name, const char* attr) argument
100 messagef((state->id, NiL, -8, "attr(%s,%s) call", name, attr));
103 if (attr && (!*attr || *attr == '-' && !*(attr
188 _cs_attr(const char* name, const char* attr) argument
[all...]
H A Dgenlocal.sh191 while read host type rate attr
196 a[n]=$attr
245 } | sort -b +1 -2 +2.7n -3 +0 -1 | while read host type attr
274 print $host"$tab1"$type"$tab2$attr"
/ast/src/lib/libast/comp/
H A Dspawnveg.c52 posix_spawnattr_t attr;
54 if (err = posix_spawnattr_init(&attr))
60 if (err = posix_spawnattr_setpgroup(&attr, pgid))
62 if (err = posix_spawnattr_setflags(&attr, POSIX_SPAWN_SETPGROUP))
65 if (err = posix_spawn(&pid, path, NiL, &attr, argv, envv ? envv : environ))
67 posix_spawnattr_destroy(&attr);
79 posix_spawnattr_destroy(&attr);
/ast/src/cmd/dsslib/bgp/
H A Dbgp-cisco.c137 rp->attr = 0;
144 rp->attr |= BGP_best;
147 rp->attr |= BGP_atomic;
150 rp->attr |= BGP_damped;
153 rp->attr |= BGP_history;
156 rp->attr |= BGP_internal;
159 rp->attr |= BGP_rib_failure;
162 rp->attr |= BGP_suppressed;
165 rp->attr |= BGP_stale;
168 rp->attr |
[all...]
H A Dbgp-ciscov6.c140 rp->attr = BGP_valid;
212 else if (rp->attr & BGP_valid)
214 else if (rp->attr & BGP_rib_failure)
218 if (rp->attr & BGP_best)
220 else if (rp->attr & BGP_history)
224 if (rp->attr & BGP_atomic)
226 else if (rp->attr & BGP_damped)
228 else if (rp->attr & BGP_internal)
230 else if (rp->attr & BGP_suppressed)
232 else if (rp->attr
[all...]
H A Dbgp-table.c130 rp->attr = BGP_valid;
150 rp->attr |= BGP_slot;
162 rp->attr |= BGP_slot;
167 rp->attr |= BGP_best;
182 rp->attr |= BGP_slot;
185 rp->attr |= BGP_best;
205 switch (rp->attr & (BGP_best|BGP_damped|BGP_internal|BGP_suppressed|BGP_valid))
H A Dbgp-mrt.c536 rp->attr |= BGP_best;
560 rp->attr |= BGP_best;
796 attr(register Dssfile_t* file, register Mrtstate_t* state, register Bgproute_t* rp, char* end, Dssdisc_t* disc) function
833 sfprintf(sfstderr, " attr flag 0x%02x %s size %u available %d/%d\n", flag, symbol(GROUP_ATTR, type), size, (int)(end - state->buf), (int)(state->end - state->buf));
998 rp->attr |= BGP_atomic;
1148 sfprintf(sfstderr, " attr size %4u available %d\n", size, (int)(state->end - end) + size);
1187 while ((x = attr(file, state, rp, end, disc)) > 0);
1196 rp->attr |= state->group;
1442 rp->attr |= BGP_ipv6;
1536 rp->attr
[all...]
H A Dbgp-ipma.c150 ((Ipmastate_t*)file->data)->route.attr = BGP_best;
/ast/src/cmd/cs/vcs_src/
H A Dvcs_rscs.c33 attr_t attr; local
58 if (get_attr(rf.fd, &attr))
64 rf.ap = &attr;
98 attr_t attr; local
112 if (get_attr(fd, &attr))
118 if ((list = rs_dir(fd, &attr)) == NULL)
/ast/src/cmd/coshell/
H A Dcotest.c94 Coattr_t attr; local
106 attributes(s, &attr, NiL);
110 if (match(sp, &attr, 0))
H A Dshell.c220 Coattr_t attr; local
222 attr.set = attr.global.set = 0;
241 if (!jp) attributes(att, &attr, &con[fd].info.user.attr);
243 else if (!(sp = search((flags & CO_LOCAL) ? DEF|JOB : JOB, att, &attr, &con[fd].info.user.attr)))
278 if (attr.set & SETLABEL) strcpy(jp->label, attr.label);
H A Dservice.h247 Coattr_t attr; member in struct:__anon62
H A Dmain.c497 state.con[fd].info.user.attr.label[0] = 0;
541 attributes(x, &state.con[fd].info.user.attr, NiL);
542 state.con[fd].info.user.attr.set &= ~SETLABEL;
620 if (*(s = state.con[jp->fd].info.user.attr.label))
/ast/src/cmd/3d/
H A Dmap.c96 p += getattr(mp->attr, p);
107 + (mp ? ((mp->channel ? 16 : 0) + (mp->physical ? (mp->physicalsize ? mp->physicalsize : strlen(mp->physical)) : 0) + getattr(mp->attr, NiL)) : 0)
239 getattr(const char* attr, char* buf) argument
241 register char* a = (char*)attr;
263 setattr(char* attr, const char* op, register const char* oe) argument
287 a = attr;
297 if (a > attr)
311 if (k && ((k = strlen(attr)) + m) < (ATTR_MAX - 1))
313 a = attr + k;
392 if (setattr(mp->attr, o
[all...]
H A D3d.h178 char attr[ATTR_MAX]; member in struct:Fs
195 char attr[ATTR_MAX]; member in struct:Mount
/ast/src/lib/libdss/
H A Dtag.h68 unsigned long attr; /* TAG_ATTR_* flags */ member in struct:Tagframe_s
H A Dtag.c442 Tagframe_t attr; local
447 fp->attr = 0;
478 fp->attr = 0;
597 memset(&attr, 0, sizeof(attr));
598 attr.prev = &frame;
599 attr.level = frame.level + 1;
600 attr.tag = vp;
601 if (vp->begf && !(*vp->begf)(tag, &attr, s, disc))
603 if (*v && vp->datf && (*vp->datf)(tag, &attr,
[all...]
/ast/src/cmd/ksh93/sh/
H A Dnvtree.c414 register unsigned val,mask,attr; local
444 if ((attr=nv_isattr(np,~NV_NOFREE)) || fp)
446 if((attr&(NV_NOPRINT|NV_INTEGER))==NV_NOPRINT)
447 attr &= ~NV_NOPRINT;
448 if(!attr && !fp)
453 attr &= NV_RDONLY|NV_ARRAY;
455 attr |= (NV_REF|NV_TAGGED);
480 if(val==NV_DOUBLE && (attr&(NV_EXPNOTE|NV_HEXFLOAT)))
486 if((attr&mask)==val)
535 attr
[all...]
H A Dparse.c2020 unsigned long kiaentity(Lex_t *lexp,const char *name,int len,int type,int first,int last,unsigned long parent, int pkind, int width, const char *attr) argument
2045 sfprintf(lexp->kiafile,"%..64d;%c;%.*s;%d;%d;%..64d;%..64d;%c;%d;%s\n",np->hash,type,len,name,first,last,parent,lexp->fscript,pkind,width,attr);
2047 sfprintf(lexp->kiafile,"%..64d;%c;%s;%d;%d;%..64d;%..64d;%c;%d;%s\n",np->hash,type,name,first,last,parent,lexp->fscript,pkind,width,attr);
/ast/src/cmd/cs/
H A Dcs.c396 char* attr = 0; local
415 attr = opt_info.arg;
648 else if (attr)
652 while (proc = csattr(NiL, attr))
658 hostenv = streq(attr, "-");
659 terse = streq(attr, "name");
662 if (proc = csattr(path, attr))
673 if (proc = csattr(path, attr))
/ast/src/cmd/dsslib/ip_t/
H A Dbgp.h202 Bgpasn_t attr; /* data-specific attribute */ member in struct:Bgpvec_s
276 Bgpasn_t attr; /* BGP_[a-z]* route attributes */ member in struct:Bgproute_s
/ast/src/lib/libcmd/
H A Dcksum.c263 int attr; local
277 attr = 0;
302 attr = 1;
318 else if (attr)
/ast/src/cmd/nmake/
H A Dobject.c1457 unsigned long attr; local
1915 attr = ~0;
1923 attr = o->scan;
1934 attr = 0;
1938 attr = 0;
1940 if (attr != ~0)
1948 if (!(r->scan = scanmap[r->scan] = attr))
1956 attr = ~0;
1964 attr = o->attribute;
1974 attr
[all...]

Completed in 42 milliseconds

12