Searched refs:buf (Results 101 - 125 of 6143) sorted by relevance

1234567891011>>

/macosx-10.10/ksh-23/ksh/src/lib/libast/string/
H A Dfmtbuf.c30 * only one concurrent buffer with size > sizeof(buf)
33 static char buf[16 * 1024]; variable
34 static char* nxt = buf;
47 if (n > (&buf[elementsof(buf)] - nxt))
49 if (n > elementsof(buf))
63 nxt = buf;
/macosx-10.10/ksh-23/ksh/src/lib/libast/vec/
H A Dvecfile.c42 register char* buf; local
50 if (!fstat(fd, &st) && S_ISREG(st.st_mode) && (n = st.st_size) > 0 && (buf = newof(0, char, n + 1, 0)))
52 if (read(fd, buf, n) == n)
54 buf[n] = 0;
55 vec = vecload(buf);
57 if (!vec) free(buf);
/macosx-10.10/ruby-106/ruby/ext/-test-/num2int/
H A Dnum2int.c6 char buf[128]; local
9 sprintf(buf, "%d", NUM2SHORT(num));
10 str = rb_str_new_cstr(buf);
18 char buf[128]; local
21 sprintf(buf, "%u", NUM2USHORT(num));
22 str = rb_str_new_cstr(buf);
30 char buf[128]; local
33 sprintf(buf, "%d", NUM2INT(num));
34 str = rb_str_new_cstr(buf);
42 char buf[12 local
54 char buf[128]; local
66 char buf[128]; local
79 char buf[128]; local
91 char buf[128]; local
[all...]
/macosx-10.10/swig-12/Lib/python/
H A Dpybuffer.i17 (int res, Py_ssize_t size = 0, void *buf = 0) {
18 res = PyObject_AsWriteBuffer($input, &buf, &size);
23 $1 = ($1_ltype) buf;
43 (int res, Py_ssize_t size = 0, void *buf = 0) {
44 res = PyObject_AsWriteBuffer($input, &buf, &size);
49 $1 = ($1_ltype) buf;
69 (int res, Py_ssize_t size = 0, const void *buf = 0) {
70 res = PyObject_AsReadBuffer($input, &buf, &size);
75 $1 = ($1_ltype) buf;
97 (int res, Py_ssize_t size = 0, const void *buf
[all...]
/macosx-10.10/tcl-105/tcl_ext/memchan/memchan/generic/
H A Dbuf.c2 * buf.c --
11 * RCS: @(#) $Id: buf.c,v 1.1 2000/09/26 21:17:49 aku Exp $
14 #include "buf.h"
21 #define ASSOC "memchan:buf"
39 Buf_Buffer buf; /* The buffer this position belongs to */ member in struct:BufferPosition_
158 Buf_IncrRefcount (buf)
159 Buf_Buffer buf;
161 ((Buffer*) buf)->refCount ++;
184 Buf_DecrRefcount (buf)
185 Buf_Buffer buf;
[all...]
/macosx-10.10/iodbc-42.5/iodbc/iodbcinst/
H A Dmisc.c140 _iodbcadm_getinifile (char *buf, int size, int bIsInst, int doCreate) argument
184 STRCPY (buf, ptr);
185 STRCAT (buf,
188 STRCPY (buf, ptr);
189 STRCAT (buf, bIsInst ? ":ODBC Installer Preferences" : ":ODBC Preferences");
210 return buf;
217 i = GetWindowsDirectory ((LPSTR) buf, size);
222 snprintf (buf + i, size - i, bIsInst ? "/odbcinst.ini" : "/odbc.ini");
224 return buf;
234 STRNCPY (buf, pt
414 _iodbcdm_getdsnfile(const char *filedsn, char *buf, size_t buf_sz) argument
[all...]
/macosx-10.10/AppleUSBIrDA-145.2.4/DumpLog/
H A Ddeltatime.c10 char buf[1000]; variable
21 while (fgets(buf, sizeof(buf), stdin) != NULL) { /* loop over input */
22 tf = index(buf, '.'); /* find the decimal */
25 printf("%s", buf);
29 ts = rindex(buf, ' '); /* look for start of seconds */
30 if (ts == NULL) ts = buf;
39 printf("%s", buf);
52 b1 = index(buf, '[');
53 b2 = index(buf, ']');
[all...]
/macosx-10.10/libiconv-42/libiconv/lib/
H A Deuc_tw.h39 unsigned char buf[2]; local
40 buf[0] = c-0x80; buf[1] = c2-0x80;
41 return cns11643_1_mbtowc(conv,pwc,buf,2);
56 unsigned char buf[2]; local
58 buf[0] = c3-0x80; buf[1] = c4-0x80;
60 case 1: ret = cns11643_1_mbtowc(conv,pwc,buf,2); break;
61 case 2: ret = cns11643_2_mbtowc(conv,pwc,buf,2); break;
62 case 3: ret = cns11643_3_mbtowc(conv,pwc,buf,
84 unsigned char buf[3]; local
[all...]
H A Ddec_kanji.h39 unsigned char buf[2]; local
40 buf[0] = c-0x80; buf[1] = c2-0x80;
41 return jisx0208_mbtowc(conv,pwc,buf,2);
51 unsigned char buf[2]; local
60 ret = jisx0208_wctomb(conv,buf,wc,2);
65 r[0] = buf[0]+0x80;
66 r[1] = buf[1]+0x80;
/macosx-10.10/tcl-105/tcl_ext/tclae/tclae/generic/
H A DAEPrintCarbon.c45 static OSErr printDesc( Buf *buf, const register AEDesc *desc );
61 Buf buf; local
65 buf.str = bufStr;
66 buf.len = bufSize -1;
69 return printDesc(&buf,desc);
77 Buf buf; local
82 buf.str = NULL;
83 buf.len = 0x7FFFFFF0;
85 err= printDesc(&buf,desc);
87 *stringLength = 0x7FFFFFF0 +1 - buf
103 bufput( register Buf *buf, void *data, register long len ) argument
122 bufputc( register Buf *buf, char c ) argument
136 bufputs( Buf *buf, register char *str ) argument
155 bufputOSType( Buf *buf, OSType type ) argument
191 bufputfloat( Buf *buf, float f ) argument
265 printDescList( Buf *buf, AEDescList *desc, DescType originalType ) argument
387 hexDumpDesc( Buf *buf, const AEDesc *desc ) argument
441 printDesc( Buf *buf, const register AEDesc *desc ) argument
[all...]
/macosx-10.10/Heimdal-398.1.2/lib/krb5/
H A Dnet_read.c39 void *buf,
43 return net_read(fd, buf, len);
37 krb5_net_read(krb5_context context, void *p_fd, void *buf, size_t len) argument
/macosx-10.10/Heimdal-398.1.2/lib/roken/
H A Deread.c43 eread (int fd, void *buf, size_t nbytes) argument
47 ret = net_read (fd, buf, nbytes);
H A Dewrite.c43 ewrite (int fd, const void *buf, size_t nbytes) argument
47 ret = net_write (fd, buf, nbytes);
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/libraries/liblutil/
H A Dsetproctitle.c52 char buf[ 1024 ]; local
57 buf[sizeof(buf) - 1] = '\0';
58 vsnprintf( buf, sizeof(buf)-1, fmt, ap );
69 i = strlen( buf );
72 buf[ i ] = '\0';
74 strcpy( s, buf );
/macosx-10.10/OpenSSH-189/openssh/openbsd-compat/
H A Dbsd-statvfs.c24 int statvfs(const char *path, struct statvfs *buf) argument
32 int fstatvfs(int fd, struct statvfs *buf) argument
/macosx-10.10/OpenSSL098-52/src/crypto/des/
H A Dread2pwd.c120 char buf[BUFSIZ],buff[BUFSIZ]; local
122 if ((ok=UI_UTIL_read_pw(buf,buff,BUFSIZ,prompt,verify)) == 0)
123 DES_string_to_key(buf,key);
124 OPENSSL_cleanse(buf,BUFSIZ);
133 char buf[BUFSIZ],buff[BUFSIZ]; local
135 if ((ok=UI_UTIL_read_pw(buf,buff,BUFSIZ,prompt,verify)) == 0)
136 DES_string_to_2keys(buf,key1,key2);
137 OPENSSL_cleanse(buf,BUFSIZ);
/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_csp/open_ssl/openssl/
H A Drand.h86 void (*seed)(const void *buf, int num);
87 int (*bytes)(unsigned char *buf, int num);
89 void (*add)(const void *buf, int num, double entropy);
90 int (*pseudorand)(unsigned char *buf, int num);
102 int RAND_bytes(unsigned char *buf,int num);
103 int RAND_pseudo_bytes(unsigned char *buf,int num);
104 void RAND_seed(const void *buf,int num);
105 void RAND_add(const void *buf,int num,double entropy);
/macosx-10.10/dcerpc-61/dcerpc/libdcethread/
H A Ddcethread_read.c90 dcethread_read(int fd, void *buf, size_t count) argument
92 DCETHREAD_SYSCALL(ssize_t, read(fd, buf, count));
H A Ddcethread_recv.c89 dcethread_recv(int s, void *buf, size_t len, int flags) argument
91 DCETHREAD_SYSCALL(ssize_t, recv(s, buf, len, flags));
H A Ddcethread_send.c89 dcethread_send(int s, const void *buf, size_t len, int flags) argument
91 DCETHREAD_SYSCALL(ssize_t, send(s, buf, len, flags));
H A Ddcethread_write.c90 dcethread_write(int fd, void *buf, size_t count) argument
92 DCETHREAD_SYSCALL(ssize_t, write(fd, buf, count));
/macosx-10.10/gnudiff-19/diffutils/lib/
H A Dinttostr.c28 inttostr (inttype i, char *buf) argument
30 char *p = buf + INT_STRLEN_BOUND (inttype);
/macosx-10.10/gnutar-453/gnutar/lib/
H A Dfull-write.h30 extern size_t full_write (int fd, const void *buf, size_t count);
H A Dinttostr.c30 inttostr (inttype i, char *buf) argument
32 char *p = buf + INT_STRLEN_BOUND (inttype);
/macosx-10.10/ksh-23/ksh/src/lib/libast/tm/
H A Dtmfmt.c33 * format date given clock into buf of length len
38 tmfmt(char* buf, size_t len, const char* format, time_t* clock) argument
40 return tmxfmt(buf, len, format, tmxclock(clock));

Completed in 324 milliseconds

1234567891011>>