Home
last modified time | relevance | path

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

/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
126 if( alloc_type > BUFFER && checkForImageSupport( device ) ) in doTest()
135 if( ( alloc_type != BUFFER ) && ( alloc_type != BUFFER_NON_BLOCKING ) ) in doTest()
167 … log_info( "** Allocating %s to size %gMB.\n", alloc_description[alloc_type], toMB( g_max_size ) ); in doTest()
181 …or = allocate_size( context, &queue, device, g_multiple_allocations, current_test_size, alloc_type, in doTest()
188 … error = execute_kernel( context, &queue, device, alloc_type, mems, number_of_mems_used, in doTest()
/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/llvm-project/compiler-rt/lib/asan/
Dasan_allocator.cpp91 u8 alloc_type : 2; member in __asan::ChunkHeader
485 AllocType alloc_type, bool can_fill) { in Allocate()
568 m->alloc_type = alloc_type; in Allocate()
677 BufferedStackTrace *stack, AllocType alloc_type) { in Deallocate()
699 if (m->alloc_type != alloc_type) { in Deallocate()
701 ReportAllocTypeMismatch((uptr)ptr, stack, (AllocType)m->alloc_type, in Deallocate()
702 (AllocType)alloc_type); in Deallocate()
706 (alloc_type == FROM_NEW || alloc_type == FROM_NEW_BR) && in Deallocate()
908 return (AllocType)chunk_->alloc_type; in GetAllocType()
970 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in asan_free() argument
[all …]
Dasan_allocator.h209 AllocType alloc_type);
210 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
212 BufferedStackTrace *stack, AllocType alloc_type);
Dasan_report.h58 AllocType alloc_type,
Dasan_errors.h113 AllocType alloc_type, dealloc_type; member
121 alloc_type(alloc_type_), in ErrorAllocTypeMismatch()
Dasan_descriptions.h117 u32 alloc_type : 2; member
Dasan_report.cpp242 AllocType alloc_type, in ReportAllocTypeMismatch() argument
246 alloc_type, dealloc_type); in ReportAllocTypeMismatch()
Dasan_errors.cpp124 CHECK_NE(alloc_type, dealloc_type); in Print()
128 scariness.GetDescription(), alloc_names[alloc_type], in Print()
Dasan_descriptions.cpp124 descr->alloc_type = chunk.GetAllocType(); in GetAccessToHeapChunkInformation()
/external/llvm-project/compiler-rt/lib/memprof/
Dmemprof_allocator.h82 AllocType alloc_type);
83 void memprof_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
85 BufferedStackTrace *stack, AllocType alloc_type);
Dmemprof_allocator.cpp514 AllocType alloc_type) { in Allocate()
612 BufferedStackTrace *stack, AllocType alloc_type) { in Deallocate()
763 void memprof_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in memprof_free() argument
764 instance.Deallocate(ptr, 0, 0, stack, alloc_type); in memprof_free()
768 BufferedStackTrace *stack, AllocType alloc_type) { in memprof_delete() argument
769 instance.Deallocate(ptr, size, alignment, stack, alloc_type); in memprof_delete()
824 AllocType alloc_type) { in memprof_memalign() argument
831 return SetErrnoOnNull(instance.Allocate(size, alignment, stack, alloc_type)); in memprof_memalign()
/external/tensorflow/tensorflow/lite/experimental/resource/
Dresource_variable_test.cc26 void InitTensor(const std::vector<int>& shape, TfLiteAllocationType alloc_type, in InitTensor() argument
37 reinterpret_cast<char*>(buf), bytes, alloc_type, nullptr, in InitTensor()
/external/f2fs-tools/fsck/
Dmount.c452 DISP_u32(cp, alloc_type[CURSEG_HOT_NODE]); in print_ckpt_info()
453 DISP_u32(cp, alloc_type[CURSEG_WARM_NODE]); in print_ckpt_info()
454 DISP_u32(cp, alloc_type[CURSEG_COLD_NODE]); in print_ckpt_info()
464 DISP_u32(cp, alloc_type[CURSEG_HOT_DATA]); in print_ckpt_info()
465 DISP_u32(cp, alloc_type[CURSEG_WARM_DATA]); in print_ckpt_info()
466 DISP_u32(cp, alloc_type[CURSEG_COLD_DATA]); in print_ckpt_info()
1810 if (curseg->alloc_type == SSR) in read_compacted_summaries()
1980 array[i].alloc_type = cp->alloc_type[i]; in build_curseg()
2646 curseg->alloc_type == LFS ? "LFS" : "SSR"); in relocate_curseg_offset()
2649 curseg->alloc_type = SSR; in relocate_curseg_offset()
[all …]
Df2fs.h177 unsigned char alloc_type; /* current allocation type */ member
Dfsck.c2403 if (curseg->alloc_type == SSR) in check_curseg_offset()
/external/protobuf/src/google/protobuf/
Dmap.h907 typedef typename Allocator::template rebind<U>::other alloc_type; in Alloc() typedef
908 return alloc_type(alloc_).allocate(n); in Alloc()
914 typedef typename Allocator::template rebind<U>::other alloc_type; in Dealloc() typedef
915 alloc_type(alloc_).deallocate(t, n); in Dealloc()
/external/mesa3d/src/intel/compiler/
Dbrw_vec4_visitor.cpp1430 const glsl_type *alloc_type = in emit_scratch_write() local
1432 const src_reg temp = swizzle(retype(src_reg(this, alloc_type), in emit_scratch_write()
1446 dst_reg shuffled = dst_reg(this, alloc_type); in emit_scratch_write()
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
DRenderScriptRuntime.cpp2495 const uint32_t alloc_type = static_cast<uint32_t>(*alloc->element.type.get()); in LoadAllocation() local
2501 } else if (alloc_type != file_type) { in LoadAllocation()
2504 uint32_t target_type_name_idx = alloc_type; in LoadAllocation()
2506 if (alloc_type >= Element::RS_TYPE_ELEMENT && in LoadAllocation()
2507 alloc_type <= Element::RS_TYPE_FONT) in LoadAllocation()
2509 (alloc_type - Element::RS_TYPE_ELEMENT) + in LoadAllocation()
/external/f2fs-tools/include/
Df2fs_fs.h826 unsigned char alloc_type[MAX_ACTIVE_LOGS]; member