Home
last modified time | relevance | path

Searched refs:RUBY_ALIGNOF (Results 1 – 7 of 7) sorted by relevance

/dports/lang/ruby26/ruby-2.6.9/include/ruby/
H A Ddefines.h485 #ifdef RUBY_ALIGNOF
488 #define RUBY_ALIGNOF alignof macro
490 #define RUBY_ALIGNOF _Alignof macro
492 #define RUBY_ALIGNOF(type) ((size_t)offsetof(struct { char f1; type f2; }, f2)) macro
H A Druby.h1662 #if defined(HAVE_BUILTIN___BUILTIN_ALLOCA_WITH_ALIGN) && defined(RUBY_ALIGNOF)
1667 RUBY_ALIGNOF(type) * CHAR_BIT)
/dports/lang/ruby26/ruby-2.6.9/
H A Dbignum.c678 if (wordsize == 2 && (uintptr_t)words % RUBY_ALIGNOF(uint16_t) == 0) { in bary_pack()
686 if (wordsize == 4 && (uintptr_t)words % RUBY_ALIGNOF(uint32_t) == 0) { in bary_pack()
694 if (wordsize == 8 && (uintptr_t)words % RUBY_ALIGNOF(uint64_t) == 0) { in bary_pack()
709 if (wordsize == 2 && (uintptr_t)words % RUBY_ALIGNOF(uint16_t) == 0) { in bary_pack()
718 if (wordsize == 4 && (uintptr_t)words % RUBY_ALIGNOF(uint32_t) == 0) { in bary_pack()
727 if (wordsize == 8 && (uintptr_t)words % RUBY_ALIGNOF(uint64_t) == 0) { in bary_pack()
770 wordsize % SIZEOF_BDIGIT == 0 && (uintptr_t)words % RUBY_ALIGNOF(BDIGIT) == 0) { in bary_pack()
1117 if (wordsize == 2 && (uintptr_t)words % RUBY_ALIGNOF(uint16_t) == 0) { in bary_unpack_internal()
1123 if (wordsize == 4 && (uintptr_t)words % RUBY_ALIGNOF(uint32_t) == 0) { in bary_unpack_internal()
1129 if (wordsize == 8 && (uintptr_t)words % RUBY_ALIGNOF(uint64_t) == 0) { in bary_unpack_internal()
H A Dtransient_heap.c60 #define TRANSIENT_HEAP_ALLOC_ALIGN RUBY_ALIGNOF(void *)
H A Dcompile.c8561 #define IBF_W_ALIGN(type) (RUBY_ALIGNOF(type) > 1 ? ibf_dump_align(dump, RUBY_ALIGNOF(type)) : (voi…
9266 RUBY_ALIGNOF(struct ibf_object_header);
9325 ibf_load_check_offset(load, IBF_ALIGNED_OFFSET(RUBY_ALIGNOF(type), offset))
10081 if (load->header->iseq_list_offset % RUBY_ALIGNOF(ibf_offset_t)) { in ibf_load_setup()
10085 if (load->header->id_list_offset % RUBY_ALIGNOF(long)) { in ibf_load_setup()
10089 if (load->header->object_list_offset % RUBY_ALIGNOF(ibf_offset_t)) { in ibf_load_setup()
H A Dconfigure.ac1386 AC_DEFINE_UNQUOTED(RUBY_ALIGNOF, $rb_cv_have_alignof)
H A DChangeLog36647 * include/ruby/defines.h (RUBY_ALIGNOF): Fix macro argument name.