Searched refs:buffer (Results 1 - 25 of 5165) 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);
H A Dwindows-on-arm-stack-probe-size.c10 __declspec(dllimport) void initialise(signed char buffer[4096]);
13 signed char buffer[4096]; variable
14 initialise(buffer); variable
15 return buffer[index];
/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]+]]
16 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]+]]
17 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 Dsymbols_path.cc12 char *buffer = (char*)malloc(42); local
13 buffer[-1] = 42;
14 // CHECK: AddressSanitizer: heap-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
21 free(buffer);
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]+]]
24 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/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...]

Completed in 3304 milliseconds

1234567891011>>