/macosx-10.9.5/BerkeleyDB-21/db/os_brew/ |
H A D | fclose.c | 21 fclose(fp) 22 FILE *fp; 29 (void)IFILE_Release(fp);
|
H A D | fgetc.c | 21 fgetc(fp) 22 FILE *fp; 26 if (IFILE_Read(fp, b, 1))
|
/macosx-10.9.5/bash-92/bash-3.2/examples/functions/ |
H A D | autoload | 74 # fp=$(echo $FPATH | sed 's/^:/.:/ 81 fp=${FPATH/#:/.:} 82 fp=${fp//::/:.:} 83 fp=${fp/%:/:.} 84 fp=${fp//:/ } 92 set -- $fp
|
/macosx-10.9.5/Libc-997.90.3/stdio/FreeBSD/ |
H A D | refill.c | 51 lflush(FILE *fp) argument 55 if ((fp->_flags & (__SLBF|__SWR)) == (__SLBF|__SWR)) { 56 FLOCKFILE(fp); 57 ret = __sflush(fp); 58 FUNLOCKFILE(fp); 68 __srefill0(FILE *fp) argument 75 ORIENT(fp, -1); 77 fp->_r = 0; /* largely a convenience for callers */ 80 if (fp->_flags & __SEOF) 84 if ((fp 137 __srefill1(FILE *fp) argument 156 __srefill(FILE *fp) argument [all...] |
H A D | wsetup.c | 50 __swsetup(fp) 51 FILE *fp; 60 if ((fp->_flags & __SWR) == 0) { 61 if ((fp->_flags & __SRW) == 0) { 63 fp->_flags |= __SERR; 66 if (fp->_flags & __SRD) { 68 if (HASUB(fp)) 69 FREEUB(fp); 70 fp->_flags &= ~(__SRD|__SEOF); 71 fp [all...] |
H A D | fclose.c | 48 fclose(FILE *fp) argument 55 if (fp == NULL) { 59 if (fp->_flags == 0) { /* not open! */ 63 FLOCKFILE(fp); 64 r = fp->_flags & __SWR ? __sflush(fp) : 0; 65 if (fp->_close != NULL && (*fp->_close)(fp->_cookie) < 0) 67 if (fp [all...] |
H A D | ungetc.c | 50 * Expand the ungetc buffer `in place'. That is, adjust fp->_p when 56 __submore(FILE *fp) argument 61 if (fp->_ub._base == fp->_ubuf) { 67 fp->_ub._base = p; 68 fp->_ub._size = BUFSIZ; 69 p += BUFSIZ - sizeof(fp->_ubuf); 70 for (i = sizeof(fp->_ubuf); --i >= 0;) 71 p[i] = fp->_ubuf[i]; 72 fp 91 ungetc(int c, FILE *fp) argument 108 __ungetc(int c, FILE *fp) argument [all...] |
H A D | fpurge.c | 52 fpurge(fp) 53 FILE *fp; 56 FLOCKFILE(fp); 57 if (!fp->_flags) { 61 if (HASUB(fp)) 62 FREEUB(fp); 63 fp->_p = fp->_bf._base; 64 fp->_r = 0; 65 fp [all...] |
H A D | clrerr.c | 48 clearerr(fp) 49 FILE *fp; 51 FLOCKFILE(fp); 52 __sclearerr(fp); 53 FUNLOCKFILE(fp); 57 clearerr_unlocked(FILE *fp) argument 60 __sclearerr(fp);
|
H A D | ftell.c | 52 ftell(fp) 53 FILE *fp; 57 rv = ftello(fp); 69 ftello(fp) 70 FILE *fp; 75 FLOCKFILE(fp); 76 ret = _ftello(fp, &rv); 77 FUNLOCKFILE(fp); 88 _ftello(fp, offset) 89 FILE *fp; [all...] |
H A D | freopen.c | 58 freopen(file, mode, fp) 61 FILE *fp; 68 (void) fclose(fp); 73 FLOCKFILE(fp); 85 if (fp->_flags == 0) { 86 FUNLOCKFILE(fp); 90 if ((dflags = _fcntl(fp->_file, F_GETFL)) < 0) { 92 fclose(fp); 93 FUNLOCKFILE(fp); 99 fclose(fp); [all...] |
H A D | rget.c | 48 __srget(FILE *fp) argument 50 if (__srefill(fp) == 0) { 51 fp->_r--; 52 return (*fp->_p++);
|
H A D | feof.c | 48 feof(FILE *fp) argument 52 FLOCKFILE(fp); 53 ret= __sfeof(fp); 54 FUNLOCKFILE(fp); 59 feof_unlocked(FILE *fp) argument 62 return (__sfeof(fp));
|
H A D | ferror.c | 48 ferror(FILE *fp) argument 52 FLOCKFILE(fp); 53 ret = __sferror(fp); 54 FUNLOCKFILE(fp); 59 ferror_unlocked(FILE *fp) argument 62 return (__sferror(fp));
|
H A D | fgetwc.c | 46 fgetwc(FILE *fp) argument 50 FLOCKFILE(fp); 51 ORIENT(fp, 1); 52 r = __fgetwc(fp, __current_locale()); 53 FUNLOCKFILE(fp); 59 fgetwc_l(FILE *fp, locale_t loc) argument 64 FLOCKFILE(fp); 65 ORIENT(fp, 1); 66 r = __fgetwc(fp, loc); 67 FUNLOCKFILE(fp); 76 __fgetwc(FILE *fp, locale_t loc) argument [all...] |
H A D | fileno.c | 48 fileno(FILE *fp) argument 52 FLOCKFILE(fp); 53 fd = __sfileno(fp); 54 FUNLOCKFILE(fp); 60 fileno_unlocked(FILE *fp) argument 63 return (__sfileno(fp));
|
H A D | fwide.c | 39 fwide(FILE *fp, int mode) argument 43 FLOCKFILE(fp); 45 if (mode != 0 && fp->_orientation == 0) 46 fp->_orientation = mode > 0 ? 1 : -1; 47 m = fp->_orientation; 48 FUNLOCKFILE(fp);
|
H A D | getc.c | 49 getc(FILE *fp) argument 52 FLOCKFILE(fp); 54 /* ORIENT(fp, -1); */ 55 retval = __sgetc(fp); 56 FUNLOCKFILE(fp); 61 getc_unlocked(FILE *fp) argument 64 return (__sgetc(fp));
|
/macosx-10.9.5/ICU-511.35/icuSources/tools/tzcode/ |
H A D | scheck.c | 22 register const char * fp; local 34 fp = format; 36 while ((*tp++ = c = *fp++) != '\0') { 39 if (*fp == '%') { 40 *tp++ = *fp++; 44 if (*fp == '*') 45 ++fp; 46 while (is_digit(*fp)) 47 *tp++ = *fp++; 48 if (*fp [all...] |
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/zic.tproj/ |
H A D | scheck.c | 22 register const char * fp; local 35 fp = format; 37 while ((*tp++ = c = *fp++) != '\0') { 40 if (*fp == '%') { 41 *tp++ = *fp++; 45 if (*fp == '*') 46 ++fp; 47 while (is_digit(*fp)) 48 *tp++ = *fp++; 49 if (*fp [all...] |
/macosx-10.9.5/system_cmds-597.90.1/zic.tproj/ |
H A D | scheck.c | 22 register const char * fp; local 35 fp = format; 37 while ((*tp++ = c = *fp++) != '\0') { 40 if (*fp == '%') { 41 *tp++ = *fp++; 45 if (*fp == '*') 46 ++fp; 47 while (is_digit(*fp)) 48 *tp++ = *fp++; 49 if (*fp [all...] |
/macosx-10.9.5/ICU-511.35/icuSources/test/testdata/ |
H A D | NumberFormatTestCases.txt | 15 fp: "0.####" 0.10005 "0.1" 0.1 16 fp: - 0.10006 "0.1001" 0.1001 18 fp: "#.####" 0.10005 "0.1" 0.1 25 fp: "@@@" 1.234567 "1.23" 1.23 26 fp: - 1234567 "1230000" 1230000 27 fp: - 0.012345 "0.0123" 0.0123 29 fp: "#,@@@" 1234567 "1,230,000" 1230000 32 fp: - 0.99999 "1.000" 1 36 fp: - 123456 "123500" 123500 37 fp [all...] |
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/misc/ |
H A D | fastfind.c | 164 register Find_t* fp; local 196 if (!(fp = (Find_t*)vmnewof(vm, 0, Find_t, 1, sizeof(Encode_t) - sizeof(Code_t)))) 198 fp->vm = vm; 199 fp->id = lib; 200 fp->disc = disc; 201 fp->generate = 1; 224 sfsprintf(fp->encode.file, sizeof(fp->encode.file), "%s/%s", path, findnames[k]); 225 if (!eaccess(fp->encode.file, R_OK|W_OK)) 227 path = fp 700 findread(register Find_t* fp) argument 948 findwrite(register Find_t* fp, const char* path, size_t len, const char* type) argument 1054 finddone(register Find_t* fp) argument 1086 findsync(register Find_t* fp) argument 1279 findclose(register Find_t* fp) argument [all...] |
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/libdes/src/ |
H A D | supp.c | 96 /* crypto/des/supp.c */
/* Copyright (C) 1995-1997 Eric Young (eay@mincom.oz.au)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@mincom.oz.au).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
* the following conditions are aheared to. The following conditions
* apply to all code found in this distribution, be it the RC4, RSA,
* lhash, DES, etc., code; not just the SSL code. The SSL documentation
* included with this distribution is covered by the same copyright terms
* except that the holder is Tim Hudson (tjh@mincom.oz.au).
*
* Copyright remains Eric Young's, and as such any Copyright notices in
* the code are not to be removed.
* If this package is used in a product, Eric Young should be given attribution
* as the author of the parts of the library used.
* This can be in the form of a textual message at program startup or
* in documentation (online or textual) provided with the package.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* "This product includes cryptographic software written by
* Eric Young (eay@mincom.oz.au)"
* The word 'cryptographic' can be left out if the rouines from the library
* being used are not cryptographic related :-).
* 4. If you include any Windows specific code (or a derivative thereof) from
* the apps directory (application code) you must include an acknowledgement:
* "This product includes software written by Tim Hudson (tjh@mincom.oz.au)"
*
* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* The licence and distribution terms for any publically available version or
* derivative of this code cannot be changed. i.e. this code cannot simply be
* copied and put under another distribution licence
* [including the GNU Public Licence.]
*/
/*
* Copyright (c) 1995
* Mark Murray. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by Mark Murray
* 4. Neither the name of the author nor the names of any co-contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY MARK MURRAY AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: supp.c,v 1.4 2005/01/10 19:09:08 snsimon Exp $
*/
#include <stdio.h>
#include "des_locl.h"
void des_cblock_print_file(cb, fp)
des_cblock *cb;
FILE *fp;
{
int i;
unsigned int *p = (unsigned int *)cb;
fprintf(fp, " 0x { ");
for (i = 0; i < 8; i++) {
fprintf(fp, "%x", p[i]);
if (i != 7) fprintf(fp, ", ");
}
fprintf(fp, " }");
}
|
/macosx-10.9.5/tcl-102/tcl_ext/tclx/tclx/library/ |
H A D | stringfile.tcl | 28 set fp [open $fileName] 30 set result [eval read $flag $fp $args] 32 close $fp 38 set fp [open $fileName w] 41 puts $fp $string 44 close $fp
|