Lines Matching refs:p
84 void *p = malloc(size); in xmalloc() local
85 if (p) in xmalloc()
86 return p; in xmalloc()
93 void *p = calloc(nmemb, size); in xcalloc() local
94 if (p) in xcalloc()
95 return p; in xcalloc()
100 void *xrealloc(void *p, size_t size) in xrealloc() argument
102 p = realloc(p, size); in xrealloc()
103 if (p) in xrealloc()
104 return p; in xrealloc()
111 char *p; in xstrdup() local
113 p = strdup(s); in xstrdup()
114 if (p) in xstrdup()
115 return p; in xstrdup()
122 char *p; in xstrndup() local
124 p = strndup(s, n); in xstrndup()
125 if (p) in xstrndup()
126 return p; in xstrndup()