Home
last modified time | relevance | path

Searched refs:Void_t (Results 1 – 25 of 223) sorted by relevance

123456789

/titanic_51/usr/src/contrib/ast/src/lib/libast/comp/
H A Dtsearch.c55 extern Void_t* dtfinger(Dt_t*);
63 Void_t* key;
68 int(* comparf)_ARG_((const Void_t*, const Void_t*));
86 return (*((Treedisc_t*)disc)->comparf)((Void_t*)one,(Void_t*)two);
103 Void_t* tsearch(const Void_t* key, Void_t** rootp, in tsearch() argument
104 int(*comparf)(const Void_t*,cons in tsearch() argument
139 tfind(const Void_t * key,Void_t * const * rootp,int (* comparf)(const Void_t *,const Void_t *)) tfind() argument
140 tfind(const Void_t * key,Void_t * const * rootp,int (* comparf)(const Void_t *,const Void_t *)) tfind() argument
165 tdelete(const Void_t * key,Void_t ** rootp,int (* comparf)(const Void_t *,const Void_t *)) tdelete() argument
166 tdelete(const Void_t * key,Void_t ** rootp,int (* comparf)(const Void_t *,const Void_t *)) tdelete() argument
201 _twalk(Tree_t * obj,void (* action)(const Void_t *,VISIT,int),int level) _twalk() argument
227 twalk(const Void_t * root,void (* action)(const Void_t *,VISIT,int)) twalk() argument
[all...]
/titanic_51/usr/src/lib/libast/common/comp/
H A Dtsearch.c61 Void_t* key;
66 int(* comparf)_ARG_((const Void_t*, const Void_t*));
84 return (*((Treedisc_t*)disc)->comparf)((Void_t*)one,(Void_t*)two);
101 Void_t* tsearch(const Void_t* key, Void_t** rootp, in tsearch() argument
102 int(*comparf)(const Void_t*,const Void_t*) ) in tsearch() argument
104 Void_t* tsearch(key, rootp, comparf) in tsearch()
105 Void_t* key; in tsearch()
106 Void_t** rootp;
115 return NIL(Void_t*);
122 return NIL(Void_t*);
[all …]
/titanic_51/usr/src/lib/libast/sparc/include/ast/
H A Dvmalloc.h43 typedef Void_t* (*Vmemory_f)_ARG_((Vmalloc_t*, Void_t*, size_t, size_t, Vmdisc_t*));
44 typedef int (*Vmexcept_f)_ARG_((Vmalloc_t*, int, Void_t*, Vmdisc_t*));
64 { Void_t* (*allocf)_ARG_((Vmalloc_t*,size_t));
65 Void_t* (*resizef)_ARG_((Vmalloc_t*,Void_t*,size_t,int));
66 int (*freef)_ARG_((Vmalloc_t*,Void_t*));
67 long (*addrf)_ARG_((Vmalloc_t*,Void_t*));
68 long (*sizef)_ARG_((Vmalloc_t*,Void_t*));
70 Void_t* (*alignf)_ARG_((Vmalloc_t*,size_t,size_t));
78 Void_t* func; /* calling function */
151 extern Vmalloc_t* vmmopen _ARG_(( char*, Void_t*, size_t ));
[all …]
H A Dcdt.h46 typedef Void_t* (*Dtsearch_f)_ARG_((Dt_t*,Void_t*,int));
47 typedef Void_t* (*Dtmake_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*));
48 typedef void (*Dtfree_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*));
49 typedef int (*Dtcompar_f)_ARG_((Dt_t*,Void_t*,Void_t*,Dtdisc_t*));
50 typedef unsigned int (*Dthash_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*));
51 typedef Void_t* (*Dtmemory_f)_ARG_((Dt_t*,Void_t*,size_t,Dtdisc_t*));
52 typedef int (*Dtevent_f)_ARG_((Dt_t*,int,Void_t*,Dtdisc_t*));
65 Void_t* obj; /* user object */
125 Void_t* user; /* for user's usage */
226 extern int dtwalk _ARG_((Dt_t*, int(*)(Dt_t*,Void_t*,Void_t*), Void_t*));
[all …]
/titanic_51/usr/src/lib/libast/common/include/
H A Dvmalloc.h43 typedef Void_t* (*Vmemory_f)_ARG_((Vmalloc_t*, Void_t*, size_t, size_t, Vmdisc_t*));
44 typedef int (*Vmexcept_f)_ARG_((Vmalloc_t*, int, Void_t*, Vmdisc_t*));
64 { Void_t* (*allocf)_ARG_((Vmalloc_t*,size_t));
65 Void_t* (*resizef)_ARG_((Vmalloc_t*,Void_t*,size_t,int));
66 int (*freef)_ARG_((Vmalloc_t*,Void_t*));
67 long (*addrf)_ARG_((Vmalloc_t*,Void_t*));
68 long (*sizef)_ARG_((Vmalloc_t*,Void_t*));
70 Void_t* (*alignf)_ARG_((Vmalloc_t*,size_t,size_t));
78 Void_t* func; /* calling function */
151 extern Vmalloc_t* vmmopen _ARG_(( char*, Void_t*, size_t ));
[all …]
H A Dcdt.h46 typedef Void_t* (*Dtsearch_f)_ARG_((Dt_t*,Void_t*,int));
47 typedef Void_t* (*Dtmake_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*));
48 typedef void (*Dtfree_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*));
49 typedef int (*Dtcompar_f)_ARG_((Dt_t*,Void_t*,Void_t*,Dtdisc_t*));
50 typedef unsigned int (*Dthash_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*));
51 typedef Void_t* (*Dtmemory_f)_ARG_((Dt_t*,Void_t*,size_t,Dtdisc_t*));
52 typedef int (*Dtevent_f)_ARG_((Dt_t*,int,Void_t*,Dtdisc_t*));
65 Void_t* obj; /* user object */
125 Void_t* user; /* for user's usage */
226 extern int dtwalk _ARG_((Dt_t*, int(*)(Dt_t*,Void_t*,Void_t*), Void_t*));
[all …]
/titanic_51/usr/src/lib/libast/i386/include/ast/
H A Dvmalloc.h43 typedef Void_t* (*Vmemory_f)_ARG_((Vmalloc_t*, Void_t*, size_t, size_t, Vmdisc_t*));
44 typedef int (*Vmexcept_f)_ARG_((Vmalloc_t*, int, Void_t*, Vmdisc_t*));
64 { Void_t* (*allocf)_ARG_((Vmalloc_t*,size_t));
65 Void_t* (*resizef)_ARG_((Vmalloc_t*,Void_t*,size_t,int));
66 int (*freef)_ARG_((Vmalloc_t*,Void_t*));
67 long (*addrf)_ARG_((Vmalloc_t*,Void_t*));
68 long (*sizef)_ARG_((Vmalloc_t*,Void_t*));
70 Void_t* (*alignf)_ARG_((Vmalloc_t*,size_t,size_t));
78 Void_t* func; /* calling function */
151 extern Vmalloc_t* vmmopen _ARG_(( char*, Void_t*, size_t ));
[all …]
H A Dcdt.h46 typedef Void_t* (*Dtsearch_f)_ARG_((Dt_t*,Void_t*,int));
47 typedef Void_t* (*Dtmake_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*));
48 typedef void (*Dtfree_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*));
49 typedef int (*Dtcompar_f)_ARG_((Dt_t*,Void_t*,Void_t*,Dtdisc_t*));
50 typedef unsigned int (*Dthash_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*));
51 typedef Void_t* (*Dtmemory_f)_ARG_((Dt_t*,Void_t*,size_t,Dtdisc_t*));
52 typedef int (*Dtevent_f)_ARG_((Dt_t*,int,Void_t*,Dtdisc_t*));
65 Void_t* obj; /* user object */
125 Void_t* user; /* for user's usage */
226 extern int dtwalk _ARG_((Dt_t*, int(*)(Dt_t*,Void_t*,Void_t*), Void_t*));
[all …]
/titanic_51/usr/src/lib/libast/amd64/include/ast/
H A Dvmalloc.h43 typedef Void_t* (*Vmemory_f)_ARG_((Vmalloc_t*, Void_t*, size_t, size_t, Vmdisc_t*));
44 typedef int (*Vmexcept_f)_ARG_((Vmalloc_t*, int, Void_t*, Vmdisc_t*));
64 { Void_t* (*allocf)_ARG_((Vmalloc_t*,size_t));
65 Void_t* (*resizef)_ARG_((Vmalloc_t*,Void_t*,size_t,int));
66 int (*freef)_ARG_((Vmalloc_t*,Void_t*));
67 long (*addrf)_ARG_((Vmalloc_t*,Void_t*));
68 long (*sizef)_ARG_((Vmalloc_t*,Void_t*));
70 Void_t* (*alignf)_ARG_((Vmalloc_t*,size_t,size_t));
78 Void_t* func; /* calling function */
151 extern Vmalloc_t* vmmopen _ARG_(( char*, Void_t*, size_t ));
[all …]
H A Dcdt.h46 typedef Void_t* (*Dtsearch_f)_ARG_((Dt_t*,Void_t*,int));
47 typedef Void_t* (*Dtmake_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*));
48 typedef void (*Dtfree_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*));
49 typedef int (*Dtcompar_f)_ARG_((Dt_t*,Void_t*,Void_t*,Dtdisc_t*));
50 typedef unsigned int (*Dthash_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*));
51 typedef Void_t* (*Dtmemory_f)_ARG_((Dt_t*,Void_t*,size_t,Dtdisc_t*));
52 typedef int (*Dtevent_f)_ARG_((Dt_t*,int,Void_t*,Dtdisc_t*));
65 Void_t* obj; /* user object */
125 Void_t* user; /* for user's usage */
226 extern int dtwalk _ARG_((Dt_t*, int(*)(Dt_t*,Void_t*,Void_t*), Void_t*));
[all …]
/titanic_51/usr/src/lib/libast/sparcv9/include/ast/
H A Dvmalloc.h43 typedef Void_t* (*Vmemory_f)_ARG_((Vmalloc_t*, Void_t*, size_t, size_t, Vmdisc_t*));
44 typedef int (*Vmexcept_f)_ARG_((Vmalloc_t*, int, Void_t*, Vmdisc_t*));
64 { Void_t* (*allocf)_ARG_((Vmalloc_t*,size_t));
65 Void_t* (*resizef)_ARG_((Vmalloc_t*,Void_t*,size_t,int));
66 int (*freef)_ARG_((Vmalloc_t*,Void_t*));
67 long (*addrf)_ARG_((Vmalloc_t*,Void_t*));
68 long (*sizef)_ARG_((Vmalloc_t*,Void_t*));
70 Void_t* (*alignf)_ARG_((Vmalloc_t*,size_t,size_t));
78 Void_t* func; /* calling function */
151 extern Vmalloc_t* vmmopen _ARG_(( char*, Void_t*, size_t ));
[all …]
H A Dcdt.h46 typedef Void_t* (*Dtsearch_f)_ARG_((Dt_t*,Void_t*,int));
47 typedef Void_t* (*Dtmake_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*));
48 typedef void (*Dtfree_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*));
49 typedef int (*Dtcompar_f)_ARG_((Dt_t*,Void_t*,Void_t*,Dtdisc_t*));
50 typedef unsigned int (*Dthash_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*));
51 typedef Void_t* (*Dtmemory_f)_ARG_((Dt_t*,Void_t*,size_t,Dtdisc_t*));
52 typedef int (*Dtevent_f)_ARG_((Dt_t*,int,Void_t*,Dtdisc_t*));
65 Void_t* obj; /* user object */
125 Void_t* user; /* for user's usage */
226 extern int dtwalk _ARG_((Dt_t*, int(*)(Dt_t*,Void_t*,Void_t*), Void_t*));
[all …]
/titanic_51/usr/src/contrib/ast/src/lib/libast/include/
H A Dvmalloc.h43 typedef Void_t* (*Vmemory_f)_ARG_((Vmalloc_t*, Void_t*, size_t, size_t, Vmdisc_t*));
44 typedef int (*Vmexcept_f)_ARG_((Vmalloc_t*, int, Void_t*, Vmdisc_t*));
70 { Void_t* (*allocf)_ARG_((Vmalloc_t*,size_t,int));
71 Void_t* (*resizef)_ARG_((Vmalloc_t*,Void_t*,size_t,int,int));
72 int (*freef)_ARG_((Vmalloc_t*,Void_t*,int));
73 long (*addrf)_ARG_((Vmalloc_t*,Void_t*,int));
74 long (*sizef)_ARG_((Vmalloc_t*,Void_t*,int));
76 Void_t* (*align
[all...]
H A Dcdt.h68 typedef Void_t* (*Dtsearch_f)_ARG_((Dt_t*,Void_t*,int));
69 typedef Void_t* (*Dtmake_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*));
70 typedef void (*Dtfree_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*));
71 typedef int (*Dtcompar_f)_ARG_((Dt_t*,Void_t*,Void_t*,Dtdisc_t*));
72 typedef unsigned int (*Dthash_f)_ARG_((Dt_t*,Void_t*,Dtdisc_t*));
73 typedef Void_t* (*Dtmemory_f)_ARG_((Dt_t*,Void_t*,size_
[all...]
/titanic_51/usr/src/lib/libast/common/vmalloc/
H A Dvmmopen.c64 Void_t* data; /* data to be returned */
70 Void_t* base; /* base of the map */
85 static int mmvminit(char* file, Void_t* addr, size_t round, Mmvm_t* mm) in mmvminit()
89 Void_t* addr; /* desired starting address */
96 Void_t *base;
99 base = NIL(Void_t*);
114 base = (Void_t*)mmap(mm->base, mm->size, PROT_READ|PROT_WRITE,
116 if(base == (Void_t*)MAP_FAILED)
117 base = NIL(Void_t*);
128 base = (Void_t*)mmap(addr, (size_t)size, PROT_READ|PROT_WRITE,
[all …]
H A Dmalloc.c173 __inline Void_t* _vmrecord(Void_t* p) in _vmrecord()
230 Void_t* func; in vmflinit()
248 extern Void_t* calloc(reg size_t n_obj, reg size_t s_obj) in calloc()
250 extern Void_t* calloc(n_obj, s_obj) in calloc()
256 return VMRECORD((*Vmregion->meth.resizef)(Vmregion,NIL(Void_t*),n_obj*s_obj,VM_RSZERO));
260 extern Void_t* malloc(reg size_t size) in malloc()
262 extern Void_t* malloc(size) in malloc()
271 extern Void_t* realloc(reg Void_t* data, reg size_t size) in realloc()
273 extern Void_t* realloc(data,size) in realloc()
274 reg Void_t* data; /* block to be reallocated */ in realloc()
[all …]
H A Dvmlast.c36 static Void_t* lastalloc(Vmalloc_t* vm, size_t size) in lastalloc()
38 static Void_t* lastalloc(vm, size) in lastalloc()
55 return NIL(Void_t*);
100 ANNOUNCE(local, vm, VM_ALLOC, (Void_t*)tp, vm->disc);
102 return (Void_t*)tp;
106 static int lastfree(Vmalloc_t* vm, reg Void_t* data ) in lastfree()
110 reg Void_t* data;
131 if(data != (Void_t*)vd->free)
162 static Void_t* lastresize(Vmalloc_t* vm, reg Void_t* data, size_t size, int type ) in lastresize()
164 static Void_t* lastresize(vm, data, size, type ) in lastresize()
[all …]
H A Dvmdebug.c47 static Void_t* Dbwatch[S_WATCH];
99 static void dbwarn(Vmalloc_t* vm, Void_t* data, int where, in dbwarn()
100 const char* file, int line, const Void_t* func, int type) in dbwarn()
104 Void_t* data; /* data block */
108 const Void_t* func; /* function called from */
188 static void dbwatch(Vmalloc_t* vm, Void_t* data, in dbwatch()
189 const char* file, int line, const Void_t* func, int type) in dbwatch()
193 Void_t* data;
196 const Void_t* func;
265 static long dbaddr(Vmalloc_t* vm, Void_t* addr) in dbaddr()
[all …]
/titanic_51/usr/src/contrib/ast/src/lib/libast/vmalloc/
H A Dmalloc.c196 __inline Void_t* _vmrecord(Void_t* p) in _vmrecord()
253 Void_t* func; in vmflinit()
327 static Vmalloc_t* regionof(Void_t* addr) in regionof()
370 if(asocasptr(&Regfree, head, data) == (Void_t*)head ) in addfreelist()
388 if(vm = regionof((Void_t*)list)) in clrfreelist()
390 { (void)(*vm->meth.freef)(vm, (Void_t*)list, 1); in clrfreelist()
404 static int regexcept(Vmalloc_t* vm, int type, Void_t* data, Vmdisc_t* disc) in regexcept()
408 *(Void_t**)data = data; /* just make it non-NULL */ in regexcept()
487 extern Void_t* callo
844 F1(_cfree,Void_t *,p) F1() argument
845 F1(_free,Void_t *,p) F1() argument
853 F2(_realloc,Void_t *,p,size_t,n) F2() argument
861 F1(__cfree,Void_t *,p) F1() argument
862 F1(__free,Void_t *,p) F1() argument
870 F2(__realloc,Void_t *,p,size_t,n) F2() argument
878 F1(__libc_cfree,Void_t *,p) F1() argument
879 F1(__libc_free,Void_t *,p) F1() argument
887 F2(__libc_realloc,Void_t *,p,size_t,n) F2() argument
1037 F1(_ast_free,Void_t *,p) F1() argument
1042 F2(_ast_realloc,Void_t *,p,size_t,n) F2() argument
1047 F1(_ast_cfree,Void_t *,p) F1() argument
[all...]
H A Dvmmopen.c85 Void_t* val; /* associated value */
90 Void_t* base; /* address to map to */
135 Void_t *base = mmvm->base; in mmfix()
138 if(base != (Void_t*)mmvm) /* mmvm is not right yet */ in mmfix()
141 { munmap((Void_t*)mmvm, size); in mmfix()
146 { shmdt((Void_t*)mmvm); in mmfix()
159 Void_t *base; in mminit()
190 mmvm = (Mmvm_t*)mmap(NIL(Void_t*), size, (PROT_READ|PROT_WRITE), in mminit()
201 mmvm = (Mmvm_t*)shmat(mmdc->shmid, NIL(Void_t*), 0); in mminit()
210 base = (Void_t*)mmv in mminit()
[all...]
H A Dvmlast.c36 static Void_t* lastalloc(Vmalloc_t* vm, size_t size, int local) in lastalloc()
38 static Void_t* lastalloc(vm, size, local) in lastalloc()
88 return (Void_t*)tp;
92 static int lastfree(Vmalloc_t* vm, reg Void_t* data, int local ) in lastfree()
96 Void_t* data;
110 if(data != (Void_t*)vd->free)
111 data = NIL(Void_t*); /* signaling an error */
135 static Void_t* lastresize(Vmalloc_t* vm, reg Void_t* data, size_t size, int type, int local) in lastresize()
137 static Void_t* lastresiz in lastresize()
[all...]
H A Dvmpool.c42 static Void_t* poolalloc(Vmalloc_t* vm, reg size_t size, int local) in poolalloc()
44 static Void_t* poolalloc(vm, size, local ) in poolalloc()
56 return NIL(Void_t*);
61 else return NIL(Void_t*);
110 return (Void_t*)tp;
114 static long pooladdr(Vmalloc_t* vm, reg Void_t* addr, int local) in pooladdr()
118 reg Void_t* addr;
159 static int poolfree(reg Vmalloc_t* vm, reg Void_t* data, int local ) in poolfree()
163 Void_t* data;
192 static Void_t* poolresiz
[all...]
/titanic_51/usr/src/lib/libast/common/sfio/
H A Dsfreserve.c30 Void_t* sfreserve(Sfio_t* f, ssize_t size, int type) in sfreserve()
32 Void_t* sfreserve(f,size,type) in sfreserve()
40 reg Void_t* data;
44 SFMTXENTER(f,NIL(Void_t*));
57 { data = (Void_t*)f->next;
63 data = (Void_t*)rsrv->data;
67 data = NIL(Void_t*);
77 SFMTXRETURN(f, NIL(Void_t*));
82 SFMTXRETURN(f, NIL(Void_t*));
99 SFMTXRETURN(f, NIL(Void_t*));
[all …]
/titanic_51/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfreserve.c30 Void_t* sfreserve(Sfio_t* f, ssize_t size, int type) in sfreserve()
32 Void_t* sfreserve(f,size,type) in sfreserve()
40 reg Void_t* data;
44 SFMTXENTER(f,NIL(Void_t*));
57 { data = (Void_t*)f->next;
63 data = (Void_t*)rsrv->data;
67 data = NIL(Void_t*);
77 SFMTXRETURN(f, NIL(Void_t*));
82 SFMTXRETURN(f, NIL(Void_t*));
99 SFMTXRETURN(f, NIL(Void_t*));
[all...]
/titanic_51/usr/src/contrib/ast/src/lib/libast/cdt/
H A Ddtlist.c36 int dtlistprint(Dt_t* dt, Dtlink_t* here, char* (*objprintf)(Void_t*) ) in dtlistprint() argument
62 Void_t* lfirstlast(Dt_t* dt, int type) in lfirstlast()
64 Void_t* lfirstlast(dt, type) in lfirstlast()
79 return lnk ? _DTOBJ(disc,lnk) : NIL(Void_t*);
84 Void_t* lclear(Dt_t* dt) in lclear()
86 Void_t* lclear(dt) in lclear()
105 return NIL(Void_t*);
110 Void_t* llist(Dt_t* dt, Dtlink_t* lnk, int type) in llist()
112 Void_t* llist(dt, lnk, type) in llist()
122 return NIL(Void_t*);
[all...]

123456789