HomeSort by relevance Sort by last modified time
    Searched refs:write_buf (Results 1 - 25 of 90) sorted by null

1 2 3 4

  /external/clang/test/CodeGen/
2003-11-19-BitFieldArray.c 4 int write_buf; member in struct:_GIOChannel
  /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 67 char write_buf[] = "Testing"; local
74 SAFE_WRITE(cleanup, 1, fildes[1], write_buf, sizeof(write_buf));
92 SAFE_READ(cleanup, 1, fildes[0], read_buf, sizeof(write_buf));
  /external/ltp/testcases/kernel/syscalls/pread/
pread01.c 91 char *write_buf[NBUFS]; /* buffer to hold data to be written */ variable
209 if ((nwrite = pwrite(fildes, write_buf[0], K1, 0)) != K1) {
221 if ((nwrite = pwrite(fildes, write_buf[2], K1, K2)) != K1) {
237 if ((nwrite = write(fildes, write_buf[3], K1)) != K1) {
246 if ((nwrite = pwrite(fildes, write_buf[1], K1, K1)) != K1) {
254 * init_buffers - allocates both write_buf and read_buf arrays.
258 * write_buf[0] has 0's, write_buf[1] has 1's, write_buf[2] has 2's
259 * write_buf[3] has 3's
    [all...]
pread02.c 83 char *write_buf[NBUFS]; /* buffer to hold data to be written */ variable
220 if (write(pfd[1], write_buf[0], K1) != K1) {
250 * init_buffers() - allocate/Initialize write_buf array.
254 * write_buf[0] has 0's, write_buf[1] has 1's, write_buf[2] has 2's
255 * write_buf[3] has 3's.
263 write_buf[count] = malloc(K1);
266 if ((write_buf[count] == NULL) || (read_buf[count] == NULL)) {
270 memset(write_buf[count], count, K1)
    [all...]
  /external/ltp/testcases/kernel/syscalls/pwrite/
pwrite01.c 93 char *write_buf[NBUFS]; /* buffer to hold data to be written */ variable
118 nwrite = pwrite(fildes, write_buf[0], K1, 0);
140 nwrite = pwrite(fildes, write_buf[2], K1, K2);
159 nwrite = write(fildes, write_buf[3], K1);
170 nwrite = pwrite(fildes, write_buf[1], K1, K1);
182 * write_buf[] contents.
221 * init_buffers() - allocate/Initialize write_buf array.
225 * 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));
  /external/ltp/testcases/kernel/syscalls/lseek/
lseek06.c 161 char write_buf[BUFSIZ]; /* buffer to hold data */ local
170 strcpy(write_buf, "abcdefg");
180 if (write(fildes, write_buf, strlen(write_buf)) != strlen(write_buf)) {
lseek08.c 155 char write_buf[BUFSIZ]; /* buffer to hold data */ local
164 strcpy(write_buf, "abcdefg\n");
174 if (write(fildes, write_buf, strlen(write_buf)) <= 0) {
lseek09.c 175 char write_buf[BUFSIZ]; /* buffer to hold data */ local
184 strcpy(write_buf, "abcdefg");
194 if (write(fildes, write_buf, strlen(write_buf)) <= 0) {
  /external/ltp/testcases/kernel/syscalls/epoll_wait/
epoll_wait01.c 161 char write_buf[write_size]; local
162 char read_buf[sizeof(write_buf)];
164 memset(write_buf, 'a', sizeof(write_buf));
166 SAFE_WRITE(cleanup, 1, fds[1], write_buf, sizeof(write_buf));
196 SAFE_READ(cleanup, 1, fds[0], read_buf, sizeof(write_buf));
201 char write_buf[] = "Testing"; local
202 char read_buf[sizeof(write_buf)];
204 SAFE_WRITE(cleanup, 1, fds[1], write_buf, sizeof(write_buf))
    [all...]
  /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));
130 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)) {
  /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);
  /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;
  /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/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...]
  /system/connectivity/wifilogd/tests/
command_processor_unittest.cpp 73 [&accumulator](int /*fd*/, const void* write_buf, size_t buflen) {
74 accumulator.append(static_cast<const char*>(write_buf), buflen);
406 [&written_to_os](int /*fd*/, const void* write_buf, size_t buflen) {
407 written_to_os.append(static_cast<const char*>(write_buf), buflen);
  /system/core/libziparchive/
zip_archive.cc 872 std::vector<uint8_t> write_buf(kBufSize);
885 zstream.next_out = &write_buf[0];
    [all...]
  /development/ndk/platforms/android-9/include/linux/mtd/
nand.h 185 void (*write_buf)(struct mtd_info *mtd, const uint8_t *buf, int len); member in struct:nand_chip
  /prebuilts/ndk/r10/platforms/android-12/arch-arm/usr/include/linux/mtd/
nand.h 185 void (*write_buf)(struct mtd_info *mtd, const uint8_t *buf, int len); member in struct:nand_chip
  /prebuilts/ndk/r10/platforms/android-12/arch-mips/usr/include/linux/mtd/
nand.h 185 void (*write_buf)(struct mtd_info *mtd, const uint8_t *buf, int len); member in struct:nand_chip
  /prebuilts/ndk/r10/platforms/android-12/arch-x86/usr/include/linux/mtd/
nand.h 185 void (*write_buf)(struct mtd_info *mtd, const uint8_t *buf, int len); member in struct:nand_chip

Completed in 1712 milliseconds

1 2 3 4