Searched defs:buf (Results 201 - 225 of 4210) sorted by relevance

1234567891011>>

/external/compiler-rt/test/tsan/
H A Dfd_pipe_norace.cc16 char buf; local
17 while (read(fds[0], &buf, 1) != 1) {
H A Dfd_socket_norace.cc41 char buf; local
42 while (read(c, &buf, 1) != 1) {
H A Dfd_socketpair_norace.cc19 char buf; local
20 while (read(fds[0], &buf, 1) != 1) {
H A Dfd_stdout_race.cc14 char buf; local
15 read(f, &buf, 1);
H A Dsunrpc.cc9 char buf[100]; local
10 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE);
H A Duser_fopen.cc26 char buf; local
27 fread(&buf, 1, 1, f);
H A Dvfork.cc18 char buf; local
19 while (read(fds[0], &buf, 1) != 1) {
/external/e2fsprogs/lib/e2p/
H A Dhashstr.c35 static char buf[20]; local
41 sprintf(buf, "HASHALG_%d", num);
42 return buf;
/external/e2fsprogs/lib/et/
H A Det_name.c21 static char buf[6]; variable
30 p = buf;
41 return(buf);
/external/e2fsprogs/lib/ext2fs/
H A Dind_block.c22 errcode_t ext2fs_read_ind_block(ext2_filsys fs, blk_t blk, void *buf) argument
33 memset(buf, 0, fs->blocksize);
35 retval = io_channel_read_blk(fs->io, blk, 1, buf);
40 block_nr = (blk_t *) buf;
47 errcode_t ext2fs_write_ind_block(ext2_filsys fs, blk_t blk, void *buf) argument
59 block_nr = (blk_t *) buf;
63 return io_channel_write_blk(fs->io, blk, 1, buf);
/external/fio/
H A Dfifo.c72 unsigned int fifo_get(struct fifo *fifo, void *buf, unsigned int len) argument
76 if (buf) {
83 memcpy(buf, fifo->buffer + (fifo->out & (fifo->size - 1)), l);
88 memcpy(buf + l, fifo->buffer, len - l);
/external/freetype/src/cff/
H A Dcf2read.h57 cf2_buf_readByte( CF2_Buffer buf ); variable
59 cf2_buf_isEnd( CF2_Buffer buf ); variable
/external/guava/guava/src/com/google/common/io/
H A DByteProcessor.java37 * from {@code buf[off]} through {@code buf[off + len - 1]}
40 * @param buf the byte array containing the data to process
45 boolean processBytes(byte[] buf, int off, int len) throws IOException; argument
/external/icu/icu4c/source/samples/numfmt/
H A Dcapi.c13 char buf[256]; local
14 u_austrcpy(buf, str);
15 printf("%s", buf);
24 UChar buf[256]; local
64 needed = unum_formatDouble(fmt, a, buf, 256, NULL, &status);
72 uprintf(buf);
/external/icu/icu4c/source/test/intltest/
H A Dtestutil.cpp16 UnicodeString &TestUtility::appendHex(UnicodeString &buf, UChar32 ch) { argument
19 buf.append(HEX[0xF&(ch>>20)]);
21 buf.append(HEX[0xF&(ch>>16)]);
23 buf.append(HEX[0xF&(ch>>12)]);
24 buf.append(HEX[0xF&(ch>>8)]);
25 buf.append(HEX[0xF&(ch>>4)]);
26 buf.append(HEX[0xF&ch]);
27 return buf;
31 UnicodeString buf; local
32 appendHex(buf, c
55 UnicodeString buf; local
[all...]
/external/iproute2/lib/
H A Dinet_proto.c25 char *inet_proto_n2a(int proto, char *buf, int len) argument
38 strncpy(buf, pe->p_name, len);
39 return buf;
41 snprintf(buf, len, "ipproto-%d", proto);
42 return buf;
45 int inet_proto_a2n(char *buf) argument
51 if (icache>=0 && strcmp(ncache, buf) == 0)
54 if (buf[0] >= '0' && buf[0] <= '9') {
56 if (get_u8(&ret, buf, 1
[all...]
H A Dll_proto.c89 const char * ll_proto_n2a(unsigned short id, char *buf, int len) argument
99 snprintf(buf, len, "[%d]", id);
100 return buf;
103 int ll_proto_a2n(unsigned short *id, char *buf) argument
107 if (strcasecmp(llproto_names[i].name, buf) == 0) {
112 if (get_u16(id, buf, 0))
H A Dll_types.c30 const char * ll_type_n2a(int type, char *buf, int len) argument
117 snprintf(buf, len, "[%d]", type);
118 return buf;
/external/ipsec-tools/src/racoon/
H A Devt.c143 vchar_t *buf = NULL; local
146 if ((buf = vmalloc(evtdump->len)) == NULL) {
151 memcpy(buf->v, evtdump, evtdump->len);
155 return buf;
/external/libcxx/test/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/
H A Dpbackfail.pass.cpp34 const char buf[] = "123"; local
35 test sb(buf, 0);
49 char buf[] = "123"; local
50 test sb(buf, 0);
H A Dunderflow.pass.cpp34 char buf[10] = "123"; local
35 test sb(buf, 0, buf + 3);
/external/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/
H A Dseekoff.pass.cpp38 wchar_t buf[10]; local
44 f.pubsetbuf(buf, sizeof(buf)/sizeof(buf[0]));
46 assert(buf[0] == L'v');
/external/libcxx/test/utilities/allocator.adaptor/allocator.adaptor.members/
H A Ddestroy.pass.cpp40 char buf[100]; local
42 S* s = (S*)buf;
53 char buf[100]; local
55 S* s = (S*)buf;
/external/libpng/contrib/tools/
H A Dpng-fix-itxt.c43 unsigned char buf[MAX_LENGTH]; local
60 c=GETBREAK; buf[0] = c; length = c; length <<= 8;
61 c=GETBREAK; buf[1] = c; length += c; length <<= 8;
62 c=GETBREAK; buf[2] = c; length += c; length <<= 8;
63 c=GETBREAK; buf[3] = c; length += c;
66 c=GETBREAK; buf[4] = c;
67 c=GETBREAK; buf[5] = c;
68 c=GETBREAK; buf[6] = c;
69 c=GETBREAK; buf[7] = c;
73 if (buf[
[all...]
/external/libselinux/src/
H A Dcanonicalize_context.c16 char *buf; local
31 buf = malloc(size);
32 if (!buf) {
36 strncpy(buf, con, size);
38 ret = write(fd, buf, strlen(buf) + 1);
42 memset(buf, 0, size);
43 ret = read(fd, buf, size - 1);
47 strncpy(buf, con, size);
50 *canoncon = strdup(buf);
[all...]

Completed in 8623 milliseconds

1234567891011>>