Lines Matching refs:word
123 _cleanup_free_ char *word = NULL, *k = NULL;
126 r = extract_first_word(&p, &word, NULL, EXTRACT_RETAIN_ESCAPE);
136 r = unit_name_printf(u, word, &k);
271 const char *word, *state;
281 FOREACH_WORD_QUOTED(word, l, rvalue, state) {
285 memcpy(t, word, l);
636 /* First word is either "-" or "@" with no command. */
675 _cleanup_free_ char *word = NULL;
702 r = extract_first_word_and_warn(&p, &word, WHITESPACE, EXTRACT_QUOTES|EXTRACT_CUNESCAPE, unit, filename, line, rvalue);
710 n[nlen++] = word;
712 word = NULL;
999 const char *word, *state;
1012 FOREACH_WORD_QUOTED(word, l, rvalue, state) {
1013 if (first_word(word, "keep-caps"))
1015 else if (first_word(word, "keep-caps-locked"))
1017 else if (first_word(word, "no-setuid-fixup"))
1019 else if (first_word(word, "no-setuid-fixup-locked"))
1021 else if (first_word(word, "noroot"))
1023 else if (first_word(word, "noroot-locked"))
1069 _cleanup_free_ char *word = NULL;
1072 r = extract_first_word(&p, &word, NULL, EXTRACT_QUOTES);
1078 log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse word, ignoring: %s", rvalue);
1082 cap = capability_from_name(word);
1084 log_syntax(unit, LOG_ERR, filename, line, 0, "Failed to parse capability in bounding/ambient set, ignoring: %s", word);
1644 _cleanup_free_ char *word = NULL, *k = NULL;
1646 r = extract_first_word(&p, &word, NULL, 0);
1656 r = unit_name_printf(UNIT(s), word, &k);
2080 const char *word, *state;
2110 FOREACH_WORD_QUOTED(word, l, k, state) {
2114 r = cunescape_length(word, l, 0, &n);
2167 _cleanup_free_ char *word = NULL;
2169 r = extract_first_word(&rvalue, &word, WHITESPACE, EXTRACT_QUOTES);
2180 if (!env_name_is_valid(word)) {
2182 "Invalid environment name for %s, ignoring: %s", lvalue, word);
2188 n[nlen++] = word;
2190 word = NULL;
2407 const char *word, *state;
2415 FOREACH_WORD_QUOTED(word, l, rvalue, state) {
2419 n = strndup(word, l);
2509 const char *word, *state;
2561 FOREACH_WORD_QUOTED(word, l, rvalue, state) {
2565 t = strndup(word, l);
2611 const char *word, *state;
2624 FOREACH_WORD_QUOTED(word, l, rvalue, state) {
2628 t = strndup(word, l);
2699 const char *word, *state;
2727 FOREACH_WORD_QUOTED(word, l, rvalue, state) {
2731 t = strndup(word, l);
3210 const char *word, *state;
3225 FOREACH_WORD_QUOTED(word, l, rvalue, state) {
3228 t = strndup(word, l);
3268 const char *word, *state;
3283 FOREACH_WORD(word, l, rvalue, state) {
3288 temp = strndup(word, l);
3297 log_syntax(unit, LOG_ERR, filename, line, 0, "Failed to parse value, ignoring: %s", word);
3315 log_syntax(unit, LOG_ERR, filename, line, r, "Unable to store: %s", word);
3355 _cleanup_free_ char *word = NULL;
3358 r = extract_first_word(&cur, &word, NULL, EXTRACT_QUOTES);
3368 if (!utf8_is_valid(word)) {
3369 log_syntax_invalid_utf8(unit, LOG_ERR, filename, line, word);
3374 offset = word[0] == '-';
3375 if (!path_is_absolute(word + offset)) {
3376 log_syntax(unit, LOG_ERR, filename, line, 0, "Not an absolute path, ignoring: %s", word);
3381 path_kill_slashes(word + offset);
3383 r = strv_push(sv, word);
3388 word = NULL;