Home
last modified time | relevance | path

Searched refs:alloc_type (Results 1 – 25 of 25) sorted by relevance

/external/compiler-rt/lib/asan/
Dasan_allocator.cc78 u32 alloc_type : 2; member
324 AllocType alloc_type, bool can_fill) { in Allocate()
398 m->alloc_type = alloc_type; in Allocate()
480 AllocType alloc_type) { in QuarantineChunk()
512 AllocType alloc_type) { in Deallocate()
524 if (m->alloc_type != alloc_type) { in Deallocate()
526 ReportAllocTypeMismatch((uptr)ptr, stack, (AllocType)m->alloc_type, in Deallocate()
527 (AllocType)alloc_type); in Deallocate()
536 QuarantineChunk(m, ptr, stack, alloc_type); in Deallocate()
720 AllocType alloc_type) { in asan_memalign() argument
[all …]
Dasan_allocator.h164 AllocType alloc_type);
165 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
167 AllocType alloc_type);
Dasan_report.h61 AllocType alloc_type,
Dasan_report.cc862 AllocType alloc_type, in ReportAllocTypeMismatch() argument
868 CHECK_NE(alloc_type, dealloc_type); in ReportAllocTypeMismatch()
873 alloc_names[alloc_type], dealloc_names[dealloc_type], addr); in ReportAllocTypeMismatch()
/external/OpenCL-CTS/test_conformance/allocations/
Dmain.cpp105 int doTest( cl_device_id device, cl_context context, cl_command_queue queue, AllocType alloc_type ) in doTest() argument
116 (alloc_type != BUFFER) && (alloc_type != BUFFER_NON_BLOCKING); in doTest()
169 … log_info( "** Allocating %s to size %gMB.\n", alloc_description[alloc_type], toMB( g_max_size ) ); in doTest()
183 …or = allocate_size( context, &queue, device, g_multiple_allocations, current_test_size, alloc_type, in doTest()
190 … error = execute_kernel( context, &queue, device, alloc_type, mems, number_of_mems_used, in doTest()
/external/cronet/tot/base/allocator/partition_allocator/src/partition_alloc/
Dpartition_alloc_perftest.cc384 AllocatorType alloc_type, in LogResults() argument
388 << static_cast<int>(alloc_type) << "," << total_laps_per_second in LogResults()
394 AllocatorType alloc_type, in RunTest() argument
398 auto alloc = CreateAllocator(alloc_type, use_alternate_bucket_dist); in RunTest()
424 switch (alloc_type) { in RunTest()
447 LogResults(thread_count, alloc_type, total_laps_per_second, in RunTest()
/external/cronet/stable/base/allocator/partition_allocator/src/partition_alloc/
Dpartition_alloc_perftest.cc384 AllocatorType alloc_type, in LogResults() argument
388 << static_cast<int>(alloc_type) << "," << total_laps_per_second in LogResults()
394 AllocatorType alloc_type, in RunTest() argument
398 auto alloc = CreateAllocator(alloc_type, use_alternate_bucket_dist); in RunTest()
424 switch (alloc_type) { in RunTest()
447 LogResults(thread_count, alloc_type, total_laps_per_second, in RunTest()
/external/linux-kselftest/tools/testing/selftests/arm64/mte/
Dcheck_buffer_fill.c265 enum mte_block_test_alloc alloc_type = UNTAGGED_TAGGED; in check_buffer_by_block_iterate() local
267 for (alloc_type = UNTAGGED_TAGGED; alloc_type < (int) BLOCK_ALLOC_MAX; alloc_type++) { in check_buffer_by_block_iterate()
268 switch (alloc_type) { in check_buffer_by_block_iterate()
/external/cronet/tot/third_party/llvm-libc/src/fuzzing/__support/
Dfreelist_heap_fuzz.cpp136 ASSIGN_OR_RETURN(auto, alloc_type, choose<AllocType>(data, remainder)); in LLVMFuzzerTestOneInput()
142 switch (alloc_type) { in LLVMFuzzerTestOneInput()
196 if (alloc_type != AllocType::REALLOC) { in LLVMFuzzerTestOneInput()
/external/cronet/stable/third_party/llvm-libc/src/fuzzing/__support/
Dfreelist_heap_fuzz.cpp136 ASSIGN_OR_RETURN(auto, alloc_type, choose<AllocType>(data, remainder)); in LLVMFuzzerTestOneInput()
142 switch (alloc_type) { in LLVMFuzzerTestOneInput()
196 if (alloc_type != AllocType::REALLOC) { in LLVMFuzzerTestOneInput()
/external/tensorflow/tensorflow/lite/experimental/resource/
Dresource_variable_test.cc27 void InitTensor(const std::vector<int>& shape, TfLiteAllocationType alloc_type, in InitTensor() argument
38 reinterpret_cast<char*>(buf), bytes, alloc_type, nullptr, in InitTensor()
/external/f2fs-tools/fsck/
Dmount.c586 DISP_u32(cp, alloc_type[CURSEG_HOT_NODE]); in print_ckpt_info()
587 DISP_u32(cp, alloc_type[CURSEG_WARM_NODE]); in print_ckpt_info()
588 DISP_u32(cp, alloc_type[CURSEG_COLD_NODE]); in print_ckpt_info()
598 DISP_u32(cp, alloc_type[CURSEG_HOT_DATA]); in print_ckpt_info()
599 DISP_u32(cp, alloc_type[CURSEG_WARM_DATA]); in print_ckpt_info()
600 DISP_u32(cp, alloc_type[CURSEG_COLD_DATA]); in print_ckpt_info()
2054 if (curseg->alloc_type == SSR) in read_compacted_summaries()
2225 array[i].alloc_type = cp->alloc_type[i]; in build_curseg()
2925 curseg->alloc_type == LFS ? "LFS" : "SSR"); in relocate_curseg_offset()
2928 curseg->alloc_type = SSR; in relocate_curseg_offset()
[all …]
Df2fs.h182 unsigned char alloc_type; /* current allocation type */ member
Dfsck.c2839 if (curseg->alloc_type == SSR) in check_curseg_offset()
/external/mesa3d/src/microsoft/compiler/
Ddxil_internal.h179 const struct dxil_type *alloc_type; member
Ddxil_module.h548 dxil_emit_alloca(struct dxil_module *m, const struct dxil_type *alloc_type,
Ddxil_module.c3382 dxil_emit_alloca(struct dxil_module *m, const struct dxil_type *alloc_type, in dxil_emit_alloca() argument
3389 dxil_module_get_pointer_type(m, alloc_type); in dxil_emit_alloca()
3397 instr->alloca.alloc_type = alloc_type; in dxil_emit_alloca()
3729 assert(instr->alloca.alloc_type->id >= 0); in emit_alloca()
3734 instr->alloca.alloc_type->id, in emit_alloca()
Ddxil_dump.c552 dump_type_name(d, alloca->alloc_type); in dump_instr_alloca()
/external/cronet/stable/third_party/protobuf/src/google/protobuf/
Dmap.h1116 using alloc_type = typename Allocator::template rebind<U>::other;
1117 return alloc_type(alloc_).allocate(n);
1123 using alloc_type = typename Allocator::template rebind<U>::other;
1124 alloc_type(alloc_).deallocate(t, n);
/external/cronet/tot/third_party/protobuf/src/google/protobuf/
Dmap.h1116 using alloc_type = typename Allocator::template rebind<U>::other;
1117 return alloc_type(alloc_).allocate(n);
1123 using alloc_type = typename Allocator::template rebind<U>::other;
1124 alloc_type(alloc_).deallocate(t, n);
/external/protobuf/src/google/protobuf/
Dmap.h1129 using alloc_type = typename Allocator::template rebind<U>::other;
1130 return alloc_type(alloc_).allocate(n);
1136 using alloc_type = typename Allocator::template rebind<U>::other;
1137 alloc_type(alloc_).deallocate(t, n);
/external/mesa3d/src/intel/compiler/elk/
Delk_vec4_visitor.cpp1161 const glsl_type *alloc_type = in emit_scratch_write() local
1163 const src_reg temp = swizzle(retype(src_reg(this, alloc_type), in emit_scratch_write()
1177 dst_reg shuffled = dst_reg(this, alloc_type); in emit_scratch_write()
/external/f2fs-tools/include/
Df2fs_fs.h867 unsigned char alloc_type[MAX_ACTIVE_LOGS]; member
/external/bcc/libbpf-tools/riscv/
Dvmlinux_602.h65184 unsigned char alloc_type[16]; member
65755 unsigned char alloc_type; member
Dvmlinux.h65184 unsigned char alloc_type[16]; member
65755 unsigned char alloc_type; member