Searched defs:extra (Results 1 - 25 of 26) sorted by relevance

12

/ast/src/lib/libast/string/
H A Dfmtfmt.c64 unsigned int extra[elementsof(formats)]; local
185 if (extra[i] = x)
199 if (extra[i])
200 s += sfsprintf(s, 10, "%d", extra[m]);
/ast/src/cmd/std/
H A Dbanner.c222 main(int argc, char *argv[], void *extra) argument
230 NoP(extra);
/ast/src/cmd/3d/
H A Dpathnext.c31 pathnext(char* sp, char* extra, long* visits) argument
40 message((-4, "pathnext: ++ %s%s%s [0x%08x]", sp, extra ? " + " : state.null, extra ? extra : state.null, visits ? *visits : 0L));
60 * check if stuff after extra needs to be shifted
78 * shift right extra
81 if (extra)
83 for (tmp = extra + strlen(extra); tmp >= extra; tm
[all...]
/ast/src/cmd/ksh93/sh/
H A Dfcin.c167 static struct Extra extra; local
171 if((c = mbsize(extra.next)) < 0)
180 c = *extra.next++;
184 c = mbchar(extra.next);
192 memcpy(extra.buff, _Fcin.fcptr, n);
196 if((extra.buff[i] = fcgetc(c))==0)
200 extra.next = extra.buff;
H A Dbash.c190 int b_shopt(int argc,register char *argv[],void *extra) argument
192 Shell_t *shp = (Shell_t*)extra;
H A Denv.c45 int extra; member in struct:_env_
91 register int n=ep->extra;
110 environ = ep->env+ep->extra;
111 return(ep->env+ep->extra);
184 * If <extra> > 0, <extra> slots will be left at beginning of
186 * If <extra>==ENV_USABLE, then the original environ can be
189 Env_t *env_open(char **envp, int extra) argument
204 if(extra==ENV_STABLE)
210 ep->count = ep->extra
[all...]
H A Dexpand.c98 register int flags,extra=0; local
123 extra += scantree(shp->alias_tree,pattern,arghead);
124 extra += scantree(shp->fun_tree,pattern,arghead);
211 return(gp->gl_pathc+extra);
H A Dnvdisc.c1177 * if <extra>==1, the built-in will be deleted
1183 Namval_t *sh_addbuiltin(const char *path, Shbltin_f bltin, void *extra) argument
1189 if(extra==(void*)1)
1193 else if(sh.bltin_dir && extra!=(void*)1)
1204 if(extra == (void*)1)
1227 if(extra == (void*)1)
1238 if(extra)
1239 np->nvfun = (Namfun_t*)extra;
1248 np->nvfun = (Namfun_t*)extra;
1257 if(extra
[all...]
H A Dinit.c1601 void *extra[2]; member in struct:adata
H A Dxec.c3259 void *extra[2]; member in struct:Tdata
/ast/src/cmd/tests/
H A Dopt.c161 char** extra; local
170 extra = 0;
205 if (!extra)
206 extra = argv;
260 if (extra)
263 optget(NiL, extra[n]);
264 extra = 0;
/ast/src/lib/libz/
H A Dinftrees.c62 const unsigned short FAR *extra; /* extra bits table to use */ local
63 int end; /* use base and extra for symbol > end */
69 static const unsigned short lext[31] = { /* Length codes 257..285 extra */
76 static const unsigned short dext[32] = { /* Distance codes 0..29 extra */
190 base = extra = work; /* dummy value--not used */
196 extra = lext;
197 extra -= 257;
202 extra = dext;
230 this.op = (unsigned char)(extra[wor
[all...]
H A Dinflate.h24 OS, /* i: waiting for extra flags and operating system (gzip) */
25 EXLEN, /* i: waiting for extra length (gzip) */
26 EXTRA, /* i: waiting for extra bytes (gzip) */
40 LENEXT, /* i: waiting for length extra bits */
42 DISTEXT, /* i: waiting for distance extra bits */
100 unsigned extra; /* extra bits needed */ member in struct:inflate_state
H A Dzlib.h112 int xflags; /* extra flags (not used when writing a gzip file) */
114 Bytef *extra; /* pointer to extra field or Z_NULL if none */ member in struct:gz_header_s
115 uInt extra_len; /* extra field length (valid if extra != Z_NULL) */
116 uInt extra_max; /* space at extra (only when reading header) */
507 file name, no extra data, no comment, no modification time (set to zero),
675 deflate(). The text, time, os, extra field, name, and comment information
677 ignored -- the extra flags are set according to the compression level). The
679 a zero byte, and that if extra i
[all...]
H A Dtrees.c61 local const int extra_lbits[LENGTH_CODES] /* extra bits for each length code */
64 local const int extra_dbits[D_CODES] /* extra bits for each distance code */
67 local const int extra_blbits[BL_CODES]/* extra bits for each bit length code */
92 * need for the L_CODES extra codes used during heap construction. However
123 const intf *extra_bits; /* extra bits for each code or NULL */
497 const intf *extra = desc->stat_desc->extra_bits; local
503 int xbits; /* extra bits */
525 if (n >= base) xbits = extra[n-base];
655 /* node is 0 or 1 so it does not have extra bits */
1081 int extra; /* numbe local
[all...]
/ast/src/lib/libast/disc/
H A Dsfdcdos.c55 char extra; member in struct:_dosdisc
121 if(dp->extra)
123 dp->extra=0;
/ast/src/lib/libcmd/
H A Duname.c230 #define extra(m) do \ macro
474 extra(sysname);
475 extra(nodename);
476 extra(release);
477 extra(version);
478 extra(machine);
480 extra(idnumber);
483 extra(m_type);
486 extra(base_rel);
/ast/src/lib/libast/misc/
H A Dstk.c423 * if extra is non-zero, first add a extra bytes and zero the first
425 char *stkfreeze(register Sfio_t *stream, register size_t extra) argument
429 stkinit(extra);
432 if(extra)
434 if(extra > (stream->_endb-stream->_next))
436 if (!(top = (unsigned char*)stkgrow(stream,extra)))
441 top += extra;
H A Dglob.c590 int extra = 1; local
679 extra += gp->gl_offs;
779 argv = (char**)stakalloc((gp->gl_pathc + extra) * sizeof(char*));
782 skip += --extra;
789 while (--extra > 0)
/ast/src/lib/libpz/
H A Dpzsplit.c307 Sfulong_t extra; local
356 index.offset = extra = 0;
378 pz->count.uncompressed += index.offset - extra;
379 index.offset = extra = 0;
421 extra += o;
436 pz->count.uncompressed += index.offset - extra;
/ast/src/cmd/codexlib/zip/
H A Dimplode.c155 static ush extra[] = variable
246 register ulg e; /* table entry flag/number of extra bits */
336 if(e) /* get length extra bits */
387 register ulg e; /* table entry flag/number of extra bits */
476 if(e) /* get length extra bits */
527 register ulg e; /* table entry flag/number of extra bits */
604 if(e) /* get length extra bits */
655 register ulg e; /* table entry flag/number of extra bits */
731 if(e) /* get length extra bits */
865 if(huff(state->l, 64, 0, cplen3, extra,
[all...]
/ast/src/lib/libast/vmalloc/
H A Dvmbest.c1014 size_t s, extra; local
1029 extra = 0;
1031 { extra = DB_HEAD;
1032 while(align < extra || (align - extra) < sizeof(Block_t))
1039 s = size + 2*(align+sizeof(Head_t)+extra);
1047 if((s = (size_t)((VLONG(data)+extra)%align)) != 0)
1048 data += align-s; /**/ASSERT(((VLONG(data)+extra)%align) == 0);
1051 { if(((Vmuchar_t*)np - (Vmuchar_t*)tp) < (ssize_t)(sizeof(Block_t)+extra) )
1054 } /**/ASSERT(((VLONG(data)+extra)
[all...]
/ast/src/lib/libuu/
H A Duulib.c358 (*uu->disc->errorf)(uu, uu->disc, 1, "%c: extra input character ignored", c);
1333 int extra; local
1336 extra = data->size;
1338 extra = 0;
1339 if (!(uu = newof(0, Uu_t, 1, extra)))
/ast/src/lib/libast/regex/
H A Dregcomp.c145 node(Cenv_t* env, int type, int lo, int hi, size_t extra) argument
149 DEBUG_TEST(0x0800,(sfprintf(sfstdout, "%s:%d node(%d,%d,%d,%u)\n", file, line, type, lo, hi, sizeof(Rex_t) + extra)),(0));
150 if (e = (Rex_t*)alloc(env->disc, 0, sizeof(Rex_t) + extra))
152 memset(e, 0, sizeof(Rex_t) + extra);
160 if (extra)
/ast/src/cmd/re/
H A Dtestglob.c506 int extra; local
621 extra = 0;
858 extra = 15;
965 if (gl.gl_extra = extra)
1014 av[n++] = gi->gl_path + extra;

Completed in 79 milliseconds

12