Searched refs:safemalloc (Results 1 - 16 of 16) sorted by relevance

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/x2p/
H A Dutil.h37 Malloc_t safemalloc (MEM_SIZE nbytes);
H A Dutil.c26 safemalloc(MEM_SIZE size) function
159 register char *newaddr = (char *) safemalloc((MEM_SIZE)(strlen(str)+1));
174 *strptr = (char *) safemalloc((MEM_SIZE)newlen);
H A Dhash.c78 entry = (HENT*) safemalloc(sizeof(HENT));
173 register HASH *tb = (HASH*)safemalloc(sizeof(HASH));
175 tb->tbl_array = (HENT**) safemalloc(8 * sizeof(HENT*));
H A Dstr.c200 str = (STR *) safemalloc(sizeof(STR));
421 tmps_list = (STR**)safemalloc(128 * sizeof(char*));
H A Da2py.c922 ops[mop].cval = (char *) safemalloc(len+1);
1290 char *tmpbuf = (char *) safemalloc(strlen(name) + (sizeof(prevargs) * 3) + 5);
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/NDBM_File/
H A DNDBM_File.xs33 RETVAL = (NDBM_File)safemalloc(sizeof(NDBM_File_type)) ;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dreentr.c206 PL_reentrant_buffer->_readdir_struct = (struct dirent*)safemalloc(PL_reentrant_buffer->_readdir_size);
209 PL_reentrant_buffer->_readdir64_struct = (struct dirent64*)safemalloc(PL_reentrant_buffer->_readdir64_size);
H A Dhandy.h594 #define New(x,v,n,t) (v = (MEM_WRAP_CHECK(n,t), (t*)safemalloc((MEM_SIZE)((n)*sizeof(t)))))
595 #define Newc(x,v,n,t,c) (v = (MEM_WRAP_CHECK(n,t), (c*)safemalloc((MEM_SIZE)((n)*sizeof(t)))))
596 #define Newz(x,v,n,t) (v = (MEM_WRAP_CHECK(n,t), (t*)safemalloc((MEM_SIZE)((n)*sizeof(t))))), \
616 #define New(x,v,n,t) (v = (t*)safemalloc((MEM_SIZE)((n)*sizeof(t))))
617 #define Newc(x,v,n,t,c) (v = (c*)safemalloc((MEM_SIZE)((n)*sizeof(t))))
618 #define Newz(x,v,n,t) (v = (t*)safemalloc((MEM_SIZE)((n)*sizeof(t)))), \
H A Dop.h499 (var = (OP*)safemalloc(size), memzero(var, size))
H A Dperl.h508 # define safemalloc Perl_malloc macro
529 # define safemalloc safesysmalloc macro
H A Dhv.c70 #define new_HE() (HE*)safemalloc(sizeof(HE))
H A Dpp.c3319 (struct crypt_data *)safemalloc(sizeof(struct crypt_data));
H A Dsv.c1174 #define my_safemalloc(s) (void*)safemalloc(s)
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/ODBM_File/
H A DODBM_File.xs110 RETVAL = (ODBM_File)safemalloc(sizeof(ODBM_File_type)) ;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/SDBM_File/
H A DSDBM_File.xs43 RETVAL = (SDBM_File)safemalloc(sizeof(SDBM_File_type)) ;
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/POSIX/
H A DPOSIX.xs1812 s = safemalloc((size_t) L_ctermid);

Completed in 111 milliseconds