/freebsd-11-stable/crypto/openssl/crypto/dh/ |
H A D | dh_prn.c | 65 int DHparams_print_fp(FILE *fp, const DH *x) argument 74 BIO_set_fp(b, fp, BIO_NOCLOSE);
|
/freebsd-11-stable/contrib/file/tests/ |
H A D | test.c | 45 slurp(FILE *fp, size_t *final_len) argument 51 for (c = getc(fp); c != EOF; c = getc(fp)) { 75 FILE *fp; local 96 fp = fopen(argv[2], "r"); 97 if (fp == NULL) { 102 desired = slurp(fp, &desired_len); 103 fclose(fp);
|
/freebsd-11-stable/crypto/openssl/crypto/x509/ |
H A D | x_all.c | 157 X509 *d2i_X509_fp(FILE *fp, X509 **x509) argument 159 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509), fp, x509); 162 int i2d_X509_fp(FILE *fp, X509 *x509) argument 164 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509), fp, x509); 179 X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl) argument 181 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); 184 int i2d_X509_CRL_fp(FILE *fp, X509_CRL *crl) argument 186 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); 201 PKCS7 *d2i_PKCS7_fp(FILE *fp, PKCS7 **p7) argument 203 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(PKCS7), fp, p 206 i2d_PKCS7_fp(FILE *fp, PKCS7 *p7) argument 223 d2i_X509_REQ_fp(FILE *fp, X509_REQ **req) argument 228 i2d_X509_REQ_fp(FILE *fp, X509_REQ *req) argument 247 d2i_RSAPrivateKey_fp(FILE *fp, RSA **rsa) argument 252 i2d_RSAPrivateKey_fp(FILE *fp, RSA *rsa) argument 257 d2i_RSAPublicKey_fp(FILE *fp, RSA **rsa) argument 262 d2i_RSA_PUBKEY_fp(FILE *fp, RSA **rsa) argument 269 i2d_RSAPublicKey_fp(FILE *fp, RSA *rsa) argument 274 i2d_RSA_PUBKEY_fp(FILE *fp, RSA *rsa) argument 313 d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa) argument 318 i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa) argument 323 d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa) argument 328 i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa) argument 358 d2i_EC_PUBKEY_fp(FILE *fp, EC_KEY **eckey) argument 363 i2d_EC_PUBKEY_fp(FILE *fp, EC_KEY *eckey) argument 368 d2i_ECPrivateKey_fp(FILE *fp, EC_KEY **eckey) argument 373 i2d_ECPrivateKey_fp(FILE *fp, EC_KEY *eckey) argument 446 d2i_PKCS8_fp(FILE *fp, X509_SIG **p8) argument 451 i2d_PKCS8_fp(FILE *fp, X509_SIG *p8) argument 468 d2i_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, PKCS8_PRIV_KEY_INFO **p8inf) argument 475 i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, PKCS8_PRIV_KEY_INFO *p8inf) argument 481 i2d_PKCS8PrivateKeyInfo_fp(FILE *fp, EVP_PKEY *key) argument 493 i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey) argument 498 d2i_PrivateKey_fp(FILE *fp, EVP_PKEY **a) argument 503 i2d_PUBKEY_fp(FILE *fp, EVP_PKEY *pkey) argument 508 d2i_PUBKEY_fp(FILE *fp, EVP_PKEY **a) argument [all...] |
/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | load_file.c | 18 FILE *fp; local 20 fp = fopen(filename + 7, "r"); 21 if (fp == NULL) { 31 while (fgets(line, sizeof(line) - 1, fp)) { 41 fclose(fp); 93 fclose(fp);
|
/freebsd-11-stable/lib/libc/sparc64/fpu/ |
H A D | fpu_emu.h | 107 #define ISNAN(fp) ((fp)->fp_class < 0) 108 #define ISZERO(fp) ((fp)->fp_class == 0) 109 #define ISINF(fp) ((fp)->fp_class == FPC_INF)
|
/freebsd-11-stable/usr.sbin/ngctl/ |
H A D | write.c | 68 FILE *fp; local 82 if ((fp = fopen(av[3], "r")) == NULL) { 86 if ((len = fread(buf, 1, sizeof(buf), fp)) == 0) { 87 if (ferror(fp)) 91 fclose(fp); 94 fclose(fp);
|
/freebsd-11-stable/sys/cddl/dev/dtrace/aarch64/ |
H A D | dtrace_isa.c | 73 register_t sp, fp; local 86 state.fp = (uint64_t)__builtin_frame_address(0); 91 if (!INKERNEL(state.pc) || !INKERNEL(state.fp)) 94 fp = state.fp; 95 state.sp = fp + 0x10; 97 state.fp = *(register_t *)(fp); 99 state.pc = *(register_t *)(fp + 8) - 4; 121 uintptr_t fp) 120 dtrace_getustack_common(uint64_t *pcstack, int pcstack_limit, uintptr_t pc, uintptr_t fp) argument 187 uintptr_t pc, sp, fp; local [all...] |
/freebsd-11-stable/stand/libsa/ |
H A D | ext2fs.c | 335 struct file *fp; local 347 fp = malloc(sizeof(struct file)); 348 if (fp == NULL) 350 bzero(fp, sizeof(struct file)); 351 f->f_fsdata = (void *)fp; 355 fp->f_fs = fs; 397 fp->f_bg = malloc(len); 401 (char *)fp->f_bg, &buf_size); 416 fp->f_nindir[i] = mult; 441 if (! S_ISDIR(fp 560 struct file *fp = (struct file *)f->f_fsdata; local 602 struct file *fp = (struct file *)f->f_fsdata; local 702 struct file *fp = (struct file *)f->f_fsdata; local 760 struct file *fp = (struct file *)f->f_fsdata; local 796 struct file *fp = (struct file *)f->f_fsdata; local 819 struct file *fp = (struct file *)f->f_fsdata; local 850 struct file *fp = (struct file *)f->f_fsdata; local 872 struct file *fp = (struct file *)f->f_fsdata; local 885 struct file *fp = (struct file *)f->f_fsdata; local [all...] |
H A D | cd9660.c | 286 struct file *fp = NULL; local 405 fp = malloc(sizeof(struct file)); 406 bzero(fp, sizeof(struct file)); 407 f->f_fsdata = (void *)fp; 410 fp->f_flags = F_ISDIR; 413 fp->f_flags |= F_ROOTDIR; 430 fp->f_flags |= F_RR; 431 fp->f_susp_skip = lenskip; 433 fp->f_off = 0; 434 fp 451 struct file *fp = (struct file *)f->f_fsdata; local 462 struct file *fp = (struct file *)f->f_fsdata; local 497 struct file *fp = (struct file *)f->f_fsdata; local 526 struct file *fp = (struct file *)f->f_fsdata; local 591 struct file *fp = (struct file *)f->f_fsdata; local 612 struct file *fp = (struct file *)f->f_fsdata; local [all...] |
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | sfsasl.c | 30 SM_FILE_T *fp; member in struct:sasl_obj 36 SM_FILE_T *fp; member in struct:sasl_info 45 ** fp -- the file descriptor 57 sasl_getinfo(fp, what, valp) 58 SM_FILE_T *fp; 62 struct sasl_obj *so = (struct sasl_obj *) fp->f_cookie; 67 if (so->fp == NULL) 69 return so->fp->f_file; /* for stdio fileno() compatibility */ 72 if (so->fp == NULL) 76 return sm_io_getinfo(so->fp, wha 425 SM_FILE_T *fp; member in struct:tls_obj 431 SM_FILE_T *fp; member in struct:tls_info [all...] |
/freebsd-11-stable/contrib/gdb/gdb/gdbserver/ |
H A D | gdbreplay.c | 76 sync_error (FILE *fp, char *desc, int expect, int got) argument 80 ftell (fp), expect, got); 180 logchar (FILE *fp) argument 185 ch = fgetc (fp); 194 ch = fgetc (fp); 220 ch2 = fgetc (fp); 224 ch2 = fgetc (fp); 239 /* Accept input from gdb and match with chars from fp (after skipping one 240 blank) up until a \n is read from fp (which is not matched) */ 243 expect (FILE *fp) argument 274 play(FILE *fp) argument 294 FILE *fp; local [all...] |
/freebsd-11-stable/tools/tools/ath/ath_prom_read/ |
H A D | ath_prom_read.c | 65 FILE *fp; local 68 fp = fopen(dumpfile, "w"); 69 if (!fp) { 76 fprintf(fp, "%.4x: ", i); 77 fprintf(fp, "%.4x%s", (int32_t)(eebuf[i]), i % NUM_PER_LINE == (NUM_PER_LINE - 1) ? "\n" : " "); 79 fprintf(fp, "\n"); 80 fclose(fp);
|
/freebsd-11-stable/stand/mips/beri/loader/ |
H A D | exec.c | 47 static int beri_elf64_exec(struct preloaded_file *fp); 73 beri_elf64_exec(struct preloaded_file *fp) argument 81 md = file_findmetadata(fp, MODINFOMD_ELFHDR); 83 printf("%s: file_findmetadata failed\n", fp->f_name); 88 error = md_load64(fp->f_args, &mdp, NULL); 90 printf("%s: md_load64 failed\n", fp->f_name); 98 printf("Kernel args: %s\n", fp->f_args);
|
/freebsd-11-stable/usr.bin/truss/ |
H A D | syscalls.c | 833 print_integer_arg(const char *(*decoder)(int), FILE *fp, int value) argument 839 fputs(str, fp); 841 fprintf(fp, "%d", value); 845 print_mask_arg(bool (*decoder)(FILE *, int, int *), FILE *fp, int value) argument 849 if (!decoder(fp, value, &rem)) 850 fprintf(fp, "0x%x", rem); 852 fprintf(fp, "|0x%x", rem); 856 print_mask_arg32(bool (*decoder)(FILE *, uint32_t, uint32_t *), FILE *fp, argument 861 if (!decoder(fp, value, &rem)) 862 fprintf(fp, " 1100 print_kevent(FILE *fp, struct kevent *ke) argument 1128 print_utrace(FILE *fp, void *utrace_addr, size_t len) argument 1146 print_sockaddr(FILE *fp, struct trussinfo *trussinfo, void *arg, socklen_t len) argument 1215 print_iovec(FILE *fp, struct trussinfo *trussinfo, void *arg, int iovcnt) argument 1272 print_gen_cmsg(FILE *fp, struct cmsghdr *cmsghdr) argument 1285 print_sctp_initmsg(FILE *fp, struct sctp_initmsg *init) argument 1294 print_sctp_sndrcvinfo(FILE *fp, bool receive, struct sctp_sndrcvinfo *info) argument 1315 print_sctp_sndinfo(FILE *fp, struct sctp_sndinfo *info) argument 1326 print_sctp_rcvinfo(FILE *fp, struct sctp_rcvinfo *info) argument 1340 print_sctp_nxtinfo(FILE *fp, struct sctp_nxtinfo *info) argument 1351 print_sctp_prinfo(FILE *fp, struct sctp_prinfo *info) argument 1359 print_sctp_authinfo(FILE *fp, struct sctp_authinfo *info) argument 1365 print_sctp_ipv4_addr(FILE *fp, struct in_addr *addr) argument 1378 print_sctp_ipv6_addr(FILE *fp, struct in6_addr *addr) argument 1391 print_sctp_cmsg(FILE *fp, bool receive, struct cmsghdr *cmsghdr) argument 1469 print_cmsgs(FILE *fp, pid_t pid, bool receive, struct msghdr *msghdr) argument 1533 FILE *fp; local 1903 fputs(strsig2(args[sc->offset]), fp); local 2440 fputs(xlookup(cloudabi_advice, args[sc->offset]), fp); local 2443 fputs(xlookup(cloudabi_clockid, args[sc->offset]), fp); local 2446 fputs(xlookup_bits(cloudabi_fdsflags, args[sc->offset]), fp); local 2472 fputs(xlookup(cloudabi_filetype, args[sc->offset]), fp); local 2475 fputs(xlookup_bits(cloudabi_fsflags, args[sc->offset]), fp); local 2485 fputs(xlookup_bits(cloudabi_mflags, args[sc->offset]), fp); local 2488 fputs(xlookup_bits(cloudabi_mprot, args[sc->offset]), fp); local 2491 fputs(xlookup_bits(cloudabi_msflags, args[sc->offset]), fp); local 2494 fputs(xlookup_bits(cloudabi_oflags, args[sc->offset]), fp); local 2497 fputs(xlookup_bits(cloudabi_sdflags, args[sc->offset]), fp); local 2500 fputs(xlookup(cloudabi_signal, args[sc->offset]), fp); local 2507 fputs(xlookup_bits(cloudabi_ulflags, args[sc->offset]), fp); local 2510 fputs(xlookup(cloudabi_whence, args[sc->offset]), fp); local [all...] |
/freebsd-11-stable/bin/ed/ |
H A D | cbc.c | 64 #define READ(buf, n, fp) fread(buf, sizeof(char), n, fp) 65 #define WRITE(buf, n, fp) fwrite(buf, sizeof(char), n, fp) 106 get_des_char(FILE *fp) argument 111 des_ct = cbc_decode(des_buf, fp); 115 return (getc(fp)); 122 put_des_char(int c, FILE *fp) argument 126 des_ct = cbc_encode(des_buf, des_n, fp); 131 return (fputc(c, fp)); 138 flush_des_file(FILE *fp) argument 320 cbc_encode(unsigned char *msgbuf, int n, FILE *fp) argument 358 cbc_decode(unsigned char *msgbuf, FILE *fp) argument [all...] |
/freebsd-11-stable/contrib/bsnmp/gensnmptree/ |
H A D | gensnmptree.c | 234 FILE *fp; member in struct:input 266 input_new(FILE *fp, const char *path, const char *fname) argument 271 ip->fp = fp; 286 fclose(input->fp); 299 FILE *fp; local 307 fp = fopen(fn, "r"); 309 return (fp); 315 FILE *fp; local 320 if ((fp 904 gen_node(FILE *fp, struct node *np, struct asn_oid *oid, u_int idx, const char *func) argument 1009 gen_header(FILE *fp, struct node *np, u_int oidlen, const char *func) argument 1059 gen_table(FILE *fp, struct node *node) argument 1154 extract(FILE *fp, const struct node *np, struct asn_oid *oid, const char *obj, const struct asn_oid *idx, const char *iname) argument 1195 gen_extract(FILE *fp, const struct node *root, char *object) argument 1369 unminus(FILE *fp, const char *s) argument 1382 gen_enum(FILE *fp, const struct type *t) argument 1414 gen_enums(FILE *fp) argument 1424 extract_enum(FILE *fp, const char *name) argument 1446 FILE *fp; local [all...] |
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | filter.c | 453 doShowFilter(struct filterent *fp, struct prompt *prompt) argument 458 for (n = 0; n < MAXFILTERS; n++, fp++) { 459 if (fp->f_action != A_NONE) { 460 prompt_Printf(prompt, " %2d %s", n, filter_Action2Nam(fp->f_action)); 461 prompt_Printf(prompt, "%c ", fp->f_invert ? '!' : ' '); 463 if (ncprange_isset(&fp->f_src)) 464 prompt_Printf(prompt, "%s ", addrstr(&fp->f_src, fp->f_srctype)); 468 if (ncprange_isset(&fp->f_dst)) 469 prompt_Printf(prompt, "%s ", addrstr(&fp 566 struct filterent *fp; local [all...] |
/freebsd-11-stable/usr.bin/ctags/ |
H A D | tree.c | 58 char *fp; local 71 if (!(fp = strrchr(curfile, '/'))) 72 fp = curfile; 74 ++fp; 75 (void)snprintf(nbuf, sizeof(nbuf), "M%s", fp); 76 fp = strrchr(nbuf, '.'); 77 if (fp && !fp[2]) 78 *fp = EOS;
|
/freebsd-11-stable/crypto/openssl/crypto/idea/ |
H A D | i_skey.c | 116 register IDEA_INT *fp, *tp, t; local 119 fp = &(ek->data[8][0]); 121 *(tp++) = inverse(fp[0]); 122 *(tp++) = ((int)(0x10000L - fp[2]) & 0xffff); 123 *(tp++) = ((int)(0x10000L - fp[1]) & 0xffff); 124 *(tp++) = inverse(fp[3]); 127 fp -= 6; 128 *(tp++) = fp[4]; 129 *(tp++) = fp[5];
|
/freebsd-11-stable/usr.bin/head/ |
H A D | head.c | 77 FILE *fp; local 108 if ((fp = fopen(*argv, "r")) == NULL) { 119 head(fp, linecnt); 121 head_bytes(fp, bytecnt); 122 (void)fclose(fp); 133 head(FILE *fp, int cnt) argument 138 while (cnt && (cp = fgetln(fp, &readlen)) != NULL) { 147 head_bytes(FILE *fp, off_t cnt) argument 157 readlen = fread(buf, sizeof(char), readlen, fp);
|
/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | memstat.c | 200 static FILE *fp; 215 fp = fopen("/proc/meminfo", "r"); 216 return (fp != NULL) ? 0 : errno; 232 if (fp != NULL) 234 fclose(fp); 235 fp = NULL; 265 if (fp == NULL) 267 rewind(fp); 271 while (fgets(buf, sizeof(buf), fp) != NULL)
|
/freebsd-11-stable/contrib/mtree/ |
H A D | excludes.c | 77 FILE *fp; local 81 fp = fopen(name, "r"); 82 if (fp == 0) 85 while ((line = fparseln(fp, NULL, NULL, NULL, 101 fclose(fp);
|
/freebsd-11-stable/contrib/file/src/ |
H A D | getline.c | 41 getdelim(char **buf, size_t *bufsiz, int delimiter, FILE *fp) argument 53 int c = fgetc(fp); 55 if (feof(fp)) { 84 getline(char **buf, size_t *bufsiz, FILE *fp) argument 86 return getdelim(buf, bufsiz, '\n', fp);
|
/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | binemul.c | 26 ar_emul_usage (FILE *fp) argument 29 bin_dummy_emulation.ar_usage (fp); 33 ar_emul_default_usage (FILE *fp) argument 35 AR_EMUL_USAGE_PRINT_OPTION_HEADER (fp); 37 fprintf (fp, _(" No emulation specific options\n"));
|
/freebsd-11-stable/contrib/dialog/ |
H A D | prgbox.c | 104 FILE *fp; local 107 fp = dlg_popen(command, "r"); 108 if (fp == NULL) 111 code = dlg_progressbox(title, cprompt, height, width, pauseopt, fp); 113 pclose(fp);
|