HomeSort by relevance Sort by last modified time
    Searched full:read_buf (Results 1 - 25 of 109) sorted by null

1 2 3 4 5

  /external/ltp/testcases/kernel/syscalls/lseek/
lseek01.c 51 char read_buf[64]; local
55 SAFE_READ(0, fd, read_buf, sizeof(read_buf));
57 memset(read_buf, 0, sizeof(read_buf));
72 SAFE_READ(1, fd, read_buf, tc->exp_size);
74 if (tc->exp_data && strcmp(read_buf, tc->exp_data)) {
lseek07.c 51 char read_buf[64]; local
54 memset(read_buf, 0, sizeof(read_buf));
75 SAFE_READ(1, *tc->fd, read_buf, tc->exp_size);
77 if (strcmp(read_buf, tc->exp_data)) {
79 tc->fname, tc->off, read_buf);
82 tc->fname, tc->off, read_buf);
  /external/ltp/testcases/kernel/syscalls/llseek/
llseek03.c 107 static char read_buf[BUFSIZ]; local
113 SAFE_READ(cleanup, 1, fd, read_buf, 4);
127 memset(read_buf, 0, sizeof(read_buf));
130 SAFE_READ(cleanup, 1, fd, read_buf, 3);
132 if (strcmp(read_buf, "fgh"))
146 static char read_buf[BUFSIZ]; local
163 memset(read_buf, 0, sizeof(read_buf));
165 nread = SAFE_READ(cleanup, 0, fd, read_buf, file_size)
    [all...]
  /external/syslinux/core/legacynet/
idle.c 25 static __lowmem t_PXENV_UDP_READ read_buf; local
27 memset(&read_buf, 0, sizeof read_buf);
29 read_buf.src_ip = 0; /* Any destination */
30 read_buf.dest_ip = IPInfo.myip;
31 read_buf.s_port = 0; /* Any source port */
32 read_buf.d_port = htons(9); /* Discard port (not used...) */
33 read_buf.buffer_size = sizeof junk_pkt;
34 read_buf.buffer = FAR_PTR(junk_pkt);
36 pxe_call(PXENV_UDP_READ, &read_buf);
    [all...]
  /hardware/nxp/secure_element/ls_client/src/
