HomeSort by relevance Sort by last modified time
    Searched full:buf_size (Results 201 - 225 of 1199) sorted by null

1 2 3 4 5 6 7 891011>>

  /art/runtime/base/unix_file/
random_access_file_test.h 84 const int buf_size = content.size() + 10; local
85 std::unique_ptr<char[]> buf(new char[buf_size]);
90 ASSERT_EQ(content.size(), static_cast<uint64_t>(file->Read(buf.get(), buf_size, 0)));
109 ASSERT_EQ(0, file->Read(buf.get(), buf_size, file->GetLength()));
110 ASSERT_EQ(0, file->Read(buf.get(), buf_size, file->GetLength() + 1));
  /external/libchrome/base/strings/
stringprintf.cc 22 // Overloaded wrappers around vsnprintf and vswprintf. The buf_size parameter
29 size_t buf_size,
32 return base::vsnprintf(buffer, buf_size, format, argptr);
37 size_t buf_size,
40 return base::vswprintf(buffer, buf_size, format, argptr);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/
14-1.c 38 #define BUF_SIZE 1024
83 bufs = malloc(NUM_AIOCBS * BUF_SIZE);
109 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE];
110 aiocbs[i]->aio_nbytes = BUF_SIZE;
171 if ((err != 0) && (ret != BUF_SIZE)) {
4-1.c 38 #define BUF_SIZE 1024
83 bufs = malloc(NUM_AIOCBS * BUF_SIZE);
106 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE];
107 aiocbs[i]->aio_nbytes = BUF_SIZE;
175 if ((err != 0) && (ret != BUF_SIZE)) {
7-1.c 39 #define BUF_SIZE 1024
84 bufs = malloc(NUM_AIOCBS * BUF_SIZE);
99 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE];
100 aiocbs[i]->aio_nbytes = BUF_SIZE;
170 if ((err != 0) && (ret != BUF_SIZE)) {
  /external/wpa_supplicant_8/src/common/
wpa_helpers.c 101 char *buf, size_t buf_size)
131 len = buf_size;
136 if (len == buf_size)
157 const char *event, char *buf, size_t buf_size)
159 return get_wpa_cli_event2(mon, event, NULL, buf, buf_size);
  /libcore/ojluni/src/main/native/
