Lines Matching defs:d
40 char *d = sm_malloc_x(n + 1);
42 (void) memcpy(d, s, n);
43 d[n] = '\0';
44 return d;
67 char *d;
70 d = sm_malloc_tagged(l, "sm_strdup", 0, sm_heap_group());
71 if (d != NULL)
72 (void) sm_strlcpy(d, s, l);
73 return d;
98 char *d;
101 d = sm_malloc_tagged_x(l, "sm_strdup_x", 0, sm_heap_group());
102 (void) sm_strlcpy(d, s, l);
103 return d;
126 char *d;
129 d = sm_pmalloc_x(l);
130 (void) sm_strlcpy(d, s, l);
131 return d;
159 char *d;
162 d = sm_malloc_tagged_x(l, file, line, group);
163 (void) sm_strlcpy(d, s, l);
164 return d;