Searched refs:zalloc (Results 1 - 7 of 7) sorted by relevance

/osnet-11/usr/src/lib/libadr/common/
H A Dadr.c111 zalloc(size_t s) function
507 if ((result = zalloc(sizeof (adr_data_t))) != NULL) {
534 if ((result = zalloc(sizeof (adr_data_t))) != NULL) {
555 if ((result = zalloc(sizeof (adr_data_t))) != NULL) {
573 if ((result = zalloc(sizeof (adr_data_t))) != NULL) {
589 adr_data_t *result = zalloc(sizeof (adr_data_t));
602 adr_data_t *result = zalloc(sizeof (adr_data_t));
615 adr_data_t *result = zalloc(sizeof (adr_data_t));
628 adr_data_t *result = zalloc(sizeof (adr_data_t));
641 adr_data_t *result = zalloc(sizeo
[all...]
H A Dadr_name.c55 #define zalloc(x) calloc(1, x) macro
68 adr_name_t *result = zalloc(sizeof (adr_name_t));
75 result->an_keys = zalloc(4 * n * sizeof (char *));
163 if ((name->an_domain = zalloc(length)) == NULL)
327 if ((data = zalloc(length)) == NULL)
/osnet-11/usr/src/lib/libradproto/common/
H A Dradproto_adr.c40 #define zalloc(x) calloc(1, x) macro
145 adr_type_t *result = zalloc(sizeof (adr_type_t));
169 (result->t_aux.t_fields = zalloc(result->t_size *
203 zalloc((result->t_size + 1) * sizeof (adr_unionarm_t))) ==
235 (result->t_aux.t_enum = zalloc((result->t_size + 1) *
409 obj = zalloc(sizeof (adr_object_t));
416 zalloc(nparents * sizeof (adr_object_t *));
539 adr_object_t *result = zalloc(sizeof (adr_object_t));
560 result->ao_attributes = zalloc(n * sizeof (adr_attribute_t *));
565 adr_attribute_t *attr = zalloc(sizeo
[all...]
H A Dradclient.c231 zalloc(size_t s) function
240 rc_conn_t *client = zalloc(sizeof (rc_conn_t));
285 message_wrapper_t *mw = zalloc(sizeof (message_wrapper_t));
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.h171 alloc_func zalloc; /* used to allocate the internal state */ member in struct:z_stream_s
173 voidp opaque; /* private data object passed to zalloc and zfree */
182 has dropped to zero. The application must initialize zalloc, zfree and
187 parameter for calls of zalloc and zfree. This can be useful for custom
191 zalloc must return Z_NULL if there is not enough memory for the object.
192 On 16-bit systems, the functions zalloc and zfree must be able to allocate
195 pointers returned by zalloc for objects of exactly 65536 bytes *must*
241 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */
254 zalloc, zfree and opaque must be initialized before by the caller.
255 If zalloc an
[all...]
H A Ddeflate.c152 state->strm.zalloc = (alloc_func) z_alloc;
H A Dzlib.c127 (*((strm)->zalloc))((strm)->opaque, (items), (size))
605 /* if (strm->zalloc == Z_NULL) strm->zalloc = zcalloc; */
670 strm->zalloc == Z_NULL || strm->zfree == Z_NULL) return Z_STREAM_ERROR;
2677 z_stream *)); /* for zalloc, zfree functions */
2687 z_stream *)); /* for zalloc, zfree functions */
2809 /* if (z->zalloc == Z_NULL) z->zalloc = zcalloc; */
3621 z_stream *)); /* for zalloc function */
3699 z_stream *zs; /* for zalloc functio
[all...]

Completed in 55 milliseconds