/bind-9.6-ESV-R11/bin/tests/ |
H A D | fsaccess_test.c | 40 FILE *fp; local 48 fp = fopen(PATH, "w"); 49 if (fp == NULL) { 74 (void)fclose(fp);
|
H A D | genrandom.c | 33 FILE *fp; local 46 fp = fopen(argv[2], "w"); 47 if (fp == NULL) { 62 if (putc(c, fp) == EOF) { 67 if (putc(c, fp) == EOF) { 73 fclose(fp);
|
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/common/ |
H A D | printf.c | 67 FILE *fp; local 77 if ((fp = fopen(logfile_name, "a")) != NULL) { 78 fputs(log_header, fp); 79 fputs(msg, fp); 80 fclose(fp); 87 FILE *fp; local 97 if ((fp = fopen(logfile_name, "a")) != NULL) { 98 fputs(log_header, fp); 99 fputs(msg, fp); 100 fclose(fp); 106 FILE *fp; local [all...] |
/bind-9.6-ESV-R11/contrib/pkcs11-keygen/ |
H A D | PEM_write_pubkey.c | 13 extern int PEM_write_PUBKEY(FILE *fp, EVP_PKEY *x); 20 FILE *fp; local 107 fp = fopen(filename, "w"); 108 if (fp == NULL) { 114 if (!PEM_write_PUBKEY(fp, pub_key)) { 122 fclose(fp);
|
H A D | readkey.c | 27 FILE *fp; local 202 fp = fopen(filename, "w"); 203 if (fp == NULL) { 209 if (!PEM_write_RSAPrivateKey(fp, rsa, NULL, NULL, 0, NULL, NULL)) {
|
H A D | writekey.c | 31 FILE *fp; local 107 fp = fopen(filename, "r"); 108 if (fp == NULL) { 114 rsa = PEM_read_RSAPrivateKey(fp, NULL, NULL, NULL); 115 (void) fclose(fp);
|
/bind-9.6-ESV-R11/contrib/zkt/ |
H A D | nscomm.c | 58 FILE *fp; local 83 if ( (fp = popen (cmdline, "r")) == NULL || fgets (str, sizeof str, fp) == NULL ) 85 pclose (fp); 106 FILE *fp; local 150 if ( (fp = popen (cmdline, "r")) == NULL || fgets (str, sizeof str, fp) == NULL ) 152 pclose (fp); 169 if ( (fp = popen (cmdline, "r")) == NULL || fgets (str, sizeof str, fp) 200 FILE *fp; local [all...] |
H A D | strlist.c | 140 FILE *fp; local 149 if ( (fp = fopen ("/etc/group", "r")) == NULL ) 152 while ( fscanf (fp, "%[^:]:%*[^\n]\n", group) != EOF ) 156 fclose (fp);
|
H A D | zkt-soaserial.c | 110 FILE *fp; local 116 if ( (fp = fopen (fname, "r")) == NULL ) 121 while ( !soafound && fgets (buf, sizeof buf, fp) ) 131 fclose (fp); 136 while ( (c = getc (fp)) != EOF && isspace (c) ) 138 ungetc (c, fp); /* pushback the non ws */ 141 if ( fscanf (fp, "%lu", serial) != 1 ) /* try to get serial no */ 143 fclose (fp); 147 fclose (fp);
|
H A D | soaserial.c | 57 static int inc_soa_serial (FILE *fp, int use_unixtime); 85 FILE *fp; local 98 if ( (fp = fopen (fname, "r+")) == NULL ) 102 while ( fgets (buf, sizeof buf, fp) && !is_soa_rr (buf) ) 105 if ( feof (fp) ) 107 fclose (fp); 111 error = inc_soa_serial (fp, use_unixtime); /* .. inc soa serial no ... */ 113 if ( fclose (fp) != 0 ) 185 ** inc_soa_serial (fp, use_unixtime) 186 ** increment the soa serial number of the file 'fp' 189 inc_soa_serial(FILE *fp, int use_unixtime) argument [all...] |
H A D | tcap.c | 53 static int tc_printattr (FILE *fp, const char *attstr); 54 static int tc_color (FILE *fp, int color); 64 int tc_init (FILE *fp, const char *term) argument 100 if ( !istty (fp) ) 165 tc_printattr (fp, is1); 167 tc_printattr (fp, is2); 173 int tc_init (FILE *fp, const char *term) argument 195 int tc_end (FILE *fp, const char *term) argument 200 // if ( r1 && *r1 ) tc_printattr (fp, r1); 202 tc_printattr (fp, r 208 tc_end(FILE *fp, const char *term) argument 215 tc_attr(FILE *fp, tc_att_t attr, int on) argument 246 tc_attr(FILE *fp, tc_att_t attr, int on) argument 262 tc_printattr(FILE *fp, const char *attstr) argument 268 tc_printattr(FILE *fp, const char *attstr) argument 275 tc_color(FILE *fp, int color) argument 284 tc_color(FILE *fp, int color) argument [all...] |
H A D | zfparse.c | 147 FILE *fp; local 149 if ( (fp = fopen (file, "a")) == NULL ) 152 fprintf (fp, "\n"); 153 fprintf (fp, "$INCLUDE %s\t; this is the database of public DNSKEY RR\n", keydbfile); 155 fclose (fp);
|
H A D | log.c | 113 FILE *fp; local 146 if ( (fp = fopen (fname, "a")) == NULL ) 149 return fp;
|
H A D | ncparse.c | 114 static int gettok (FILE *fp, char *val, size_t valsize) argument 124 while ( (c = getc (fp)) != EOF && isspace (c) ) 129 while ( (c = getc (fp)) != EOF && c != '\n' ) 142 if ( (c = getc (fp)) == '*' ) /* yes! */ 145 while ( (c = getc (fp)) != EOF && !(lastc == '*' && c == '/') ) 150 while ( (c = getc (fp)) != EOF && c != '\n' ) 154 ungetc (c, fp); 162 while ( (c = getc (fp)) != EOF && p < bufend && c != '\"' ) 167 c = getc (fp); 176 while ( (c = getc (fp)) ! 198 FILE *fp; local [all...] |
H A D | rollover.c | 181 FILE *fp; local 188 if ( (fp = fopen (fname, "w")) == NULL ) 192 fprintf (fp, "; KSK rollover phase1 (new key generated but this is alread the old one)\n"); 194 fprintf (fp, "; KSK rollover phase2 (this is the new key)\n"); 196 dki_prt_dnskeyttl (dkp, fp, ttl); 197 fclose (fp); 207 FILE *fp; local 210 if ( (fp = fopen (file, "r")) == NULL ) 214 if ( fscanf (fp, "; KSK rollover phase%d", &phase) != 1 ) 217 fclose (fp); [all...] |
/bind-9.6-ESV-R11/lib/isc/unix/ |
H A D | stdio.c | 31 isc_stdio_open(const char *filename, const char *mode, FILE **fp) { argument 37 *fp = f;
|
/bind-9.6-ESV-R11/lib/isc/win32/ |
H A D | stdio.c | 30 isc_stdio_open(const char *filename, const char *mode, FILE **fp) { argument 36 *fp = f;
|
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/ |
H A D | aliaslist.c | 130 FILE *fp; local 139 if ((fp = fopen(path, "r")) == NULL) { 142 for (line_no = 1; fgets(line, sizeof(line), fp) != NULL; line_no++) { 161 fclose(fp);
|
H A D | filechecker.c | 69 static idn_result_t read_file(const char *file, FILE *fp, 78 FILE *fp; local 86 if ((fp = fopen(file, "r")) == NULL) { 100 r = read_file(file, fp, ctx->set); 101 fclose(fp); 152 read_file(const char *file, FILE *fp, idn_ucsset_t set) { argument 157 while (fgets(line, sizeof(line), fp) != NULL) {
|
H A D | filemapper.c | 83 static idn_result_t read_file(const char *file, FILE *fp, 91 FILE *fp; local 99 if ((fp = fopen(file, "r")) == NULL) { 112 r = read_file(file, fp, ctx->map); 113 fclose(fp); 238 read_file(const char *file, FILE *fp, idn_ucsmap_t map) { argument 246 while (fgets(line, sizeof(line), fp) != NULL) {
|
/bind-9.6-ESV-R11/lib/isc/pthreads/ |
H A D | mutex.c | 197 isc_mutex_statsprofile(FILE *fp) { argument 201 fprintf(fp, "Mutex stats (in us)\n"); 203 fprintf(fp, "%-12s %4d: %10u %lu.%06lu %lu.%06lu %5d\n", 214 fprintf(fp, " %-11s %4d: %10u %lu.%06lu %lu.%06lu %5d\n",
|
/bind-9.6-ESV-R11/bin/named/ |
H A D | logconf.c | 229 FILE *fp; local 242 result = isc_stdio_open(dest.file.name, "a", &fp); 254 (void)isc_stdio_close(fp);
|
/bind-9.6-ESV-R11/bin/tests/master/ |
H A D | t_master.c | 137 FILE *fp; local 145 fp = fopen(filename, "r"); 146 if (fp != NULL) { 148 while ((p = t_fgetbs(fp)) != NULL) { 175 (void)fclose(fp);
|
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/tools/idnconv/ |
H A D | util.c | 538 strbuf_getline(idnconv_strbuf_t *buf, FILE *fp) { argument 545 while (fgets(s, sizeof(s), fp) != NULL) {
|
/bind-9.6-ESV-R11/lib/dns/ |
H A D | dst_parse.c | 447 FILE *fp; local 468 if ((fp = fopen(filename, "w")) == NULL) 478 fprintf(fp, "%s v%d.%d\n", PRIVATE_KEY_STR, MAJOR_VERSION, 481 fprintf(fp, "%s %d ", ALGORITHM_STR, dst_key_alg(key)); 485 fprintf(fp, "(RSA)\n"); 488 fprintf(fp, "(DH)\n"); 491 fprintf(fp, "(DSA)\n"); 494 fprintf(fp, "(RSASHA1)\n"); 497 fprintf(fp, "(NSEC3DSA)\n"); 500 fprintf(fp, "(NSEC3RSASHA [all...] |