Searched defs:str (Results 1 - 5 of 5) sorted by relevance

/lxc/src/tests/
H A Dcontainertests.c103 char *str; local
125 str = c->config_file_name(c);
127 if (!str || strcmp(str, CONFIGFNAM)) {
128 fprintf(stderr, "%d: got wrong config file name (%s, not %s)\n", __LINE__, str, CONFIGFNAM);
131 free(str);
134 str = c->config_file_name(c);
135 if (str) {
/lxc/src/lxc/
H A Darguments.c254 int lxc_arguments_str_to_int(struct lxc_arguments *args, const char *str) argument
260 val = strtol(str, &endptr, 10);
262 lxc_error(args, "invalid statefd '%s' : %m", str);
267 lxc_error(args, "invalid digit for statefd '%s'", str);
H A Dutils.c789 char *token, *str, *saveptr = NULL; local
795 str = alloca(strlen(haystack)+1);
796 strcpy(str, haystack);
797 for (; (token = strtok_r(str, sep, &saveptr)); str = NULL) {
807 char *token, *str, *saveptr = NULL; local
817 str = alloca(strlen(string) + 1);
818 strcpy(str, string);
819 for (; (token = strtok_r(str, sep, &saveptr)); str
847 char *token, *str, *saveptr = NULL; local
[all...]
/lxc/src/lxc/cgroups/
H A Dcgfs.c1784 char *token, *str, *saveptr = NULL; local
1791 str = alloca(strlen(mount_options)+1);
1792 strcpy(str, mount_options);
1793 for (; (token = strtok_r(str, ",", &saveptr)); str = NULL) {
/lxc/src/python-lxc/
H A Dlxc.c58 char *str = NULL; local
74 str = PyBytes_AsString(pystr);
75 if (!str) {
82 /* We must make a copy of str, because it points into internal memory
87 result[i] = strdup(str);
266 char *str; local
277 str = PyBytes_AsString(pystr);
278 if (!str)
281 rv = lxc_config_parse_arch(str);

Completed in 1768 milliseconds