Lines Matching refs:from
677 * @arg: String to copy from
678 * @len: Number of chars to copy from @arg (note that this is not usually the
720 const char *from;
726 from = cmdline ?: ∅
733 for (to = buf, end = buf + maxlen; *from;) {
739 while (*from == ' ')
740 from++;
741 if (!*from)
749 for (p = from;; p++) {
778 * from || |
782 log_debug("from %s arg_end %ld val %ld val_end %ld\n", from,
783 (long)(arg_end - from), (long)(val - from),
784 (long)(val_end - from));
793 if (arg_end - from == set_arg_len &&
794 !strncmp(from, set_arg, set_arg_len)) {
799 * exclude any start/end quotes from
810 from = val_end + (*val_end == ' ');
811 log_debug("delete from: %s\n", from);
817 ret = copy_in(to, end, from, arg_end - from, new_val);
826 len = val_end - from;
829 memcpy(to, from, len);
832 from = val_end;
843 /* add a space to separate it from the previous arg */