Searched refs:fp (Results 1 - 25 of 71) sorted by relevance

123

/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/contrib/idn/idnkit-1.0-src/tools/runidn/
H A Dstub.c171 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.11.3/contrib/idn/idnkit-1.0-src/wsock/wsock11/
H A Ddllstub.c6 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.11.3/contrib/idn/idnkit-1.0-src/wsock/wsock20/
H A Ddllstub.c6 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.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/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/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/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...]
/bind-9.11.3/bin/named/include/named/
H A Dstatschannel.h48 ns_stats_dump(ns_server_t *server, FILE *fp);
50 * Dump statistics counters managed by the server to the file fp.
/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/lib/isc/include/isc/
H A Dfile.h96 isc_file_openunique(char *templet, FILE **fp);
98 isc_file_openuniqueprivate(char *templet, FILE **fp);
100 isc_file_openuniquemode(char *templet, int mode, FILE **fp);
102 isc_file_bopenunique(char *templet, FILE **fp);
104 isc_file_bopenuniqueprivate(char *templet, FILE **fp);
106 isc_file_bopenuniquemode(char *templet, int mode, FILE **fp);
128 *\li 'fp' is non-NULL and '*fp' is NULL.
135 * *fp points to an stream opening in stdio's "w+" mode.
138 * *fp i
[all...]
H A Dstdio.h34 isc_stdio_open(const char *filename, const char *mode, FILE **fp);
/bind-9.11.3/lib/dns/
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...]
/bind-9.11.3/lib/isc/nothreads/include/isc/
H A Dmutex.h26 #define isc_mutex_stats(fp)
/bind-9.11.3/lib/isc/pthreads/include/isc/
H A Dmutex.h113 #define isc_mutex_stats(fp) isc_mutex_statsprofile(fp);
115 #define isc_mutex_stats(fp)
128 isc_mutex_statsprofile(FILE *fp);
/bind-9.11.3/bin/tests/names/
H A Dt_names.c186 FILE *fp; local
189 fp = fopen(datafile_name, "r");
190 if (fp == NULL) {
199 while ((c = getc(fp)) != EOF) {
205 while ((c = getc(fp)) != '\n')
216 (void)fclose(fp);
230 (void)fclose(fp);
237 (void)fclose(fp);
526 FILE *fp; local
531 fp
646 FILE *fp; local
808 FILE *fp; local
935 FILE *fp; local
1044 FILE *fp; local
1149 FILE *fp; local
1235 FILE *fp; local
1355 FILE *fp; local
1493 FILE *fp; local
1586 FILE *fp; local
1636 FILE *fp; local
1771 FILE *fp; local
1903 FILE *fp; local
2067 FILE *fp; local
2260 FILE *fp; local
[all...]
/bind-9.11.3/contrib/idn/idnkit-1.0-src/lib/
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/isc/win32/include/isc/
H A Dmutex.h44 #define isc_mutex_stats(fp) do {} while (0)
/bind-9.11.3/lib/tests/
H A Dt_api.c463 FILE *fp; local
467 fp = fopen(path, "r");
468 if (fp != NULL) {
472 *p = t_fgetbs(fp);
484 (void)fclose(fp);
501 FILE *fp; local
504 fp = fopen(path, "r");
505 if (fp != NULL) {
511 (void) fclose(fp);
519 * Read a newline or EOF terminated string from fp
531 t_fgetbs(FILE *fp) argument
759 FILE *fp; local
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Dnta.h187 dns_ntatable_dump(dns_ntatable_t *ntatable, FILE *fp);
189 * Dump the NTA table to the file opened as 'fp'.
193 dns_ntatable_save(dns_ntatable_t *ntatable, FILE *fp);
195 * Save the NTA table to the file opened as 'fp', for later loading.
H A Dbadcache.h132 dns_badcache_print(dns_badcache_t *bc, const char *cachename, FILE *fp);
135 * to file pointer 'fp'.
140 * \li fp != NULL
/bind-9.11.3/lib/isc/win32/
H A Dfile.c377 openuniquemode(char *templet, int mode, isc_boolean_t binary, FILE **fp) { argument
383 REQUIRE(fp != NULL && *fp == NULL);
404 *fp = f;
411 isc_file_openuniqueprivate(char *templet, FILE **fp) { argument
413 return (openuniquemode(templet, mode, ISC_FALSE, fp));
417 isc_file_openunique(char *templet, FILE **fp) { argument
419 return (openuniquemode(templet, mode, ISC_FALSE, fp));
423 isc_file_openuniquemode(char *templet, int mode, FILE **fp) { argument
424 return (openuniquemode(templet, mode, ISC_FALSE, fp));
428 isc_file_bopenuniqueprivate(char *templet, FILE **fp) argument
434 isc_file_bopenunique(char *templet, FILE **fp) argument
440 isc_file_bopenuniquemode(char *templet, int mode, FILE **fp) argument
660 isc_file_safecreate(const char *filename, FILE **fp) argument
[all...]
/bind-9.11.3/bin/tests/rbt/
H A Dt_rbt.c258 FILE *fp; local
260 fp = fopen(filename, "r");
261 if (fp == NULL) {
270 fclose(fp);
274 while ((p = t_fgetbs(fp)) != NULL) {
292 fclose(fp);
297 fclose(fp);
443 FILE *fp; local
454 fp = fopen(filename, "r");
455 if (fp !
955 FILE *fp; local
1150 FILE *fp; local
1349 FILE *fp; local
1557 FILE *fp; local
1764 FILE *fp; local
[all...]
/bind-9.11.3/lib/isc/unix/
H A Dfile.c300 isc_file_openunique(char *templet, FILE **fp) { argument
302 return (isc_file_openuniquemode(templet, mode, fp));
306 isc_file_openuniqueprivate(char *templet, FILE **fp) { argument
308 return (isc_file_openuniquemode(templet, mode, fp));
312 isc_file_openuniquemode(char *templet, int mode, FILE **fp) { argument
320 REQUIRE(fp != NULL && *fp == NULL);
364 *fp = f;
370 isc_file_bopenunique(char *templet, FILE **fp) { argument
372 return (isc_file_openuniquemode(templet, mode, fp));
376 isc_file_bopenuniqueprivate(char *templet, FILE **fp) argument
382 isc_file_bopenuniquemode(char *templet, int mode, FILE **fp) argument
583 isc_file_safecreate(const char *filename, FILE **fp) argument
[all...]

Completed in 294 milliseconds

123