/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/idn/idnkit-1.0-src/tools/runidn/ |
H A D | stub.c | 171 static struct hostent *(*fp)(const char *name); 173 if (fp == NULL) 174 fp = get_func_addr("gethostbyname"); 175 if (fp != NULL) 176 return ((*fp)(name)); 184 static struct hostent *(*fp)(const char *name, int af); 186 if (fp == NULL) 187 fp = get_func_addr("gethostbyname2"); 188 if (fp != NULL) 189 return ((*fp)(nam [all...] |
/bind-9.6-ESV-R11/contrib/zkt/ |
H A D | tcap.h | 26 extern int tc_init (FILE *fp, const char *term); 27 extern int tc_end (FILE *fp, const char *term); 28 extern int tc_attr (FILE *fp, tc_att_t attr, int on);
|
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 | 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 | 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 | 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 | dki.c | 84 static int dki_readfile (FILE *fp, dki_t *dkp) argument 94 assert (fp != NULL); 96 while ( (c = getc (fp)) == ';' ) /* line start with comment ? */ 99 if ( (c = getc (fp)) == '%' ) /* special comment? */ 101 while ( (c = getc (fp)) == ' ' || c == '\t' ) 103 ungetc (c, fp); 105 if ( fscanf (fp, "%25[a-zA-Z]=%14s", tag, val) == 2 ) 117 ungetc (c, fp); 118 while ( (c = getc (fp)) != EOF && c != '\n' ) /* eat up rest of the line */ 121 ungetc (c, fp); /* pus 163 FILE *fp; local 245 FILE *fp; local 292 FILE *fp; local 679 dki_prt_dnskey(const dki_t *dkp, FILE *fp) argument 687 dki_prt_dnskeyttl(const dki_t *dkp, FILE *fp, int ttl) argument 718 dki_prt_dnskey_raw(const dki_t *dkp, FILE *fp) argument 747 dki_prt_comment(const dki_t *dkp, FILE *fp) argument 764 dki_prt_trustedkey(const dki_t *dkp, FILE *fp) argument [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);
|
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/wsock11/ |
H A D | dllstub.c | 6 static SOCKET (PASCAL *fp)(SOCKET a0, struct sockaddr* a1, int* a2); 11 if (fp == NULL) { 17 fp = p; 19 return (*fp)(a0, a1, a2); 25 static int (PASCAL *fp)(SOCKET a0, const struct sockaddr* a1, int a2); 30 if (fp == NULL) { 36 fp = p; 38 return (*fp)(a0, a1, a2); 44 static int (PASCAL *fp)(SOCKET a0); 49 if (fp [all...] |
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/wsock20/ |
H A D | dllstub.c | 6 static SOCKET (PASCAL *fp)(SOCKET a0, struct sockaddr* a1, int* a2); 11 if (fp == NULL) { 17 fp = p; 19 return (*fp)(a0, a1, a2); 25 static int (PASCAL *fp)(SOCKET a0, const struct sockaddr* a1, int a2); 30 if (fp == NULL) { 36 fp = p; 38 return (*fp)(a0, a1, a2); 44 static int (PASCAL *fp)(SOCKET a0); 49 if (fp [all...] |
/bind-9.6-ESV-R11/bin/tests/ |
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);
|
H A D | fsaccess_test.c | 40 FILE *fp; local 48 fp = fopen(PATH, "w"); 49 if (fp == NULL) { 74 (void)fclose(fp);
|
/bind-9.6-ESV-R11/lib/lwres/ |
H A D | lwconfig.c | 35 * context ctx to the FILE fp. 84 lwres_conf_parsenameserver(lwres_context_t *ctx, FILE *fp); 87 lwres_conf_parselwserver(lwres_context_t *ctx, FILE *fp); 90 lwres_conf_parsedomain(lwres_context_t *ctx, FILE *fp); 93 lwres_conf_parsesearch(lwres_context_t *ctx, FILE *fp); 96 lwres_conf_parsesortlist(lwres_context_t *ctx, FILE *fp); 99 lwres_conf_parseoption(lwres_context_t *ctx, FILE *fp); 133 eatline(FILE *fp) { argument 136 ch = fgetc(fp); 138 ch = fgetc(fp); 150 eatwhite(FILE *fp) argument 171 getword(FILE *fp, char *buffer, size_t size) argument 295 lwres_conf_parsenameserver(lwres_context_t *ctx, FILE *fp) argument 326 lwres_conf_parselwserver(lwres_context_t *ctx, FILE *fp) argument 354 lwres_conf_parsedomain(lwres_context_t *ctx, FILE *fp) argument 395 lwres_conf_parsesearch(lwres_context_t *ctx, FILE *fp) argument 476 lwres_conf_parsesortlist(lwres_context_t *ctx, FILE *fp) argument 530 lwres_conf_parseoption(lwres_context_t *ctx, FILE *fp) argument 570 FILE *fp = NULL; local 629 lwres_conf_print(lwres_context_t *ctx, FILE *fp) argument [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);
|
/bind-9.6-ESV-R11/bin/named/include/named/ |
H A D | statschannel.h | 56 ns_stats_dump(ns_server_t *server, FILE *fp); 58 * Dump statistics counters managed by the server to the file fp.
|
/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...] |
/bind-9.6-ESV-R11/lib/isc/nothreads/include/isc/ |
H A D | mutex.h | 37 #define isc_mutex_stats(fp)
|
/bind-9.6-ESV-R11/lib/isc/pthreads/include/isc/ |
H A D | mutex.h | 122 #define isc_mutex_stats(fp) isc_mutex_statsprofile(fp); 124 #define isc_mutex_stats(fp) 137 isc_mutex_statsprofile(FILE *fp);
|
/bind-9.6-ESV-R11/bin/tests/names/ |
H A D | t_names.c | 194 FILE *fp; local 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; local 539 fp 654 FILE *fp; local 816 FILE *fp; local 944 FILE *fp; local 1053 FILE *fp; local 1158 FILE *fp; local 1244 FILE *fp; local 1364 FILE *fp; local 1502 FILE *fp; local 1595 FILE *fp; local 1645 FILE *fp; local 1780 FILE *fp; local 1914 FILE *fp; local 2078 FILE *fp; local 2272 FILE *fp; local [all...] |
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/lib/ |
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) {
|
/bind-9.6-ESV-R11/lib/isc/win32/include/isc/ |
H A D | mutex.h | 53 #define isc_mutex_stats(fp) do {} while (0)
|
/bind-9.6-ESV-R11/lib/tests/ |
H A D | t_api.c | 442 FILE *fp; local 446 fp = fopen(path, "r"); 447 if (fp != NULL) { 451 *p = t_fgetbs(fp); 463 (void)fclose(fp); 480 FILE *fp; local 483 fp = fopen(path, "r"); 484 if (fp != NULL) { 490 (void) fclose(fp); 498 * Read a newline or EOF terminated string from fp 510 t_fgetbs(FILE *fp) argument 731 FILE *fp; local [all...] |
/bind-9.6-ESV-R11/lib/isc/include/isc/ |
H A D | file.h | 101 isc_file_openunique(char *templet, FILE **fp); 103 isc_file_bopenunique(char *templet, FILE **fp); 125 *\li 'fp' is non-NULL and '*fp' is NULL. 132 * *fp points to an stream opening in stdio's "w+" mode. 135 * *fp is NULL.
|