Lines Matching refs:fp
194 FILE *fp;
197 fp = fopen(datafile_name, "r");
198 if (fp == NULL) {
207 while ((c = getc(fp)) != EOF) {
213 while ((c = getc(fp)) != '\n')
224 (void)fclose(fp);
238 (void)fclose(fp);
245 (void)fclose(fp);
534 FILE *fp;
539 fp = fopen("dns_name_isabsolute_data", "r");
540 if (fp != NULL) {
542 while ((p = t_fgetbs(fp)) != NULL) {
572 (void)fclose(fp);
654 FILE *fp;
659 fp = fopen("dns_name_hash_data", "r");
660 if (fp != NULL) {
662 while ((p = t_fgetbs(fp)) != NULL) {
696 (void)fclose(fp);
816 FILE *fp;
822 fp = fopen("dns_name_fullcompare_data", "r");
823 if (fp != NULL) {
825 while ((p = t_fgetbs(fp)) != NULL) {
871 (void)fclose(fp);
944 FILE *fp;
949 fp = fopen("dns_name_compare_data", "r");
950 if (fp != NULL) {
952 while ((p = t_fgetbs(fp)) != NULL) {
981 (void)fclose(fp);
1053 FILE *fp;
1058 fp = fopen("dns_name_rdatacompare_data", "r");
1059 if (fp != NULL) {
1061 while ((p = t_fgetbs(fp)) != NULL) {
1090 (void)fclose(fp);
1158 FILE *fp;
1163 fp = fopen("dns_name_issubdomain_data", "r");
1164 if (fp != NULL) {
1166 while ((p = t_fgetbs(fp)) != NULL) {
1196 (void)fclose(fp);
1244 FILE *fp;
1249 fp = fopen("dns_name_countlabels_data", "r");
1250 if (fp != NULL) {
1252 while ((p = t_fgetbs(fp)) != NULL) {
1278 (void)fclose(fp);
1364 FILE *fp;
1369 fp = fopen("dns_name_getlabel_data", "r");
1370 if (fp != NULL) {
1372 while ((p = t_fgetbs(fp)) != NULL) {
1400 (void)fclose(fp);
1502 FILE *fp;
1507 fp = fopen("dns_name_getlabelsequence_data", "r");
1508 if (fp != NULL) {
1510 while ((p = t_fgetbs(fp)) != NULL) {
1540 (void)fclose(fp);
1595 FILE *fp;
1600 fp = fopen("dns_name_fromregion_data", "r");
1601 if (fp != NULL) {
1603 while ((p = t_fgetbs(fp)) != NULL) {
1628 (void)fclose(fp);
1645 FILE *fp;
1650 fp = fopen("dns_name_toregion_data", "r");
1651 if (fp != NULL) {
1653 while ((p = t_fgetbs(fp)) != NULL) {
1678 (void)fclose(fp);
1780 FILE *fp;
1785 fp = fopen("dns_name_fromtext_data", "r");
1786 if (fp != NULL) {
1788 while ((p = t_fgetbs(fp)) != NULL) {
1820 (void)fclose(fp);
1914 FILE *fp;
1919 fp = fopen("dns_name_totext_data", "r");
1920 if (fp != NULL) {
1922 while ((p = t_fgetbs(fp)) != NULL) {
1950 (void)fclose(fp);
2078 FILE *fp;
2081 fp = fopen(testfile, "r");
2082 if (fp != NULL) {
2084 while ((p = t_fgetbs(fp)) != NULL) {
2146 (void)fclose(fp);
2272 FILE *fp;
2275 fp = fopen(testfile, "r");
2276 if (fp != NULL) {
2278 while ((p = t_fgetbs(fp)) != NULL) {
2315 (void)fclose(fp);