io_util.c 61 #define BUF_SIZE 8192
81 char stackBuf[BUF_SIZE];
97 } else if (len > BUF_SIZE) {
157 char stackBuf[BUF_SIZE];
173 } else if (len > BUF_SIZE) {
  /system/media/camera/tests/
camera_metadata_tests.cpp 116 size_t buf_size = calculate_camera_metadata_size(entry_capacity, local
119 EXPECT_TRUE(buf_size > 0);
121 buf = malloc(buf_size);
125 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity);
133 EXPECT_EQ(OK, validate_camera_metadata_structure(m, &buf_size));
145 size_t buf_size = calculate_camera_metadata_size(entry_capacity, local
148 EXPECT_GT(buf_size, (size_t)0);
150 buf_size--;
152 buf = malloc(buf_size);
156 m = place_camera_metadata(buf, buf_size, entry_capacity, data_capacity)
171 size_t buf_size = calculate_camera_metadata_size(entry_capacity, local
471 size_t buf_size = get_camera_metadata_compact_size(m); local
524 size_t buf_size = get_camera_metadata_compact_size(m); local
580 size_t buf_size = get_camera_metadata_compact_size(m); local
    [all...]
  /external/libexif/libexif/
exif-loader.h 107 * this #ExifLoader. Either or both of buf and buf_size may be NULL on
113 * \param[out] buf_size size of the data at buf, or 0 in case of error
116 unsigned int *buf_size);
  /external/ltp/testcases/kernel/syscalls/fstat/
fstat02.c 38 #define BUF_SIZE 256
112 char tst_buff[BUF_SIZE];
132 memset(tst_buff, 'a', BUF_SIZE - 1);
  /external/ltp/testcases/kernel/syscalls/stat/
stat01.c 38 #define BUF_SIZE 256
112 char tst_buff[BUF_SIZE];
133 memset(tst_buff, 'a', BUF_SIZE - 1);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/
3-1.c 47 #define BUF_SIZE (1024 * 1024)
109 aiocb->aio_buf = malloc(BUF_SIZE);
116 aiocb->aio_nbytes = BUF_SIZE;
4-1.c 45 #define BUF_SIZE (1024*1024)
80 aiocb[i]->aio_buf = malloc(BUF_SIZE);
86 aiocb[i]->aio_nbytes = BUF_SIZE;
6-1.c 46 #define BUF_SIZE 1024
81 aiocb[i]->aio_buf = malloc(BUF_SIZE);
87 aiocb[i]->aio_nbytes = BUF_SIZE;
7-1.c 44 #define BUF_SIZE 1024
81 aiocb[i]->aio_buf = malloc(BUF_SIZE);
90 aiocb[i]->aio_nbytes = BUF_SIZE;
  /external/ltp/testcases/kernel/syscalls/fallocate/
fallocate01.c 118 int buf_size; variable
176 buf_size = block_size;
185 char buf[buf_size + 1];
191 for (index = 0; index < buf_size; index++)
193 buf[buf_size] = '\0';
194 if ((data = write(fd, buf, buf_size)) == -1)
  /external/lz4/examples/
frameCompress.c 11 #define BUF_SIZE 16*1024
35 src = malloc(BUF_SIZE);
41 frame_size = LZ4F_compressBound(BUF_SIZE, &lz4_preferences);
58 k = fread(src, 1, BUF_SIZE, in);
131 void* const src = malloc(BUF_SIZE);
149 size_t srcSize = fread(src, 1, BUF_SIZE, in);
  /system/bt/hci/src/
hci_layer_linux.cc 110 const size_t buf_size = 2000; local
111 uint8_t buf[buf_size];
112 ssize_t len = read(fd, buf, buf_size);
115 if (len == buf_size)
121 size_t packet_size = buf_size + BT_HDR_SIZE;
163 len = read(fd, buf, buf_size);
  /system/core/libcutils/
fs.c 39 #define BUF_SIZE 64
128 char buf[BUF_SIZE];
129 if (TEMP_FAILURE_RETRY(read(fd, buf, BUF_SIZE)) == -1) {
159 char buf[BUF_SIZE];
160 int len = snprintf(buf, BUF_SIZE, "%d", value) + 1;
161 if (len > BUF_SIZE) {
  /external/ltp/testcases/kernel/syscalls/poll/
poll01.c 34 #define BUF_SIZE 512
68 char read_buf[BUF_SIZE];
  /external/valgrind/memcheck/tests/solaris/
name_service_door.c 50 size_t buf_size = sizeof(uint32_t); local
51 char *buf = malloc(buf_size);
59 params.data_size = buf_size;
63 params.rsize = buf_size;
77 size_t buf_size = sizeof(nss_pheader_t) + sizeof(nss_dbd_t); local
78 char *buf = malloc(buf_size);
96 params.data_size = buf_size;
100 params.rsize = buf_size;
  /external/harfbuzz_ng/src/
hb-buffer-serialize.cc 102 unsigned int buf_size,
167 if (buf_size > l)
171 buf_size -= l;
186 unsigned int buf_size,
237 if (buf_size > l)
241 buf_size -= l;
256 * @buf: (out) (array length=buf_size) (element-type uint8_t): output string to
258 * @buf_size: the size of @buf.
302 unsigned int buf_size,
331 buf, buf_size, buf_consumed
    [all...]
  /external/syslinux/gpxe/src/drivers/net/
mtnic.c 192 ring->buf_size = ring->size * ((is_rx) ? sizeof(struct mtnic_rx_desc) :
194 err = mtnic_alloc_aligned(ring->buf_size, (void *)&ring->buf,
198 ring->buf_size);
201 memset(ring->buf, 0, ring->buf_size);
204 "buf_size:%x dma:%lx\n",
206 ring->buf_size, ring->dma);
215 free_memblock(ring->buf, ring->buf_size);
233 free_memblock(ring->buf, ring->buf_size);
254 free_memblock(ring->buf, ring->buf_size);
294 cq->buf_size = size * sizeof(struct mtnic_cqe)
    [all...]
  /bionic/libc/kernel/uapi/linux/
random.h 35 int buf_size; member in struct:rand_pool_info
  /development/ndk/platforms/android-21/include/linux/
random.h 35 int buf_size; member in struct:rand_pool_info

Completed in 1701 milliseconds

1 2 3 4 5 6 7 891011>>