Lines Matching refs:cp
231 char **cp;
236 for (cp = list; *cp; cp++)
237 free(*cp);
247 char *fn, *cp;
256 for (cp = de->d_name; *cp; cp++) {
257 if (!isalnum(*cp) &&
258 (*cp != '-') &&
259 (*cp != '_'))
262 if (*cp)
305 char **cpp, *cp, **array = 0;
321 for (cpp = array; (cp = *cpp); cpp++) {
322 retval = profile_open_file(cp, &new_file);
626 static char *skip_over_blanks(char *cp)
628 while (*cp && isspace((int) (*cp)))
629 cp++;
630 return cp;
638 static char *skip_over_nonblanks(char *cp)
640 while (!end_or_comment(*cp) && !isspace(*cp))
641 cp++;
642 return cp;
683 char *cp, ch, *tag, *value;
692 cp = skip_over_blanks(line);
693 if (*cp != '{')
707 cp = skip_over_blanks(line);
708 ch = *cp;
714 cp++;
715 cp = skip_over_blanks(cp);
716 p = strchr(cp, ']');
719 if (*cp == '"') {
720 cp++;
721 parse_quoted_string(cp);
724 while (isspace(*p) && (p > cp))
726 if (*cp == 0)
729 retval = profile_find_node(state->root_section, cp, 0, 1,
733 cp, 0,
743 cp = p+1;
744 if (*cp == '*') {
746 cp++;
751 cp = skip_over_blanks(cp);
752 if (!end_or_comment(*cp))
759 if (*(cp+1) == '*')
768 tag = cp;
769 cp = strchr(cp, '=');
770 if (!cp)
772 if (cp == tag)
774 *cp = '\0';
789 cp = skip_over_blanks(cp+1);
790 value = cp;
799 cp = skip_over_blanks(value+1);
800 ch = *cp;
806 cp = skip_over_nonblanks(value);
807 p = skip_over_blanks(cp);
809 *cp = 0;