Lines Matching refs:d_data
59 data->d_data = calloc(1, size); in nl_data_alloc()
60 if (!data->d_data) { in nl_data_alloc()
68 memcpy(data->d_data, buf, size); in nl_data_alloc()
98 return nl_data_alloc(src->d_data, src->d_size); in nl_data_clone()
115 char *d_data = realloc(data->d_data, data->d_size + size); in nl_data_append() local
116 if (!d_data) in nl_data_append()
120 memcpy(d_data + data->d_size, buf, size); in nl_data_append()
122 memset(d_data + data->d_size, 0, size); in nl_data_append()
124 data->d_data = d_data; in nl_data_append()
138 free(data->d_data); in nl_data_free()
158 return (void*)data->d_data; in nl_data_get()