Searched defs:buffer (Results 1 - 25 of 3822) sorted by relevance

1234567891011>>

/external/chromium_org/tools/gyp/test/mac/framework-dirs/
H A Dcalculate.c12 char buffer[1024]; local
13 return CalculatePerformExpression("42", 1, 0, buffer);
/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 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_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 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_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 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;
/external/chromium_org/testing/gtest/xcode/Samples/FrameworkSample/
H A Dwidget_test.cc58 char buffer[max_size]; local
59 widget.GetCharPtrValue(buffer, max_size);
60 EXPECT_STREQ("name", buffer);
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/
H A Dutils.cc33 char buffer[11] = {0}; local
34 sprintf(buffer, "%d", i); // NOLINT
35 return buffer;
39 char buffer[32] = {0}; local
42 sprintf(buffer, "%Iu", i); // NOLINT
44 sprintf(buffer, "%zu", i); // NOLINT
46 return buffer;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
H A Dr300_screen_buffer.h49 static INLINE struct r300_buffer *r300_buffer(struct pipe_resource *buffer) argument
51 return (struct r300_buffer *)buffer;
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/
H A Dvmw_buffer.h42 vmw_pb_buffer(struct svga_winsys_buffer *buffer) argument
44 assert(buffer);
45 return (struct pb_buffer *)buffer;
50 vmw_svga_winsys_buffer(struct pb_buffer *buffer) argument
52 assert(buffer);
53 return (struct svga_winsys_buffer *)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...]

Completed in 599 milliseconds

1234567891011>>