/external/python/cpython3/Lib/test/test_asyncio/ |
echo.py | 5 buf = os.read(0, 1024) variable 6 if not buf: 8 os.write(1, buf)
|
echo2.py | 4 buf = os.read(0, 1024) variable 5 os.write(1, b'OUT:'+buf) 6 os.write(2, b'ERR:'+buf)
|
echo3.py | 5 buf = os.read(0, 1024) variable 6 if not buf: 9 os.write(1, b'OUT:'+buf)
|
/external/boringssl/src/crypto/x509/ |
x509_txt.c | 62 static char buf[100]; local 202 BIO_snprintf(buf, sizeof buf, "error number %ld", n); 203 return (buf);
|
/external/clang/test/Analysis/ |
PR7218.c | 3 char buf[2]; local 4 buf[0] = a; 5 return buf[1]; // expected-warning {{Undefined or garbage value returned to caller}}
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
syscalls.cc | 19 char buf[1000]; local 20 __sanitizer_syscall_pre_recvmsg(0, buf - 1, 0);
|
/external/e2fsprogs/lib/e2p/ |
getflags.c | 33 struct stat buf; local 36 if (fstat (fd, &buf) == -1) 41 if (buf.st_flags & UF_IMMUTABLE) 45 if (buf.st_flags & UF_APPEND) 49 if (buf.st_flags & UF_NODUMP) 58 if (!fstat(fd, &buf) && 59 !S_ISREG(buf.st_mode) && !S_ISDIR(buf.st_mode))
|
/external/libcxx/test/std/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/ |
str.pass.cpp | 22 const char buf[] = "123 4.5 dog"; local 23 std::istrstream in(buf);
|
/external/libcxx/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/ |
ccp_size.pass.cpp | 22 const char buf[] = "abcd"; local 23 std::strstreambuf sb(buf, sizeof(buf)); 32 const char buf[] = "abcd"; local 33 std::strstreambuf sb(buf, 0);
|
cscp_size.pass.cpp | 22 const signed char buf[] = "abcd"; local 23 std::strstreambuf sb(buf, sizeof(buf)); 32 const signed char buf[] = "abcd"; local 33 std::strstreambuf sb(buf, 0);
|
cucp_size.pass.cpp | 22 unsigned char buf[] = "abcd"; local 23 std::strstreambuf sb(buf, sizeof(buf)); 32 unsigned char buf[] = "abcd"; local 33 std::strstreambuf sb(buf, 0);
|
/external/libcxx/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.virtuals/ |
overflow.pass.cpp | 22 char buf[12] = "abc"; local 23 std::strstreambuf sb(buf, sizeof(buf), buf);
|
seekoff.pass.cpp | 23 char buf[] = "0123456789"; local 24 std::strstreambuf sb(buf, 0); 39 char buf[] = "0123456789"; local 40 std::strstreambuf sb(buf, 0, buf);
|
seekpos.pass.cpp | 23 char buf[] = "0123456789"; local 24 std::strstreambuf sb(buf, 0); 31 char buf[] = "0123456789"; local 32 std::strstreambuf sb(buf, 0, buf);
|
setbuf.pass.cpp | 22 char buf[] = "0123456789"; local 23 std::strstreambuf sb(buf, 0);
|
/external/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.assign/ |
member_swap.pass.cpp | 24 std::stringbuf buf; local 25 buf.swap(buf1); 26 assert(buf.str() == "testing"); 31 std::stringbuf buf; local 32 buf.swap(buf1); 33 assert(buf.str() == "testing"); 38 std::stringbuf buf; local 39 buf.swap(buf1); 40 assert(buf.str() == "testing"); 45 std::wstringbuf buf; local 52 std::wstringbuf buf; local 59 std::wstringbuf buf; local [all...] |
move.pass.cpp | 24 std::stringbuf buf; local 25 buf = move(buf1); 26 assert(buf.str() == "testing"); 30 std::stringbuf buf; local 31 buf = move(buf1); 32 assert(buf.str() == "testing"); 36 std::stringbuf buf; local 37 buf = move(buf1); 38 assert(buf.str() == "testing"); 42 std::wstringbuf buf; local 48 std::wstringbuf buf; local 54 std::wstringbuf buf; local [all...] |
nonmember_swap.pass.cpp | 26 std::stringbuf buf; local 27 swap(buf, buf1); 28 assert(buf.str() == "testing"); 33 std::stringbuf buf; local 34 swap(buf, buf1); 35 assert(buf.str() == "testing"); 40 std::stringbuf buf; local 41 swap(buf, buf1); 42 assert(buf.str() == "testing"); 47 std::wstringbuf buf; local 54 std::wstringbuf buf; local 61 std::wstringbuf buf; local [all...] |
/external/strace/ |
print_ifindex.c | 35 char buf[IFNAMSIZ + 1]; local 37 if (if_indextoname(ifindex, buf)) { 39 print_quoted_cstring(buf, sizeof(buf));
|
/external/strace/tests/ |
getrandom.c | 39 unsigned char buf[4]; local 41 if (syscall(__NR_getrandom, buf, sizeof(buf) - 1, 0) != sizeof(buf) - 1) 44 (int) buf[0], (int) buf[1], (int) buf[2]); 46 if (syscall(__NR_getrandom, buf, sizeof(buf), 1) != sizeof(buf)) [all...] |
/external/strace/tests-m32/ |
getrandom.c | 39 unsigned char buf[4]; local 41 if (syscall(__NR_getrandom, buf, sizeof(buf) - 1, 0) != sizeof(buf) - 1) 44 (int) buf[0], (int) buf[1], (int) buf[2]); 46 if (syscall(__NR_getrandom, buf, sizeof(buf), 1) != sizeof(buf)) [all...] |
/external/strace/tests-mx32/ |
getrandom.c | 39 unsigned char buf[4]; local 41 if (syscall(__NR_getrandom, buf, sizeof(buf) - 1, 0) != sizeof(buf) - 1) 44 (int) buf[0], (int) buf[1], (int) buf[2]); 46 if (syscall(__NR_getrandom, buf, sizeof(buf), 1) != sizeof(buf)) [all...] |
/external/swiftshader/third_party/subzero/tests_lit/asan_tests/Input/ |
calloc.c | 6 void *buf = calloc(14, sizeof(int)); local 7 strcpy(buf, "Hello, world!"); 8 printf("%s\n", buf); 9 free(buf);
|
/external/tensorflow/tensorflow/contrib/lite/java/src/main/native/ |
tensorflow_lite_jni.cc | 23 char buf[64]; local 24 snprintf(buf, sizeof(buf), "%d", TFLITE_SCHEMA_VERSION); 25 return env->NewStringUTF(buf);
|
/external/valgrind/none/tests/x86/ |
cpuid_c.c | 5 extern void get_cpuid0 ( unsigned int* buf ); 6 extern void get_cpuid1 ( unsigned int* buf ); 8 unsigned int buf[4]; variable 12 get_cpuid0(&buf[0]); 14 buf[0], buf[1], buf[2], buf[3] ); 16 get_cpuid1(&buf[0]); 18 buf[0], buf[1], buf[2], buf[3] ) [all...] |