/external/compiler-rt/test/asan/TestCases/Windows/ |
H A D | dll_intercept_memchr.cc | 9 char buff[6] = "Hello"; local 11 memchr(buff, 'z', 7); 19 // CHECK: 'buff' <== Memory access at offset {{.*}} overflows this variable
|
H A D | dll_intercept_memset.cc | 14 char buff[5] = "aaaa"; local 16 memset(buff, 'b', 5); 17 if (buff[2] != 'b') 23 memset(buff, 'c', 6); 30 // CHECK: 'buff' <== Memory access at offset {{.*}} overflows this variable
|
/external/clang/test/CodeGen/ |
H A D | 2003-11-26-PointerShift.c | 3 unsigned long do_csum(const unsigned char *buff, int len, unsigned long result) { argument 4 if (2 & (unsigned long) buff) result += 1;
|
/external/curl/tests/libtest/ |
H A D | chkhostname.c | 30 char buff[HOSTNAME_MAX]; local 36 if(Curl_gethostname(buff, HOSTNAME_MAX)) { 42 if(strncmp(buff, argv[1], HOSTNAME_MAX)) {
|
/external/libmtp/examples/ |
H A D | format.c | 29 char buff[2]; local 33 if ( fgets(buff, sizeof(buff), stdin) == NULL ) { 41 if (buff[0] == 'y') { 43 } else if (buff[0] == 'n') {
|
H A D | reset.c | 29 char buff[2]; local 33 if ( fgets(buff, sizeof(buff), stdin) == NULL ) { 41 if (buff[0] == 'y') { 43 } else if (buff[0] == 'n') {
|
/external/libcxx/test/libcxx/experimental/any/ |
H A D | small_type.pass.cpp | 36 char buff[BufferSize]; variable 43 char buff[BufferSize]; variable 48 char buff[BufferSize + 1]; variable 55 char buff[BufferSize + 1]; variable
|
/external/libcxx/test/libcxx/utilities/any/ |
H A D | small_type.pass.cpp | 36 char buff[BufferSize]; variable 43 char buff[BufferSize]; variable 48 char buff[BufferSize + 1]; variable 55 char buff[BufferSize + 1]; variable
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
H A D | bpf_util.h | 13 char buff[128]; local 22 while (fgets(buff, sizeof(buff), fp)) { 23 if (sscanf(buff, "%u-%u", &start, &end) == 2) {
|
/external/valgrind/none/tests/ |
H A D | res_search.c | 12 unsigned char buff[8000]; local 14 if(-1 == res_search(dn, 1, 1, buff, 8000)) 51 unsigned char buff[8000]; local 53 if(-1 == res_search(argv[1], 1, 1, buff, 8000))
|
/external/valgrind/none/tests/s390x/ |
H A D | tr.c | 8 uint8_t buff[40]; variable 24 tr(tran_table, buff, len); 27 printf("%c", buff[i]); 35 run_test((char *)&touppercase, &buff, 0); 36 run_test((char *)&touppercase, &buff, 0); 39 memset(buff, 'a', 1); 40 run_test((char *)&touppercase, &buff, 1); 42 memcpy(buff, "abcdefgh", 8); 43 run_test((char *)&touppercase, &buff, 3); 44 run_test((char *)&touppercase, &buff, [all...] |
/external/libxml2/doc/examples/ |
H A D | tree2.c | 31 char buff[256]; local 84 sprintf(buff, "node%d", i); 85 node = xmlNewChild(root_node, NULL, BAD_CAST buff, NULL); 87 sprintf(buff, "node%d%d", i, j); 88 node1 = xmlNewChild(node, NULL, BAD_CAST buff, NULL);
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_spread_test/ |
H A D | cpuset_mem_hog.c | 53 char buff[BUFFER_SIZE]; local 64 while ((ret = read(fd, buff, sizeof(buff))) > 0) ;
|
/external/ltp/testcases/kernel/fs/fs_di/ |
H A D | frag.c | 49 char buff[1024], frag_file1[100], frag_file2[100]; local 78 bytes_read = fread(buff, 1, 1024, fp_data); 84 bytes_written = fwrite(buff, 1, bytes_read, fp_frag1); 90 bytes_written = fwrite(buff, 1, bytes_read, fp_frag2);
|
/external/ltp/testcases/kernel/syscalls/clone/ |
H A D | clone03.c | 61 char buff[10]; local 91 if ((read(pfd[0], buff, sizeof(buff))) == -1) 100 child_pid = atoi(buff);
|
H A D | clone06.c | 52 char buff[MAX_LINE_LENGTH]; local 79 if ((read(pfd[0], buff, sizeof(buff))) == -1) 89 if ((strcmp(buff, parent_env)) == 0)
|
/external/selinux/libsepol/cil/src/ |
H A D | cil_log.c | 55 char buff[MAX_LOG_SIZE]; local 56 vsnprintf(buff, MAX_LOG_SIZE, msg, args); 57 (*cil_log_handler)(cil_log_level, buff);
|
/external/skia/third_party/lua/src/ |
H A D | lzio.c | 24 const char *buff; local 26 buff = z->reader(L, z->data, &size); 28 if (buff == NULL || size == 0) 31 z->p = buff; 68 char *luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n) { argument 69 if (n > buff->buffsize) { 71 luaZ_resizebuffer(L, buff, n); 73 return buff->buffer;
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/util/ |
H A D | UriEncoder.java | 50 public static String decode(ByteBuffer buff) throws CharacterCodingException { argument 51 CharBuffer chars = UTF8Decoder.decode(buff); 55 public static String decode(String buff) { argument 57 return URLDecoder.decode(buff, "UTF-8");
|
/external/syslinux/com32/lua/src/ |
H A D | lzio.c | 24 const char *buff; local 26 buff = z->reader(L, z->data, &size); 28 if (buff == NULL || size == 0) 31 z->p = buff; 68 char *luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n) { argument 69 if (n > buff->buffsize) { 71 luaZ_resizebuffer(L, buff, n); 73 return buff->buffer;
|
/external/curl/docs/examples/ |
H A D | ftp-wildcard.c | 39 static size_t write_it(char *buff, size_t size, size_t nmemb, 141 static size_t write_it(char *buff, size_t size, size_t nmemb, argument 147 written = fwrite(buff, size, nmemb, data->output); 150 written = fwrite(buff, size, nmemb, stdout);
|
/external/curl/lib/ |
H A D | connect.h | 88 struct Curl_sockaddr_storage buff; member in union:Curl_sockaddr_ex::__anon3594
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/ |
H A D | cpuset_list_compute.c | 67 char buff[MAX_STRING_SIZE]; local 87 bitmask_displaylist(buff, MAX_STRING_SIZE, mask1); 88 printf("%s\n", buff); 100 bitmask_displaylist(buff, MAX_STRING_SIZE, mask3); 101 printf("%s\n", buff);
|
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
H A D | recvmsg02.c | 40 static unsigned char buff[25]; variable 41 static const int bufflen = ARRAY_SIZE(buff); 55 .iov_base = buff, 56 .iov_len = sizeof(buff), 90 if ((R == bufflen) && !memcmp(msg, buff, R))
|
/external/lzma/CPP/7zip/Crypto/ |
H A D | RandGen.cpp | 117 Byte buff[SHA256_DIGEST_SIZE];
local 118 Sha256_Final(&hash, buff);
120 *data++ = buff[i];
|