LsLib.cpp 567 uint8_t read_buf[1024]; local
579 memcpy(read_buf, temp_buf, wNewLen);
584 status = LSC_ReadScript(Os_info, read_buf);
588 Check_Complete_7F21_Tag(Os_info, pTranscv_Info, read_buf, &offset)) {
597 else if (((read_buf[offset] == TAG_LSC_CMD_ID) &&
604 memset(read_buf, 0, sizeof(read_buf));
608 status = LSC_ReadScript(Os_info, read_buf);
610 if ((read_buf[offset] == TAG_JSBL_HDR_ID) &&
615 len_byte = Numof_lengthbytes(&read_buf[offset], &wLen)
    [all...]
  /external/honggfuzz/examples/terminal-emulators/
terminal-test.c 84 char read_buf[1024 * 1024]; local
85 ssize_t sz = read(fd_tty_read, read_buf, sizeof(read_buf));
108 .iov_base = (void*)read_buf,
  /external/llvm/test/CodeGen/ARM/
2011-06-29-MergeGlobalsAlign.ll 6 @read_buf = external global i32 (i8*, i32)*
  /external/swiftshader/third_party/LLVM/test/CodeGen/ARM/
2011-06-29-MergeGlobalsAlign.ll 8 @read_buf = external global i32 (i8*, i32)*
  /system/extras/tests/directiotest/
directiotest.c 176 void *read_buf = NULL, *write_buf = NULL; local
212 read_buf = pagealign_alloc(test_size);
214 if (!read_buf || !write_buf) {
246 if (do_read(fd, read_buf, cur_blk * blk_size, test_size) !=
252 if (memcmp(write_buf, read_buf, test_size)) {
258 dump_hex(read_buf, test_size);
267 if (read_buf)
268 pagealign_free(read_buf, test_size);
  /external/libese/third_party/NXPNFC_P61_JCOP_Kit/src/
Ala.cpp 1074 UINT8 read_buf[1024]; local
    [all...]
  /external/libese/third_party/NXPNFC_P61_JCOP_Kit/inc/
Ala.h 222 tJBL_STATUS Check_Certificate_Tag(UINT8 *read_buf, UINT16 *offset1);
224 tJBL_STATUS Check_SerialNo_Tag(UINT8 *read_buf, UINT16 *offset1);
226 tJBL_STATUS Check_LSRootID_Tag(UINT8 *read_buf, UINT16 *offset1);
228 tJBL_STATUS Check_CertHoldID_Tag(UINT8 *read_buf, UINT16 *offset1);
230 tJBL_STATUS Check_Date_Tag(UINT8 *read_buf, UINT16 *offset1);
232 tJBL_STATUS Check_45_Tag(UINT8 *read_buf, UINT16 *offset1, UINT8 *tag45Len);
235 *pTranscv_Info, UINT8 *read_buf, UINT16 *offset1, UINT8 *tag45Len);
238 Ala_TranscieveInfo_t *pTranscv_Info, UINT8 *read_buf, UINT16 *offset);
271 tJBL_STATUS ALA_ReadScript(Ala_ImageInfo_t *Os_info, UINT8 *read_buf);
281 UINT8 Numof_lengthbytes(UINT8 *read_buf, INT32 *wLen)
    [all...]
  /hardware/interfaces/bluetooth/1.0/default/test/
async_fd_watcher_unittest.cc 285 char read_buf[1] = {0};
286 int n = TEMP_FAILURE_RETRY(read(fd, read_buf, sizeof(read_buf)));
287 ASSERT_TRUE(n == sizeof(read_buf));
288 ASSERT_TRUE(read_buf[0] == '1');
293 char read_buf[1] = {0};
294 int n = TEMP_FAILURE_RETRY(read(fd, read_buf, sizeof(read_buf)));
295 ASSERT_TRUE(n == sizeof(read_buf));
296 ASSERT_TRUE(read_buf[0] == '2')
    [all...]
  /external/ltp/testcases/kernel/syscalls/epoll_wait/
epoll_wait01.c 52 char read_buf[write_size]; local
54 SAFE_READ(1, fds[0], read_buf, sizeof(read_buf));
143 char read_buf[sizeof(write_buf)]; local
178 SAFE_READ(1, fds[0], read_buf, sizeof(write_buf));
184 char read_buf[sizeof(write_buf)]; local
225 SAFE_READ(1, fds[0], read_buf, sizeof(write_buf));
  /system/extras/simpleperf/
UnixSocket_test.cpp 57 std::vector<char> read_buf; local
59 while (read_buf.size() < size) {
62 n = std::min(n, size - read_buf.size());
63 read_buf.insert(read_buf.end(), p, p + n);
68 Message* msg = reinterpret_cast<Message*>(read_buf.data());
71 msg = reinterpret_cast<Message*>(read_buf.data());
  /external/libmojo/mojo/edk/embedder/
platform_channel_pair_posix_unittest.cc 189 char read_buf[kNumHandlesToSend]; local
190 size_t bytes_read = fread(read_buf, 1, sizeof(read_buf), fp.get());
192 EXPECT_EQ(std::string(j + 1, c), std::string(read_buf, bytes_read));
252 char read_buf[100]; local
253 size_t bytes_read = fread(read_buf, 1, sizeof(read_buf), fp.get());
255 EXPECT_EQ(file_contents, std::string(read_buf, bytes_read));
  /external/ltp/testcases/kernel/syscalls/pread/
pread01.c 93 char *read_buf[NBUFS]; /* buffer to hold data read from file */ variable
118 nread = pread(fildes, read_buf[2], K1, K2);
136 nread = pread(fildes, read_buf[3], K1, K3);
150 if ((nread = read(fildes, read_buf[0], K1)) != K1) {
159 nread = pread(fildes, read_buf[1], K1, K1);
255 * init_buffers - allocates both write_buf and read_buf arrays.
269 read_buf[count] = malloc(K1);
271 if ((write_buf[count] == NULL) || (read_buf[count] == NULL)) {
313 if (memcmp(write_buf[count], read_buf[count], K1) != 0) {
340 free(read_buf[count])
    [all...]
pread03.c 90 char *read_buf[NBUFS]; /* buffer to hold data read from file */ variable
117 TEST(pread(fd1, read_buf[0], nbytes, offset));
187 read_buf[count] = malloc(K1);
189 if (read_buf[count] == NULL) {
208 free(read_buf[count]);
pread02.c 85 char *read_buf[NBUFS]; /* buffer to hold data read from file */ variable
146 TEST(pread(fildes, read_buf[0], nbytes, offset));
262 read_buf[count] = malloc(K1);
264 if ((write_buf[count] == NULL) || (read_buf[count] == NULL)) {
287 free(read_buf[count]);
  /hardware/nxp/secure_element/ls_client/inc/
LsLib.h 243 LSCSTATUS Check_Certificate_Tag(uint8_t* read_buf, uint16_t* offset1);
255 LSCSTATUS Check_SerialNo_Tag(uint8_t* read_buf, uint16_t* offset1);
267 LSCSTATUS Check_LSRootID_Tag(uint8_t* read_buf, uint16_t* offset1);
278 LSCSTATUS Check_CertHoldID_Tag(uint8_t* read_buf, uint16_t* offset1);
289 LSCSTATUS Check_Date_Tag(uint8_t* read_buf, uint16_t* offset1);
301 LSCSTATUS Check_45_Tag(uint8_t* read_buf, uint16_t* offset1, uint8_t* tag45Len);
315 uint8_t* read_buf, uint16_t* offset1,
330 uint8_t* read_buf, uint16_t* offset);
426 LSCSTATUS LSC_ReadScript(Lsc_ImageInfo_t* Os_info, uint8_t* read_buf);
462 uint8_t Numof_lengthbytes(uint8_t* read_buf, int32_t* wLen)
    [all...]
  /system/core/trusty/storage/proxy/
rpmb.c 53 static uint8_t read_buf[4096]; variable
147 req->read_size > sizeof(read_buf)) {
158 mmc_ioc_cmd_set_data((*cmd), read_buf);
174 print_buf("response: ", read_buf, req->read_size);
185 return ipc_respond(msg, read_buf, req->read_size);
  /external/libxcam/xcore/
fake_poll_thread.cpp 78 FakePollThread::read_buf (SmartPtr<VideoBuffer> &buf) function in class:XCam::FakePollThread
122 ret = read_buf (buf);
124 ret = read_buf (buf);
fake_poll_thread.h 49 XCamReturn read_buf (SmartPtr<VideoBuffer> &buf);
image_file_handle.h 38 XCamReturn read_buf (const SmartPtr<VideoBuffer> &buf);
  /external/ltp/testcases/kernel/syscalls/poll/
poll01.c 61 char read_buf[BUF_SIZE]; local
85 SAFE_READ(1, fildes[0], read_buf, sizeof(write_buf));
  /external/ltp/testcases/kernel/syscalls/msync/
msync01.c 92 char read_buf[BUF_SIZE]; /* buffer to hold data read from file */ local
119 nread = read(fildes, read_buf, sizeof(read_buf));
129 if (read_buf[count] != 1)

Completed in 798 milliseconds

1 2 3 4 5