Searched defs:fp (Results 1 - 25 of 51) sorted by relevance

123

/bind-9.11.3/bin/tests/
H A Dfsaccess_test.c32 FILE *fp; local
40 fp = fopen(PATH, "w");
41 if (fp == NULL) {
66 (void)fclose(fp);
/bind-9.11.3/contrib/idn/idnkit-1.0-src/wsock/common/
H A Dprintf.c67 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.11.3/bin/tools/
H A Dgenrandom.c35 FILE *fp; local
37 fp = fopen(filename, "w");
38 if (fp == NULL) {
50 if (putc(c, fp) == EOF) {
55 if (putc(c, fp) == EOF) {
61 fclose(fp);
/bind-9.11.3/lib/isc/unix/
H A Dstdio.c23 isc_stdio_open(const char *filename, const char *mode, FILE **fp) { argument
29 *fp = f;
/bind-9.11.3/lib/isc/win32/
H A Dstdio.c25 isc_stdio_open(const char *filename, const char *mode, FILE **fp) { argument
31 *fp = f;
/bind-9.11.3/bin/tests/system/rsabigexponent/
H A Dbigkey.c58 FILE *fp; local
63 fp = fopen("Kexample.+005+10264.private", "w");
64 if (fp == NULL) {
69 fputs("Private-key-format: v1.3\n", fp);
70 fputs("Algorithm: 5 (RSASHA1)\n", fp);
74 "MtbgQV40ffM4lAbZ7M=\n", fp);
75 fputs("PublicExponent: AQAAAAAAAQ==\n", fp);
79 "zfHLXXUvBTA/HK/u8L1LwggqHk=\n", fp);
81 "h4ZRQl+Z9mUbb9skjPvkM6ZeuzXTFkOjdck2y1NQ==\n", fp);
83 "vTZ+v+mfgJn6TFqSn4SBF2zHJ876lWbQ+12aNORw==\n", fp);
[all...]
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/
H A Daliaslist.c130 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 Dfilechecker.c69 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 Dfilemapper.c83 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.11.3/lib/dns/tests/
H A Ddnstap_test.c293 FILE *fp = NULL; local
303 result = isc_stdio_open(TAPTEXT, "r", &fp);
319 p = fgets(s, sizeof(s), fp);
/bind-9.11.3/lib/isc/
H A Dprint.c38 FILE *fp = arg; local
41 putc(i, fp);
46 isc_print_vfprintf(FILE *fp, const char *format, va_list ap) {
47 assert(fp != NULL);
50 return (isc__print_printf(file_emit, fp, format, ap));
68 isc_print_fprintf(FILE *fp, const char *format, ...) { argument
72 assert(fp != NULL);
76 n = isc__print_printf(file_emit, fp, format, ap);
/bind-9.11.3/lib/isc/pthreads/
H A Dmutex.c190 isc_mutex_statsprofile(FILE *fp) { argument
194 fprintf(fp, "Mutex stats (in us)\n");
196 fprintf(fp, "%-12s %4d: %10u %lu.%06lu %lu.%06lu %5d\n",
207 fprintf(fp, " %-11s %4d: %10u %lu.%06lu %lu.%06lu %5d\n",
/bind-9.11.3/lib/lwres/
H A Dlwconfig.c24 * context ctx to the FILE fp.
76 lwres_conf_parsenameserver(lwres_context_t *ctx, FILE *fp);
79 lwres_conf_parselwserver(lwres_context_t *ctx, FILE *fp);
82 lwres_conf_parsedomain(lwres_context_t *ctx, FILE *fp);
85 lwres_conf_parsesearch(lwres_context_t *ctx, FILE *fp);
88 lwres_conf_parsesortlist(lwres_context_t *ctx, FILE *fp);
91 lwres_conf_parseoption(lwres_context_t *ctx, FILE *fp);
125 eatline(FILE *fp) { argument
128 ch = fgetc(fp);
130 ch = fgetc(fp);
142 eatwhite(FILE *fp) argument
163 getword(FILE *fp, char *buffer, size_t size) argument
292 lwres_conf_parsenameserver(lwres_context_t *ctx, FILE *fp) argument
323 lwres_conf_parselwserver(lwres_context_t *ctx, FILE *fp) argument
351 lwres_conf_parsedomain(lwres_context_t *ctx, FILE *fp) argument
392 lwres_conf_parsesearch(lwres_context_t *ctx, FILE *fp) argument
505 lwres_conf_parsesortlist(lwres_context_t *ctx, FILE *fp) argument
559 lwres_conf_parseoption(lwres_context_t *ctx, FILE *fp) argument
615 FILE *fp = NULL; local
674 lwres_conf_print(lwres_context_t *ctx, FILE *fp) argument
[all...]
/bind-9.11.3/lib/samples/
H A Dsample-async.c56 static FILE *fp; variable
213 cp = fgets(buf, sizeof(buf), fp);
373 fp = fopen(argv[0], "r");
374 if (fp == NULL) {
/bind-9.11.3/contrib/idn/idnkit-1.0-src/tools/idnconv/
H A Dutil.c538 strbuf_getline(idnconv_strbuf_t *buf, FILE *fp) { argument
545 while (fgets(s, sizeof(s), fp) != NULL) {
/bind-9.11.3/lib/dns/
H A Dbadcache.c391 dns_badcache_print(dns_badcache_t *bc, const char *cachename, FILE *fp) { argument
401 REQUIRE(fp != NULL);
404 fprintf(fp, ";\n; %s\n;\n", cachename);
428 fprintf(fp, "; %s/%s [ttl "
H A Ddst_parse.c677 FILE *fp; local
723 if ((fp = fopen(filename, "w")) == NULL)
739 fprintf(fp, "%s v%d.%d\n", PRIVATE_KEY_STR, major, minor);
741 fprintf(fp, "%s %d ", ALGORITHM_STR, dst_key_alg(key));
746 fprintf(fp, "(RSA)\n");
749 fprintf(fp, "(DH)\n");
752 fprintf(fp, "(DSA)\n");
755 fprintf(fp, "(RSASHA1)\n");
758 fprintf(fp, "(NSEC3RSASHA1)\n");
761 fprintf(fp, "(NSEC3DS
[all...]
H A Dkeytable.c571 dns_keytable_dump(dns_keytable_t *keytable, FILE *fp) { argument
576 REQUIRE(fp != NULL);
593 fprintf(fp, "%.*s", (int) isc_buffer_usedlength(text),
H A Dnta.c576 dns_ntatable_dump(dns_ntatable_t *ntatable, FILE *fp) {
606 fprintf(fp, "%s: %s %s\n", nbuf,
626 dns_ntatable_dump(dns_ntatable_t *ntatable, FILE *fp) { argument
646 fprintf(fp, "%.*s", (int) isc_buffer_usedlength(text),
653 dns_ntatable_save(dns_ntatable_t *ntatable, FILE *fp) { argument
698 fprintf(fp, "%s %s %s\n", nbuf,
/bind-9.11.3/bin/dnssec/
H A Ddnssec-dsfromkey.c77 db_load_from_stream(dns_db_t *db, FILE *fp) { argument
86 result = dns_master_loadstream(fp, name, name, rdclass, 0,
H A Ddnssec-importkey.c82 db_load_from_stream(dns_db_t *db, FILE *fp) { argument
91 result = dns_master_loadstream(fp, name, name, rdclass, 0,
/bind-9.11.3/bin/named/
H A Dlogconf.c242 FILE *fp; local
255 result = isc_stdio_open(dest.file.name, "a", &fp);
267 (void)isc_stdio_close(fp);
/bind-9.11.3/bin/named/win32/
H A Dos.c227 FILE *fp; local
239 fp = fdopen(fd, "w");
240 if (fp == NULL) {
247 return (fp);
/bind-9.11.3/bin/tests/master/
H A Dt_master.c129 FILE *fp; local
137 fp = fopen(filename, "r");
138 if (fp != NULL) {
140 while ((p = t_fgetbs(fp)) != NULL) {
167 (void)fclose(fp);
/bind-9.11.3/lib/irs/
H A Dresconf.c116 resconf_parsenameserver(irs_resconf_t *conf, FILE *fp);
118 resconf_parsedomain(irs_resconf_t *conf, FILE *fp);
120 resconf_parsesearch(irs_resconf_t *conf, FILE *fp);
122 resconf_parsesortlist(irs_resconf_t *conf, FILE *fp);
124 resconf_parseoption(irs_resconf_t *ctx, FILE *fp);
130 eatline(FILE *fp) { argument
133 ch = fgetc(fp);
135 ch = fgetc(fp);
146 eatwhite(FILE *fp) { argument
149 ch = fgetc(fp);
166 getword(FILE *fp, char *buffer, size_t size) argument
273 resconf_parsenameserver(irs_resconf_t *conf, FILE *fp) argument
299 resconf_parsedomain(irs_resconf_t *conf, FILE *fp) argument
335 resconf_parsesearch(irs_resconf_t *conf, FILE *fp) argument
386 resconf_parsesortlist(irs_resconf_t *conf, FILE *fp) argument
435 resconf_parseoption(irs_resconf_t *conf, FILE *fp) argument
485 FILE *fp = NULL; local
[all...]

Completed in 36 milliseconds

123