Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 675) sorted by relevance

12345678910>>...27

/llvm-project/libc/test/integration/startup/gpu/
H A Drpc_interface_test.cpp22 port.send([&](LIBC_NAMESPACE::rpc::Buffer *buffer, uint32_t) { in test_interface() argument
23 buffer->data[0] = end_with_send; in test_interface() argument
25 port.send([&](LIBC_NAMESPACE::rpc::Buffer *buffer, uint32_t) { in test_interface() argument
26 buffer->data[0] = cnt = cnt + 1; in test_interface() argument
28 port.recv([&](LIBC_NAMESPACE::rpc::Buffer *buffer, uint32_t) { in test_interface() argument
29 cnt = buffer->data[0]; in test_interface() argument
31 port.send([&](LIBC_NAMESPACE::rpc::Buffer *buffer, uint32_t) { in test_interface() argument
21 __anon77d2d78f0102(rpc::Buffer *buffer) test_interface() argument
24 __anon77d2d78f0402(rpc::Buffer *buffer) test_interface() argument
27 __anon77d2d78f0702(rpc::Buffer *buffer) test_interface() argument
33 __anon77d2d78f0b02(rpc::Buffer *buffer) test_interface() argument
[all...]
H A Drpc_test.cpp23 __anon4a606c9f0102(rpc::Buffer *buffer) test_add_simple() argument
26 __anon4a606c9f0202(rpc::Buffer *buffer) test_add_simple() argument
37 __anon4a606c9f0302(rpc::Buffer *buffer) test_noop() argument
/llvm-project/clang/test/SemaCXX/
H A Dwarn-unsafe-buffer-usage-fixits-local-var-array.cpp8 int buffer[10]; in simple() local
14 int buffer[10][10]; in array2d() local
29 int buffer[10][10]; in array2d_assign_from_elem() local
36 int buffer[10][10]; in array2d_call() local
41 int buffer[10][sz]; in array2d_call_vla() local
49 ten_ints_t buffer[10]; in array2d_typedef() local
67 int buffer[3] = {0}; in initializer() local
78 int buffer[] = {0, 1, 2}; in auto_size() local
86 int buffer[] {0, 1, 2}; in universal_initialization() local
94 int a, buffer[10]; in multi_decl1() local
[all …]
H A Dwarn-unsafe-buffer-usage-fixits-array-assign-to-ptr.cpp6 int buffer[10]; in safe_array_assigned_to_safe_ptr() local
15 int buffer[10]; in safe_array_assigned_to_unsafe_ptr() local
25 int buffer[10]; in unsafe_array_assigned_to_safe_ptr() local
37 int buffer[10]; in unsafe_array_assigned_to_unsafe_ptr() local
H A Dwarn-unsafe-buffer-usage-array.cpp9 int buffer[10]; // expected-warning{{'buffer' is an unsafe buffer that does not perform bounds checks}} in foo() local
27 int buffer[10]; constant_idx_safe() local
32 int buffer[10]; constant_idx_safe0() local
37 int buffer[10]; // expected-warning{{'buffer' is an unsafe buffer that does not perform bounds checks}} constant_idx_unsafe() local
[all...]
H A Dcxx1z-init-statement-template.cpp14 void init_in_if(Buffer<N> buffer) { in init_in_if()
20 void init_in_switch(Buffer<N> buffer) { in init_in_switch()
28 Buffer<10> buffer; in test() local
/llvm-project/clang/test/Analysis/
H A Dgetline-unixapi.c17 char **buffer = NULL; in test_getline_null_lineptr() local
27 char *buffer = NULL; in test_getline_null_size() local
36 char *buffer = NULL; in test_getline_null_buffer_size_gt0() local
47 char *buffer = NULL; in test_getline_null_buffer_size_gt0_2() local
59 char *buffer = NULL; in test_getline_null_buffer_unknown_size() local
71 char *buffer = NULL; in test_getline_null_buffer_undef_size() local
84 char *buffer = malloc(10); in test_getline_buffer_size_0() local
97 char *buffer = malloc(10); in test_getline_buffer_bad_size() local
110 char *buffer = malloc(100); in test_getline_buffer_smaller_size() local
123 char *buffer = malloc(100); in test_getline_buffer_undef_size() local
[all …]
H A Dgetline-alloc.c12 char *buffer = NULL; in test_getline_null_buffer() local
27 char *buffer = malloc(n); in test_getline_malloc_buffer() local
42 char *buffer = alloca(n); in test_getline_alloca() local
52 char *buffer = (char*)test_getline_invalid_ptr; test_getline_invalid_ptr() local
62 char *buffer = NULL; test_getline_leak() local
75 char buffer[10]; test_getline_stack() local
87 static char buffer[10]; test_getline_static() local
[all...]
H A Dfread.c40 char buffer[10]; in fread_props_taint() local
65 void read_one_byte2(char *buffer) { in read_one_byte2() argument
79 void read_one_byte3(char *buffer) { in read_one_byte3() argument
92 read_many_bytes(char * buffer) read_many_bytes() argument
164 int buffer[10]; random_access_read2() local
211 long buffer[10]; dynamic_random_access_read() local
312 int buffer[PastMaxComplexity + 1]; test_large_read() local
329 int buffer[10]; test_small_read() local
344 int buffer[100]; test_partial_elements_read() local
385 int buffer[100]; test_whole_elements_read() local
410 int buffer[100]; test_unaligned_start_read() local
[all...]
/llvm-project/lldb/unittests/Utility/
H A DDataExtractorTest.cpp16 uint8_t buffer[] = {0x01, 0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD, 0xEF}; in TEST() local
55 uint8_t buffer[] = {0x01, 0x02, 0x03, 0x04}; in TEST() local
71 uint8_t buffer[] = {'X', 'f', 'o', 'o', '\0'}; in TEST() local
80 uint8_t buffer[] = {'X', '\0'}; in TEST() local
89 uint8_t buffer[] = {'X', 'f', 'o', 'o'}; in TEST() local
98 uint8_t buffer[] = {'X'}; in TEST() local
107 uint8_t buffer[] = {'f', 'o', 'o', '\0'}; in TEST() local
116 uint8_t buffer[] = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08}; in TEST() local
149 uint8_t buffer[] = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08}; in TEST() local
190 uint8_t buffer[] = {0x01, 0x02, 0x83, 0x04, 0x05, 0x06, 0x07, 0x08}; in TEST() local
[all …]
/llvm-project/libcxx/test/std/iterators/predef.iterators/iterators.common/
H A Dplus_plus.pass.cpp26 int buffer[8] = {1, 2, 3, 4, 5, 6, 7, 8}; in test() local
44 int buffer[8] = {1, 2, 3, 4, 5, 6, 7, 8}; in test() local
62 int buffer[8] = {1, 2, 3, 4, 5, 6, 7, 8}; in test() local
80 int buffer[8] = {1, 2, 3, 4, 5, 6, 7, 8}; in test() local
100 int buffer[8] = {1, 2, 3, 4, 5, 6, 7, 8}; in test() local
118 int buffer[8] = {1, 2, 3, 4, 5, 6, 7, 8}; in test() local
136 int buffer[8] = {1, 2, 3, 4, 5, 6, 7, 8}; in test() local
156 int buffer[] = {0, 1, 2, 3, 4}; in test() local
/llvm-project/clang/test/Misc/
H A Dbackend-stack-frame-diagnostics.cpp30 char buffer[80]; in frameSizeWarning() local
41 char buffer[80]; in frameSizeWarningIgnored() local
49 char buffer[80]; in frameSizeLocalClassWarning() local
59 char buffer[80]; in frameSizeLambdaWarning() local
68 char buffer[80]; in frameSizeBlocksWarning() local
/llvm-project/llvm/utils/
H A DDSAclean.py25 buffer = input.readline() variable
29 buffer = input.readline() variable
34 buffer = input.readline() variable
H A DDSAextract.py63 buffer = input.readline() variable
74 buffer = input.readline() variable
90 buffer = input.readline() variable
113 buffer = input.readline() variable
/llvm-project/llvm/include/llvm/Bitcode/
H A DBitcodeConvenience.h189 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit()
200 static void read(ArrayRef<T> buffer, ElementDataTy &element, in read()
209 static void read(ArrayRef<T> buffer, std::nullopt_t, DataTy &&...data) { in read()
226 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit()
236 static void read(ArrayRef<T> buffer, DataTy &data) { in read()
241 template <typename T> static void read(ArrayRef<T> buffer, std::nullopt_t) { in read()
255 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit()
262 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit()
274 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit()
292 static void read(ArrayRef<T> buffer, ArrayTy &array) { in read()
[all …]
/llvm-project/libcxx/test/std/input.output/iostream.format/print.fun/
H A Dno_file_description.pass.cpp41 std::array<char, 100> buffer{0}; test_print() local
55 std::array<char, 100> buffer{0}; test_println() local
69 std::array<char, 100> buffer{0}; test_println_blank_line() local
84 std::array<char, 100> buffer{0}; test_vprint_unicode() local
100 std::array<char, 100> buffer{0}; test_vprint_nonunicode() local
[all...]
/llvm-project/libc/utils/gpu/server/
H A Drpc_server.cpp46 __anon783c8e380102(rpc::Buffer *buffer, uint32_t id) handle_printf() argument
100 __anon783c8e380502(rpc::Buffer *buffer, uint32_t id) handle_printf() argument
125 std::unique_ptr<char[]> buffer(new char[buffer_size[lane]]); handle_printf() local
167 __anon783c8e380702(rpc::Buffer *buffer, uint32_t id) handle_printf() argument
196 __anon783c8e380802(rpc::Buffer *buffer, uint32_t id) handle_server_impl() argument
206 __anon783c8e380a02(rpc::Buffer *buffer, uint32_t id) handle_server_impl() argument
220 __anon783c8e380b02(rpc::Buffer *buffer, uint32_t id) handle_server_impl() argument
226 __anon783c8e380c02(rpc::Buffer *buffer, uint32_t id) handle_server_impl() argument
235 __anon783c8e380d02(rpc::Buffer *buffer, uint32_t id) handle_server_impl() argument
252 __anon783c8e380f02(rpc::Buffer *buffer, uint32_t id) handle_server_impl() argument
260 __anon783c8e381002(rpc::Buffer *buffer, uint32_t id) handle_server_impl() argument
269 __anon783c8e381202(rpc::Buffer *buffer) handle_server_impl() argument
287 __anon783c8e381602(rpc::Buffer *buffer, uint32_t id) handle_server_impl() argument
296 __anon783c8e381802(rpc::Buffer *buffer) handle_server_impl() argument
302 __anon783c8e381902(rpc::Buffer *buffer) handle_server_impl() argument
308 __anon783c8e381a02(rpc::Buffer *buffer) handle_server_impl() argument
314 __anon783c8e381b02(rpc::Buffer *buffer) handle_server_impl() argument
322 __anon783c8e381c02(rpc::Buffer *buffer) handle_server_impl() argument
328 __anon783c8e381d02(rpc::Buffer *buffer) handle_server_impl() argument
334 __anon783c8e381e02(rpc::Buffer *buffer) handle_server_impl() argument
350 __anon783c8e382002(rpc::Buffer *buffer, uint32_t id) handle_server_impl() argument
403 void *buffer; global() member
419 void *buffer = alloc(size, data); rpc_server_init() local
481 __anon783c8e382202(rpc::Buffer *buffer) rpc_send() argument
493 __anon783c8e382302(rpc::Buffer *buffer) rpc_recv() argument
508 __anon783c8e382502(rpc::Buffer *buffer) rpc_recv_and_send() argument
[all...]
/llvm-project/libcxx/test/std/utilities/format/format.formatter/format.formatter.spec/
H A Dformatter.floating_point.pass.cpp66 std::array<char, 128> buffer; test() local
91 std::array<char, 25'000> buffer; test_hex_lower_case_precision() local
114 std::array<char, 25'000> buffer; test_hex_lower_case_precision() local
140 std::array<char, 25'000> buffer; test_hex_upper_case_precision() local
164 std::array<char, 25'000> buffer; test_hex_upper_case_precision() local
191 std::array<char, 25'000> buffer; test_scientific_lower_case_precision() local
214 std::array<char, 25'000> buffer; test_scientific_lower_case_precision() local
240 std::array<char, 25'000> buffer; test_scientific_upper_case_precision() local
264 std::array<char, 25'000> buffer; test_scientific_upper_case_precision() local
291 std::array<char, 25'000> buffer; test_fixed_lower_case_precision() local
314 std::array<char, 25'000> buffer; test_fixed_lower_case_precision() local
340 std::array<char, 25'000> buffer; test_fixed_upper_case_precision() local
364 std::array<char, 25'000> buffer; test_fixed_upper_case_precision() local
391 std::array<char, 25'000> buffer; test_general_lower_case_precision() local
414 std::array<char, 25'000> buffer; test_general_lower_case_precision() local
440 std::array<char, 25'000> buffer; test_general_upper_case_precision() local
464 std::array<char, 25'000> buffer; test_general_upper_case_precision() local
[all...]
/llvm-project/libcxx/test/std/ranges/range.adaptors/range.drop.while/
H A Dbegin.pass.cpp58 int buffer[] = {1}; in testOne() local
67 int buffer[] = {1}; in testOne() local
76 int buffer[] = {1, 2, 3, 4, 5}; in testOne() local
85 int buffer[] = {1, 2, 3, 4, 5}; in testOne() local
94 int buffer[] = {1, 2, 3, 2, 1}; in testOne() local
117 int buffer[] = {1, 2, 3, 2, 1}; in testOne() local
130 int buffer[] = {1, 2, 3, 2, 1}; in testOne() local
139 int buffer[] = {1, 2, 3, 2, 1}; in testOne() local
149 int buffer[] = {1, 2, 3, 2, 1}; in testOne() local
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_markup.cpp27 void MarkupStackTracePrinter::RenderData(InternalScopedString *buffer, in RenderData()
39 void MarkupStackTracePrinter::RenderFrame(InternalScopedString *buffer, in RenderFrame()
50 char buffer[kFormatFunctionMax]; in SymbolizePC() local
64 static char buffer[kFormatDemangleMax]; in Demangle() local
94 static void RenderModule(InternalScopedString *buffer, in RenderModule()
105 static void RenderMmaps(InternalScopedString *buffer, in RenderMmaps()
131 void MarkupStackTracePrinter::RenderContext(InternalScopedString *buffer) { in RenderContext()
H A Dsanitizer_flag_parser.h28 virtual bool Format(char *buffer, uptr size) { in Format()
37 inline bool FormatString(char *buffer, uptr size, const char *str_to_use) { in FormatString()
78 inline bool FlagHandler<bool>::Format(char *buffer, uptr size) { in Format()
99 inline bool FlagHandler<HandleSignalMode>::Format(char *buffer, uptr size) { in Format()
111 inline bool FlagHandler<const char *>::Format(char *buffer, uptr size) { in Format()
125 inline bool FlagHandler<int>::Format(char *buffer, uptr size) { in Format()
140 inline bool FlagHandler<uptr>::Format(char *buffer, uptr size) { in Format()
155 inline bool FlagHandler<s64>::Format(char *buffer, uptr size) { in Format()
/llvm-project/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/
H A Dsetbuf.pass.cpp37 filebuf<CharT> buffer; buffered_request() local
52 filebuf<CharT> buffer; unbuffered_request_before_open() local
71 filebuf<CharT> buffer; unbuffered_request_after_open() local
88 filebuf<CharT> buffer; unbuffered_request_after_open_ate() local
[all...]
/llvm-project/libcxx/test/std/ranges/range.adaptors/range.take.while/
H A Dbegin.pass.cpp62 int buffer[] = {1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1}; in test() local
73 int buffer[] = {1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1}; in test() local
82 int buffer[] = {1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1}; in test() local
94 int buffer[] = {1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1}; in test() local
H A Dend.pass.cpp60 int buffer[] = {1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1}; in test() local
73 int buffer[] = {1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1}; in test() local
82 int buffer[] = {1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1}; in test() local
96 int buffer[] = {1, 2, 3, 4, 5, 6, 5, 4, 3, 2, 1}; in test() local
/llvm-project/libcxx/test/std/experimental/simd/simd.class/
H A Dsimd_copy.pass.cpp29 U buffer[array_size]; in operator ()() local
42 alignas(ex::memory_alignment_v<ex::simd<T, SimdAbi>, U>) U buffer[array_size]; in operator ()() local
55 alignas(bit_ceil(sizeof(U) + 1)) U buffer[array_size]; in operator ()() local
80 U buffer[array_size]; operator ()() local
91 alignas(ex::memory_alignment_v<ex::simd<T, SimdAbi>, U>) U buffer[array_size]; operator ()() local
102 alignas(bit_ceil(sizeof(U) + 1)) U buffer[array_size]; operator ()() local
[all...]

12345678910>>...27