Searched refs:Void_t (Results 51 - 75 of 120) sorted by relevance

12345

/illumos-gate/usr/src/lib/libast/common/disc/
H A Dsfdcprefix.c47 static ssize_t pfxwrite(Sfio_t* f, const Void_t* buf, register size_t n, Sfdisc_t* dp)
51 Void_t* buf;
95 static int pfxexcept(Sfio_t* f, int type, Void_t* data, Sfdisc_t* dp)
100 Void_t* data;
H A Dsfdcseekable.c41 static ssize_t skwrite(Sfio_t* f, const Void_t* buf, size_t n, Sfdisc_t* disc)
45 Void_t* buf; /* buffer to read into */
54 static ssize_t skread(Sfio_t* f, Void_t* buf, size_t n, Sfdisc_t* disc)
58 Void_t* buf; /* buffer to read into */
164 static int skexcept(Sfio_t* f, int type, Void_t* data, Sfdisc_t* disc)
169 Void_t* data;
H A Dsfdcunion.c49 static ssize_t unwrite(Sfio_t* f, const Void_t* buf, size_t n, Sfdisc_t* disc)
53 Void_t* buf; /* buffer to read into */
62 static ssize_t unread(Sfio_t* f, Void_t* buf, size_t n, Sfdisc_t* disc)
66 Void_t* buf; /* buffer to read into */
148 static int unexcept(Sfio_t* f, int type, Void_t* data, Sfdisc_t* disc)
153 Void_t* data;
/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dsetvbuf.c45 sfsetbuf(f, (Void_t*)buf, size);
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmdisc.c50 (*old->exceptf)(vm,VM_DISC,(Void_t*)disc,old) != 0 )
H A Dvmprofile.c464 static Void_t* pfalloc(Vmalloc_t* vm, size_t size)
466 static Void_t* pfalloc(vm, size)
472 reg Void_t* data;
475 reg Void_t* func;
484 return NIL(Void_t*);
501 ANNOUNCE(local, vm, VM_ALLOC, (Void_t*)data, vm->disc);
507 static int pffree(Vmalloc_t* vm, Void_t* data)
511 Void_t* data;
518 reg Void_t* func;
559 rv = KPVFREE((vm), (Void_t*)dat
[all...]
H A Dvmbest.c650 static Void_t* bestalloc(Vmalloc_t* vm, reg size_t size )
652 static Void_t* bestalloc(vm,size)
674 return NIL(Void_t*);
737 return NIL(Void_t*);
781 static long bestaddr(Vmalloc_t* vm, Void_t* addr )
785 Void_t* addr; /* address to check */
844 static int bestfree(Vmalloc_t* vm, Void_t* data )
848 Void_t* data;
926 static Void_t* bestresize(Vmalloc_t* vm, Void_t* dat
[all...]
H A Dvmopen.c81 if((e = (*disc->exceptf)(vm,VM_OPEN,(Void_t*)(&addr),disc)) != 0)
109 if(!(addr = (Vmuchar_t*)(*memoryf)(vm,NIL(Void_t*),0,s,disc)) )
144 seg->addr = (Void_t*)(addr - (a ? ALIGN-a : 0));
/illumos-gate/usr/src/lib/libast/common/cdt/
H A Ddttree.c33 static Void_t* dttree(Dt_t* dt, Void_t* obj, int type)
35 static Void_t* dttree(dt,obj,type)
37 Void_t* obj;
43 Void_t *o, *k, *key;
56 return NIL(Void_t*);
67 (*dt->memoryf)(dt,(Void_t*)root,0,disc);
73 return NIL(Void_t*);
134 return NIL(Void_t*);
291 (*dt->memoryf)(dt,(Void_t*)roo
[all...]
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dsfio.h47 typedef ssize_t (*Sfread_f)_ARG_((Sfio_t*, Void_t*, size_t, Sfdisc_t*));
48 typedef ssize_t (*Sfwrite_f)_ARG_((Sfio_t*, const Void_t*, size_t, Sfdisc_t*));
50 typedef int (*Sfexcept_f)_ARG_((Sfio_t*, int, Void_t*, Sfdisc_t*));
51 typedef int (*Sfwalk_f)_ARG_((Sfio_t*, Void_t*));
66 typedef int (*Sffmtext_f)_ARG_((Sfio_t*, Void_t*, Sffmt_t*));
67 typedef int (*Sffmtevent_f)_ARG_((Sfio_t*, int, Void_t*, Sffmt_t*));
86 Void_t* mbs; /* multibyte state for format string */
88 Void_t* none; /* unused for now */
230 extern Sfio_t* sfnew _ARG_((Sfio_t*, Void_t*, size_t, int, int));
236 extern int sfwalk _ARG_((Sfwalk_f, Void_t*, in
[all...]
H A Dast_common.h96 /* Void_t is defined so that Void_t* can address any type */
97 #ifndef Void_t
99 # define Void_t void macro
101 # define Void_t char macro
/illumos-gate/usr/src/lib/libast/common/include/
H A Dsfio.h47 typedef ssize_t (*Sfread_f)_ARG_((Sfio_t*, Void_t*, size_t, Sfdisc_t*));
48 typedef ssize_t (*Sfwrite_f)_ARG_((Sfio_t*, const Void_t*, size_t, Sfdisc_t*));
50 typedef int (*Sfexcept_f)_ARG_((Sfio_t*, int, Void_t*, Sfdisc_t*));
51 typedef int (*Sfwalk_f)_ARG_((Sfio_t*, Void_t*));
66 typedef int (*Sffmtext_f)_ARG_((Sfio_t*, Void_t*, Sffmt_t*));
67 typedef int (*Sffmtevent_f)_ARG_((Sfio_t*, int, Void_t*, Sffmt_t*));
86 Void_t* mbs; /* multibyte state for format string */
88 Void_t* none; /* unused for now */
230 extern Sfio_t* sfnew _ARG_((Sfio_t*, Void_t*, size_t, int, int));
236 extern int sfwalk _ARG_((Sfwalk_f, Void_t*, in
[all...]
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dsfio.h47 typedef ssize_t (*Sfread_f)_ARG_((Sfio_t*, Void_t*, size_t, Sfdisc_t*));
48 typedef ssize_t (*Sfwrite_f)_ARG_((Sfio_t*, const Void_t*, size_t, Sfdisc_t*));
50 typedef int (*Sfexcept_f)_ARG_((Sfio_t*, int, Void_t*, Sfdisc_t*));
51 typedef int (*Sfwalk_f)_ARG_((Sfio_t*, Void_t*));
66 typedef int (*Sffmtext_f)_ARG_((Sfio_t*, Void_t*, Sffmt_t*));
67 typedef int (*Sffmtevent_f)_ARG_((Sfio_t*, int, Void_t*, Sffmt_t*));
86 Void_t* mbs; /* multibyte state for format string */
88 Void_t* none; /* unused for now */
230 extern Sfio_t* sfnew _ARG_((Sfio_t*, Void_t*, size_t, int, int));
236 extern int sfwalk _ARG_((Sfwalk_f, Void_t*, in
[all...]
H A Dast_common.h96 /* Void_t is defined so that Void_t* can address any type */
97 #ifndef Void_t
99 # define Void_t void macro
101 # define Void_t char macro
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dsfio.h47 typedef ssize_t (*Sfread_f)_ARG_((Sfio_t*, Void_t*, size_t, Sfdisc_t*));
48 typedef ssize_t (*Sfwrite_f)_ARG_((Sfio_t*, const Void_t*, size_t, Sfdisc_t*));
50 typedef int (*Sfexcept_f)_ARG_((Sfio_t*, int, Void_t*, Sfdisc_t*));
51 typedef int (*Sfwalk_f)_ARG_((Sfio_t*, Void_t*));
66 typedef int (*Sffmtext_f)_ARG_((Sfio_t*, Void_t*, Sffmt_t*));
67 typedef int (*Sffmtevent_f)_ARG_((Sfio_t*, int, Void_t*, Sffmt_t*));
86 Void_t* mbs; /* multibyte state for format string */
88 Void_t* none; /* unused for now */
230 extern Sfio_t* sfnew _ARG_((Sfio_t*, Void_t*, size_t, int, int));
236 extern int sfwalk _ARG_((Sfwalk_f, Void_t*, in
[all...]
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dsfio.h47 typedef ssize_t (*Sfread_f)_ARG_((Sfio_t*, Void_t*, size_t, Sfdisc_t*));
48 typedef ssize_t (*Sfwrite_f)_ARG_((Sfio_t*, const Void_t*, size_t, Sfdisc_t*));
50 typedef int (*Sfexcept_f)_ARG_((Sfio_t*, int, Void_t*, Sfdisc_t*));
51 typedef int (*Sfwalk_f)_ARG_((Sfio_t*, Void_t*));
66 typedef int (*Sffmtext_f)_ARG_((Sfio_t*, Void_t*, Sffmt_t*));
67 typedef int (*Sffmtevent_f)_ARG_((Sfio_t*, int, Void_t*, Sffmt_t*));
86 Void_t* mbs; /* multibyte state for format string */
88 Void_t* none; /* unused for now */
230 extern Sfio_t* sfnew _ARG_((Sfio_t*, Void_t*, size_t, int, int));
236 extern int sfwalk _ARG_((Sfwalk_f, Void_t*, in
[all...]
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfdisc.c51 static int _dccaexcept(Sfio_t* f, int type, Void_t* val, Sfdisc_t* disc)
56 Void_t* val;
66 static ssize_t _dccaread(Sfio_t* f, Void_t* buf, size_t size, Sfdisc_t* disc)
70 Void_t* buf;
203 if((*(d->exceptf))(f,SF_DPOP,(Void_t*)disc,d) < 0 )
217 if( (*(d->exceptf))(f,SF_DPUSH,(Void_t*)disc,d) < 0 )
257 sfsetbuf(f,NIL(Void_t*),(size_t)SF_UNBOUND);
259 sfsetbuf(f,NIL(Void_t*),0);
262 sfsetbuf(f,(Void_t*)f->data,f->size);
H A Dsfnew.c32 Sfio_t* sfnew(Sfio_t* oldf, Void_t* buf, size_t size, int file, int flags)
36 Void_t* buf; /* a buffer to read/write, if NULL, will be allocated */
75 free((Void_t*)f->data);
H A Dvthread.h110 extern int vtset _ARG_((Vthread_t*, int, Void_t*));
124 extern Void_t* vtstatus _ARG_((Vthread_t*));
150 Void_t* exit; /* exit value */
212 #define vtstatus(vt) ((Void_t*)0)
H A Dsfpurge.c45 (void)(*f->disc->exceptf)(f,SF_PURGE,(Void_t*)((int)1),f->disc);
95 (void)(*f->disc->exceptf)(f,SF_PURGE,(Void_t*)((int)0),f->disc);
H A Dsfungetc.c29 static int _uexcept(Sfio_t* f, int type, Void_t* val, Sfdisc_t* disc)
34 Void_t* val;
H A Dsfvscanf.c230 #define SFgetwc(sc,wc,fmt,ac,mbs) _sfgetwc(sc,wc,fmt,ac,(Void_t*)(mbs))
232 #define SFgetwc(sc,wc,fmt,ac,mbs) _sfgetwc(sc,wc,fmt,ac,NIL(Void_t*))
236 static int _sfgetwc(Scan_t* sc, wchar_t* wc, int fmt, Accept_t* ac, Void_t *mbs)
243 Void_t* mbs; /* multibyte parsing state */
264 { if((v = _scgetc((Void_t*)sc, 0)) <= 0)
334 Void_t* value; /* location to assign scanned value */
346 (peek ? SFREAD(f,(Void_t*)data,SFlen(f)) : ((f->next = d),0)) )
437 value = NIL(Void_t*);
480 (f,(Void_t*)&argv,ft);
525 if((*ft->extf)(f, (Void_t*)(
[all...]
H A Dsfmove.c193 memcpy((Void_t*)fr->data,(Void_t*)cp,w);
203 { memcpy((Void_t*)fw->next,(Void_t*)next,r);
206 else if((w = SFWRITE(fw,(Void_t*)next,r)) != r)
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dhsearch.c69 static void hashfree(Dt_t* dt, Void_t* obj, Dtdisc_t* disc)
73 Void_t* obj;
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/
H A Dast_common.h75 /* Void_t is defined so that Void_t* can address any type */
76 #ifndef Void_t
78 # define Void_t void macro
80 # define Void_t char macro

Completed in 141 milliseconds

12345