Lines Matching defs:cp
468 static void unhide_metas(char *cp)
470 if (cp)
471 for(; *cp; cp++)
472 *cp = unhide_meta(*cp);
491 static char *opt_string_alloc(char *cp)
495 if (cp && strlen(cp) != 0)
497 ret = opt_malloc(strlen(cp)+1);
498 strcpy(ret, cp);
669 char lenchar = 0, *cp;
685 for (cp = arg; *cp; cp++)
686 if (*cp < '0' || *cp > '9')
689 if (!*cp)
743 for (cp = comma; (c = *cp); cp++)
757 if (cp == comma) /* leading / means a pathname */
772 if (cp[1] == 0 && is_dec &&
776 *cp = 0;
845 cp = comma;
846 comma = split(cp);
847 slash = split_chr(cp, '/');
848 in.s_addr = inet_addr(cp);
905 unsigned char *cp = q++;
909 *cp = j;
1660 char *cp, *a[5] = { NULL, NULL, NULL, NULL, NULL };
1683 for (cp = arg; *cp; cp++)
1684 if (!(*cp == ' ' || *cp == '.' || (*cp >='0' && *cp <= '9')))
1687 if (*cp
1870 char *cp, *lastp = NULL, last = 0;
1897 for (cp = a[j]; *cp; cp++)
1898 if (!isdigit((int)*cp) && *cp != ' ')
1901 if (*cp)
2712 struct dhcp_config *configs, *cp, **up;
2715 for (up = &daemon->dhcp_conf, configs = daemon->dhcp_conf; configs; configs = cp)
2717 cp = configs->next;
2749 struct dhcp_opt *opts, *cp, **up;
2752 for (up = &daemon->dhcp_opts, opts = daemon->dhcp_opts; opts; opts = cp)
2754 cp = opts->next;