Searched refs:calloc (Results 1 - 25 of 687) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libadm/common/
H A Dputerror.c54 tmp = calloc(MS+n+1, sizeof (char));
62 tmp = calloc(MS+n+strlen(defmesg)+2, sizeof (char));
70 tmp = calloc(MS+n+strlen(defmesg)+2, sizeof (char));
78 tmp = calloc(MS+n+1, sizeof (char));
84 tmp = calloc(MS+n+1, sizeof (char));
H A Dputhelp.c55 tmp = calloc(n+strlen(defmesg)+1, sizeof (char));
63 tmp = calloc(n+strlen(defmesg)+2, sizeof (char));
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dsecutil.c19 if ((res = (char *)calloc (aLen*2 + 1, 1 )) == NULL){
/osnet-11/usr/src/lib/libnls/common/
H A Dnlsenv.c76 extern char *calloc();
92 if (!(buf->buf = calloc(1, length)))
119 * NULL for failure. (calloc failed)
120 * If calloc succeeds, non-existant
132 extern char *calloc();
134 if (!(call = (struct t_call *) calloc(1, sizeof(struct t_call))))
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dmisc.c35 * ntfs_calloc - A logging supported calloc(3)
44 p = calloc(1, size);
46 ntfs_log_perror("Failed to calloc %lld bytes", (long long)size);
/osnet-11/usr/src/lib/libc/port/gen/
H A Dcalloc.c38 * calloc - allocate and clear memory block
41 calloc(size_t num, size_t size) function
H A Dinitgroups.c64 if ((groups = (gid_t *)calloc(ngroups_max, sizeof (gid_t))) == 0) {
/osnet-11/usr/src/lib/libmapmalloc/common/
H A Dcalloc.c31 * calloc - allocate and clear memory block
35 calloc(size_t num, size_t size) function
/osnet-11/usr/src/grub/grub2/grub-core/lib/posix_wrap/
H A Dstdlib.h38 calloc (grub_size_t size, grub_size_t nelem) function
/osnet-11/usr/src/lib/libnsl/nsl/
H A Dt_alloc.c110 if ((p.bind = calloc(1, sizeof (struct t_bind))) == NULL)
122 if ((p.call = calloc(1, sizeof (struct t_call))) == NULL)
152 if ((p.opt = calloc(1, sizeof (struct t_optmgmt))) == NULL)
169 if ((p.dis = calloc(1, sizeof (struct t_discon))) == NULL)
180 if ((p.udata = calloc(1, sizeof (struct t_unitdata))) == NULL)
207 if ((p.uderr = calloc(1, sizeof (struct t_uderr))) == NULL)
229 if ((p.info = calloc(1, sizeof (struct t_info))) == NULL)
292 if ((buf->buf = calloc(1, infalloc)) == NULL) {
301 if ((buf->buf = calloc(1, 1024)) == NULL) {
336 if ((buf->buf = calloc(
[all...]
/osnet-11/usr/src/lib/libcommputil/common/
H A Dcommp_util.h56 (dst) = calloc(1, (len) + 1); \
/osnet-11/usr/src/lib/libdisasm/common/
H A Dlibdisasm.c57 return (calloc(1, bytes));
/osnet-11/usr/src/lib/libeti/menu/common/
H A Dnewmenu.c44 if ((m = (MENU *) calloc(1, sizeof (MENU))) != (MENU *)0) {
H A Dnewitem.c45 if (item = (ITEM *) calloc(1, sizeof (ITEM))) {
/osnet-11/usr/src/lib/pkcs11/pkcs11_kms/common/
H A DkmsSlottable.c45 slotinfo = calloc(KMS_SLOTS, sizeof (kms_slot_t));
/osnet-11/usr/src/lib/libmapmalloc/
H A DMakefile.com29 calloc.o \
/osnet-11/usr/src/lib/libcmdutils/common/
H A Davltree.c171 if ((*stree = calloc(1, sizeof (avl_tree_t)))
182 if ((tnode = calloc(1, sizeof (*tnode))) == NULL) {
/osnet-11/usr/src/lib/libfedfs/common/
H A Dstringtools.c43 locs = calloc(numloc + 1, sizeof (nsdb_entry_t *));
48 locs[i] = calloc(1, sizeof (nsdb_entry_t));
/osnet-11/usr/src/lib/libgen/common/
H A Dbgets.c65 str = calloc(CHARS, sizeof (char));
87 stop = (char *)calloc(CHARS, sizeof (char));
/osnet-11/usr/src/lib/libldap4/sec/
H A Dsecutil.c24 if ((res = (char *)calloc (aLen*2 + 1, 1 )) == NULL){
/osnet-11/usr/src/lib/libnsl/common/
H A Dcommon.c41 addr = calloc(1, size);
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dgetdname.c84 domainname = calloc(1, 256);
136 domainname = calloc(1, 256);
/osnet-11/usr/src/lib/libcurses/screen/
H A Dstart_col.c110 if ((marks = (char **)calloc((unsigned)LINES,
115 if ((*marks = (char *)calloc((unsigned)nc * LINES,
/osnet-11/usr/src/lib/libdladm/common/
H A Dlibdlstat.c1360 rx_lane_stat_entry = calloc(1, sizeof (rx_lane_stat_entry_t));
1372 head = calloc(1, sizeof (dladm_stat_chain_t));
1397 tx_lane_stat_entry = calloc(1, sizeof (tx_lane_stat_entry_t));
1408 head = calloc(1, sizeof (dladm_stat_chain_t));
1439 if ((idlist = calloc(1, nrings * sizeof (uint_t))) == NULL)
1490 curr = calloc(1, sizeof (dladm_stat_chain_t));
1530 link_stat_entry = calloc(1, sizeof (link_stat_entry_t));
1559 diff_entry = calloc(1, sizeof (rx_lane_stat_entry_t));
1578 rx_lane_stat_entry = calloc(1, sizeof (rx_lane_stat_entry_t));
1603 rx_lane_stat_entry = calloc(
[all...]
/osnet-11/usr/src/lib/libldap4/common/
H A Dcontrols.c51 if ((newctrl = (LDAPControl *)calloc(1, sizeof(LDAPControl))) == NULL)
104 newctrls = (LDAPControl **)calloc(i+1, sizeof(LDAPControl*));
182 if ((ctrls = (LDAPControl **)calloc(count + 1, sizeof(LDAPControl *))) == NULL){
193 if ((aCtrl = (LDAPControl *)calloc(1, sizeof(LDAPControl))) == NULL) {
263 if ((*ctrlp = (LDAPControl *)calloc(1, sizeof (LDAPControl)))

Completed in 79 milliseconds

1234567891011>>