Searched refs:fp (Results 251 - 275 of 1012) sorted by relevance

<<11121314151617181920>>

/openbsd-current/lib/libcrypto/pem/
H A Dpem_xaux.c69 PEM_read_X509_AUX(FILE *fp, X509 **x, pem_password_cb *cb, void *u) argument
71 return PEM_ASN1_read((d2i_of_void *)d2i_X509_AUX, PEM_STRING_X509_TRUSTED, fp,
77 PEM_write_X509_AUX(FILE *fp, X509 *x) argument
79 return PEM_ASN1_write((i2d_of_void *)i2d_X509_AUX, PEM_STRING_X509_TRUSTED, fp,
H A Dpem_x509.c69 PEM_read_X509(FILE *fp, X509 **x, pem_password_cb *cb, void *u) argument
71 return PEM_ASN1_read((d2i_of_void *)d2i_X509, PEM_STRING_X509, fp,
77 PEM_write_X509(FILE *fp, X509 *x) argument
79 return PEM_ASN1_write((i2d_of_void *)i2d_X509, PEM_STRING_X509, fp,
H A Dpem_pk8.c199 i2d_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, argument
202 return do_pk8pkey_fp(fp, x, 1, -1, enc, kstr, klen, cb, u);
207 i2d_PKCS8PrivateKey_nid_fp(FILE *fp, EVP_PKEY *x, int nid, char *kstr, argument
210 return do_pk8pkey_fp(fp, x, 1, nid, NULL, kstr, klen, cb, u);
215 PEM_write_PKCS8PrivateKey_nid(FILE *fp, EVP_PKEY *x, int nid, char *kstr, argument
218 return do_pk8pkey_fp(fp, x, 0, nid, NULL, kstr, klen, cb, u);
223 PEM_write_PKCS8PrivateKey(FILE *fp, EVP_PKEY *x, const EVP_CIPHER *enc, argument
226 return do_pk8pkey_fp(fp, x, 0, -1, enc, kstr, klen, cb, u);
231 do_pk8pkey_fp(FILE *fp, EVP_PKEY *x, int isder, int nid, const EVP_CIPHER *enc, argument
237 if (!(bp = BIO_new_fp(fp, BIO_NOCLOS
247 d2i_PKCS8PrivateKey_fp(FILE *fp, EVP_PKEY **x, pem_password_cb *cb, void *u) argument
263 PEM_read_PKCS8(FILE *fp, X509_SIG **x, pem_password_cb *cb, void *u) argument
271 PEM_write_PKCS8(FILE *fp, X509_SIG *x) argument
295 PEM_read_PKCS8_PRIV_KEY_INFO(FILE *fp, PKCS8_PRIV_KEY_INFO **x, pem_password_cb *cb, void *u) argument
303 PEM_write_PKCS8_PRIV_KEY_INFO(FILE *fp, PKCS8_PRIV_KEY_INFO *x) argument
[all...]
/openbsd-current/lib/libcrypto/dsa/
H A Ddsa_prn.c66 DSA_print_fp(FILE *fp, const DSA *x, int off) argument
75 BIO_set_fp(b, fp, BIO_NOCLOSE);
83 DSAparams_print_fp(FILE *fp, const DSA *x) argument
92 BIO_set_fp(b, fp, BIO_NOCLOSE);
/openbsd-current/gnu/llvm/compiler-rt/lib/hwasan/
H A Dhwasan_exceptions.cpp56 uptr fp = get_gr(context, 6); // rbp local
58 uptr fp = get_gr(context, 29); // x29
60 uptr fp = get_gr(context, 8); // x8
65 TagMemory(sp, fp - sp, 0);
/openbsd-current/lib/libcrypto/err/
H A Derr_prn.c96 print_fp(const char *str, size_t len, void *fp) argument
100 return fprintf(fp, "%.*s", (int)len, str);
104 ERR_print_errors_fp(FILE *fp) argument
106 ERR_print_errors_cb(print_fp, fp);
/openbsd-current/gnu/usr.bin/gcc/gcc/fixinc/
H A Dfixlib.c35 load_file_data (fp)
36 FILE* fp;
42 if (fp == (FILE*)NULL)
54 size_read = fread (pz_data + space_used, 1, space_left, fp);
58 if (feof (fp))
61 if (ferror (fp))
74 } while (! feof (fp));
/openbsd-current/regress/lib/libc/fread/
H A Dfread.c84 FILE *fp; local
98 if ((fp = fdopen(sv[0], "r")) == NULL)
101 setvbuf(fp, iobuf, iomode, iolen);
114 while ((nread = fread(buf, 1, sizeof(buf), fp)) != 0) {
129 if (!feof(fp)) {
130 if (ferror(fp))
136 fclose(fp);
/openbsd-current/libexec/ld.so/arm/
H A Dldasm.S38 mov fp, sp
44 mov r0, fp @ original stack
58 add r1, fp, r1, lsl #2
63 mov sp, fp
64 mov fp, #0
86 stmdb sp!, {r0-r4,sl,fp}
95 ldmia sp!, {r0-r4,sl,fp,lr}
/openbsd-current/games/phantasia/
H A Dsetup.c76 FILE *fp; /* for opening files */
137 if ((fp = fopen(path, "w")) == NULL)
141 fwrite(&Enrgyvoid, SZ_VOIDSTRUCT, 1, fp);
142 fclose(fp);
151 if ((fp = fopen(monsterfile, "r")) == NULL)
165 while (fgets(Databuf, SZ_DATABUF, fp) != NULL)
177 fclose(fp);
75 FILE *fp; /* for opening files */ local
/openbsd-current/gnu/usr.bin/cvs/src/
H A Derror.c223 fperrmsg (FILE *fp, int status, int errnum, char *message, ...) argument
225 fperrmsg (fp, status, errnum, message, va_alist)
226 FILE *fp;
237 fprintf (fp, "%s: ", program_name);
240 vfprintf (fp, message, args);
244 _doprnt (message, &args, fp);
246 fprintf (fp, message, a1, a2, a3, a4, a5, a6, a7, a8);
250 fprintf (fp, ": %s", strerror (errnum));
251 putc ('\n', fp);
252 fflush (fp);
[all...]
H A Dlogmsg.c23 static FILE *fp; variable
44 fp = xfp;
50 (void) fprintf (fp, "%sModified Files:\n", prefix);
53 (void) fprintf (fp, "\n");
63 (void) fprintf (fp, "%sAdded Files:\n", prefix);
66 (void) fprintf (fp, "\n");
76 (void) fprintf (fp, "%sRemoved Files:\n", prefix);
79 (void) fprintf (fp, "\n");
125 (void) fprintf (fp, "\n");
126 (void) fprintf (fp, "
396 FILE *fp; local
[all...]
/openbsd-current/usr.sbin/lpd/
H A Dlp_rmjob.c100 FILE *fp; local
118 fp = lp_fopen(lp, cfname);
119 if (fp == NULL) {
123 while ((len = getline(&line, &linesz, fp)) != -1) {
134 fclose(fp);
166 FILE *fp; local
171 fp = lp_fopen(lp, cfname);
172 if (fp == NULL) {
191 while ((len = getline(&line, &linesz, fp)) != -1) {
208 fclose(fp);
[all...]
/openbsd-current/sys/kern/
H A Dvfs_vnops.c341 vn_read(struct file *fp, struct uio *uio, int fflags) argument
343 struct vnode *vp = fp->f_data;
344 struct ucred *cred = fp->f_cred;
354 offset = uio->uio_offset = fp->f_offset;
369 error = VOP_READ(vp, uio, (fp->f_flag & FNONBLOCK) ? IO_NDELAY : 0,
372 mtx_enter(&fp->f_mtx);
373 fp->f_offset += count - uio->uio_resid;
374 mtx_leave(&fp->f_mtx);
386 vn_write(struct file *fp, struct uio *uio, int fflags) argument
388 struct vnode *vp = fp
427 vn_statfile(struct file *fp, struct stat *sb, struct proc *p) argument
501 vn_ioctl(struct file *fp, u_long com, caddr_t data, struct proc *p) argument
595 vn_closefile(struct file *fp, struct proc *p) argument
615 vn_kqfilter(struct file *fp, struct knote *kn) argument
626 vn_seek(struct file *fp, off_t *offset, int whence, struct proc *p) argument
[all...]
/openbsd-current/gnu/gcc/libmudflap/
H A Dmf-heuristics.c126 FILE *fp; local
128 fp = fopen ("/proc/self/maps", "r");
129 if (fp)
131 while (fgets (buf, sizeof(buf), fp))
161 fclose (fp);
/openbsd-current/gnu/usr.bin/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"));
/openbsd-current/usr.sbin/mrouted/
H A Dmain.c79 FILE *fp; local
169 fp = fopen(genidfilename, "r");
170 if (fp != NULL) {
171 fscanf(fp, "%d", &prev_genid);
174 (void) fclose(fp);
177 fp = fopen(genidfilename, "w");
178 if (fp != NULL) {
179 fprintf(fp, "%d", dvmrp_genid);
180 (void) fclose(fp);
447 FILE *fp; local
465 FILE *fp; local
[all...]
/openbsd-current/lib/libc/net/
H A Dgetprotoent.c44 if (pd->fp == NULL)
45 pd->fp = fopen(_PATH_PROTOCOLS, "re" );
47 rewind(pd->fp);
55 if (pd->fp) {
56 fclose(pd->fp);
57 pd->fp = NULL;
76 if (pd->fp == NULL && (pd->fp = fopen(_PATH_PROTOCOLS, "re" )) == NULL)
79 if ((p = fgetln(pd->fp, &len)) == NULL)
H A Dgetservent.c44 if (sd->fp == NULL)
45 sd->fp = fopen(_PATH_SERVICES, "re" );
47 rewind(sd->fp);
55 if (sd->fp) {
56 fclose(sd->fp);
57 sd->fp = NULL;
76 if (sd->fp == NULL && (sd->fp = fopen(_PATH_SERVICES, "re" )) == NULL)
79 if ((p = fgetln(sd->fp, &len)) == NULL)
/openbsd-current/usr.bin/x99token/
H A Dx99token.c42 FILE *fp; local
89 else if ((fp = fopen(keyfile, "r")) == NULL)
92 if (fgets(buf, sizeof(buf), fp) == NULL) {
96 fclose(fp);
144 if ((fp = fopen(keyfile, "w")) == NULL)
147 fprintf(fp, "%c", digits[(key[i]>>4)&0xf]);
148 fprintf(fp, "%c", digits[(key[i]>>0)&0xf]);
150 fputc('\n', fp);
151 fclose(fp);
/openbsd-current/lib/libc/stdio/
H A Dvfwscanf.c103 __vfwscanf(FILE * __restrict fp, const wchar_t * __restrict fmt, __va_list ap) argument
113 int nread; /* number of characters consumed from fp */
132 _SET_ORIENTATION(fp, 1);
145 while ((c = __fgetwc_unlock(fp)) != WEOF &&
149 __ungetwc(c, fp);
164 if ((wi = __fgetwc_unlock(fp)) == WEOF)
167 __ungetwc(wi, fp);
339 while ((wi = __fgetwc_unlock(fp)) != WEOF &&
344 __ungetwc(wi, fp);
361 (wi = __fgetwc_unlock(fp)) !
791 vfwscanf(FILE * __restrict fp, const wchar_t * __restrict fmt, __va_list ap) argument
[all...]
/openbsd-current/usr.sbin/smtpd/
H A Denqueue.c125 #define QP_TEST_WRAP(fp, buf, linelen, size) do { \
127 fprintf((fp), "=\r\n"); \
129 fprintf((fp), "."); \
136 qp_encoded_write(FILE *fp, char *buf) argument
149 QP_TEST_WRAP(fp, buf, linelen, 3);
150 fprintf(fp, "=%2X", *buf & 0xff);
152 QP_TEST_WRAP(fp, buf, linelen, 1);
153 fprintf(fp, "%c", *buf & 0xff);
161 QP_TEST_WRAP(fp, buf, linelen, 3);
162 fprintf(fp, "
178 FILE *fp = NULL, *fout; local
497 send_line(FILE *fp, int v, char *fmt, ...) argument
863 FILE *fp; local
[all...]
/openbsd-current/lib/libc/locale/
H A Drune.c86 FILE *fp)
105 if (fread(&fre, sizeof(fre), 1, fp) != 1)
118 readentry(_RuneRange *rr, FILE *fp) argument
143 if (fread(re[i].re_rune_types, sizeof(_RuneType), l, fp) != l)
209 _Read_RuneMagi(FILE *fp) argument
222 if (fstat(fileno(fp), &sb) == -1)
230 rewind(fp);
232 if (fread(&frl, sizeof(frl), 1, fp) != 1)
275 if (readrange(rl, &rl->rl_runetype_ext, runetype_nranges, lastp, fp) ||
276 readrange(rl, &rl->rl_maplower_ext, maplower_nranges, lastp, fp) ||
85 readrange(_RuneLocale *rl, _RuneRange *rr, uint32_t nranges, void *lastp, FILE *fp) argument
[all...]
/openbsd-current/gnu/lib/libiberty/src/
H A Dpartition.c140 partition_print (partition part, FILE *fp) argument
155 fputc ('[', fp);
173 fputc ('(', fp);
175 fprintf (fp, i == 0 ? "%d" : " %d", class_elements[i]);
176 fputc (')', fp);
178 fputc (']', fp);
/openbsd-current/gnu/gcc/fixincludes/
H A Dfixlib.c35 load_file_data (FILE* fp) argument
41 if (fp == (FILE*)NULL)
53 size_read = fread (pz_data + space_used, 1, space_left, fp);
57 if (feof (fp))
60 if (ferror (fp))
73 } while (! feof (fp));

Completed in 204 milliseconds

<<11121314151617181920>>