Symbol: inf
games/fortune/fortune/fortune.c
1196
while (fgets(sp, Fort_len, fp->inf) != NULL)
games/fortune/fortune/fortune.c
216
(void) fseek(fp->inf, (long)Seekpts[0], SEEK_SET);
games/fortune/fortune/fortune.c
217
for (Fort_len = 0; fgets(line, sizeof line, fp->inf) != NULL &&
games/fortune/fortune/fortune.c
241
(void) fseek(Fortfile->inf, (long)Seekpts[0], SEEK_SET);
games/fortune/fortune/fortune.c
243
while (fgets(line, sizeof line, Fortfile->inf) != NULL &&
games/fortune/fortune/fortune.c
517
fp->inf = NULL;
games/fortune/fortune/fortune.c
587
obscene->inf = NULL;
games/fortune/fortune/fortune.c
74
FILE *inf;
games/fortune/fortune/fortune.c
933
if (fp->inf == NULL && (fp->inf = fdopen(fp->fd, "r")) == NULL) {
games/fortune/strfile/strfile.c
131
FILE *inf, *outf;
games/fortune/strfile/strfile.c
144
if ((inf = fopen(Infile, "r")) == NULL)
games/fortune/strfile/strfile.c
165
add_offset(outf, ftell(inf));
games/fortune/strfile/strfile.c
168
sp = fgets(string, sizeof(string), inf);
games/fortune/strfile/strfile.c
170
pos = ftell(inf);
games/fortune/strfile/strfile.c
199
(void) fclose(inf);
games/hangman/getword.c
49
FILE *inf;
games/hangman/getword.c
55
inf = Dict;
games/hangman/getword.c
63
fseek(inf, pos, SEEK_SET);
games/hangman/getword.c
64
if (fgets(Word, BUFSIZ, inf) == NULL)
games/hangman/getword.c
66
if (fgets(Word, BUFSIZ, inf) == NULL)
games/mille/save.c
143
int inf;
games/mille/save.c
147
if ((inf = open(file, O_RDONLY)) == -1)
games/mille/save.c
149
if (fstat(inf, &sbuf) == -1) /* get file stats */
games/mille/save.c
151
varpush(inf, readv);
games/mille/save.c
152
close(inf);
games/monop/execute.c
286
FILE *inf;
games/monop/execute.c
300
if ((inf = fopen(file, "r")) == NULL) {
games/monop/execute.c
308
len = getline(&st, &linesize, inf);
games/monop/execute.c
314
fclose(inf);
games/monop/execute.c
318
if (getline(&st, &linesize, inf) == -1)
games/monop/execute.c
321
if ((len = getline(&st, &linesize, inf)) == -1 || st[len - 1] != '\n')
games/monop/execute.c
335
if ((len = getline(&st, &linesize, inf)) == -1 ||
games/monop/execute.c
348
if ((len = getline(&st, &linesize, inf)) == -1 ||
games/monop/execute.c
364
if ((len = getline(&st, &linesize, inf)) == -1 ||
games/monop/execute.c
375
if ((len = getline(&st, &linesize, inf)) == -1 ||
games/monop/execute.c
390
while ((len = getline(&st, &linesize, inf)) != -1) {
games/monop/execute.c
415
fclose(inf);
games/monop/initdeck.c
106
fclose(inf);
games/monop/initdeck.c
159
while ((c=getc(inf)) != EOF)
games/monop/initdeck.c
163
if (getc(inf) == '-')
games/monop/initdeck.c
185
putc(getc(inf), outf);
games/monop/initdeck.c
186
putc(getc(inf), outf);
games/monop/initdeck.c
187
for (num = 0; (c=getc(inf)) != '\n'; )
games/monop/initdeck.c
192
while ((c=getc(inf)) != EOF)
games/monop/initdeck.c
196
if (getc(inf) == '-')
games/monop/initdeck.c
198
while (getc(inf) != '\n')
games/monop/initdeck.c
201
if ((c=getc(inf)) == EOF)
games/monop/initdeck.c
204
putc(c = getc(inf), outf);
games/monop/initdeck.c
205
for (num = 0; (c=getc(inf)) != EOF && c != '\n'; )
games/monop/initdeck.c
61
FILE *inf, *outf;
games/monop/initdeck.c
76
if ((inf = fopen(infile, "r")) == NULL)
games/monop/initdeck.c
87
fseek(inf, 0L, SEEK_SET);
games/robots/score.c
102
fsync(inf);
games/robots/score.c
103
lseek(inf, 0, SEEK_SET);
games/robots/score.c
126
lseek(inf, 0L, SEEK_SET);
games/robots/score.c
127
write(inf, &max_uid, sizeof max_uid);
games/robots/score.c
128
write(inf, Top, sizeof Top);
games/robots/score.c
130
fsync(inf);
games/robots/score.c
131
lseek(inf, 0, SEEK_SET);
games/robots/score.c
168
int inf;
games/robots/score.c
171
if ((inf = open(Scorefile, O_RDONLY)) == -1) {
games/robots/score.c
179
read(inf, &max_score, sizeof max_score);
games/robots/score.c
180
read(inf, Top, sizeof Top);
games/robots/score.c
181
close(inf);
games/robots/score.c
182
inf = 1;
games/robots/score.c
185
printf("%d\t%d\t%.*s\n", inf++, scp->s_score,
games/robots/score.c
58
int inf = score_wfd;
games/robots/score.c
65
if (inf < 0)
games/robots/score.c
68
if (read(inf, &max_uid, sizeof max_uid) == sizeof max_uid)
games/robots/score.c
69
read(inf, Top, sizeof Top);
lib/libc/arch/sparc64/fpu/fpu_implode.c
163
int inf;
lib/libc/arch/sparc64/fpu/fpu_implode.c
169
inf = 1;
lib/libc/arch/sparc64/fpu/fpu_implode.c
173
inf = 0;
lib/libc/arch/sparc64/fpu/fpu_implode.c
177
inf = sign == 0;
lib/libc/arch/sparc64/fpu/fpu_implode.c
181
inf = sign;
lib/libc/arch/sparc64/fpu/fpu_implode.c
184
return (inf);
lib/libcrypto/asn1/a_int.c
797
int inf, tag, xclass;
lib/libcrypto/asn1/a_int.c
812
inf = ASN1_get_object(&p, &len, &tag, &xclass, length);
lib/libcrypto/asn1/a_int.c
813
if (inf & 0x80) {
lib/libcrypto/asn1/asn1_item.c
479
int i, inf, tag, xclass;
lib/libcrypto/asn1/asn1_item.c
518
inf = ASN1_get_object(&q, &slen, &tag, &xclass, len - off);
lib/libcrypto/asn1/asn1_item.c
519
if (inf & 0x80) {
lib/libcrypto/asn1/asn1_item.c
531
if (inf & 1) {
lib/libcrypto/asn1/x_crl.c
532
X509_CRL_INFO *inf;
lib/libcrypto/asn1/x_crl.c
534
inf = crl->crl;
lib/libcrypto/asn1/x_crl.c
535
if (!inf->revoked)
lib/libcrypto/asn1/x_crl.c
536
inf->revoked = sk_X509_REVOKED_new(X509_REVOKED_cmp);
lib/libcrypto/asn1/x_crl.c
537
if (!inf->revoked || !sk_X509_REVOKED_push(inf->revoked, rev)) {
lib/libcrypto/asn1/x_crl.c
541
inf->enc.modified = 1;
lib/libcrypto/ocsp/ocsp_prn.c
158
OCSP_REQINFO *inf = o->tbsRequest;
lib/libcrypto/ocsp/ocsp_prn.c
163
l = ASN1_INTEGER_get(inf->version);
lib/libcrypto/ocsp/ocsp_prn.c
166
if (inf->requestorName != NULL) {
lib/libcrypto/ocsp/ocsp_prn.c
169
GENERAL_NAME_print(bp, inf->requestorName);
lib/libcrypto/ocsp/ocsp_prn.c
173
for (i = 0; i < sk_OCSP_ONEREQ_num(inf->requestList); i++) {
lib/libcrypto/ocsp/ocsp_prn.c
174
one = sk_OCSP_ONEREQ_value(inf->requestList, i);
lib/libcrypto/ocsp/ocsp_prn.c
182
inf->requestExtensions, flags, 4))
lib/libcrypto/x509/by_file.c
228
STACK_OF(X509_INFO) *inf;
lib/libcrypto/x509/by_file.c
240
inf = PEM_X509_INFO_read_bio(in, NULL, NULL, "");
lib/libcrypto/x509/by_file.c
242
if (!inf) {
lib/libcrypto/x509/by_file.c
246
for (i = 0; i < sk_X509_INFO_num(inf); i++) {
lib/libcrypto/x509/by_file.c
247
itmp = sk_X509_INFO_value(inf, i);
lib/libcrypto/x509/by_file.c
259
sk_X509_INFO_pop_free(inf, X509_INFO_free);
lib/libcrypto/x509/by_mem.c
108
if ((inf = PEM_X509_INFO_read_bio(in, NULL, NULL, NULL)) == NULL)
lib/libcrypto/x509/by_mem.c
111
for (i = 0; i < sk_X509_INFO_num(inf); i++) {
lib/libcrypto/x509/by_mem.c
112
itmp = sk_X509_INFO_value(inf, i);
lib/libcrypto/x509/by_mem.c
131
if (inf != NULL)
lib/libcrypto/x509/by_mem.c
132
sk_X509_INFO_pop_free(inf, X509_INFO_free);
lib/libcrypto/x509/by_mem.c
94
STACK_OF(X509_INFO) *inf = NULL;
regress/lib/libm/msun/cexp_test.c
160
ATF_TC_WITHOUT_HEAD(inf);
regress/lib/libm/msun/cexp_test.c
161
ATF_TC_BODY(inf, tc)
regress/lib/libm/msun/cexp_test.c
305
ATF_TP_ADD_TC(tp, inf);
regress/lib/libm/msun/invctrig_test.c
225
ATF_TC_WITHOUT_HEAD(inf);
regress/lib/libm/msun/invctrig_test.c
226
ATF_TC_BODY(inf, tc)
regress/lib/libm/msun/invctrig_test.c
345
ATF_TP_ADD_TC(tp, inf);
regress/lib/libz/infcover.c
367
inf("63 0", "force window allocation", 0, -15, 1, Z_OK);
regress/lib/libz/infcover.c
368
inf("63 18 5", "force window replacement", 0, -8, 259, Z_OK);
regress/lib/libz/infcover.c
369
inf("63 18 68 30 d0 0 0", "force split window update", 4, -8, 259, Z_OK);
regress/lib/libz/infcover.c
370
inf("3 0", "use fixed blocks", 0, -15, 1, Z_STREAM_END);
regress/lib/libz/infcover.c
371
inf("", "bad window size", 0, 1, 0, Z_STREAM_ERROR);
regress/lib/libz/infcover.c
399
inf("1f 8b 0 0", "bad gzip method", 0, 31, 0, Z_DATA_ERROR);
regress/lib/libz/infcover.c
400
inf("1f 8b 8 80", "bad gzip flags", 0, 31, 0, Z_DATA_ERROR);
regress/lib/libz/infcover.c
401
inf("77 85", "bad zlib method", 0, 15, 0, Z_DATA_ERROR);
regress/lib/libz/infcover.c
402
inf("8 99", "set window size from header", 0, 0, 0, Z_OK);
regress/lib/libz/infcover.c
403
inf("78 9c", "bad zlib window size", 0, 8, 0, Z_DATA_ERROR);
regress/lib/libz/infcover.c
404
inf("78 9c 63 0 0 0 1 0 1", "check adler32", 0, 15, 1, Z_STREAM_END);
regress/lib/libz/infcover.c
405
inf("1f 8b 8 1e 0 0 0 0 0 0 1 0 0 0 0 0 0", "bad header crc", 0, 47, 1,
regress/lib/libz/infcover.c
407
inf("1f 8b 8 2 0 0 0 0 0 0 1d 26 3 0 0 0 0 0 0 0 0 0", "check gzip length",
regress/lib/libz/infcover.c
409
inf("78 90", "bad zlib header check", 0, 47, 0, Z_DATA_ERROR);
regress/lib/libz/infcover.c
410
inf("8 b8 0 0 0 1", "need dictionary", 0, 8, 0, Z_NEED_DICT);
regress/lib/libz/infcover.c
411
inf("78 9c 63 0", "compute adler32", 0, 15, 1, Z_OK);
regress/lib/libz/infcover.c
611
inf("2 8 20 80 0 3 0", "inflate_fast TYPE return", 0, -15, 258,
regress/lib/libz/infcover.c
613
inf("63 18 5 40 c 0", "window wrap", 3, -8, 300, Z_OK);
regress/lib/libz/infcover.c
643
inf("e5 e0 81 ad 6d cb b2 2c c9 01 1e 59 63 ae 7d ee fb 4d fd b5 35 41 68"
regress/lib/libz/infcover.c
645
inf("25 fd 81 b5 6d 59 b6 6a 49 ea af 35 6 34 eb 8c b9 f6 b9 1e ef 67 49"
regress/lib/libz/infcover.c
648
inf("3 7e 0 0 0 0 0", "fast invalid distance code", 0, -8, 258,
regress/lib/libz/infcover.c
650
inf("1b 7 0 0 0 0 0", "fast invalid literal/length code", 0, -8, 258,
regress/lib/libz/infcover.c
652
inf("d c7 1 ae eb 38 c 4 41 a0 87 72 de df fb 1f b8 36 b1 38 5d ff ff 0",
regress/lib/libz/infcover.c
654
inf("63 18 5 8c 10 8 0 0 0 0", "very common case", 0, -8, 259, Z_OK);
regress/lib/libz/infcover.c
655
inf("63 60 60 18 c9 0 8 18 18 18 26 c0 28 0 29 0 0 0",
regress/lib/libz/infcover.c
657
inf("63 0 3 0 0 0 0 0", "copy direct from output", 0, -8, 259,
sbin/unwind/libunbound/util/net_help.c
1043
const char* inf = NULL;
sbin/unwind/libunbound/util/net_help.c
1047
inf = "no error";
sbin/unwind/libunbound/util/net_help.c
1050
inf = "channel closed";
sbin/unwind/libunbound/util/net_help.c
1053
inf = "want read";
sbin/unwind/libunbound/util/net_help.c
1056
inf = "want write";
sbin/unwind/libunbound/util/net_help.c
1059
inf = "want connect";
sbin/unwind/libunbound/util/net_help.c
1062
inf = "want accept";
sbin/unwind/libunbound/util/net_help.c
1065
inf = "want X509 lookup";
sbin/unwind/libunbound/util/net_help.c
1069
inf = "want async";
sbin/unwind/libunbound/util/net_help.c
1074
inf = "want async job";
sbin/unwind/libunbound/util/net_help.c
1079
inf = "want client hello cb";
sbin/unwind/libunbound/util/net_help.c
1084
inf = "syscall";
sbin/unwind/libunbound/util/net_help.c
1088
inf = "SSL, usually protocol, error";
sbin/unwind/libunbound/util/net_help.c
1091
inf = "unknown SSL_get_error result code";
sbin/unwind/libunbound/util/net_help.c
1115
log_err("%s: %s", str, inf);
sys/arch/sparc64/fpu/fpu_implode.c
160
int inf;
sys/arch/sparc64/fpu/fpu_implode.c
167
inf = 1;
sys/arch/sparc64/fpu/fpu_implode.c
171
inf = 0;
sys/arch/sparc64/fpu/fpu_implode.c
175
inf = sign == 0;
sys/arch/sparc64/fpu/fpu_implode.c
179
inf = sign;
sys/arch/sparc64/fpu/fpu_implode.c
182
return (inf);
sys/dev/pv/ndis.h
127
#define NDIS_VLAN_INFO_ID(inf) (((inf) & NDIS_VLAN_INFO_ID_MASK) >> 4)
sys/dev/pv/ndis.h
128
#define NDIS_VLAN_INFO_PRI(inf) ( (inf) & NDIS_VLAN_INFO_PRI_MASK)
sys/isofs/udf/ecma167-udf.h
200
uint8_t inf[63];
usr.bin/awk/lib.c
221
extern int readcsvrec(char **pbuf, int *pbufsize, FILE *inf, bool newflag);
usr.bin/awk/lib.c
223
int readrec(char **pbuf, int *pbufsize, FILE *inf, bool newflag) /* read one record into buf */
usr.bin/awk/lib.c
231
c = readcsvrec(&buf, &bufsize, inf, newflag);
usr.bin/awk/lib.c
239
found = fnematch(pfa, inf, &buf, &bufsize, recsize);
usr.bin/awk/lib.c
243
found = fnematch(pfa, inf, &buf, &bufsize, recsize);
usr.bin/awk/lib.c
252
while ((c=getc(inf)) == '\n' && c != EOF) /* skip leading \n's */
usr.bin/awk/lib.c
255
ungetc(c, inf);
usr.bin/awk/lib.c
258
for (; (c=getc(inf)) != sep && c != EOF; ) {
usr.bin/awk/lib.c
267
if ((c = getc(inf)) == '\n' || c == EOF) /* 2 in a row */
usr.bin/awk/lib.c
294
int readcsvrec(char **pbuf, int *pbufsize, FILE *inf, bool newflag) /* csv can have \n's */
usr.bin/awk/lib.c
303
while ((c = getc(inf)) != EOF) {
usr.bin/awk/proto.h
124
extern int readrec(char **buf, int *bufsize, FILE *inf, bool isnew);
usr.bin/ctags/C.c
123
(void)ungetc(c, inf);
usr.bin/ctags/C.c
147
ungetc(c, inf);
usr.bin/ctags/C.c
214
(void)ungetc(c, inf);
usr.bin/ctags/C.c
337
(void)ungetc(c, inf);
usr.bin/ctags/C.c
350
(void)ungetc(c, inf);
usr.bin/ctags/C.c
377
(void)ungetc(c, inf);
usr.bin/ctags/C.c
468
(void)ungetc(c, inf);
usr.bin/ctags/C.c
502
ungetc(c, inf);
usr.bin/ctags/C.c
572
(void)ungetc(c, inf);
usr.bin/ctags/C.c
59
lineftell = ftell(inf);
usr.bin/ctags/ctags.c
131
if (!(inf = fopen(argv[step], "r"))) {
usr.bin/ctags/ctags.c
138
(void)fclose(inf);
usr.bin/ctags/ctags.c
202
rewind(inf);
usr.bin/ctags/ctags.c
219
rewind(inf);
usr.bin/ctags/ctags.c
235
rewind(inf);
usr.bin/ctags/ctags.c
51
FILE *inf; /* ioptr for current input file */
usr.bin/ctags/ctags.h
44
#define SETLINE {++lineno;lineftell = ftell(inf);}
usr.bin/ctags/ctags.h
45
#define GETC(op,exp) ((c = getc(inf)) op (int)exp)
usr.bin/ctags/ctags.h
64
extern FILE *inf; /* ioptr for current input file */
usr.bin/ctags/fortran.c
52
lineftell = ftell(inf);
usr.bin/ctags/fortran.c
53
if (!fgets(lbuf, sizeof(lbuf), inf))
usr.bin/ctags/lisp.c
53
lineftell = ftell(inf);
usr.bin/ctags/lisp.c
54
if (!fgets(lbuf, sizeof(lbuf), inf))
usr.bin/ctags/print.c
54
saveftell = ftell(inf);
usr.bin/ctags/print.c
55
(void)fseek(inf, lineftell, SEEK_SET);
usr.bin/ctags/print.c
85
(void)fseek(inf, saveftell, SEEK_SET);
usr.bin/ctags/yacc.c
108
(void)ungetc(c, inf);
usr.bin/ctags/yacc.c
128
lineftell = ftell(inf);
usr.bin/ctags/yacc.c
133
lineftell = ftell(inf);
usr.bin/ctags/yacc.c
76
(void)ungetc(c, inf);
usr.bin/ctags/yacc.c
82
(void)ungetc(c, inf);
usr.bin/file/file.c
371
struct input_file inf;
usr.bin/file/file.c
418
memset(&inf, 0, sizeof inf);
usr.bin/file/file.c
419
inf.m = m;
usr.bin/file/file.c
420
inf.msg = &msg;
usr.bin/file/file.c
422
inf.path = argv[idx];
usr.bin/file/file.c
423
inf.fd = imsg_get_fd(&imsg);
usr.bin/file/file.c
425
test_file(&inf, width);
usr.bin/file/file.c
427
if (inf.fd != -1)
usr.bin/file/file.c
428
close(inf.fd);
usr.bin/file/file.c
467
load_file(struct input_file *inf)
usr.bin/file/file.c
471
if (inf->msg->sb.st_size == 0 && S_ISREG(inf->msg->sb.st_mode))
usr.bin/file/file.c
473
if (inf->msg->sb.st_size == 0 || inf->msg->sb.st_size > FILE_READ_SIZE)
usr.bin/file/file.c
474
inf->size = FILE_READ_SIZE;
usr.bin/file/file.c
476
inf->size = inf->msg->sb.st_size;
usr.bin/file/file.c
478
if (!S_ISREG(inf->msg->sb.st_mode))
usr.bin/file/file.c
481
inf->base = mmap(NULL, inf->size, PROT_READ, MAP_PRIVATE, inf->fd, 0);
usr.bin/file/file.c
482
if (inf->base == MAP_FAILED)
usr.bin/file/file.c
484
inf->mapped = 1;
usr.bin/file/file.c
488
inf->base = fill_buffer(inf->fd, inf->size, &used);
usr.bin/file/file.c
489
if (inf->base == NULL) {
usr.bin/file/file.c
490
xasprintf(&inf->result, "cannot read '%s' (%s)", inf->path,
usr.bin/file/file.c
494
inf->size = used;
usr.bin/file/file.c
499
try_stat(struct input_file *inf)
usr.bin/file/file.c
501
if (inf->msg->error != 0) {
usr.bin/file/file.c
502
xasprintf(&inf->result, "cannot stat '%s' (%s)", inf->path,
usr.bin/file/file.c
503
strerror(inf->msg->error));
usr.bin/file/file.c
506
if (sflag || strcmp(inf->path, "-") == 0) {
usr.bin/file/file.c
507
switch (inf->msg->sb.st_mode & S_IFMT) {
usr.bin/file/file.c
509
if (strcmp(inf->path, "-") != 0)
usr.bin/file/file.c
518
if (iflag && (inf->msg->sb.st_mode & S_IFMT) != S_IFREG) {
usr.bin/file/file.c
519
xasprintf(&inf->result, "application/x-not-regular-file");
usr.bin/file/file.c
523
switch (inf->msg->sb.st_mode & S_IFMT) {
usr.bin/file/file.c
525
xasprintf(&inf->result, "directory");
usr.bin/file/file.c
528
if (inf->msg->link_error != 0) {
usr.bin/file/file.c
529
xasprintf(&inf->result, "unreadable symlink '%s' (%s)",
usr.bin/file/file.c
530
inf->path, strerror(inf->msg->link_error));
usr.bin/file/file.c
533
if (inf->msg->link_target == ELOOP)
usr.bin/file/file.c
534
xasprintf(&inf->result, "symbolic link in a loop");
usr.bin/file/file.c
535
else if (inf->msg->link_target != 0) {
usr.bin/file/file.c
536
xasprintf(&inf->result, "broken symbolic link to '%s'",
usr.bin/file/file.c
537
inf->msg->link_path);
usr.bin/file/file.c
539
xasprintf(&inf->result, "symbolic link to '%s'",
usr.bin/file/file.c
540
inf->msg->link_path);
usr.bin/file/file.c
544
xasprintf(&inf->result, "socket");
usr.bin/file/file.c
547
xasprintf(&inf->result, "block special (%lu/%lu)",
usr.bin/file/file.c
548
(long)major(inf->msg->sb.st_rdev),
usr.bin/file/file.c
549
(long)minor(inf->msg->sb.st_rdev));
usr.bin/file/file.c
552
xasprintf(&inf->result, "character special (%lu/%lu)",
usr.bin/file/file.c
553
(long)major(inf->msg->sb.st_rdev),
usr.bin/file/file.c
554
(long)minor(inf->msg->sb.st_rdev));
usr.bin/file/file.c
557
xasprintf(&inf->result, "fifo (named pipe)");
usr.bin/file/file.c
564
try_empty(struct input_file *inf)
usr.bin/file/file.c
566
if (inf->size != 0)
usr.bin/file/file.c
570
xasprintf(&inf->result, "application/x-empty");
usr.bin/file/file.c
572
xasprintf(&inf->result, "empty");
usr.bin/file/file.c
577
try_access(struct input_file *inf)
usr.bin/file/file.c
581
if (inf->msg->sb.st_size == 0 && S_ISREG(inf->msg->sb.st_mode))
usr.bin/file/file.c
583
if (inf->fd != -1)
usr.bin/file/file.c
586
if (inf->msg->sb.st_mode & (S_IWUSR|S_IWGRP|S_IWOTH))
usr.bin/file/file.c
588
if (inf->msg->sb.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH))
usr.bin/file/file.c
590
if (S_ISREG(inf->msg->sb.st_mode))
usr.bin/file/file.c
594
inf->result = xstrdup(tmp);
usr.bin/file/file.c
599
try_text(struct input_file *inf)
usr.bin/file/file.c
608
type = text_get_type(inf->base, inf->size);
usr.bin/file/file.c
612
s = magic_test(inf->m, inf->base, inf->size, flags);
usr.bin/file/file.c
614
inf->result = xstrdup(s);
usr.bin/file/file.c
618
s = text_try_words(inf->base, inf->size, flags);
usr.bin/file/file.c
621
inf->result = xstrdup(s);
usr.bin/file/file.c
623
xasprintf(&inf->result, "%s %s text", type, s);
usr.bin/file/file.c
628
inf->result = xstrdup("text/plain");
usr.bin/file/file.c
630
xasprintf(&inf->result, "%s text", type);
usr.bin/file/file.c
635
try_magic(struct input_file *inf)
usr.bin/file/file.c
644
s = magic_test(inf->m, inf->base, inf->size, flags);
usr.bin/file/file.c
646
inf->result = xstrdup(s);
usr.bin/file/file.c
653
try_unknown(struct input_file *inf)
usr.bin/file/file.c
656
xasprintf(&inf->result, "application/octet-stream");
usr.bin/file/file.c
658
xasprintf(&inf->result, "data");
usr.bin/file/file.c
663
test_file(struct input_file *inf, size_t width)
usr.bin/file/file.c
670
stop = try_stat(inf);
usr.bin/file/file.c
672
stop = try_access(inf);
usr.bin/file/file.c
674
stop = load_file(inf);
usr.bin/file/file.c
676
stop = try_empty(inf);
usr.bin/file/file.c
678
stop = try_magic(inf);
usr.bin/file/file.c
680
stop = try_text(inf);
usr.bin/file/file.c
682
stop = try_unknown(inf);
usr.bin/file/file.c
685
printf("%s\n", inf->result);
usr.bin/file/file.c
687
if (strcmp(inf->path, "-") == 0)
usr.bin/file/file.c
690
xasprintf(&label, "%s:", inf->path);
usr.bin/file/file.c
691
printf("%-*s %s\n", (int)width, label, inf->result);
usr.bin/file/file.c
694
free(inf->result);
usr.bin/file/file.c
696
if (inf->mapped && inf->base != NULL)
usr.bin/file/file.c
697
munmap(inf->base, inf->size);
usr.bin/openssl/enc.c
172
.opt.arg = &cfg.inf,
usr.bin/openssl/enc.c
470
if (cfg.inf == NULL) {
usr.bin/openssl/enc.c
475
if (BIO_read_filename(in, cfg.inf) <= 0) {
usr.bin/openssl/enc.c
476
perror(cfg.inf);
usr.bin/openssl/enc.c
85
char *inf;
usr.bin/openssl/ocsp.c
1273
char **inf;
usr.bin/openssl/ocsp.c
1298
inf = lookup_serial(db, serial);
usr.bin/openssl/ocsp.c
1299
if (!inf) {
usr.bin/openssl/ocsp.c
1303
} else if (inf[DB_type][0] == DB_TYPE_VAL) {
usr.bin/openssl/ocsp.c
1307
} else if (inf[DB_type][0] == DB_TYPE_REV) {
usr.bin/openssl/ocsp.c
1315
inf[DB_rev_date]);
usr.bin/pr/pr.c
1142
inln(FILE *inf, char *buf, int lim, int *cnt, int *cps, int trnc, int *mor)
usr.bin/pr/pr.c
1156
while ((--lim >= 0) && ((ch = getc(inf)) != EOF)) {
usr.bin/pr/pr.c
1170
if ((col > lim) && (ungetc(ch, inf) == EOF)) {
usr.bin/pr/pr.c
1190
while ((--lim >= 0) && ((ch = getc(inf)) != EOF)) {
usr.bin/pr/pr.c
1226
while ((ch = getc(inf)) != EOF) {
usr.bin/pr/pr.c
1413
FILE *inf = NULL;
usr.bin/pr/pr.c
1427
inf = stdin;
usr.bin/pr/pr.c
1433
return(inf);
usr.bin/pr/pr.c
1443
inf = stdin;
usr.bin/pr/pr.c
1450
return(inf);
usr.bin/pr/pr.c
1457
if ((inf = fopen(argv[eoptind], "r")) == NULL) {
usr.bin/pr/pr.c
1473
return(inf);
usr.bin/pr/pr.c
1479
if (fstat(fileno(inf), &statbuf) == -1) {
usr.bin/pr/pr.c
1481
(void)fclose(inf);
usr.bin/pr/pr.c
1491
if (inf == NULL)
usr.bin/pr/pr.c
1499
if (inf != stdin)
usr.bin/pr/pr.c
1500
(void)fclose(inf);
usr.bin/pr/pr.c
1504
return(inf);
usr.bin/pr/pr.c
193
FILE *inf = NULL;
usr.bin/pr/pr.c
231
while ((inf = nxtfile(argc, argv, &fname, ohbuf, 0)) != NULL) {
usr.bin/pr/pr.c
258
rc = inln(inf,lbuf,LBUF,&cnt,&cps,0,&mor);
usr.bin/pr/pr.c
316
if (inf != stdin)
usr.bin/pr/pr.c
317
(void)fclose(inf);
usr.bin/pr/pr.c
334
if (inf != NULL && inf != stdin)
usr.bin/pr/pr.c
335
(void)fclose(inf);
usr.bin/pr/pr.c
371
FILE *inf = NULL;
usr.bin/pr/pr.c
438
while ((inf = nxtfile(argc, argv, &fname, ohbuf, 0)) != NULL) {
usr.bin/pr/pr.c
492
rc = inln(inf,ptbf,colwd,&cnt,&cps,1,&mor);
usr.bin/pr/pr.c
645
if (inf != stdin)
usr.bin/pr/pr.c
646
(void)fclose(inf);
usr.bin/pr/pr.c
664
if (inf != NULL && inf != stdin)
usr.bin/pr/pr.c
665
(void)fclose(inf);
usr.bin/pr/pr.c
690
FILE *inf = NULL;
usr.bin/pr/pr.c
715
while ((inf = nxtfile(argc, argv, &fname, ohbuf, 0)) != NULL) {
usr.bin/pr/pr.c
752
rc = inln(inf,ptbf,colwd,&cnt,&cps,1, &mor);
usr.bin/pr/pr.c
810
if (inf != stdin)
usr.bin/pr/pr.c
811
(void)fclose(inf);
usr.bin/pr/pr.c
825
if (inf != NULL && inf != stdin)
usr.bin/pr/pr.c
826
(void)fclose(inf);
usr.sbin/crunchgen/crunchide.c
193
int inf;
usr.sbin/crunchgen/crunchide.c
201
if ((inf = open(filename, O_RDWR)) == -1) {
usr.sbin/crunchgen/crunchide.c
205
if (fstat(inf, &infstat) == -1) {
usr.sbin/crunchgen/crunchide.c
207
close(inf);
usr.sbin/crunchgen/crunchide.c
212
close(inf);
usr.sbin/crunchgen/crunchide.c
216
MAP_FILE | MAP_SHARED, inf, 0)) == MAP_FAILED) {
usr.sbin/crunchgen/crunchide.c
218
close(inf);
usr.sbin/crunchgen/crunchide.c
224
elf_hide(inf, buf);
usr.sbin/crunchgen/crunchide.c
228
close(inf);
usr.sbin/mksuncd/mksuncd.c
293
append_osfile(int outf, int inf)
usr.sbin/mksuncd/mksuncd.c
299
len = read(inf, buf, sizeof(buf));
usr.sbin/unbound/daemon/remote.c
1775
struct cache_lookup_info* inf = (struct cache_lookup_info*)arg;
usr.sbin/unbound/daemon/remote.c
1800
*inf->worker->env.now)) {
usr.sbin/unbound/daemon/remote.c
1804
if(!ssl_printf(inf->ssl, "subnet %s/%d%s %s %s %s " ARG_LL "d\n", astr,
usr.sbin/unbound/daemon/remote.c
1806
s, cl, tp, (long long)(ttl-*inf->worker->env.now))) {
usr.sbin/unbound/daemon/remote.c
1810
ssl_printf(inf->ssl,
usr.sbin/unbound/daemon/remote.c
1814
(long long)(d->ttl-*inf->worker->env.now),
usr.sbin/unbound/daemon/remote.c
1827
*inf->worker->env.now, s, sizeof(s))) {
usr.sbin/unbound/daemon/remote.c
1828
ssl_printf(inf->ssl, "BADRR\n");
usr.sbin/unbound/daemon/remote.c
1830
ssl_printf(inf->ssl, "%s", s);
usr.sbin/unbound/daemon/remote.c
1835
ssl_printf(inf->ssl, "\n");
usr.sbin/unbound/daemon/remote.c
1896
struct cache_lookup_info* inf = (struct cache_lookup_info*)arg;
usr.sbin/unbound/daemon/remote.c
1900
if(!dname_subdomain_c(k->key.qname, inf->nm))
usr.sbin/unbound/daemon/remote.c
1904
addrtree_traverse(d->tree4, 0, *inf->worker->env.now, &k->key,
usr.sbin/unbound/daemon/remote.c
1905
&cache_lookup_subnet_addrnode, inf);
usr.sbin/unbound/daemon/remote.c
1908
addrtree_traverse(d->tree6, 1, *inf->worker->env.now, &k->key,
usr.sbin/unbound/daemon/remote.c
1909
&cache_lookup_subnet_addrnode, inf);
usr.sbin/unbound/daemon/remote.c
1917
struct cache_lookup_info* inf = (struct cache_lookup_info*)arg;
usr.sbin/unbound/daemon/remote.c
1920
if(*inf->worker->env.now < d->ttl &&
usr.sbin/unbound/daemon/remote.c
1922
dname_subdomain_c(k->rk.dname, inf->nm)) {
usr.sbin/unbound/daemon/remote.c
1926
if(!packed_rr_to_string(k, i, *inf->worker->env.now,
usr.sbin/unbound/daemon/remote.c
1928
ssl_printf(inf->ssl, "BADRR\n");
usr.sbin/unbound/daemon/remote.c
1931
ssl_printf(inf->ssl, "%s", s);
usr.sbin/unbound/daemon/remote.c
1933
ssl_printf(inf->ssl, "\n");
usr.sbin/unbound/daemon/remote.c
1940
struct cache_lookup_info* inf = (struct cache_lookup_info*)arg;
usr.sbin/unbound/daemon/remote.c
1943
if(*inf->worker->env.now < d->ttl &&
usr.sbin/unbound/daemon/remote.c
1944
dname_subdomain_c(k->key.qname, inf->nm)) {
usr.sbin/unbound/daemon/remote.c
1963
*inf->worker->env.now)) {
usr.sbin/unbound/daemon/remote.c
1967
ssl_printf(inf->ssl,
usr.sbin/unbound/daemon/remote.c
1971
(long long)(d->ttl-*inf->worker->env.now),
usr.sbin/unbound/daemon/remote.c
1984
*inf->worker->env.now, s, sizeof(s))) {
usr.sbin/unbound/daemon/remote.c
1986
ssl_printf(inf->ssl, "BADRR\n");
usr.sbin/unbound/daemon/remote.c
1989
ssl_printf(inf->ssl, "%s", s);
usr.sbin/unbound/daemon/remote.c
1993
ssl_printf(inf->ssl, "\n");
usr.sbin/unbound/daemon/remote.c
2006
struct cache_lookup_info inf;
usr.sbin/unbound/daemon/remote.c
2007
inf.ssl = ssl;
usr.sbin/unbound/daemon/remote.c
2008
inf.worker = worker;
usr.sbin/unbound/daemon/remote.c
2009
inf.nm = nm;
usr.sbin/unbound/daemon/remote.c
2010
inf.nmlen = nmlen;
usr.sbin/unbound/daemon/remote.c
2018
&cache_lookup_subnet_msg, &inf);
usr.sbin/unbound/daemon/remote.c
2024
&cache_lookup_rrset, &inf);
usr.sbin/unbound/daemon/remote.c
2025
slabhash_traverse(worker->env.msg_cache, 0, &cache_lookup_msg, &inf);
usr.sbin/unbound/daemon/remote.c
2207
struct del_info* inf = (struct del_info*)arg;
usr.sbin/unbound/daemon/remote.c
2209
if(sockaddr_cmp(&inf->addr, inf->addrlen, &k->addr, k->addrlen) == 0) {
usr.sbin/unbound/daemon/remote.c
2216
if(d->ttl > inf->expired) {
usr.sbin/unbound/daemon/remote.c
2217
d->ttl = inf->expired;
usr.sbin/unbound/daemon/remote.c
2218
inf->num_keys++;
usr.sbin/unbound/daemon/remote.c
2229
struct del_info inf;
usr.sbin/unbound/daemon/remote.c
2241
inf.worker = worker;
usr.sbin/unbound/daemon/remote.c
2242
inf.name = 0;
usr.sbin/unbound/daemon/remote.c
2243
inf.len = 0;
usr.sbin/unbound/daemon/remote.c
2244
inf.labs = 0;
usr.sbin/unbound/daemon/remote.c
2245
inf.expired = *worker->env.now;
usr.sbin/unbound/daemon/remote.c
2246
inf.expired -= 3; /* handle 3 seconds skew between threads */
usr.sbin/unbound/daemon/remote.c
2247
inf.num_rrsets = 0;
usr.sbin/unbound/daemon/remote.c
2248
inf.num_msgs = 0;
usr.sbin/unbound/daemon/remote.c
2249
inf.num_keys = 0;
usr.sbin/unbound/daemon/remote.c
2250
inf.addrlen = len;
usr.sbin/unbound/daemon/remote.c
2251
inf.remcachedb = 0;
usr.sbin/unbound/daemon/remote.c
2252
memmove(&inf.addr, &addr, len);
usr.sbin/unbound/daemon/remote.c
2254
&inf);
usr.sbin/unbound/daemon/remote.c
2271
struct del_info* inf = (struct del_info*)arg;
usr.sbin/unbound/daemon/remote.c
2273
if(dname_subdomain_c(k->rk.dname, inf->name)) {
usr.sbin/unbound/daemon/remote.c
2276
if(d->ttl > inf->expired) {
usr.sbin/unbound/daemon/remote.c
2277
d->ttl = inf->expired;
usr.sbin/unbound/daemon/remote.c
2278
inf->num_rrsets++;
usr.sbin/unbound/daemon/remote.c
2288
struct del_info* inf = (struct del_info*)arg;
usr.sbin/unbound/daemon/remote.c
2290
if(dname_subdomain_c(k->key.qname, inf->name)) {
usr.sbin/unbound/daemon/remote.c
2292
if(d->ttl > inf->expired) {
usr.sbin/unbound/daemon/remote.c
2293
d->ttl = inf->expired;
usr.sbin/unbound/daemon/remote.c
2294
d->prefetch_ttl = inf->expired;
usr.sbin/unbound/daemon/remote.c
2295
d->serve_expired_ttl = inf->expired;
usr.sbin/unbound/daemon/remote.c
2296
inf->num_msgs++;
usr.sbin/unbound/daemon/remote.c
2299
if(inf->remcachedb && inf->worker->env.cachedb_enabled)
usr.sbin/unbound/daemon/remote.c
2300
cachedb_msg_remove_qinfo(&inf->worker->env, &k->key);
usr.sbin/unbound/daemon/remote.c
2310
struct del_info* inf = (struct del_info*)arg;
usr.sbin/unbound/daemon/remote.c
2312
if(dname_subdomain_c(k->name, inf->name)) {
usr.sbin/unbound/daemon/remote.c
2314
if(d->ttl > inf->expired) {
usr.sbin/unbound/daemon/remote.c
2315
d->ttl = inf->expired;
usr.sbin/unbound/daemon/remote.c
2316
inf->num_keys++;
usr.sbin/unbound/daemon/remote.c
2328
struct del_info inf;
usr.sbin/unbound/daemon/remote.c
2336
inf.worker = worker;
usr.sbin/unbound/daemon/remote.c
2337
inf.name = nm;
usr.sbin/unbound/daemon/remote.c
2338
inf.len = nmlen;
usr.sbin/unbound/daemon/remote.c
2339
inf.labs = nmlabs;
usr.sbin/unbound/daemon/remote.c
2340
inf.expired = *worker->env.now;
usr.sbin/unbound/daemon/remote.c
2341
inf.expired -= 3; /* handle 3 seconds skew between threads */
usr.sbin/unbound/daemon/remote.c
2342
inf.num_rrsets = 0;
usr.sbin/unbound/daemon/remote.c
2343
inf.num_msgs = 0;
usr.sbin/unbound/daemon/remote.c
2344
inf.num_keys = 0;
usr.sbin/unbound/daemon/remote.c
2345
inf.remcachedb = pc;
usr.sbin/unbound/daemon/remote.c
2347
&zone_del_rrset, &inf);
usr.sbin/unbound/daemon/remote.c
2349
slabhash_traverse(worker->env.msg_cache, 1, &zone_del_msg, &inf);
usr.sbin/unbound/daemon/remote.c
2354
&zone_del_kcache, &inf);
usr.sbin/unbound/daemon/remote.c
2360
"and %lu key entries\n", (unsigned long)inf.num_rrsets,
usr.sbin/unbound/daemon/remote.c
2361
(unsigned long)inf.num_msgs, (unsigned long)inf.num_keys);
usr.sbin/unbound/daemon/remote.c
2369
struct del_info* inf = (struct del_info*)arg;
usr.sbin/unbound/daemon/remote.c
2371
if(d->security == sec_status_bogus && d->ttl > inf->expired) {
usr.sbin/unbound/daemon/remote.c
2372
d->ttl = inf->expired;
usr.sbin/unbound/daemon/remote.c
2373
inf->num_rrsets++;
usr.sbin/unbound/daemon/remote.c
2382
struct del_info* inf = (struct del_info*)arg;
usr.sbin/unbound/daemon/remote.c
2384
if(d->security == sec_status_bogus && d->ttl > inf->expired) {
usr.sbin/unbound/daemon/remote.c
2385
d->ttl = inf->expired;
usr.sbin/unbound/daemon/remote.c
2386
d->prefetch_ttl = inf->expired;
usr.sbin/unbound/daemon/remote.c
2387
d->serve_expired_ttl = inf->expired;
usr.sbin/unbound/daemon/remote.c
2388
inf->num_msgs++;
usr.sbin/unbound/daemon/remote.c
2390
if(inf->remcachedb && inf->worker->env.cachedb_enabled)
usr.sbin/unbound/daemon/remote.c
2391
cachedb_msg_remove_qinfo(&inf->worker->env,
usr.sbin/unbound/daemon/remote.c
2402
struct del_info* inf = (struct del_info*)arg;
usr.sbin/unbound/daemon/remote.c
2404
if(d->isbad && d->ttl > inf->expired) {
usr.sbin/unbound/daemon/remote.c
2405
d->ttl = inf->expired;
usr.sbin/unbound/daemon/remote.c
2406
inf->num_keys++;
usr.sbin/unbound/daemon/remote.c
2414
struct del_info inf;
usr.sbin/unbound/daemon/remote.c
2419
inf.worker = worker;
usr.sbin/unbound/daemon/remote.c
2420
inf.expired = *worker->env.now;
usr.sbin/unbound/daemon/remote.c
2421
inf.expired -= 3; /* handle 3 seconds skew between threads */
usr.sbin/unbound/daemon/remote.c
2422
inf.num_rrsets = 0;
usr.sbin/unbound/daemon/remote.c
2423
inf.num_msgs = 0;
usr.sbin/unbound/daemon/remote.c
2424
inf.num_keys = 0;
usr.sbin/unbound/daemon/remote.c
2425
inf.remcachedb = pc;
usr.sbin/unbound/daemon/remote.c
2427
&bogus_del_rrset, &inf);
usr.sbin/unbound/daemon/remote.c
2429
slabhash_traverse(worker->env.msg_cache, 1, &bogus_del_msg, &inf);
usr.sbin/unbound/daemon/remote.c
2434
&bogus_del_kcache, &inf);
usr.sbin/unbound/daemon/remote.c
2438
"and %lu key entries\n", (unsigned long)inf.num_rrsets,
usr.sbin/unbound/daemon/remote.c
2439
(unsigned long)inf.num_msgs, (unsigned long)inf.num_keys);
usr.sbin/unbound/daemon/remote.c
2447
struct del_info* inf = (struct del_info*)arg;
usr.sbin/unbound/daemon/remote.c
2454
d->ttl > inf->expired) {
usr.sbin/unbound/daemon/remote.c
2455
d->ttl = inf->expired;
usr.sbin/unbound/daemon/remote.c
2456
inf->num_rrsets++;
usr.sbin/unbound/daemon/remote.c
2465
struct del_info* inf = (struct del_info*)arg;
usr.sbin/unbound/daemon/remote.c
2470
d->ttl > inf->expired) {
usr.sbin/unbound/daemon/remote.c
2471
d->ttl = inf->expired;
usr.sbin/unbound/daemon/remote.c
2472
d->prefetch_ttl = inf->expired;
usr.sbin/unbound/daemon/remote.c
2473
d->serve_expired_ttl = inf->expired;
usr.sbin/unbound/daemon/remote.c
2474
inf->num_msgs++;
usr.sbin/unbound/daemon/remote.c
2476
if(inf->remcachedb && inf->worker->env.cachedb_enabled)
usr.sbin/unbound/daemon/remote.c
2477
cachedb_msg_remove_qinfo(&inf->worker->env,
usr.sbin/unbound/daemon/remote.c
2488
struct del_info* inf = (struct del_info*)arg;
usr.sbin/unbound/daemon/remote.c
2492
if(d->isbad && d->ttl > inf->expired) {
usr.sbin/unbound/daemon/remote.c
2493
d->ttl = inf->expired;
usr.sbin/unbound/daemon/remote.c
2494
inf->num_keys++;
usr.sbin/unbound/daemon/remote.c
2502
struct del_info inf;
usr.sbin/unbound/daemon/remote.c
2507
inf.worker = worker;
usr.sbin/unbound/daemon/remote.c
2508
inf.expired = *worker->env.now;
usr.sbin/unbound/daemon/remote.c
2509
inf.expired -= 3; /* handle 3 seconds skew between threads */
usr.sbin/unbound/daemon/remote.c
2510
inf.num_rrsets = 0;
usr.sbin/unbound/daemon/remote.c
2511
inf.num_msgs = 0;
usr.sbin/unbound/daemon/remote.c
2512
inf.num_keys = 0;
usr.sbin/unbound/daemon/remote.c
2513
inf.remcachedb = pc;
usr.sbin/unbound/daemon/remote.c
2515
&negative_del_rrset, &inf);
usr.sbin/unbound/daemon/remote.c
2517
slabhash_traverse(worker->env.msg_cache, 1, &negative_del_msg, &inf);
usr.sbin/unbound/daemon/remote.c
2522
&negative_del_kcache, &inf);
usr.sbin/unbound/daemon/remote.c
2526
"and %lu key entries\n", (unsigned long)inf.num_rrsets,
usr.sbin/unbound/daemon/remote.c
2527
(unsigned long)inf.num_msgs, (unsigned long)inf.num_keys);
usr.sbin/unbound/testcode/asynclook.c
300
struct ext_thr_info* inf = (struct ext_thr_info*)arg;
usr.sbin/unbound/testcode/asynclook.c
304
log_thread_set(&inf->thread_num);
usr.sbin/unbound/testcode/asynclook.c
305
if(inf->thread_num > NUMTHR*2/3) {
usr.sbin/unbound/testcode/asynclook.c
306
async_ids = (struct track_id*)calloc((size_t)inf->numq, sizeof(struct track_id));
usr.sbin/unbound/testcode/asynclook.c
311
for(i=0; i<inf->numq; i++) {
usr.sbin/unbound/testcode/asynclook.c
314
inf->id_list = async_ids;
usr.sbin/unbound/testcode/asynclook.c
316
for(i=0; i<inf->numq; i++) {
usr.sbin/unbound/testcode/asynclook.c
318
r = ub_resolve_async(inf->ctx,
usr.sbin/unbound/testcode/asynclook.c
319
inf->argv[i%inf->argc], LDNS_RR_TYPE_A,
usr.sbin/unbound/testcode/asynclook.c
325
r = ub_cancel(inf->ctx, async_ids[i-100].id);
usr.sbin/unbound/testcode/asynclook.c
332
} else if(inf->thread_num > NUMTHR/2) {
usr.sbin/unbound/testcode/asynclook.c
334
r = ub_resolve_async(inf->ctx,
usr.sbin/unbound/testcode/asynclook.c
335
inf->argv[i%inf->argc], LDNS_RR_TYPE_A,
usr.sbin/unbound/testcode/asynclook.c
340
r = ub_resolve(inf->ctx, inf->argv[i%inf->argc],
usr.sbin/unbound/testcode/asynclook.c
346
if(inf->thread_num > NUMTHR/2) {
usr.sbin/unbound/testcode/asynclook.c
347
r = ub_wait(inf->ctx);
usr.sbin/unbound/testcode/asynclook.c
361
struct ext_thr_info inf[NUMTHR];
usr.sbin/unbound/testcode/asynclook.c
368
inf[i].thread_num = i+2;
usr.sbin/unbound/testcode/asynclook.c
369
inf[i].ctx = ctx;
usr.sbin/unbound/testcode/asynclook.c
370
inf[i].argc = argc;
usr.sbin/unbound/testcode/asynclook.c
371
inf[i].argv = argv;
usr.sbin/unbound/testcode/asynclook.c
372
inf[i].numq = 100;
usr.sbin/unbound/testcode/asynclook.c
373
inf[i].id_list = NULL;
usr.sbin/unbound/testcode/asynclook.c
374
ub_thread_create(&inf[i].tid, ext_thread, &inf[i]);
usr.sbin/unbound/testcode/asynclook.c
378
ub_thread_join(inf[i].tid);
usr.sbin/unbound/testcode/asynclook.c
383
if(inf[i].id_list) {
usr.sbin/unbound/testcode/asynclook.c
385
for(j=0; j<inf[i].numq; j++) {
usr.sbin/unbound/testcode/asynclook.c
386
lock_basic_destroy(&inf[i].id_list[j].lock);
usr.sbin/unbound/testcode/asynclook.c
388
free(inf[i].id_list);
usr.sbin/unbound/testcode/unitldns.c
146
FILE* inf, *chf, *of;
usr.sbin/unbound/testcode/unitldns.c
156
inf = fopen(input, "r");
usr.sbin/unbound/testcode/unitldns.c
157
if(!inf) fatal_exit("cannot open %s: %s", input, strerror(errno));
usr.sbin/unbound/testcode/unitldns.c
168
while(fgets(txt_in, (int)bufs, inf)) {
usr.sbin/unbound/testcode/unitldns.c
197
fclose(inf);
usr.sbin/unbound/util/net_help.c
1043
const char* inf = NULL;
usr.sbin/unbound/util/net_help.c
1047
inf = "no error";
usr.sbin/unbound/util/net_help.c
1050
inf = "channel closed";
usr.sbin/unbound/util/net_help.c
1053
inf = "want read";
usr.sbin/unbound/util/net_help.c
1056
inf = "want write";
usr.sbin/unbound/util/net_help.c
1059
inf = "want connect";
usr.sbin/unbound/util/net_help.c
1062
inf = "want accept";
usr.sbin/unbound/util/net_help.c
1065
inf = "want X509 lookup";
usr.sbin/unbound/util/net_help.c
1069
inf = "want async";
usr.sbin/unbound/util/net_help.c
1074
inf = "want async job";
usr.sbin/unbound/util/net_help.c
1079
inf = "want client hello cb";
usr.sbin/unbound/util/net_help.c
1084
inf = "syscall";
usr.sbin/unbound/util/net_help.c
1088
inf = "SSL, usually protocol, error";
usr.sbin/unbound/util/net_help.c
1091
inf = "unknown SSL_get_error result code";
usr.sbin/unbound/util/net_help.c
1115
log_err("%s: %s", str, inf);