Lines Matching refs:cp
84 char *cp; in prep_nvram_get_var() local
88 cp = prep_nvram_first_var(); in prep_nvram_get_var()
89 while (cp != NULL) { in prep_nvram_get_var()
90 if ((strncmp(name, cp, namelen) == 0) in prep_nvram_get_var()
91 && (cp[namelen] == '=')) in prep_nvram_get_var()
93 return cp+namelen+1; in prep_nvram_get_var()
95 cp = prep_nvram_next_var(cp); in prep_nvram_get_var()
115 char *cp; in prep_nvram_next_var() local
118 cp = name; in prep_nvram_next_var()
119 while (((cp - ((char *) nvram->GEArea)) < nvram->Header.GELength) in prep_nvram_next_var()
120 && (*cp != '\0')) in prep_nvram_next_var()
122 cp++; in prep_nvram_next_var()
126 while (((cp - ((char *) nvram->GEArea)) < nvram->Header.GELength) in prep_nvram_next_var()
127 && (*cp == '\0')) in prep_nvram_next_var()
129 cp++; in prep_nvram_next_var()
132 if ((cp - ((char *) nvram->GEArea)) < nvram->Header.GELength) { in prep_nvram_next_var()
133 return cp; in prep_nvram_next_var()