/external/compiler-rt/test/msan/ |
getaddrinfo.cc | 9 char buf[100000]; local
|
strerror_r-non-gnu.c | 13 char buf[1000]; local 14 int res = strerror_r(EINVAL, buf, sizeof(buf)); 16 volatile int z = strlen(buf);
|
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
getpwnam_r_invalid_user.cc | 15 char buf[10000]; local 16 int res = getpwnam_r("no-such-user", &pwd, buf, sizeof(buf), &pwdres);
|
/external/compiler-rt/test/tsan/ |
race_on_write.cc | 8 char buf; variable 11 buf = 1; 17 write(fd, &buf, 1);
|
sunrpc.cc | 10 char buf[100]; local 11 xdrmem_create(&xdrs, buf, sizeof(buf), XDR_ENCODE);
|
/external/e2fsprogs/debugfs/ |
unused.c | 31 unsigned char buf[EXT2_MAX_BLOCK_SIZE]; local 43 retval = io_channel_read_blk64(current_fs->io, blk, 1, buf); 49 if (buf[i]) 56 fputc(buf[i], stdout);
|
/external/e2fsprogs/lib/e2p/ |
fgetflags.c | 50 struct stat buf; local 53 if (stat (name, &buf) == -1) 58 if (buf.st_flags & UF_IMMUTABLE) 62 if (buf.st_flags & UF_APPEND) 66 if (buf.st_flags & UF_NODUMP) 75 if (!lstat(name, &buf) && 76 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode)) {
|
/external/e2fsprogs/lib/uuid/ |
parse.c | 48 char buf[3]; local 71 buf[2] = 0; 73 buf[0] = *cp++; 74 buf[1] = *cp++; 75 uuid.node[i] = strtoul(buf, NULL, 16);
|
/external/e2fsprogs/tests/progs/ |
crcsum.c | 59 unsigned char buf[4096]; local 61 int c = fread(buf, 1, sizeof(buf), f); 64 crc = csum_func(crc, buf, c);
|
/external/fio/lib/ |
output_buffer.h | 7 char *buf; member in struct:buf_output 14 size_t buf_output_add(struct buf_output *out, const char *buf, size_t len);
|
/external/icu/android_utils/ |
IcuUtils.cpp | 30 char buf[256]; local 31 const int num_written = snprintf(buf, sizeof(buf), "%s/usr/icu/", systemPathPrefix); 32 LOG_ALWAYS_FATAL_IF((num_written < 0 || static_cast<size_t>(num_written) >= sizeof(buf)), 35 u_setDataDirectory(buf);
|
/external/libcxx/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/ |
ccp.pass.cpp | 23 const char buf[] = "123 4.5 dog"; local 24 std::istrstream in(buf); 41 assert(buf[9] == 'o'); 42 assert(buf[10] == 'g');
|
ccp_size.pass.cpp | 23 const char buf[] = "123 4.5 dog"; local 24 std::istrstream in(buf, 7); 41 assert(buf[5] == '.'); 42 assert(buf[6] == '5');
|
cp.pass.cpp | 23 char buf[] = "123 4.5 dog"; local 24 std::istrstream in(buf); 41 assert(buf[9] == 'g'); 42 assert(buf[10] == 'g');
|
cp_size.pass.cpp | 23 char buf[] = "123 4.5 dog"; local 24 std::istrstream in(buf, 7); 41 assert(buf[5] == '5'); 42 assert(buf[6] == '5');
|
/external/libcxx/test/std/depr/depr.str.strstreams/depr.ostrstream/depr.ostrstream.cons/ |
cp_size_mode.pass.cpp | 23 char buf[] = "123 4.5 dog"; local 24 std::ostrstream out(buf, 0); 33 char buf[23] = "123 4.5 dog"; local 34 std::ostrstream out(buf, 11, std::ios::app);
|
/external/libcxx/test/std/depr/depr.str.strstreams/depr.strstream/depr.strstream.cons/ |
cp_size_mode.pass.cpp | 23 char buf[] = "123 4.5 dog"; local 24 std::strstream inout(buf, 0); 43 char buf[23] = "123 4.5 dog"; local 44 std::strstream inout(buf, 11, std::ios::app);
|
/external/libcxx/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/ |
pbackfail.pass.cpp | 34 const char buf[] = "123"; local 35 test sb(buf, 0); 49 char buf[] = "123"; local 50 test sb(buf, 0);
|
underflow.pass.cpp | 34 char buf[10] = "123"; local 35 test sb(buf, 0, buf + 3);
|
/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/ |
seekoff.pass.cpp | 25 char buf[10]; local 28 f.pubsetbuf(buf, sizeof(buf)); 33 assert(buf[0] == 'v'); 46 wchar_t buf[10]; local 49 f.pubsetbuf(buf, sizeof(buf)/sizeof(buf[0])); 54 assert(buf[0] == L'v');
|
/external/linux-kselftest/tools/testing/selftests/efivarfs/ |
create-read.c | 15 char buf[4]; local 32 rc = read(fd, buf, sizeof(buf));
|
/external/llvm/include/llvm/ |
LinkAllPasses.h | 173 std::string buf; local 174 llvm::raw_string_ostream os(buf);
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
dirty.c | 40 char buf[32 * 1024]; local 50 memset(buf, 0xaa, sizeof(buf)); 52 write(fd, buf, sizeof(buf));
|
/external/ltp/testcases/kernel/syscalls/getrandom/ |
getrandom03.c | 53 char buf[MAX_SIZE]; local 55 TEST(tst_syscall(__NR_getrandom, buf, sizes[n], 0));
|
getrandom04.c | 40 char buf[128]; local 48 TEST(tst_syscall(__NR_getrandom, buf, 100, 0));
|