Lines Matching refs:allocd
51 if (str == NULL || str->allocd == NULL) in str_clear()
53 talloc_free(str->allocd); in str_clear()
55 str->data = str->allocd = NULL; in str_clear()
71 size_t unused = MEMSUB(dest->data, dest->allocd); in str_append_size()
75 memmove(dest->allocd, dest->data, in str_append_size()
78 dest->data = dest->allocd; in str_append_size()
83 size_t unused = MEMSUB(dest->data, dest->allocd); in str_append_size()
88 dest->allocd = talloc_realloc_size(dest->pool, dest->allocd, new_len+1); in str_append_size()
89 if (dest->allocd == NULL) in str_append_size()
92 dest->data = dest->allocd + unused; in str_append_size()
95 memmove(dest->allocd, dest->data, dest->length); in str_append_size()
96 dest->data = dest->allocd; in str_append_size()
197 final = talloc_memdup(str->allocd, p+ptab->pattern_length, final_len); in str_replace_str()