Lines Matching refs:result
108 _cleanup_free_ char *result = NULL; in path_make_relative() local
136 result = strdup("."); in path_make_relative()
137 if (!result) in path_make_relative()
141 result = strdup(t); in path_make_relative()
142 if (!result) in path_make_relative()
145 path_simplify(result); in path_make_relative()
147 if (!path_is_valid(result)) in path_make_relative()
151 *ret = TAKE_PTR(result); in path_make_relative()
175 result = new(char, n_parents * 3 + !isempty(t) + strlen_ptr(t)); in path_make_relative()
176 if (!result) in path_make_relative()
179 for (p = result; n_parents > 0; n_parents--) in path_make_relative()
185 *ret = TAKE_PTR(result); in path_make_relative()
191 path_simplify(result); in path_make_relative()
193 if (!path_is_valid(result)) in path_make_relative()
196 *ret = TAKE_PTR(result); in path_make_relative()