Searched defs:components (Results 1 - 2 of 2) sorted by relevance

/lxc/src/lxc/tools/
H A Dlxc_copy.c294 char **components = NULL; local
297 components = lxc_normalize_path(path);
298 if (!components)
301 cleanpath = lxc_string_join("/", (const char **)components, as_prefix);
302 lxc_free_array((void **)components, free);
/lxc/src/lxc/
H A Dutils.c692 char **components; local
697 components = lxc_string_split(path, '/');
698 if (!components)
700 for (p = components; *p; p++)
705 if (!strcmp(components[pos], ".") || (!strcmp(components[pos], "..") && pos == 0)) {
707 free(components[pos]);
708 memmove(&components[pos], &components[pos+1], sizeof(char *) * (components_len - pos));
710 } else if (!strcmp(components[po
[all...]

Completed in 17 milliseconds