Lines Matching defs:from
113 const char *from;
117 from = src;
128 while (from[0] != '\0') {
129 if (from[0] == '$') {
133 if (from[1] == '$') {
134 from++;
139 if (startswith(&from[1], map[i].name)) {
141 from += strlen(map[i].name)+1;
145 } else if (from[0] == '%') {
149 if (from[1] == '%') {
150 from++;
155 if (from[1] == map[i].fmt) {
157 from += 2;
166 s[0] = from[0];
167 from++;
175 if (from[0] == '{') {
178 from++;
179 for (i = 0; from[i] != '}'; i++) {
180 if (from[i] == '\0') {
187 memcpy(attrbuf, from, i);
189 from += i+1;
281 /* %{2+}c copies the whole string from the second part on */
467 /* read from child if requested */
563 log_error_errno(errno, "failed to remove fd from epoll: %m");
723 /* pipes from child to parent */
816 log_debug("changing net interface name from '%s' to '%s'\n",oldname,name);
996 log_warning_errno(r, "could not rename interface '%d' from '%s' to '%s': %m", udev_device_get_ifindex(dev),
1002 log_warning_errno(r, "renamed interface '%d' from '%s' to '%s', but could not update udev_device: %m",
1012 /* remove/update possible left-over symlinks from old database entry */