Searched defs:buf (Results 51 - 75 of 4593) sorted by relevance

1234567891011>>

/external/valgrind/VEX/test/
H A Dfstenv.c13 unsigned int* buf = malloc(7*sizeof(int)); local
14 do_fstenv(buf);
16 printf("%08x ", buf[i]);
/external/valgrind/coregrind/
H A Dm_vkiscnums.c49 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 Derringfds.c11 char buf[10]; local
14 n = read ( fd, buf, 10 );
/external/webrtc/webrtc/base/
H A Dbyteorder_unittest.cc20 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 Dmmap.c16 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 Dread.c15 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 Dmpicheckernotes.cpp8 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 Dreadv.cc15 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 Dbacktrace.cc11 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 Dc-strdup.c12 char buf[] = "abc"; local
13 char *p = strdup(buf);
H A Dgetaddrinfo.cc9 char buf[100000]; local
H A Dstrerror_r-non-gnu.c13 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 Dgetpwnam_r_invalid_user.cc15 char buf[10000]; local
16 int res = getpwnam_r("no-such-user", &pwd, buf, sizeof(buf), &pwdres);
/external/icu/android_utils/
H A DIcuUtils.cpp30 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 Dccp.pass.cpp23 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 Dccp_size.pass.cpp23 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 Dcp.pass.cpp23 char buf[] = "123 4.5 dog"; local
24 std::istrstream in(buf);
41 assert(buf[9] == 'g');
42 assert(buf[10] == 'g');
H A Dcp_size.pass.cpp23 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 Dcp_size_mode.pass.cpp23 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 Dcp_size_mode.pass.cpp23 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 Dseekoff.pass.cpp25 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 Dmd5cmp.c37 char *md5sum = NULL, buf[65]; local
47 md5sum = MD5File(argv[2], buf);
/external/llvm/include/llvm/
H A DLinkAllPasses.h173 std::string buf; local
174 llvm::raw_string_ostream os(buf);
/external/ltp/testcases/kernel/io/ltp-aiodio/
H A Ddirty.c40 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 D3-1.c21 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);

Completed in 2688 milliseconds

1234567891011>>