Searched refs:buf (Results 51 - 75 of 6143) sorted by relevance

1234567891011>>

/macosx-10.10/zlib-55/zlib/contrib/blast/
H A Dblast.h34 typedef unsigned (*blast_in)(void *how, unsigned char **buf);
35 typedef int (*blast_out)(void *how, unsigned char *buf, unsigned len);
48 * The input function is invoked: len = infun(how, &buf), where buf is set by
54 * The output function is invoked: err = outfun(how, buf, len), where the bytes
55 * to be written are buf[0..len-1]. If err is not zero, then blast() returns
/macosx-10.10/Heimdal-398.1.2/lib/hcrypto/libtommath/mtest/
H A Dmtest.c47 unsigned char buf[2048]; local
50 buf[0] = (fgetc(rng)&1)?1:0;
51 fread(buf+1, 1, size, rng);
52 while (buf[1] == 0) buf[1] = fgetc(rng);
53 mp_read_raw(a, buf, 1+size);
59 unsigned char buf[2048]; local
62 buf[0] = (fgetc(rng)&1)?1:0;
63 fread(buf+1, 1, size, rng);
64 while (buf[
75 char buf[4096]; local
[all...]
/macosx-10.10/file_cmds-242/dd/
H A Dmisc.c64 char buf[100]; local
71 (void)snprintf(buf, sizeof(buf),
74 (void)write(STDERR_FILENO, buf, strlen(buf));
76 (void)snprintf(buf, sizeof(buf), "%qu odd length swab %s\n",
78 (void)write(STDERR_FILENO, buf, strlen(buf));
81 (void)snprintf(buf, sizeo
[all...]
/macosx-10.10/postfix-255/postfix/src/util/
H A Dreadlline.c9 /* VSTRING *readlline(buf, fp, lineno)
10 /* VSTRING *buf;
26 /* .IP buf
71 VSTRING *readlline(VSTRING *buf, VSTREAM *fp, int *lineno) argument
78 VSTRING_RESET(buf);
86 start = LEN(buf);
88 VSTRING_ADDCH(buf, ch);
92 for (cp = STR(buf) + start; cp < END(buf) && ISSPACE(*cp); cp++)
94 if (cp == END(buf) || *c
[all...]
H A Dline_number.c52 static VSTRING *buf; local
58 if (buf == 0)
59 buf = vstring_alloc(10);
60 result = buf;
/macosx-10.10/ICU-531.30/icuSources/tools/toolutil/
H A Ducbuf.c161 ucbuf_fillucbuf( UCHARBUF* buf,UErrorCode* error){ argument
172 pTarget = buf->buffer;
174 if(buf->currentPos<buf->bufLimit){
175 offset = (int32_t)(buf->bufLimit-buf->currentPos);
176 memmove(buf->buffer,buf->currentPos,offset* sizeof(UChar));
182 if(buf->isBuffered){
185 inputRead=T_FileStream_read(buf
324 ucbuf_getc(UCHARBUF* buf,UErrorCode* error) argument
343 ucbuf_getc32(UCHARBUF* buf,UErrorCode* error) argument
374 ucbuf_getcx32(UCHARBUF* buf,UErrorCode* error) argument
468 UCHARBUF* buf =(UCHARBUF*) uprv_malloc(sizeof(UCHARBUF)); local
538 ucbuf_ungetc(int32_t c,UCHARBUF* buf) argument
555 ucbuf_closebuf(UCHARBUF* buf) argument
562 ucbuf_close(UCHARBUF* buf) argument
575 ucbuf_rewind(UCHARBUF* buf,UErrorCode* error) argument
614 ucbuf_size(UCHARBUF* buf) argument
626 ucbuf_getBuffer(UCHARBUF* buf,int32_t* len,UErrorCode* error) argument
715 ucbuf_readline(UCHARBUF* buf,int32_t* len,UErrorCode* err) argument
[all...]
/macosx-10.10/cxxfilt-11/cxxfilt/opcodes/
H A Dz80-dis.c57 fetch_data (struct buffer *buf, disassemble_info * info, int n)
61 if (buf->n_fetch + n > 4)
64 r = info->read_memory_func (buf->base + buf->n_fetch,
65 (unsigned char*) buf->data + buf->n_fetch,
68 buf->n_fetch += n;
73 prt (struct buffer *buf, disassemble_info * info, char *txt)
76 buf->n_used = buf
56 fetch_data(struct buffer *buf, disassemble_info * info, int n) argument
72 prt(struct buffer *buf, disassemble_info * info, char *txt) argument
80 prt_e(struct buffer *buf, disassemble_info * info, char *txt) argument
99 jr_cc(struct buffer *buf, disassemble_info * info, char *txt) argument
108 prt_nn(struct buffer *buf, disassemble_info * info, char *txt) argument
126 prt_rr_nn(struct buffer *buf, disassemble_info * info, char *txt) argument
135 prt_rr(struct buffer *buf, disassemble_info * info, char *txt) argument
144 prt_n(struct buffer *buf, disassemble_info * info, char *txt) argument
164 ld_r_n(struct buffer *buf, disassemble_info * info, char *txt) argument
173 prt_r(struct buffer *buf, disassemble_info * info, char *txt) argument
182 ld_r_r(struct buffer *buf, disassemble_info * info, char *txt) argument
192 arit_r(struct buffer *buf, disassemble_info * info, char *txt) argument
202 prt_cc(struct buffer *buf, disassemble_info * info, char *txt) argument
211 pop_rr(struct buffer *buf, disassemble_info * info, char *txt) argument
223 jp_cc_nn(struct buffer *buf, disassemble_info * info, char *txt) argument
233 arit_n(struct buffer *buf, disassemble_info * info, char *txt) argument
242 rst(struct buffer *buf, disassemble_info * info, char *txt) argument
251 cis(struct buffer *buf, disassemble_info * info, char *txt ATTRIBUTE_UNUSED) argument
268 dump(struct buffer *buf, disassemble_info * info, char *txt) argument
311 pref_ed(struct buffer * buf, disassemble_info * info, char* txt ATTRIBUTE_UNUSED) argument
337 pref_cb(struct buffer * buf, disassemble_info * info, char* txt ATTRIBUTE_UNUSED) argument
360 addvv(struct buffer * buf, disassemble_info * info, char* txt) argument
368 ld_v_v(struct buffer * buf, disassemble_info * info, char* txt) argument
377 prt_d(struct buffer *buf, disassemble_info * info, char *txt) argument
397 prt_d_n(struct buffer *buf, disassemble_info * info, char *txt) argument
418 arit_d(struct buffer *buf, disassemble_info * info, char *txt) argument
429 ld_r_d(struct buffer *buf, disassemble_info * info, char *txt) argument
440 ld_d_r(struct buffer *buf, disassemble_info * info, char *txt) argument
451 pref_xd_cb(struct buffer * buf, disassemble_info * info, char* txt) argument
521 pref_ind(struct buffer * buf, disassemble_info * info, char* txt) argument
605 struct buffer buf; local
[all...]
/macosx-10.10/BerkeleyDB-21/db/os_brew/
H A Dfwrite.c21 fwrite(buf, size, count, fp)
22 const void *buf;
27 DBGPRINTF("%.*s", (int)count, buf);
30 return ((size_t)IFILE_Write(fp, buf, size * count) / size);
/macosx-10.10/Libc-1044.1.2/include/
H A Dsgtty.h51 #define gtty(fd, buf) ioctl(fd, TIOCGETP, buf)
52 #define stty(fd, buf) ioctl(fd, TIOCSETP, buf)
/macosx-10.10/OpenSSL098-52/src/crypto/ui/
H A Dui_compat.c59 int _ossl_old_des_read_pw_string(char *buf,int length,const char *prompt,int verify) argument
61 return UI_UTIL_read_pw_string(buf, length, prompt, verify);
64 int _ossl_old_des_read_pw(char *buf,char *buff,int size,const char *prompt,int verify) argument
66 return UI_UTIL_read_pw(buf, buff, size, prompt, verify);
/macosx-10.10/expat-12/expat/xmlwf/
H A Dxmlmime.h10 buf contains the body of the header field (the part after "Content-Type:").
15 void getXMLCharset(const char *buf, char *charset);
/macosx-10.10/ipsec-286.1.1/ipsec-tools/setkey/
H A Dvchar.h37 caddr_t buf; member in struct:__anon9235
/macosx-10.10/ksh-23/ksh/src/lib/libast/vec/
H A Dvecstring.c40 register char* buf; local
43 if (!str || !*str || !(buf = strdup(str))) vec = 0;
44 else if (!(vec = vecload(buf))) free(buf);
/macosx-10.10/sudo-73/src/
H A Dgetline.c52 char *buf; local
56 buf = fgetln(fp, &len);
57 if (buf) {
64 memcpy(*bufp, buf, len);
67 return buf ? len : -1;
76 char *buf; local
80 buf = *bufp;
82 if (buf == NULL || bufsize == 0) {
84 buf = erealloc(buf, LINE_MA
[all...]
/macosx-10.10/tcl-105/tcl/tcl/win/
H A Dcat.c25 char buf[1024]; local
30 n = read(0, buf, sizeof(buf));
34 write(1, buf, n);
/macosx-10.10/tcl-105/tcl84/tcl/win/
H A Dcat.c21 char buf[1024]; local
26 n = read(0, buf, sizeof(buf));
30 write(1, buf, n);
/macosx-10.10/ksh-23/ksh/src/lib/libast/string/
H A Dfmtdev.c37 char* buf; local
46 buf = fmtbuf(z = 17);
53 buf[0] = ma;
54 buf[1] = mi;
55 buf[2] = 0;
58 sfsprintf(buf, z, "%03d,%03d", ma, mi);
59 return buf;
H A Dfmtip4.c34 char* buf; local
38 buf = fmtbuf(z = 20);
39 i = sfsprintf(buf, z, "%d.%d.%d.%d", (addr>>24)&0xff, (addr>>16)&0xff, (addr>>8)&0xff, (addr)&0xff);
41 sfsprintf(buf + i, z - i, "/%d", bits);
42 return buf;
/macosx-10.10/xnu-2782.1.97/libkern/net/
H A Dinet_ntoa.c37 static char buf[4*sizeof "123"]; local
40 snprintf(buf, sizeof(buf), "%d.%d.%d.%d",
45 return buf;
49 inet_ntoa_r(struct in_addr ina, char *buf, size_t buflen) argument
53 snprintf(buf, buflen, "%d.%d.%d.%d",
58 return buf;
/macosx-10.10/ksh-23/ksh/src/lib/libast/astsa/
H A Dast.c49 static char* buf; local
52 if (!buf)
55 if (!(buf = newof(0, char, siz, 0)))
59 return *buf ? buf : (char*)0;
60 s = buf;
67 if (!(buf = newof(buf, char, siz, 0)))
69 s = buf + (siz - CHUNK);
84 return buf;
[all...]
/macosx-10.10/libiconv-42/libiconv/lib/
H A Dbig5_2003.h273 unsigned char buf[2]; local
284 if (wc == 0x00a8) { buf[0] = 0xc6; buf[1] = 0xd8; ret = 2; break; }
289 if (wc == 0x02cd) { buf[0] = 0xa1; buf[1] = 0xc5; ret = 2; break; }
294 if (wc == 0x2015) { buf[0] = 0xa1; buf[1] = 0x56; ret = 2; break; }
295 if (wc == 0x2027) { buf[0] = 0xa1; buf[1] = 0x45; ret = 2; break; }
296 if (wc == 0x20ac) { buf[
[all...]
/macosx-10.10/BerkeleyDB-21/db/os/
H A Dos_errno.c106 __os_strerror(error, buf, len)
108 char *buf;
112 (void)strncpy(buf, strerror(error), len - 1);
113 buf[len - 1] = '\0';
115 return (buf);
/macosx-10.10/ksh-23/ksh/src/lib/libast/regex/
H A Dregfatal.c35 char buf[128]; local
37 regerror(code, p, buf, sizeof(buf));
40 error(level, "regular expression: %s: %s", pat, buf);
42 error(level, "regular expression: %s", buf);
/macosx-10.10/ksh-23/ksh/src/lib/libdll/
H A Ddlllook.c38 char buf[256]; local
40 if (!(addr = dlsym(dll, name)) && strlen(name) < (sizeof(buf) - 2))
42 buf[0] = '_';
43 strcpy(buf + 1, name);
44 name = (const char*)buf;
/macosx-10.10/ntp-92/libntp/
H A Drefnumtoa.c16 register char *buf; local
19 LIB_GETBUF(buf);
26 snprintf(buf, LIB_BUFLENGTH, "%s(%lu)",
29 snprintf(buf, LIB_BUFLENGTH, "REFCLK(%lu,%lu)",
35 return buf;

Completed in 165 milliseconds

1234567891011>>