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;
1643 char *cp, *a[5] = { NULL, NULL, NULL, NULL, NULL };
1666 for (cp = arg; *cp; cp++)
1667 if (!(*cp == ' ' || *cp == '.' || (*cp >='0' && *cp <= '9')))
1670 if (*cp != ',' && (comma = split(arg)))
1853 char *cp, *lastp = NULL, last = 0;
1880 for (cp = a[j]; *cp; cp++)
1881 if (!isdigit((int)*cp) && *cp != ' ')
1884 if (*cp)
2695 struct dhcp_config *configs, *cp, **up;
2698 for (up = &daemon->dhcp_conf, configs = daemon->dhcp_conf; configs; configs = cp)
2700 cp = configs->next;
2732 struct dhcp_opt *opts, *cp, **up;
2735 for (up = &daemon->dhcp_opts, opts = daemon->dhcp_opts; opts; opts = cp)
2737 cp = opts->next;