Searched refs:ssize_t (Results 1 - 25 of 341) sorted by relevance

1234567891011>>

/ast/src/lib/libast/sfio/
H A D_sfslen.c27 ssize_t sfslen(void)
29 ssize_t sfslen()
H A D_sfvalue.c27 ssize_t sfvalue(reg Sfio_t* f)
29 ssize_t sfvalue(f)
H A Dsfread.c30 ssize_t sfread(Sfio_t* f, Void_t* buf, size_t n)
32 ssize_t sfread(f,buf,n)
39 reg ssize_t r;
43 SFMTXENTER(f, (ssize_t)(-1));
49 SFMTXRETURN(f, (ssize_t)(n == 0 ? 0 : -1) );
54 SFMTXRETURN(f, (ssize_t)(-1));
59 SFMTXRETURN(f, (ssize_t)(-1));
65 SFMTXRETURN(f, (ssize_t)(-1));
86 SFMTXRETURN(f, (ssize_t)n);
92 { if(r > (ssize_t)
[all...]
H A Dsfwrite.c30 ssize_t sfwrite(Sfio_t* f, const Void_t* buf, size_t n)
32 ssize_t sfwrite(f,buf,n)
39 reg ssize_t w;
43 SFMTXENTER(f, (ssize_t)(-1));
48 SFMTXRETURN(f, (ssize_t)(n == 0 ? 0 : -1) );
53 SFMTXRETURN(f, (ssize_t)(-1));
57 SFMTXRETURN(f, (ssize_t)(-1));
64 reg ssize_t r;
98 { if(w > (ssize_t)n)
99 w = (ssize_t)
[all...]
/ast/src/lib/libvcodex/Vchuff/
H A Dvchuff.h64 extern ssize_t vchsize _ARG_((ssize_t, ssize_t*, ssize_t*, int*));
65 extern ssize_t vchbits _ARG_((ssize_t, ssize_t*, Vcbit_t*));
66 extern Vchtrie_t* vchbldtrie _ARG_((ssize_t, ssize_t*, Vcbit_t*));
68 extern ssize_t vchgetcod
[all...]
H A Dvchbits.c38 ssize_t *o = *((ssize_t**)one), *t = *((ssize_t**)two);
44 ssize_t vchbits(ssize_t nsym, ssize_t* size, Vcbit_t* bits)
46 ssize_t vchbits(nsym, size, bits)
47 ssize_t nsym; /* alphabet size or #symbols */
48 ssize_t* size; /* encoding lengths of bytes */
53 ssize_t **sor
[all...]
H A Dvchcode.c28 static ssize_t rlcode(ssize_t nsym, ssize_t* clen, ssize_t cmax, Vcchar_t* rle, ssize_t rlsz, int encode)
30 static ssize_t rlcode(nsym, clen, cmax, rle, rlsz, encode)
31 ssize_t nsym; /* alphabet size */
32 ssize_t* clen; /* code lengths to be encoded */
33 ssize_t cmax; /* max size of any code */
35 ssize_t rls
[all...]
/ast/src/lib/libvcodex/Vcdelta/
H A Dvcdhdr.h46 { ssize_t add; /* max single ADD size */
47 ssize_t copy[VCD_ADDR]; /* max single COPY size */
48 ssize_t add1[VCD_ADDR]; /* max ADD size in A+C */
49 ssize_t copy2[VCD_ADDR]; /* max COPY size in A+C */
50 ssize_t copy1[VCD_ADDR]; /* max COPY size in C+A */
51 ssize_t add2[VCD_ADDR]; /* max ADD size in C+A */
62 { ssize_t s_near; /* size of near cache */
63 ssize_t* c_near; /* near address cache */
64 ssize_t n; /* index in near cache */
65 ssize_t s_sam
[all...]
H A Dvcdcache.c40 Vcdcache_t* vcdkaopen(ssize_t s_near, ssize_t s_same)
43 ssize_t s_near;
44 ssize_t s_same;
48 ssize_t sz;
50 sz = sizeof(Vcdcache_t) + s_near*sizeof(ssize_t) + s_same*256*sizeof(ssize_t);
54 ka->c_same = ka->c_near = NIL(ssize_t*);
57 ka->c_near = (ssize_t*)(ka+1);
60 ka->c_same = ((ssize_t*)(k
[all...]
H A Dvchamming.c28 static ssize_t hamming(Vcodex_t* vc, const Void_t* data, size_t size, Void_t** out)
30 static ssize_t hamming(vc, data, size, out)
37 ssize_t srcsz, tarsz, s, t, maxs;
47 if((tarsz = (ssize_t)size) <= 0)
54 srcsz = disc ? (ssize_t)disc->size : 0;
85 static ssize_t unhamming(Vcodex_t* vc, const Void_t* data, size_t size, Void_t** out)
87 static ssize_t unhamming(vc, data, size, out)
94 ssize_t srcsz, tarsz, s, t, maxs;
104 if((tarsz = (ssize_t)size) <= 0)
113 srcsz = disc ? (ssize_t)dis
[all...]
/ast/src/lib/libvcodex/
H A Dvcbcktsort.c31 ssize_t vcbcktsort(ssize_t* indx, ssize_t* list, ssize_t n, Vcchar_t* data, ssize_t* bckt)
33 ssize_t vcbcktsort(indx, list, n, data, bckt)
34 ssize_t* indx; /* output sorted indxes */
35 ssize_t* list; /* indices to be sorted */
36 ssize_t n; /* # of indices */
38 ssize_t* bck
[all...]
H A Dvcrecode.c28 int vcrecode(Vcodex_t* vc, Vcchar_t** dtp, ssize_t* dtz, ssize_t head, int type)
33 ssize_t* dtz; /* input/output size */
34 ssize_t head; /* extra header */
38 ssize_t sz;
H A Dvcodex.h87 extern Void_t* sfreserve _ARG_((Sfio_t*, ssize_t, int));
89 extern ssize_t sfvalue _ARG_((Sfio_t*));
123 typedef ssize_t (*Vcapply_f)_ARG_((Vcodex_t*, const Void_t*, size_t, Void_t**));
142 ssize_t nbits; /* # of bits cached in "bits" */
148 ssize_t size; /* size of data or just an int */
162 ssize_t size; /* the data size */
175 ssize_t window; /* suggested window size */
194 ssize_t head; /* required buffer head size */
257 extern ssize_t vcextract _ARG_((Vcodex_t*, Void_t**));
260 extern ssize_t vcappl
[all...]
H A Dvchdr.h87 extern ssize_t _vcrle2coder _ARG_((Vcodex_t*, ssize_t,
88 Vcchar_t*, ssize_t,
89 Vcchar_t*, ssize_t,
90 Vcchar_t**, ssize_t));
92 extern Vcmtarg_t* _vcmtarg _ARG_((Vcmtarg_t*, char*, char*, ssize_t));
H A Dvcqsort.c30 ssize_t nn = (ne); \
36 void vcqsort(Void_t* list, ssize_t n, ssize_t size, Vccompare_f comparf, Void_t* disc)
40 ssize_t n; /* number of objects in list[] */
41 ssize_t size; /* size in byte of each object */
46 ssize_t l, r;
/ast/src/cmd/dsslib/ip_t/
H A Ditl.h38 extern ssize_t itl1external(Cx_t*, Cxtype_t*, int, int, int, const char*, Cxformat_t**, Cxvalue_t*, char*, size_t, Cxdisc_t*);
39 extern ssize_t itl2external(Cx_t*, Cxtype_t*, int, int, int, const char*, Cxformat_t**, Cxvalue_t*, char*, size_t, Cxdisc_t*);
40 extern ssize_t itl4external(Cx_t*, Cxtype_t*, int, int, int, const char*, Cxformat_t**, Cxvalue_t*, char*, size_t, Cxdisc_t*);
42 extern ssize_t itl1internal(Cx_t*, Cxvalue_t*, int, int, int, const char*, size_t, Vmalloc_t*, Cxdisc_t*);
43 extern ssize_t itl2internal(Cx_t*, Cxvalue_t*, int, int, int, const char*, size_t, Vmalloc_t*, Cxdisc_t*);
44 extern ssize_t itl4internal(Cx_t*, Cxvalue_t*, int, int, int, const char*, size_t, Vmalloc_t*, Cxdisc_t*);
/ast/src/lib/libast/include/
H A Dsfio_s.h44 ssize_t _size; /* buffer size */
45 ssize_t _val; /* values or string lengths */
/ast/src/lib/libast/stdio/
H A Dfread.c29 ssize_t v;
31 STDIO_INT(f, "fread", ssize_t, (void*, size_t, size_t, Sfio_t*), (p, s, n, f))
H A Dfwrite.c29 ssize_t v;
31 STDIO_INT(f, "fwrite", ssize_t, (const void*, size_t, size_t, Sfio_t*), (p, s, n, f))
H A Dgetline.c30 ssize_t
33 STDIO_INT(f, "getline", ssize_t, (char**, size_t*, Sfio_t*), (sp, np, f))
H A Dgetdelim.c26 ssize_t
29 ssize_t m;
30 ssize_t n;
31 ssize_t k;
32 ssize_t p;
37 STDIO_INT(f, "getdelim", ssize_t, (char**, size_t*, int, Sfio_t*), (sp, np, delim, f))
92 ssize_t
/ast/src/lib/libcs/
H A Dmsgrecv.c32 ssize_t
35 register ssize_t n;
H A Dcswrite.c30 ssize_t
34 register ssize_t i;
52 ssize_t
/ast/src/lib/libast/cdt/
H A Ddtcomp.c51 extern ssize_t dtsize(Dt_t* d)
53 return (ssize_t)(*(_DT(d)->searchf))((d),(Void_t*)(0),DT_STAT);
57 extern ssize_t dtstat(Dt_t* d)
59 return (ssize_t)(*(_DT(d)->searchf))((d),(Void_t*)(0),DT_STAT);
/ast/src/lib/libcodex/
H A Dcodexnull.c31 static ssize_t
37 static ssize_t

Completed in 59 milliseconds

1234567891011>>