Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_allocator.cpp91 u8 alloc_type : 2; member in __asan::ChunkHeader
474 AllocType alloc_type, bool can_fill) { in Allocate()
557 m->alloc_type = alloc_type; in Allocate()
665 BufferedStackTrace *stack, AllocType alloc_type) { in Deallocate()
687 if (m->alloc_type != alloc_type) { in Deallocate()
689 ReportAllocTypeMismatch((uptr)ptr, stack, (AllocType)m->alloc_type, in Deallocate()
690 (AllocType)alloc_type); in Deallocate()
694 (alloc_type == FROM_NEW || alloc_type == FROM_NEW_BR) && in Deallocate()
896 return (AllocType)chunk_->alloc_type; in GetAllocType()
943 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in asan_free() argument
[all …]
H A Dasan_allocator.h201 AllocType alloc_type);
202 void asan_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
204 BufferedStackTrace *stack, AllocType alloc_type);
H A Dasan_report.h58 AllocType alloc_type,
H A Dasan_errors.h113 AllocType alloc_type, dealloc_type; member
121 alloc_type(alloc_type_), in ErrorAllocTypeMismatch()
H A Dasan_descriptions.h117 u32 alloc_type : 2; member
H A Dasan_errors.cpp122 CHECK_NE(alloc_type, dealloc_type); in Print()
126 scariness.GetDescription(), alloc_names[alloc_type], in Print()
H A Dasan_report.cpp244 AllocType alloc_type, in ReportAllocTypeMismatch() argument
248 alloc_type, dealloc_type); in ReportAllocTypeMismatch()
H A Dasan_descriptions.cpp123 descr->alloc_type = chunk.GetAllocType(); in GetAccessToHeapChunkInformation()
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20001203-2.c39 struct type *alloc_type (void);
52 result_type = alloc_type (); in create_array_type()
92 alloc_type (void) in alloc_type() function
/openbsd-src/gnu/llvm/compiler-rt/lib/memprof/
H A Dmemprof_allocator.h81 AllocType alloc_type);
82 void memprof_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type);
84 BufferedStackTrace *stack, AllocType alloc_type);
H A Dmemprof_allocator.cpp339 AllocType alloc_type) { in Allocate()
436 BufferedStackTrace *stack, AllocType alloc_type) { in Deallocate()
585 void memprof_free(void *ptr, BufferedStackTrace *stack, AllocType alloc_type) { in memprof_free() argument
586 instance.Deallocate(ptr, 0, 0, stack, alloc_type); in memprof_free()
590 BufferedStackTrace *stack, AllocType alloc_type) { in memprof_delete() argument
591 instance.Deallocate(ptr, size, alignment, stack, alloc_type); in memprof_delete()
646 AllocType alloc_type) { in memprof_memalign() argument
653 return SetErrnoOnNull(instance.Allocate(size, alignment, stack, alloc_type)); in memprof_memalign()
/openbsd-src/gnu/gcc/gcc/
H A Dggc-zone.c231 typedef unsigned int alloc_type; typedef
273 alloc_type alloc_bits[1];
476 alloc_type *alloc_bits;
576 / (8 * sizeof (alloc_type) * BYTES_PER_ALLOC_BIT)); in zone_get_object_alloc_word()
585 % (8 * sizeof (alloc_type))); in zone_get_object_alloc_bit()
638 zone_object_size_1 (alloc_type *alloc_bits, in zone_object_size_1()
643 alloc_type alloc_word; in zone_object_size_1()
661 size = (sizeof (alloc_type) * 8 - start_bit + 1) * BYTES_PER_ALLOC_BIT; in zone_object_size_1()
673 size += sizeof (alloc_type) * 8 * BYTES_PER_ALLOC_BIT; in zone_object_size_1()
1463 alloc_word = offset / (8 * sizeof (alloc_type)); in ggc_get_size()
[all …]
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dgdbtypes.c148 alloc_type (struct objfile *objfile) in alloc_type() function
249 ntype = alloc_type (TYPE_OBJFILE (type)); in make_pointer_type()
316 ntype = alloc_type (TYPE_OBJFILE (type)); in make_reference_type()
365 ntype = alloc_type (TYPE_OBJFILE (type)); in make_function_type()
598 mtype = alloc_type (TYPE_OBJFILE (type)); in lookup_member_type()
636 result_type = alloc_type (TYPE_OBJFILE (index_type)); in create_range_type()
745 result_type = alloc_type (TYPE_OBJFILE (range_type)); in create_array_type()
799 result_type = alloc_type (TYPE_OBJFILE (domain_type)); in create_set_type()
1396 TYPE_TARGET_TYPE (type) = alloc_type (NULL); /* TYPE_CODE_UNDEF */ in check_typedef()
1686 type = alloc_type (objfile); in init_type()
H A Djv-lang.c188 type = alloc_type (objfile); in java_lookup_class()
305 type = alloc_type (objfile); in type_from_class()
H A Dada-lang.c1478 struct type *range_type = alloc_type (objf); in ada_type_of_array()
1479 struct type *array_type = alloc_type (objf); in ada_type_of_array()
1585 new_type = alloc_type (TYPE_OBJFILE (type)); in packed_array_type()
6004 struct type *type = alloc_type (objfile); in empty_record()
6060 rtype = alloc_type (TYPE_OBJFILE (type)); in ada_template_to_fixed_record_type_1()
6230 TYPE_TARGET_TYPE (type0) = type = alloc_type (TYPE_OBJFILE (type0)); in template_to_static_fixed_type()
6275 rtype = alloc_type (TYPE_OBJFILE (type)); in to_record_with_fixed_variant_part()
6436 result = create_array_type (alloc_type (TYPE_OBJFILE (type0)), in to_fixed_array_type()
6457 result = create_array_type (alloc_type (TYPE_OBJFILE (type0)), in to_fixed_array_type()
8178 type = create_range_type (alloc_type (objfile), base_type, L, U); in to_fixed_range_type()
H A Dgdbtypes.h1170 extern struct type *alloc_type (struct objfile *);
H A Dstabsread.c324 return (alloc_type (objfile)); in dbx_alloc_type()
334 *type_addr = alloc_type (objfile); in dbx_alloc_type()
H A Ddwarf2read.c3564 fnp->type = alloc_type (objfile); in dwarf2_add_member_fn()
3720 type = alloc_type (objfile); in read_structure_type()
3919 type = alloc_type (objfile); in read_enumeration_type()
4431 type = alloc_type (objfile); in read_tag_ptr_to_member_type()
4762 base_type = alloc_type (NULL); in read_subrange_type()
H A Dhpread.c3072 *type_addr = alloc_type (objfile); in hpread_alloc_type()
4878 ptrmemtype = alloc_type (objfile); in hpread_type_lookup()
4902 ptrmemtype = alloc_type (objfile); in hpread_type_lookup()
H A Dcoffread.c348 type = alloc_type (current_objfile); in coff_alloc_type()
H A Ddwarfread.c828 utypep = alloc_type (current_objfile); in alloc_utype()
H A Dmdebugread.c4699 t = alloc_type (current_objfile); in new_type()
/openbsd-src/gnu/llvm/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptRuntime.cpp2484 const uint32_t alloc_type = static_cast<uint32_t>(*alloc->element.type.get()); in LoadAllocation() local
2490 } else if (alloc_type != file_type) { in LoadAllocation()
2493 uint32_t target_type_name_idx = alloc_type; in LoadAllocation()
2495 if (alloc_type >= Element::RS_TYPE_ELEMENT && in LoadAllocation()
2496 alloc_type <= Element::RS_TYPE_FONT) in LoadAllocation()
2498 (alloc_type - Element::RS_TYPE_ELEMENT) + in LoadAllocation()
/openbsd-src/gnu/usr.bin/binutils-2.17/gas/
H A Decoff.c735 enum alloc_type { enum
/openbsd-src/gnu/usr.bin/binutils/gas/
H A Decoff.c734 enum alloc_type { enum

12