Searched refs:fp (Results 201 - 225 of 1180) sorted by relevance

1234567891011>>

/freebsd-9.3-release/crypto/openssl/crypto/x509/
H A Dx_all.c127 X509 *d2i_X509_fp(FILE *fp, X509 **x509) argument
129 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509), fp, x509);
132 int i2d_X509_fp(FILE *fp, X509 *x509) argument
134 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509), fp, x509);
149 X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl) argument
151 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl);
154 int i2d_X509_CRL_fp(FILE *fp, X509_CRL *crl) argument
156 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl);
171 PKCS7 *d2i_PKCS7_fp(FILE *fp, PKCS7 **p7) argument
173 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(PKCS7), fp, p
176 i2d_PKCS7_fp(FILE *fp, PKCS7 *p7) argument
193 d2i_X509_REQ_fp(FILE *fp, X509_REQ **req) argument
198 i2d_X509_REQ_fp(FILE *fp, X509_REQ *req) argument
217 d2i_RSAPrivateKey_fp(FILE *fp, RSA **rsa) argument
222 i2d_RSAPrivateKey_fp(FILE *fp, RSA *rsa) argument
227 d2i_RSAPublicKey_fp(FILE *fp, RSA **rsa) argument
232 d2i_RSA_PUBKEY_fp(FILE *fp, RSA **rsa) argument
239 i2d_RSAPublicKey_fp(FILE *fp, RSA *rsa) argument
244 i2d_RSA_PUBKEY_fp(FILE *fp, RSA *rsa) argument
283 d2i_DSAPrivateKey_fp(FILE *fp, DSA **dsa) argument
288 i2d_DSAPrivateKey_fp(FILE *fp, DSA *dsa) argument
293 d2i_DSA_PUBKEY_fp(FILE *fp, DSA **dsa) argument
298 i2d_DSA_PUBKEY_fp(FILE *fp, DSA *dsa) argument
328 d2i_EC_PUBKEY_fp(FILE *fp, EC_KEY **eckey) argument
333 i2d_EC_PUBKEY_fp(FILE *fp, EC_KEY *eckey) argument
338 d2i_ECPrivateKey_fp(FILE *fp, EC_KEY **eckey) argument
343 i2d_ECPrivateKey_fp(FILE *fp, EC_KEY *eckey) argument
416 d2i_PKCS8_fp(FILE *fp, X509_SIG **p8) argument
421 i2d_PKCS8_fp(FILE *fp, X509_SIG *p8) argument
438 d2i_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, PKCS8_PRIV_KEY_INFO **p8inf) argument
445 i2d_PKCS8_PRIV_KEY_INFO_fp(FILE *fp, PKCS8_PRIV_KEY_INFO *p8inf) argument
451 i2d_PKCS8PrivateKeyInfo_fp(FILE *fp, EVP_PKEY *key) argument
463 i2d_PrivateKey_fp(FILE *fp, EVP_PKEY *pkey) argument
468 d2i_PrivateKey_fp(FILE *fp, EVP_PKEY **a) argument
473 i2d_PUBKEY_fp(FILE *fp, EVP_PKEY *pkey) argument
478 d2i_PUBKEY_fp(FILE *fp, EVP_PKEY **a) argument
[all...]
/freebsd-9.3-release/contrib/ipfilter/lib/
H A Dload_file.c17 FILE *fp; local
19 fp = fopen(filename + 7, "r");
20 if (fp == NULL) {
30 while (fgets(line, sizeof(line) - 1, fp)) {
39 fclose(fp);
85 fclose(fp);
/freebsd-9.3-release/lib/libc/sparc64/fpu/
H A Dfpu_emu.h107 #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-9.3-release/lib/libstand/
H A Dext2fs.c335 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 Dcd9660.c271 struct file *fp = 0; local
365 fp = malloc(sizeof(struct file));
366 bzero(fp, sizeof(struct file));
367 f->f_fsdata = (void *)fp;
370 fp->f_flags = F_ISDIR;
373 fp->f_flags |= F_ROOTDIR;
390 fp->f_flags |= F_RR;
391 fp->f_susp_skip = lenskip;
393 fp->f_off = 0;
394 fp
411 struct file *fp = (struct file *)f->f_fsdata; local
422 struct file *fp = (struct file *)f->f_fsdata; local
456 struct file *fp = (struct file *)f->f_fsdata; local
485 struct file *fp = (struct file *)f->f_fsdata; local
556 struct file *fp = (struct file *)f->f_fsdata; local
577 struct file *fp = (struct file *)f->f_fsdata; local
[all...]
/freebsd-9.3-release/usr.sbin/ngctl/
H A Dwrite.c68 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-9.3-release/sys/boot/common/
H A Dmodule.c58 static struct kernel_module * file_findmodule(struct preloaded_file *fp, char *modname, struct mod_depend *verinfo);
200 struct preloaded_file *fp; local
203 fp = preloaded_files;
205 file_discard(fp);
217 struct preloaded_file *fp; local
239 for (fp = preloaded_files; fp; fp = fp->f_next) {
241 (void *) fp
275 struct preloaded_file *fp; local
312 struct preloaded_file *fp; local
362 struct preloaded_file *fp; local
468 struct preloaded_file *fp, *last_file; local
524 struct preloaded_file *fp; local
539 file_findmodule(struct preloaded_file *fp, char *modname, struct mod_depend *verinfo) argument
577 file_addmetadata(struct preloaded_file *fp, int type, size_t size, void *p) argument
593 file_findmetadata(struct preloaded_file *fp, int type) argument
802 file_addmodule(struct preloaded_file *fp, char *modname, int version, struct kernel_module **newmp) argument
831 file_discard(struct preloaded_file *fp) argument
867 struct preloaded_file *fp; local
879 file_insert_tail(struct preloaded_file *fp) argument
[all...]
/freebsd-9.3-release/contrib/sendmail/src/
H A Dsfsasl.c29 SM_FILE_T *fp; member in struct:sasl_obj
35 SM_FILE_T *fp; member in struct:sasl_info
44 ** fp -- the file descriptor
56 sasl_getinfo(fp, what, valp)
57 SM_FILE_T *fp;
61 struct sasl_obj *so = (struct sasl_obj *) fp->f_cookie;
66 if (so->fp == NULL)
68 return so->fp->f_file; /* for stdio fileno() compatability */
71 if (so->fp == NULL)
75 return sm_io_getinfo(so->fp, wha
423 SM_FILE_T *fp; member in struct:tls_obj
429 SM_FILE_T *fp; member in struct:tls_info
[all...]
/freebsd-9.3-release/contrib/bind9/lib/lwres/
H A Dlwconfig.c35 * 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...]
/freebsd-9.3-release/contrib/gdb/gdb/gdbserver/
H A Dgdbreplay.c76 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-9.3-release/bin/sh/
H A Dmkinit.c184 FILE *fp; local
188 fp = ckfopen(fname, "r");
192 while (fgets(line, sizeof line, fp) != NULL) {
196 doevent(ep, fp, fname);
203 dodecl(line, fp);
221 fclose(fp);
265 doevent(struct event *ep, FILE *fp, const char *fname) argument
276 if (fgets(line, sizeof line, fp) == NULL)
326 dodecl(char *line1, FILE *fp) argument
335 if (fgets(line, sizeof line, fp)
373 FILE *fp; local
436 writetext(struct text *text, FILE *fp) argument
450 FILE *fp; local
[all...]
/freebsd-9.3-release/contrib/bind9/lib/isc/include/isc/
H A Dfile.h105 isc_file_openunique(char *templet, FILE **fp);
107 isc_file_openuniqueprivate(char *templet, FILE **fp);
109 isc_file_openuniquemode(char *templet, int mode, FILE **fp);
111 isc_file_bopenunique(char *templet, FILE **fp);
113 isc_file_bopenuniqueprivate(char *templet, FILE **fp);
115 isc_file_bopenuniquemode(char *templet, int mode, FILE **fp);
137 *\li 'fp' is non-NULL and '*fp' is NULL.
144 * *fp points to an stream opening in stdio's "w+" mode.
147 * *fp i
[all...]
/freebsd-9.3-release/sys/kern/
H A Dsys_procdesc.c144 struct file *fp; local
147 error = fget(td, fd, rights, &fp);
150 if (fp->f_type != DTYPE_PROCDESC) {
154 pd = fp->f_data;
163 fdrop(fp, td);
189 struct file *fp; local
192 error = fget(td, fd, rights, &fp);
195 if (fp->f_type != DTYPE_PROCDESC) {
199 *pidp = procdesc_pid(fp);
201 fdrop(fp, t
252 procdesc_finit(struct procdesc *pdp, struct file *fp) argument
345 procdesc_close(struct file *fp, struct thread *td) argument
403 procdesc_read(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, struct thread *td) argument
411 procdesc_write(struct file *fp, struct uio *uio, struct ucred *active_cred, int flags, struct thread *td) argument
419 procdesc_truncate(struct file *fp, off_t length, struct ucred *active_cred, struct thread *td) argument
427 procdesc_ioctl(struct file *fp, u_long com, void *data, struct ucred *active_cred, struct thread *td) argument
435 procdesc_poll(struct file *fp, int events, struct ucred *active_cred, struct thread *td) argument
455 procdesc_kqfilter(struct file *fp, struct knote *kn) argument
462 procdesc_stat(struct file *fp, struct stat *sb, struct ucred *active_cred, struct thread *td) argument
500 procdesc_chmod(struct file *fp, mode_t mode, struct ucred *active_cred, struct thread *td) argument
508 procdesc_chown(struct file *fp, uid_t uid, gid_t gid, struct ucred *active_cred, struct thread *td) argument
[all...]
/freebsd-9.3-release/sys/sys/
H A Dfail.h92 * (*fp->sleep_fn)(fp->sleep_arg) call by the timer thread. Otherwise,
97 fail_point_sleep_set_func(struct fail_point *fp, void (*sleep_fn)(void *)) argument
99 fp->fp_sleep_fn = sleep_fn;
106 fail_point_sleep_set_arg(struct fail_point *fp, void *sleep_arg) argument
108 fp->fp_sleep_arg = sleep_arg;
120 fail_point_eval(struct fail_point *fp, int *ret) argument
122 if (TAILQ_EMPTY(&fp->fp_entries)) {
125 return (fail_point_eval_nontrivial(fp, ret));
/freebsd-9.3-release/tools/tools/ath/ath_prom_read/
H A Dath_prom_read.c65 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-9.3-release/sys/boot/zfs/
H A Dzfs.c90 struct file *fp; local
97 fp = malloc(sizeof(struct file));
98 bzero(fp, sizeof(struct file));
99 f->f_fsdata = (void *)fp;
101 rc = zfs_lookup(mount, upath, &fp->f_dnode);
102 fp->f_seekp = 0;
105 free(fp);
113 struct file *fp = (struct file *)f->f_fsdata; local
117 if (fp == (struct file *)0)
120 free(fp);
132 struct file *fp = (struct file *)f->f_fsdata; local
173 struct file *fp = (struct file *)f->f_fsdata; local
206 struct file *fp = (struct file *)f->f_fsdata; local
215 struct file *fp = (struct file *)f->f_fsdata; local
[all...]
/freebsd-9.3-release/bin/ed/
H A Dcbc.c64 #define READ(buf, n, fp) fread(buf, sizeof(char), n, fp)
65 #define WRITE(buf, n, fp) fwrite(buf, sizeof(char), n, fp)
115 get_des_char(FILE *fp) argument
120 des_ct = cbc_decode(des_buf, fp);
124 return (getc(fp));
131 put_des_char(int c, FILE *fp) argument
135 des_ct = cbc_encode(des_buf, des_n, fp);
140 return (fputc(c, fp));
147 flush_des_file(FILE *fp) argument
329 cbc_encode(unsigned char *msgbuf, int n, FILE *fp) argument
367 cbc_decode(unsigned char *msgbuf, FILE *fp) argument
[all...]
/freebsd-9.3-release/contrib/bsnmp/gensnmptree/
H A Dgensnmptree.c234 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
906 gen_node(FILE *fp, struct node *np, struct asn_oid *oid, u_int idx, const char *func) argument
1011 gen_header(FILE *fp, struct node *np, u_int oidlen, const char *func) argument
1061 gen_table(FILE *fp, struct node *node) argument
1156 extract(FILE *fp, const struct node *np, struct asn_oid *oid, const char *obj, const struct asn_oid *idx, const char *iname) argument
1197 gen_extract(FILE *fp, const struct node *root, char *object) argument
1371 unminus(FILE *fp, const char *s) argument
1384 gen_enum(FILE *fp, const struct type *t) argument
1416 gen_enums(FILE *fp) argument
1426 extract_enum(FILE *fp, const char *name) argument
1448 FILE *fp; local
[all...]
/freebsd-9.3-release/usr.sbin/ppp/
H A Dfilter.c451 doShowFilter(struct filterent *fp, struct prompt *prompt) argument
456 for (n = 0; n < MAXFILTERS; n++, fp++) {
457 if (fp->f_action != A_NONE) {
458 prompt_Printf(prompt, " %2d %s", n, filter_Action2Nam(fp->f_action));
459 prompt_Printf(prompt, "%c ", fp->f_invert ? '!' : ' ');
461 if (ncprange_isset(&fp->f_src))
462 prompt_Printf(prompt, "%s ", addrstr(&fp->f_src, fp->f_srctype));
466 if (ncprange_isset(&fp->f_dst))
467 prompt_Printf(prompt, "%s ", addrstr(&fp
564 struct filterent *fp; local
[all...]
/freebsd-9.3-release/contrib/sendmail/libsm/
H A Dmemstat.c200 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-9.3-release/usr.bin/ctags/
H A Dtree.c58 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-9.3-release/usr.bin/head/
H A Dhead.c69 FILE *fp; local
100 if ((fp = fopen(*argv, "r")) == NULL) {
111 head(fp, linecnt);
113 head_bytes(fp, bytecnt);
114 (void)fclose(fp);
125 head(FILE *fp, int cnt) argument
130 while (cnt && (cp = fgetln(fp, &readlen)) != NULL) {
139 head_bytes(FILE *fp, off_t cnt) argument
149 readlen = fread(buf, sizeof(char), readlen, fp);
/freebsd-9.3-release/crypto/openssl/crypto/idea/
H A Di_skey.c125 const IDEA_INT *fp; local
128 fp = &(ek->data[8][0]);
130 *(tp++) = inverse(fp[0]);
131 *(tp++) = ((int)(0x10000L - fp[2]) & 0xffff);
132 *(tp++) = ((int)(0x10000L - fp[1]) & 0xffff);
133 *(tp++) = inverse(fp[3]);
136 fp -= 6;
137 *(tp++) = fp[4];
138 *(tp++) = fp[5];
/freebsd-9.3-release/contrib/binutils/binutils/
H A Dbinemul.c26 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-9.3-release/contrib/cvs/src/
H A Dmyndbm.c42 FILE *fp; local
45 fp = CVS_FOPEN (file, (flags & O_ACCMODE) != O_RDONLY ?
47 if (fp == NULL && !(existence_error (errno) && (flags & O_CREAT)))
55 if (fp != NULL)
57 mydbm_load_file (fp, db->dbm_list, file);
58 if (fclose (fp) < 0)
71 FILE *fp = (FILE *)data; local
72 fputs (node->key, fp);
73 fputs (" ", fp);
74 fputs (node->data, fp);
85 FILE *fp; local
[all...]

Completed in 157 milliseconds

1234567891011>>