Searched refs:dsize (Results 1 - 21 of 21) sorted by relevance

/ast/src/cmd/cs/vcs_src/
H A Dvcs_tag.c46 ADVANCE(f, tp->dsize);
54 int new_tag(tp, sp, v, dsize, domain, type)
58 int dsize;
64 tp->dsize = dsize;
H A Dvcs_rscs.h99 int dsize; /* size of data */ member in struct:tag_t
H A Dvcs_checkout.c95 len = tp->dsize;
/ast/src/cmd/pack/
H A Dpack.c97 int out, deleted, dsize, n; local
166 else if((dsize = huffputhdr(hp,fpout)) < 0)
168 else if(!force && block(huffisize(hp)) <= block(huffosize(hp)+dsize))
177 diff = huffisize(hp) - (dsize+huffosize(hp));
181 vprint(hp,dsize);
222 static void vprint(Huff_t *hp,int dsize) argument
227 sfprintf(sfstdout," dictionary overhead = %ld bytes\n", dsize);
231 ((double)(huffosize(hp)-dsize)/(double)huffisize(hp))*CHAR_BIT);
/ast/src/cmd/kshlib/dbm_t/
H A Ddbm_t.c107 if(((char*)ap->key.dptr)[ap->key.dsize-ap->addzero])
109 ap->namlen = check_size(&ap->name,ap->namlen, ap->key.dsize);
110 memcpy(ap->name,ap->key.dptr,ap->key.dsize);
111 ap->name[ap->key.dsize] = 0;
124 if(data.dsize && (val = (char*)data.dptr))
126 if(!ap->header.hdr.type && data.dsize>1 && *val==0 && val[1])
138 ap->vallen = check_size(&ap->node.nvalue,ap->vallen,data.dsize);
139 memcpy(ap->node.nvalue,data.dptr,data.dsize);
140 ap->node.nvalue[data.dsize] = 0;
144 nv_setsize(ap->cur,data.dsize);
[all...]
/ast/src/cmd/coshell/
H A Devent.c427 val.dsize = sizeof(*dat);
456 val.dsize = sizeof(*dat);
472 val.dsize = sizeof(*dat);
494 val.dsize = sizeof(*dat);
571 key.dsize = strlen(s) + 1;
572 if (key.dsize >= sizeof(e->name))
573 s[(key.dsize = sizeof(e->name)) - 1] = 0;
577 if (val.dsize > sizeof(dat))
578 val.dsize = sizeof(dat);
593 if (val.dsize > sizeo
[all...]
/ast/src/cmd/ksh93/sh/
H A Dnvtype.c95 size_t dsize; member in struct:Namtype
240 size_t dsize=0,offset = (char*)np-(char*)pp->ptype; local
242 dsize = nv_datasize(mp,&dsize);
243 if(mp->nvalue.cp >= pp->ttype->data && mp->nvalue.cp < (char*)pp+pp->ttype->fun.dsize)
247 memcpy((char*)np->nvalue.cp,mp->nvalue.cp,dsize);
333 if(nq->nvalue.cp >= pp->data && nq->nvalue.cp < (char*)pp +pp->fun.dsize)
336 if(data >= pp->data && data < (char*)pp +pp->fun.dsize)
369 size_t size = fp->dsize;
384 if(size==0 && (!fp->disc || (size=fp->disc->dsize)
855 int size=sizeof(NV_DATA), dsize=0, nnodes; local
[all...]
H A Dbash.c384 Namfun_t *fp = calloc(dp->dsize,1);
393 Namfun_t *fp = calloc(dp->dsize,1);
H A Darray.c87 size_t size = ap->hdr.dsize;
89 size = ap->hdr.disc->dsize;
832 ap->header.hdr.dsize = sizeof(*ap) + i;
845 ap->header.hdr.dsize = sizeof(*ap) + i;
1146 if((aq->header.nelem&ARRAY_NOCHILD) && nv_isvtree(mp) && !mp->nvfun->dsize)
1414 ap->hdr.dsize = sizeof(Namarr_t)+sz;
1681 ap->header.hdr.dsize = sizeof(struct assoc_array);
H A Dnvdisc.c520 dp->dsize = sizeof(struct vardisc);
641 if(!(size=fp->dsize) && (!fp->disc || !(size=fp->disc->dsize)))
663 vp->fun.dsize = sizeof(Nambfun_t)+n*sizeof(Namval_t*);
H A Dnvtree.c73 fp->dsize = 0;
1095 int flags=0, dsize=fp?fp->dsize:0; local
1109 if(dsize && (flags&NV_EXPORT))
1167 nfp->dsize = sizeof(Namfun_t);
H A Dinit.c1794 sp->hdr.dsize = sizeof(struct Stats) + nstat*(sizeof(int)+NV_MINSZ);
H A Dname.c610 np->nvfun->dsize = 0;
/ast/src/cmd/kshlib/dbm/
H A Ddbm.c242 key.dsize = strlen(key.dptr) + 1;
332 key.dsize = strlen(key.dptr) + 1;
343 val.dsize = strlen(val.dptr) + 1;
/ast/src/cmd/ksh93/include/
H A Dnval.h56 size_t dsize; member in struct:Namdisc
75 uint32_t dsize; member in struct:Namfun
/ast/src/cmd/cs/
H A Ddbm.c165 key.dsize = strlen(key.dptr) + 1;
166 val.dsize = strlen(val.dptr) + 1;
/ast/src/cmd/kshlib/open/
H A Dopen.c212 int dsize; /* size for data structure */ member in struct:_class_
380 np->nvalue = (char*)calloc(sp->dsize,1);
/ast/src/cmd/3d/
H A Dvcs.c85 int dsize; /* size of data */ member in struct:__anon21
308 lseek(f, tp->dsize, SEEK_CUR);
/ast/src/cmd/ksh93/bltins/
H A Denum.c260 ep->hdr.dsize = sizeof(struct Enum)+sz;
/ast/src/cmd/kshlib/dss/
H A Ddss.c491 int size = fp->dsize;
492 if(size==0 || (!fp->disc || (size=fp->disc->dsize)==0))
515 size_t size = fp->dsize;
516 if(size==0 && (!fp->disc || (size=fp->disc->dsize)==0))
1113 pp->fun.dsize = sizeof(struct type);
/ast/src/lib/libtksh/src/
H A Dvar.c263 nf_arr = (Namfun_t *) calloc(1, tksh_trace_array.dsize);

Completed in 76 milliseconds