HomeSort by: relevance | last modified time | path
    Searched defs:CALLOC (Results 1 - 8 of 8) sorted by relevancy

  /src/external/bsd/nvi/dist/common/
mem.h 156 #define CALLOC(sp, p, cast, nmemb, size) { \
157 if ((p = (cast)calloc(nmemb, size)) == NULL) \
161 if ((p = (cast)calloc(nmemb, size)) == NULL) \
165 p = (cast)calloc(nmemb, size); \
168 if ((p = (cast)calloc(nmemb, size)) == NULL) { \
  /src/external/gpl2/gmake/dist/
hash.c 22 #define CALLOC(t, n) ((t *) calloc (sizeof (t), (n)))
48 ht->ht_vec = (void**) CALLOC (struct token *, ht->ht_size);
264 ht->ht_vec = (void **) CALLOC (struct token *, ht->ht_size);
  /src/crypto/dist/ipsec-tools/src/libipsec/
pfkey.c 53 #define CALLOC(size, cast) (cast)calloc(1, (size))
427 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
635 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1165 if ((newmsg = CALLOC(len, struct sadb_msg *)) == NULL) {
1334 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1522 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1602 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1673 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
1728 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL)
    [all...]
  /src/external/bsd/am-utils/dist/include/
am_utils.h 140 #define CALLOC(ty) ((ty *) xzalloc(sizeof(ty)))
  /src/usr.sbin/syslogd/
syslogd.h 205 * - malloc()/calloc() only fails if not enough memory available
218 #define CALLOC(ptr, size) do { \
219 while(!(ptr = calloc(1, size))) { \
223 DPRINTF(D_MEM2, "CALLOC(%s@%p, %zu)\n", #ptr, ptr, size); \
  /src/external/bsd/byacc/dist/
defs.h 185 #define CALLOC(k,n) (calloc((size_t)(k),(size_t)(n)))
188 #define TCMALLOC(t,n) ((t*) calloc((size_t)(n), sizeof(t)))
  /src/external/gpl2/gettext/dist/gettext-tools/libgrep/
dfa.c 109 ptr_t r = calloc(n, s);
138 #define CALLOC(p, t, n) ((p) = (t *) xcalloc((size_t)(n), sizeof (t)))
254 REALLOC_IF_NECESSARY(dfa->charclasses, charclass, dfa->calloc, dfa->cindex);
1692 CALLOC(d->follows, position_set, d->tindex);
2289 CALLOC(d->realtrans, int *, d->tralloc + 1);
2291 CALLOC(d->fails, int *, d->tralloc);
2913 d->calloc = 1;
2914 MALLOC(d->charclasses, charclass, d->calloc);
  /src/external/gpl2/grep/dist/src/
dfa.c 35 extern char *calloc(), *malloc(), *realloc();
135 ptr_t r = calloc(n, s);
164 #define CALLOC(p, t, n) ((p) = (t *) xcalloc((size_t)(n), sizeof (t)))
280 REALLOC_IF_NECESSARY(dfa->charclasses, charclass, dfa->calloc, dfa->cindex);
1713 CALLOC(d->follows, position_set, d->tindex);
2310 CALLOC(d->realtrans, int *, d->tralloc + 1);
2312 CALLOC(d->fails, int *, d->tralloc);
2924 d->calloc = 1;
2925 MALLOC(d->charclasses, charclass, d->calloc);

Completed in 20 milliseconds