/external/valgrind/VEX/test/ |
H A D | fstenv.c | 13 unsigned int* buf = malloc(7*sizeof(int)); local 14 do_fstenv(buf); 16 printf("%08x ", buf[i]);
|
/external/valgrind/coregrind/ |
H A D | m_vkiscnums.c | 49 static HChar buf[20+1]; // large enough local 51 VG_(sprintf)(buf, "%ld", sysnum); 52 return buf; 74 static HChar buf[7+1+20+1]; // large enough local 84 VG_(sprintf)(buf, "%s:%ld", classname, VG_DARWIN_SYSNO_INDEX(sysnum)); 85 return buf; 94 static HChar buf[8+20+1]; // large enough local 102 VG_(sprintf)(buf, "%s%ld", classname, VG_SOLARIS_SYSNO_INDEX(sysnum)); 103 return buf;
|
/external/valgrind/memcheck/tests/ |
H A D | erringfds.c | 11 char buf[10]; local 14 n = read ( fd, buf, 10 );
|
/external/webrtc/webrtc/base/ |
H A D | byteorder_unittest.cc | 20 uint8_t buf[8] = {0u, 0u, 0u, 0u, 0u, 0u, 0u, 0u}; local 21 Set8(buf, 0, 0xfb); 22 Set8(buf, 1, 0x12); 23 EXPECT_EQ(0xfb, buf[0]); 24 EXPECT_EQ(0x12, buf[1]); 25 SetBE16(buf, 0x1234); 26 EXPECT_EQ(0x12, buf[0]); 27 EXPECT_EQ(0x34, buf[1]); 28 SetLE16(buf, 0x1234); 29 EXPECT_EQ(0x34, buf[ 63 uint8_t buf[8]; local [all...] |
/external/autotest/client/site_tests/security_AltSyscall/src/ |
H A D | mmap.c | 16 char *buf; local 24 buf = mmap(NULL, 4096, PROT_READ, MAP_PRIVATE, fd, 0); 25 if (buf == (char *)-1) 29 if (buf[i] != 0) 33 ret = munmap(buf, 4096);
|
H A D | read.c | 15 char buf[128]; local 23 ret = read(fd, buf, sizeof(buf)); 27 for (i = 0; i < (sizeof(buf) / sizeof(buf[0])); i++) { 28 if (buf[i] != 0)
|
/external/clang/test/Analysis/ |
H A D | mpicheckernotes.cpp | 8 double buf = 0; local 10 MPI_Isend(&buf, 1, MPI_DOUBLE, 0, 0, MPI_COMM_WORLD, &sendReq); // expected-note{{Request is previously used by nonblocking call here.}} 11 MPI_Irecv(&buf, 1, MPI_DOUBLE, 0, 0, MPI_COMM_WORLD, &sendReq); // expected-warning{{Double nonblocking on request 'sendReq'.}} expected-note{{Double nonblocking on request 'sendReq'.}} 16 double buf = 0; local 18 MPI_Ireduce(MPI_IN_PLACE, &buf, 1, MPI_DOUBLE, MPI_SUM, 0, MPI_COMM_WORLD, &sendReq); // expected-note{{Request is previously used by nonblocking call here.}} 26 double buf = 0; local 28 MPI_Isend(&buf, 1, MPI_DOUBLE, 0, 0, MPI_COMM_WORLD, &sendReq); // expected-note 2{{Request is previously used by nonblocking call here.}} 29 MPI_Irecv(&buf, 1, MPI_DOUBLE, 0, 0, MPI_COMM_WORLD, &sendReq); // expected-warning{{Double nonblocking on request 'sendReq'.}} expected-note{{Double nonblocking on request 'sendReq'.}} 31 MPI_Isend(&buf, 1, MPI_DOUBLE, 0, 0, MPI_COMM_WORLD, &sendReq); // expected-warning{{Double nonblocking on request 'sendReq'.}} expected-note{{Double nonblocking on request 'sendReq'.}}
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
H A D | readv.cc | 15 char buf[2011]; local 18 char * volatile buf_ = buf; 21 iov[0].iov_base = buf + 1; 24 iov[1].iov_base = buf + 10;
|
/external/compiler-rt/test/msan/ |
H A D | backtrace.cc | 11 void *buf[10]; local 12 int sz = backtrace(buf, sizeof(buf) / sizeof(*buf)); 15 if (!buf[i]) 17 char **s = backtrace_symbols(buf, sz);
|
H A D | c-strdup.c | 12 char buf[] = "abc"; local 13 char *p = strdup(buf);
|
H A D | getaddrinfo.cc | 9 char buf[100000]; local
|
H A D | 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/ |
H A D | getpwnam_r_invalid_user.cc | 15 char buf[10000]; local 16 int res = getpwnam_r("no-such-user", &pwd, buf, sizeof(buf), &pwdres);
|
/external/icu/android_utils/ |
H A D | 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/ |
H A D | 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');
|
H A D | 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');
|
H A D | 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');
|
H A D | 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/ |
H A D | 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/ |
H A D | 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/input.output/file.streams/fstreams/filebuf.virtuals/ |
H A D | 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/libjpeg-turbo/md5/ |
H A D | md5cmp.c | 37 char *md5sum = NULL, buf[65]; local 47 md5sum = MD5File(argv[2], buf);
|
/external/llvm/include/llvm/ |
H A D | LinkAllPasses.h | 173 std::string buf; local 174 llvm::raw_string_ostream os(buf);
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
H A D | dirty.c | 40 char buf[32 * 1024]; local 50 memset(buf, 0xaa, sizeof(buf)); 52 write(fd, buf, sizeof(buf));
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/strftime/ |
H A D | 3-1.c | 21 char buf[256]; local 26 result = strftime(buf, sizeof(buf), "%A %d %B, %I:%S %p", tm_ptr); 29 printf("strftime gives: %s\n", buf);
|