Searched refs:tokens (Results 1 - 3 of 3) sorted by relevance
/lxc/src/include/ |
H A D | getsubopt.h | 3 int getsubopt (char **optionp, char *const *tokens, char **valuep);
|
H A D | getsubopt.c | 49 getsubopt (char **optionp, char *const *tokens, char **valuep) argument 67 for (cnt = 0; tokens[cnt] != NULL; ++cnt) 68 if (strncmp (*optionp, tokens[cnt], vstart - *optionp) == 0 69 && tokens[cnt][vstart - *optionp] == '\0')
|
/lxc/src/lxc/cgroups/ |
H A D | cgfs.c | 439 char **tokens = NULL; local 466 r = lxc_grow_array((void ***)&tokens, &token_capacity, i + 1, 64); 469 tokens[i++] = token; 485 for (j = 6; j < i && tokens[j]; j++) 486 if (!strcmp(tokens[j], "-")) 490 if (j >= i || !tokens[j]) 499 if (strcmp(tokens[j + 1], "cgroup") != 0) { 500 if (strcmp(tokens[j + 1], "fuse.lxcfs") != 0) 502 if (strncmp(tokens[4], "/sys/fs/cgroup/", 15) != 0) 505 char *curtok = tokens[ [all...] |
Completed in 12 milliseconds