/external/compiler-rt/test/tsan/ |
H A D | fd_pipe_norace.cc | 16 char buf; local 17 while (read(fds[0], &buf, 1) != 1) {
|
H A D | fd_socket_norace.cc | 41 char buf; local 42 while (read(c, &buf, 1) != 1) {
|
H A D | fd_socketpair_norace.cc | 19 char buf; local 20 while (read(fds[0], &buf, 1) != 1) {
|
H A D | fd_stdout_race.cc | 14 char buf; local 15 read(f, &buf, 1);
|
H A D | sunrpc.cc | 9 char buf[100]; local 10 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE);
|
H A D | user_fopen.cc | 26 char buf; local 27 fread(&buf, 1, 1, f);
|
H A D | vfork.cc | 18 char buf; local 19 while (read(fds[0], &buf, 1) != 1) {
|
/external/e2fsprogs/lib/e2p/ |
H A D | hashstr.c | 35 static char buf[20]; local 41 sprintf(buf, "HASHALG_%d", num); 42 return buf;
|
/external/e2fsprogs/lib/et/ |
H A D | et_name.c | 21 static char buf[6]; variable 30 p = buf; 41 return(buf);
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | ind_block.c | 22 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 D | fifo.c | 72 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 D | cf2read.h | 57 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 D | ByteProcessor.java | 37 * 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 D | capi.c | 13 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 D | testutil.cpp | 16 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 D | inet_proto.c | 25 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 D | ll_proto.c | 89 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 D | ll_types.c | 30 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 D | evt.c | 143 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 D | pbackfail.pass.cpp | 34 const char buf[] = "123"; local 35 test sb(buf, 0); 49 char buf[] = "123"; local 50 test sb(buf, 0);
|
H A D | underflow.pass.cpp | 34 char buf[10] = "123"; local 35 test sb(buf, 0, buf + 3);
|
/external/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/ |
H A D | seekoff.pass.cpp | 38 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 D | destroy.pass.cpp | 40 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 D | png-fix-itxt.c | 43 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 D | canonicalize_context.c | 16 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...] |