Searched refs:BUF_SIZE (Results 101 - 125 of 282) sorted by relevance

1234567891011>>

/external/ltp/testcases/kernel/syscalls/fanotify/
H A Dfanotify02.c50 #define BUF_SIZE 256 macro
53 static char fname[BUF_SIZE];
54 static char buf[BUF_SIZE];
105 SAFE_READ(0, fd, buf, BUF_SIZE);
H A Dfanotify03.c54 #define BUF_SIZE 256 macro
57 static char fname[BUF_SIZE];
58 static char buf[BUF_SIZE];
81 if (read(fd, buf, BUF_SIZE) != -1)
H A Dfanotify04.c51 #define BUF_SIZE 256 macro
54 static char fname[BUF_SIZE];
55 static char sname[BUF_SIZE];
56 static char dir[BUF_SIZE];
H A Dfanotify05.c46 #define BUF_SIZE 256 macro
47 static char fname[BUF_SIZE];
H A Dfanotify06.c72 #define BUF_SIZE 256 macro
73 static char fname[BUF_SIZE];
/external/ltp/testcases/kernel/syscalls/msync/
H A Dmsync02.c75 #define BUF_SIZE 256 macro
110 char tst_buf[BUF_SIZE];
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
H A D26-2.c36 #define BUF_SIZE 8 macro
57 if (ftruncate(fd, BUF_SIZE) != 0) {
/external/lz4/examples/
H A DframeCompress.c11 #define BUF_SIZE 16*1024 macro
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);
/external/curl/src/
H A Dmkhelp.pl157 #define BUF_SIZE 0x10000
190 buf = malloc(BUF_SIZE);
193 z.avail_out = BUF_SIZE;
197 fwrite(buf, BUF_SIZE - z.avail_out, 1, stdout);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/
H A D4-1.c40 #define BUF_SIZE (2 * 1024 * 1024) macro
95 WAIT_FOR_AIOCB_BUF_SIZE : BUF_SIZE;
200 if ((err != 0) && (ret != BUF_SIZE)) {
/external/webrtc/webrtc/base/
H A Dasyncudpsocket.cc16 static const int BUF_SIZE = 64 * 1024; member in namespace:rtc
41 size_ = BUF_SIZE;
/external/ltp/testcases/kernel/syscalls/lstat/
H A Dlstat03.c47 #define BUF_SIZE 256 macro
/external/guava/guava/src/com/google/common/io/
H A DByteSource.java61 private static final int BUF_SIZE = 0x1000; // 4K field in class:ByteSource
196 private static final byte[] countBuffer = new byte[BUF_SIZE];
311 byte[] buf1 = new byte[BUF_SIZE];
312 byte[] buf2 = new byte[BUF_SIZE];
319 int read1 = ByteStreams.read(in1, buf1, 0, BUF_SIZE);
320 int read2 = ByteStreams.read(in2, buf2, 0, BUF_SIZE);
323 } else if (read1 != BUF_SIZE) {
H A DCharStreams.java50 private static final int BUF_SIZE = 0x800; // 2K chars (4K bytes) field in class:CharStreams
66 CharBuffer buf = CharBuffer.allocate(BUF_SIZE);
H A DByteStreams.java50 private static final int BUF_SIZE = 0x1000; // 4K field in class:ByteStreams
67 byte[] buf = new byte[BUF_SIZE];
93 ByteBuffer buf = ByteBuffer.allocate(BUF_SIZE);
692 byte[] buf = new byte[BUF_SIZE];
/external/icu/icu4c/source/samples/cal/
H A Dcal.c100 #define BUF_SIZE 64 macro
385 char c [BUF_SIZE];
392 if(count < BUF_SIZE) {
433 UChar s [BUF_SIZE];
446 udat_format(dfmt, ucal_getMillis(c, status), s, BUF_SIZE, 0, status);
503 unum_format(nfmt, day, s, BUF_SIZE, 0, status);
550 UChar s [BUF_SIZE];
569 udat_format(dfmt, ucal_getMillis(left_cal, status), s, BUF_SIZE, 0, status);
674 unum_format(nfmt, left_day, s, BUF_SIZE, 0, status);
722 unum_format(nfmt, right_day, s, BUF_SIZE,
[all...]
/external/ltp/testcases/kernel/syscalls/inotify/
H A Dinotify03.c64 #define BUF_SIZE 1024 macro
65 static char fname[BUF_SIZE];
H A Dinotify04.c64 #define BUF_SIZE 256 macro
67 char name[BUF_SIZE];
/external/emma/core/java12/com/vladium/emma/rt/
H A DClassPathProcessorST.java52 m_readbuf = new byte [BUF_SIZE]; // don't reuse this across run() calls to reset it to the original size
54 m_baos = new ByteArrayOStream (BUF_SIZE); // don't reuse this across run() calls to reset it to the original size
355 ensureReadCapacity (BUF_SIZE);
394 private static final int BUF_SIZE = 32 * 1024; field in class:ClassPathProcessorST
/external/libmicrohttpd/src/examples/
H A Dhttps_fileserver_example.c41 #define BUF_SIZE 1024 macro
/external/adhd/cras/src/tests/
H A Dcras_router.c23 #define BUF_SIZE 32768 macro
79 uint8_t buff[BUF_SIZE];
82 nread = read(fd, buff, MIN(frames * frame_bytes, BUF_SIZE));
/external/ant-glob/src/org/apache/tools/ant/util/
H A DFileUtils.java47 static final int BUF_SIZE = 8192; field in class:FileUtils
/external/curl/docs/examples/
H A Dghiper.c332 #define BUF_SIZE 1024 macro
348 buf = g_malloc(BUF_SIZE + 1);
350 buf[BUF_SIZE]='\0';
351 g_io_channel_read_chars(ch, buf, BUF_SIZE, &len, &err);
/external/libvncserver/libvncserver/
H A Dhttpd.c94 #define BUF_SIZE 32768 macro
96 static char buf[BUF_SIZE];
455 int n = fread(buf, 1, BUF_SIZE-1, fd);
470 BUF_SIZE, but it's reasonable to assume that .vnc files will
/external/toybox/kconfig/lxdialog/
H A Ddialog.h55 #define BUF_SIZE (10*1024) macro

Completed in 1064 milliseconds

1234567891011>>