Home
last modified time | relevance | path

Searched refs:large_buffer (Results 1 – 5 of 5) sorted by relevance

/external/autotest/client/site_tests/platform_ToolchainTests/src/
Dclang-fortify-tests.cpp121 char large_buffer[sizeof(small_buffer) + 1] = {}; in TestString() local
123 EXPECT_DEATH(memcpy(small_buffer, large_buffer, sizeof(large_buffer))); in TestString()
125 EXPECT_DEATH(memmove(small_buffer, large_buffer, sizeof(large_buffer))); in TestString()
127 EXPECT_DEATH(mempcpy(small_buffer, large_buffer, sizeof(large_buffer))); in TestString()
129 EXPECT_DEATH(memset(small_buffer, 0, sizeof(large_buffer))); in TestString()
133 EXPECT_DEATH(bcopy(large_buffer, small_buffer, sizeof(large_buffer))); in TestString()
135 EXPECT_DEATH(bzero(small_buffer, sizeof(large_buffer))); in TestString()
448 char large_buffer[PATH_MAX * 2]; in TestUnistd() local
450 EXPECT_NO_DEATH(getwd(large_buffer)); in TestUnistd()
452 char *volatile unknown_size_buffer = large_buffer; in TestUnistd()
[all …]
/external/rust/crates/half/benches/
Dconvert.rs120 let mut large_buffer = [f16::ZERO; SIMD_LARGE_BENCH_SLICE_LEN]; in bench_slice_f32_to_f16() localVariable
123 |b: &mut Bencher<'_>| b.iter(|| large_buffer.convert_from_f32_slice(&large)), in bench_slice_f32_to_f16()
152 let mut large_buffer = [f16::ZERO; SIMD_LARGE_BENCH_SLICE_LEN]; in bench_slice_f64_to_f16() localVariable
155 |b: &mut Bencher<'_>| b.iter(|| large_buffer.convert_from_f64_slice(&large)), in bench_slice_f64_to_f16()
184 let mut large_buffer = [0f32; SIMD_LARGE_BENCH_SLICE_LEN]; in bench_slice_f16_to_f32() localVariable
187 |b: &mut Bencher<'_>| b.iter(|| large.convert_to_f32_slice(&mut large_buffer)), in bench_slice_f16_to_f32()
216 let mut large_buffer = [0f64; SIMD_LARGE_BENCH_SLICE_LEN]; in bench_slice_f16_to_f64() localVariable
219 |b: &mut Bencher<'_>| b.iter(|| large.convert_to_f64_slice(&mut large_buffer)), in bench_slice_f16_to_f64()
/external/libpcap/
Dpcap-dpdk.c331 u_char *large_buffer=NULL; in pcap_dpdk_dispatch() local
387 large_buffer = (u_char *)malloc(caplen*sizeof(u_char)); in pcap_dpdk_dispatch()
388 gather_len = dpdk_gather_data(large_buffer, caplen, m); in pcap_dpdk_dispatch()
389 bp = large_buffer; in pcap_dpdk_dispatch()
402 if (large_buffer){ in pcap_dpdk_dispatch()
403 free(large_buffer); in pcap_dpdk_dispatch()
404 large_buffer=NULL; in pcap_dpdk_dispatch()
/external/libchrome/base/files/
Dfile_util_unittest.cc2744 std::vector<char> large_buffer(kTestData.size() * 2); in TEST_F() local
2762 file_path, &large_buffer[0], static_cast<int>(large_buffer.size())); in TEST_F()
2764 EXPECT_EQ(kTestData, std::string(large_buffer.begin(), in TEST_F()
2765 large_buffer.begin() + kTestData.size())); in TEST_F()
/external/libchrome/mojo/core/
Dtrap_unittest.cc406 char large_buffer[512]; in TEST_F() local
412 MojoReadData(consumer, &options, large_buffer, &large_read_size)); in TEST_F()