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

1 2 3 4 5 67 8 91011>>

  /external/ltp/testcases/kernel/syscalls/msync/
msync03.c 51 #define BUF_SIZE 256
109 char write_buf[BUF_SIZE];
122 memset(write_buf, 'a', BUF_SIZE);
124 SAFE_WRITE(cleanup, 1, fd, write_buf, BUF_SIZE);
125 nwrite += BUF_SIZE;
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/lio_listio/
1-1.c 39 #define BUF_SIZE 1024*1024
78 bufs = malloc(NUM_AIOCBS * BUF_SIZE);
96 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE];
97 aiocbs[i]->aio_nbytes = BUF_SIZE;
142 if ((err != 0) && (ret != BUF_SIZE)) {
10-1.c 38 #define BUF_SIZE 1024
83 bufs = malloc(NUM_AIOCBS * BUF_SIZE);
99 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE];
100 aiocbs[i]->aio_nbytes = BUF_SIZE;
147 if ((err != 0) && (ret != BUF_SIZE)) {
13-1.c 37 #define BUF_SIZE 1024
67 bufs = malloc(NUM_AIOCBS * BUF_SIZE);
83 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE];
84 aiocbs[i]->aio_nbytes = BUF_SIZE;
124 if ((err != 0) && (ret != BUF_SIZE)) {
15-1.c 38 #define BUF_SIZE 1024
83 bufs = malloc(NUM_AIOCBS * BUF_SIZE);
99 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE];
100 aiocbs[i]->aio_nbytes = BUF_SIZE;
164 if ((err != 0) && (ret != BUF_SIZE)) {
2-1.c 37 #define BUF_SIZE 1024
82 bufs = malloc(NUM_AIOCBS * BUF_SIZE);
98 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE];
99 aiocbs[i]->aio_nbytes = BUF_SIZE;
165 if ((err != 0) && (ret != BUF_SIZE)) {
3-1.c 38 #define BUF_SIZE 1024
83 bufs = malloc(NUM_AIOCBS * BUF_SIZE);
99 aiocbs[i]->aio_buf = &bufs[i * BUF_SIZE];
100 aiocbs[i]->aio_nbytes = BUF_SIZE;
147 if ((err != 0) && (ret != BUF_SIZE)) {
18-1.c 38 #define BUF_SIZE 1024
65 bufs = malloc(NUM_AIOCBS * BUF_SIZE);
79 aiocbs[0]->aio_nbytes = BUF_SIZE;
5-1.c 38 #define BUF_SIZE 1024
48 char buf[BUF_SIZE];
79 aiocbs[i]->aio_nbytes = BUF_SIZE;
105 if ((err != 0) && (ret != BUF_SIZE)) {
  /external/ltp/testcases/open_posix_testsuite/functional/semaphores/
sem_conpro.c 26 #define BUF_SIZE 5
30 int buffer[BUF_SIZE];
55 in = (in + 1) % BUF_SIZE;
84 out = (out + 1) % BUF_SIZE;
100 int occupied_value = BUF_SIZE;
  /system/core/logwrapper/
logwrap.c 55 /* This is a simple buffer that holds up to the first beginning_buf->buf_size
62 /* buf_size is the usable space, which is one less than the allocated size */
63 size_t buf_size; member in struct:beginning_buf
67 /* This is a circular buf that holds up to the last ending_buf->buf_size bytes
68 * of output from a command after the first beginning_buf->buf_size bytes
75 /* buf_size is the usable space, which is one less than the allocated size */
76 ssize_t buf_size; member in struct:ending_buf
109 if ((line_len + b_buf->used_len) > b_buf->buf_size) {
131 if (line_len > e_buf->buf_size) {
135 free_len = e_buf->buf_size - e_buf->used_len
    [all...]
  /external/ltp/testcases/kernel/syscalls/inotify/
inotify02.c 64 #define BUF_SIZE 256
65 static char fname1[BUF_SIZE], fname2[BUF_SIZE], fname3[BUF_SIZE];
70 char name[BUF_SIZE];
136 if (getcwd(fname1, BUF_SIZE) == NULL) {
138 "getcwd(%p, %d) failed", fname1, BUF_SIZE);
141 snprintf(fname2, BUF_SIZE, "%s.rename1", fname1);
164 snprintf(fname3, BUF_SIZE, "%s.rename2", fname1);
  /external/libbrillo/brillo/streams/
memory_containers.cc 38 size_t buf_size = GetSize(); local
39 if (offset < buf_size) {
40 size_t remaining = buf_size - offset;
  /external/libexif/test/
test-mnote.c 74 unsigned int buf_size; local
95 exif_data_save_data (d, &buf, &buf_size);
97 d = exif_data_new_from_data (buf, buf_size);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_error/
2-1.c 39 #define BUF_SIZE 1024
73 aiocb[i]->aio_buf = malloc(BUF_SIZE);
79 aiocb[i]->aio_nbytes = BUF_SIZE;
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_write/
7-1.c 44 #define BUF_SIZE 512
45 char buf[BUF_SIZE];
72 aiocbs[i].aio_nbytes = BUF_SIZE;
9-1.c 44 #define BUF_SIZE 111
45 char buf[BUF_SIZE];
67 aiocb.aio_nbytes = BUF_SIZE;
9-2.c 44 #define BUF_SIZE 512
45 char buf[BUF_SIZE];
67 aiocb.aio_nbytes = BUF_SIZE;
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mlockall/
3-6.c 29 #define BUF_SIZE 8
51 if (ftruncate(fd, BUF_SIZE) != 0) {
57 foo = mmap(NULL, BUF_SIZE, PROT_WRITE, MAP_SHARED, fd, 0);
  /external/selinux/libselinux/src/
regex.c 483 size_t buf_size)
485 unsigned the_end_length = buf_size > 4 ? 4 : buf_size;
486 char *ptr = &buffer[buf_size - the_end_length];
489 if (!buffer || !buf_size)
491 rc = snprintf(buffer, buf_size, "REGEX back-end error: ");
500 if (pos >= buf_size)
505 rc = snprintf(buffer + pos, buf_size - pos, "At offset %zu: ",
508 rc = snprintf(buffer + pos, buf_size - pos, "At offset %d: ",
515 if (pos >= buf_size)
    [all...]
  /frameworks/minikin/tests/unittest/
MeasurementTests.cpp 24 const size_t BUF_SIZE = 256;
25 uint16_t buf[BUF_SIZE];
28 ParseUnicode(buf, BUF_SIZE, src, &size, &offset);
  /bionic/libc/bionic/
pthread_setname_np.cpp 51 int pthread_getname_np(pthread_t t, char* buf, size_t buf_size) {
54 if (buf_size < MAX_TASK_COMM_LEN) return ERANGE;
65 ssize_t n = TEMP_FAILURE_RETRY(read(fd, buf, buf_size));
77 if (n == static_cast<ssize_t>(buf_size)) return ERANGE;
  /bionic/tests/
libgen_test.cpp 44 char* buf, size_t buf_size, int expected_errno) {
46 int rc = basename_r(in, buf, buf_size);
55 char* buf, size_t buf_size, int expected_errno) {
57 int rc = dirname_r(in, buf, buf_size);
  /external/libexif/libexif/
exif-mnote-data.c 81 unsigned int buf_size)
84 d->methods.load (d, buf, buf_size);
89 unsigned int *buf_size)
92 d->methods.save (d, buf, buf_size);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/
5-1.c 43 #define BUF_SIZE 1024
78 buf[i] = malloc(BUF_SIZE);
86 aiocb[i]->aio_nbytes = BUF_SIZE;
130 (aiocb[i]->aio_nbytes != BUF_SIZE) ||

Completed in 1404 milliseconds

1 2 3 4 5 67 8 91011>>