Lines Matching refs:result
34 struct dns_domain_label *result;
58 if (!(result = TALLOC_ZERO_P(mem_ctx, struct dns_domain_label))) {
67 if (!(result->label = talloc_strdup(result, name))) {
68 TALLOC_FREE(result);
71 result->len = strlen(result->label);
72 *presult = result;
81 TALLOC_FREE(result);
90 DNS_ERROR err = LabelList(result, dot+1, &result->next);
93 TALLOC_FREE(result);
98 result->len = (dot - name);
100 if (!(result->label = talloc_strndup(result, name, result->len))) {
101 TALLOC_FREE(result);
105 *presult = result;
113 struct dns_domain_name *result;
116 if (!(result = talloc(mem_ctx, struct dns_domain_name))) {
120 err = LabelList( result, pszDomainName, &result->pLabelList );
122 TALLOC_FREE(result);
126 *presult = result;
135 char *result = NULL;
143 if (!(result = TALLOC_ARRAY(mem_ctx, char, 37))) {
148 uuid_unparse( uuid, result );
152 return result;