Home
last modified time | relevance | path

Searched refs:ptr_t (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dcalloc.c38 #define ptr_t void* macro
42 #define ptr_t char* macro
47 ptr_t
50 ptr_t mp; in calloc()
51 ptr_t malloc(); in calloc()
58 return ((ptr_t)(mp)); in calloc()
62 cfree(ptr_t p, unsigned num, unsigned size) in cfree()
H A Dmalloc.c62 #define ptr_t void * /* ANSI C says these are voids */ macro
66 #define ptr_t char * /* BSD still (4.3) wants char*'s */ macro
421 ptr_t
545 return((ptr_t)retblk->data); in malloc()
564 free(ptr_t ptr) in free()
592 if( ptr < (ptr_t)_lbound || ptr > (ptr_t)_ubound ) { in free()
752 ptr_t
753 realloc(ptr_t ptr, uint nbytes) in realloc()
783 ptr < (ptr_t)_lbound || in realloc()
784 ptr > (ptr_t)_ubound ) { in realloc()
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash.h143 #define PTROF(X) ((BUFHEAD *)((ptr_t)(X)&~0x3))
144 #define ISMOD(X) ((ptr_t)(X)&0x1)
145 #define DOMOD(X) ((X) = (int8_t *)((ptr_t)(X)|0x1))
146 #define ISDISK(X) ((ptr_t)(X)&0x2)
147 #define DODISK(X) ((X) = (int8_t *)((ptr_t)(X)|0x2))