Searched refs:buffer (Results 1 - 25 of 9657) sorted by relevance

1234567891011>>

/external/clang/test/CodeGen/
H A Dclear_cache.c3 char buffer[32] = "This is a largely unused buffer"; variable
9 __builtin___clear_cache(buffer, buffer+32);
/external/compiler-rt/test/asan/TestCases/Windows/
H A Doperator_array_new_left_oob.cc5 char *buffer = new char[42]; local
6 buffer[-1] = 42;
7 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
15 delete [] buffer;
H A Dcalloc_left_oob.cc7 int *buffer = (int*)calloc(42, sizeof(int)); local
8 buffer[-1] = 42;
9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
16 free(buffer);
H A Dcalloc_right_oob.cc7 int *buffer = (int*)calloc(42, sizeof(int)); local
8 buffer[42] = 42;
9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
16 free(buffer);
H A Dcalloc_uaf.cc7 int *buffer = (int*)calloc(42, sizeof(int)); local
8 free(buffer);
9 buffer[0] = 42;
H A Ddll_operator_array_new_left_oob.cc7 char *buffer = new char[42]; local
8 buffer[-1] = 42;
9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
23 delete [] buffer;
H A Dmalloc_left_oob.cc7 char *buffer = (char*)malloc(42); local
8 buffer[-1] = 42;
9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
16 free(buffer);
H A Dmalloc_right_oob.cc7 char *buffer = (char*)malloc(42); local
8 buffer[42] = 42;
9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
16 free(buffer);
H A Dmalloc_uaf.cc7 char *buffer = (char*)malloc(42); local
8 free(buffer);
9 buffer[0] = 42;
H A Doperator_array_new_right_oob.cc7 char *buffer = new char[42]; local
8 buffer[42] = 42;
9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
16 delete [] buffer;
H A Doperator_array_new_uaf.cc7 char *buffer = new char[42]; local
8 delete [] buffer;
9 buffer[0] = 42;
H A Doperator_new_left_oob.cc7 char *buffer = new char; local
8 buffer[-1] = 42;
9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
16 delete buffer;
H A Doperator_new_right_oob.cc7 char *buffer = new char; local
8 buffer[1] = 42;
9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
16 delete buffer;
H A Doperator_new_uaf.cc7 char *buffer = new char; local
8 delete buffer;
9 *buffer = 42;
H A Drealloc_left_oob.cc7 char *buffer = (char*)realloc(0, 42); local
8 buffer[-1] = 42;
9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
16 free(buffer);
H A Drealloc_right_oob.cc7 char *buffer = (char*)realloc(0, 42); local
8 buffer[42] = 42;
9 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
16 free(buffer);
H A Drealloc_uaf.cc7 char *buffer = (char*)realloc(0, 42); local
8 free(buffer);
9 buffer[0] = 42;
H A Duse_after_realloc.cc7 char *buffer = (char*)realloc(0, 32), local
8 *stale = buffer;
9 buffer = (char*)realloc(buffer, 64);
22 free(buffer);
H A Ddll_malloc_left_oob.cc8 char *buffer = (char*)malloc(42); local
9 buffer[-1] = 42;
10 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
21 free(buffer);
H A Ddll_malloc_uaf.cc9 int *buffer = (int*)malloc(42); local
10 free(buffer);
11 buffer[0] = 42;
H A Doperator_array_new_with_dtor_left_oob.cc10 C *buffer = new C[42]; local
11 buffer[-2].x = 42;
12 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
23 delete [] buffer;
/external/apache-harmony/luni/src/test/resources/net.resources/HTTP/cgi-bin/
H A Dtest.pl3 read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
4 print $buffer;
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dcpuinfo.c52 char *buffer; local
54 buffer = (char *) malloc(MAX_STRING);
55 if (!buffer)
58 buffer[0] = 0;
63 strcat(buffer, "x86");
68 strcat(buffer, (cpu_has_mmxext) ? "/MMX+" : "/MMX");
73 strcat(buffer, (cpu_has_3dnowext) ? "/3DNow!+" : "/3DNow!");
78 strcat(buffer, (cpu_has_xmm2) ? "/SSE2" : "/SSE");
84 strcat(buffer, "SPARC");
88 assert(strlen(buffer) < MAX_STRIN
[all...]
/external/mesa3d/src/mesa/main/
H A Dcpuinfo.c52 char *buffer; local
54 buffer = (char *) malloc(MAX_STRING);
55 if (!buffer)
58 buffer[0] = 0;
63 strcat(buffer, "x86");
68 strcat(buffer, (cpu_has_mmxext) ? "/MMX+" : "/MMX");
73 strcat(buffer, (cpu_has_3dnowext) ? "/3DNow!+" : "/3DNow!");
78 strcat(buffer, (cpu_has_xmm2) ? "/SSE2" : "/SSE");
84 strcat(buffer, "SPARC");
88 assert(strlen(buffer) < MAX_STRIN
[all...]
/external/qemu/android/utils/
H A Dbufprint_unittest.cpp17 char buffer[128], *p = buffer, *end = p + sizeof(buffer); local
20 EXPECT_EQ(buffer + 7, p);
21 EXPECT_STREQ("foo/bar", buffer);
25 char buffer[4], *p, *end = buffer + sizeof(buffer); local
26 p = bufprint(buffer, end, "foobar");
27 EXPECT_EQ(buffer
[all...]

Completed in 294 milliseconds

1234567891011>>