/external/clang/test/CodeGen/ |
2003-11-19-BitFieldArray.c | 4 int write_buf; member in struct:_GIOChannel
|
/external/libxcam/xcore/ |
image_file_handle.cpp | 71 ImageFileHandle::write_buf (const SmartPtr<VideoBuffer> &buf) function in class:XCam::ImageFileHandle
|
/external/ltp/testcases/kernel/syscalls/epoll_ctl/ |
epoll_ctl01.c | 89 char write_buf[] = "test"; local 90 char read_buf[sizeof(write_buf)]; 97 SAFE_WRITE(1, fd[1], write_buf, sizeof(write_buf)); 132 SAFE_READ(1, fd[0], read_buf, sizeof(write_buf));
|
/external/ltp/testcases/kernel/syscalls/mmap/ |
mmap01.c | 147 char write_buf[] = "hello world\n"; local 167 if (write(fildes, write_buf, strlen(write_buf)) != strlen(write_buf)) {
|
/external/ltp/testcases/kernel/syscalls/msync/ |
msync02.c | 83 char write_buf[10] = "Testing"; /* buffer to hold data to be written */ variable 98 else if (memcmp(addr + 100, write_buf, strlen(write_buf)) != 0) 142 /* Write the string in write_buf at the 100 byte offset */ 143 if (write(fildes, write_buf, strlen(write_buf)) != strlen(write_buf))
|
msync01.c | 84 char write_buf[BUF_SIZE]; /* buffer to hold data to be written */ variable 171 nwrite = write(fildes, write_buf, sizeof(write_buf));
|
msync03.c | 109 char write_buf[BUF_SIZE]; local 122 memset(write_buf, 'a', BUF_SIZE); 124 SAFE_WRITE(cleanup, 1, fd, write_buf, BUF_SIZE);
|
/external/ltp/testcases/kernel/syscalls/poll/ |
poll01.c | 60 char write_buf[] = "Testing"; local 67 SAFE_WRITE(1, fildes[1], write_buf, sizeof(write_buf)); 85 SAFE_READ(1, fildes[0], read_buf, sizeof(write_buf));
|
/external/ltp/testcases/kernel/syscalls/epoll_wait/ |
epoll_wait01.c | 142 char write_buf[write_size]; local 143 char read_buf[sizeof(write_buf)]; 146 memset(write_buf, 'a', sizeof(write_buf)); 148 SAFE_WRITE(1, fds[1], write_buf, sizeof(write_buf)); 178 SAFE_READ(1, fds[0], read_buf, sizeof(write_buf)); 183 char write_buf[] = "Testing"; local 184 char read_buf[sizeof(write_buf)]; 188 SAFE_WRITE(1, fds[1], write_buf, sizeof(write_buf)) [all...] |
/external/ltp/testcases/kernel/syscalls/pread/ |
pread01.c | 92 char *write_buf[NBUFS]; /* buffer to hold data to be written */ variable 210 if ((nwrite = pwrite(fildes, write_buf[0], K1, 0)) != K1) { 222 if ((nwrite = pwrite(fildes, write_buf[2], K1, K2)) != K1) { 238 if ((nwrite = write(fildes, write_buf[3], K1)) != K1) { 247 if ((nwrite = pwrite(fildes, write_buf[1], K1, K1)) != K1) { 255 * init_buffers - allocates both write_buf and read_buf arrays. 259 * write_buf[0] has 0's, write_buf[1] has 1's, write_buf[2] has 2's 260 * write_buf[3] has 3's [all...] |
pread02.c | 84 char *write_buf[NBUFS]; /* buffer to hold data to be written */ variable 218 if (write(pfd[1], write_buf[0], K1) != K1) { 248 * init_buffers() - allocate/Initialize write_buf array. 252 * write_buf[0] has 0's, write_buf[1] has 1's, write_buf[2] has 2's 253 * write_buf[3] has 3's. 261 write_buf[count] = malloc(K1); 264 if ((write_buf[count] == NULL) || (read_buf[count] == NULL)) { 268 memset(write_buf[count], count, K1) [all...] |
/external/ltp/testcases/kernel/syscalls/pwrite/ |
pwrite01.c | 94 char *write_buf[NBUFS]; /* buffer to hold data to be written */ variable 119 nwrite = pwrite(fildes, write_buf[0], K1, 0); 141 nwrite = pwrite(fildes, write_buf[2], K1, K2); 160 nwrite = write(fildes, write_buf[3], K1); 171 nwrite = pwrite(fildes, write_buf[1], K1, K1); 183 * write_buf[] contents. 222 * init_buffers() - allocate/Initialize write_buf array. 226 * write_buf[0] has 0's, write_buf[1] has 1's, write_buf[2] has 2' [all...] |
pwrite02.c | 48 static char write_buf[K1]; variable 125 memset(write_buf, 'a', K1); 151 TEST(pwrite(pipe_fds[1], write_buf, K1, 0)); 166 TEST(pwrite(fd, write_buf, K1, -1)); 177 TEST(pwrite(fd, write_buf, K1, 0)); 188 TEST(pwrite(fd, write_buf, K1, 0));
|
/system/core/trusty/storage/proxy/ |
rpmb.c | 100 const uint8_t *write_buf = req->payload; local 113 mmc_ioc_cmd_set_data((*cmd), write_buf); 116 print_buf("request: ", write_buf, req->reliable_write_size); 118 write_buf += req->reliable_write_size; 135 mmc_ioc_cmd_set_data((*cmd), write_buf); 138 print_buf("request: ", write_buf, req->write_size); 140 write_buf += req->write_size;
|
/system/extras/tests/directiotest/ |
directiotest.c | 176 void *read_buf = NULL, *write_buf = NULL; local 213 write_buf = pagealign_alloc(test_size); 214 if (!read_buf || !write_buf) { 239 init_test_buf(write_buf, cur_blk, test_size); 241 if (do_write(fd, write_buf, cur_blk * blk_size, test_size) != 252 if (memcmp(write_buf, read_buf, test_size)) { 256 dump_hex(write_buf, test_size); 269 if (write_buf) 270 pagealign_free(write_buf, test_size);
|
/external/libxcam/modules/soft/ |
soft_image.h | 307 inline XCamReturn write_buf (const SmartPtr<SoftImageT> &buf); 337 SoftImageFile<SoftImageT>::write_buf (const SmartPtr<SoftImageT> &buf) function in class:XCam::SoftImageFile
|
/external/libxkbcommon/xkbcommon/src/xkbcomp/ |
keymap-dump.c | 118 #define write_buf(buf, ...) do { \ macro 134 write_buf(buf, "\tvirtual_modifiers "); 136 write_buf(buf, ","); 137 write_buf(buf, "%s", xkb_atom_text(keymap->ctx, mod->name)); 142 write_buf(buf, ";\n\n"); 155 write_buf(buf, "xkb_keycodes \"%s\" {\n", 158 write_buf(buf, "xkb_keycodes {\n"); 164 write_buf(buf, "\tminimum = %u;\n", min(keymap->min_key_code, 8)); 165 write_buf(buf, "\tmaximum = %u;\n", max(keymap->max_key_code, 255)); 171 write_buf(buf, "\t%-20s = %u;\n" [all...] |
/external/e2fsprogs/lib/ext2fs/ |
ext_attr.c | 113 char *write_buf; local 116 retval = ext2fs_get_mem(fs->blocksize, &write_buf); 119 ext2fs_swap_ext_attr(write_buf, inbuf, fs->blocksize, 1); 121 write_buf = (char *) inbuf; 125 (struct ext2_ext_attr_header *)write_buf); 129 retval = io_channel_write_blk64(fs->io, block, 1, write_buf); 131 ext2fs_free_mem(&write_buf);
|
/external/libxcam/tests/ |
test-soft-image.cpp | 111 XCamReturn write_buf (); 205 SoftElement::write_buf () { function in class:SoftElement 206 return _file.write_buf (_buf); 384 outs[i]->write_buf (); 718 outs[0]->write_buf (); 731 outs[0]->write_buf ();
|
/external/valgrind/coregrind/ |
vgdb.c | 384 Bool write_buf(int fd, const char* buf, int size, const char* desc, Bool notify) function 445 return write_buf(to_pid, buf, nrread, "to_pid", /* notify */ True); 469 return write_buf(to_gdb, buf, nrread, "to_gdb", /* notify */ False); 671 write_buf(sigusr1_fd, &control_c, 1, 963 while (!write_buf(to_pid, buf, 1, 977 write_buf(to_pid, "$QStartNoAckMode#b0", 19, "write start no ack mode", [all...] |
/external/selinux/libsemanage/src/ |
semanage_store.c | 1651 char write_buf[32]; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
cPickle.c | 349 char *write_buf;
member in struct:Picklerobject 484 py_str = PyString_FromStringAndSize(self->write_buf,
501 memcpy(self->write_buf + self->buf_size, s, n);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
cPickle.c | 351 char *write_buf;
member in struct:Picklerobject 487 py_str = PyString_FromStringAndSize(self->write_buf,
504 memcpy(self->write_buf + self->buf_size, s, n);
[all...] |
/external/opencv/cxcore/src/ |
cxpersistence.cpp | 4489 char* write_buf = 0; local [all...] |
/external/python/cpython2/Modules/ |
cPickle.c | 349 char *write_buf; member in struct:Picklerobject 484 py_str = PyString_FromStringAndSize(self->write_buf, 501 memcpy(self->write_buf + self->buf_size, s, n); [all...] |