Home
last modified time | relevance | path

Searched refs:powerof2 (Results 1 – 17 of 17) sorted by relevance

/third_party/elfutils/libelf/
Delf32_updatenull.c215 if (unlikely (! powerof2 (sh_align))) in __elfw2()
303 if (unlikely (! powerof2 (data->d_align))) in __elfw2()
355 if (unlikely (! powerof2 (shdr->sh_addralign)) in __elfw2()
Delf_compress.c277 if (! powerof2 (chdr.ch_addralign)) in __libelf_decompress_elf()
DChangeLog900 is a powerof2.
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dparam.h29 #define powerof2(n) !(((n)-1) & (n)) macro
/third_party/musl/ndk_musl_include/sys/
Dparam.h29 #define powerof2(n) !(((n)-1) & (n)) macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dparam.h29 #define powerof2(n) !(((n)-1) & (n)) macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dparam.h32 #define powerof2(n) !(((n)-1) & (n)) macro
/third_party/musl/include/sys/
Dparam.h29 #define powerof2(n) !(((n)-1) & (n)) macro
/third_party/musl/porting/uniproton/kernel/include/sys/
Dparam.h29 #define powerof2(n) !(((n)-1) & (n)) macro
/third_party/FreeBSD/sbin/fsck_msdosfs/
Dboot.c74 !powerof2(boot->bpbBytesPerSec)) { in readboot()
81 if (boot->bpbSecPerClust == 0 || !powerof2(boot->bpbSecPerClust)) { in readboot()
/third_party/FreeBSD/sbin/newfs_msdos/
Dmkfs_msdos.c352 !powerof2(bpb.bpbBytesPerSec)) { in mkfs_msdos()
382 if (!powerof2(o.block_size)) { in mkfs_msdos()
399 if (!powerof2(o.sectors_per_cluster)) { in mkfs_msdos()
832 static_assert(powerof2(MAXBPS), "MAXBPS is not power of 2"); in getchunksize()
833 assert(powerof2(chunksize)); in getchunksize()
/third_party/elfutils/libasm/
Dasm_align.c49 if (unlikely (! powerof2 (value))) in asm_align()
/third_party/elfutils/lib/
Dsystem.h90 #define powerof2(x) (((x) & ((x) - 1)) == 0) macro
DChangeLog236 (powerof2): Define if not already defined.
/third_party/elfutils/
Dconfigure.ac430 AC_CHECK_DECLS([powerof2],[],[],[#include <sys/param.h>])
DChangeLog442 * configure.ac: Add memrchr, rawmemchr and powerof2 checks.
/third_party/elfutils/src/
Delflint.c2149 if (bitmask_words == 0 || !powerof2 (bitmask_words)) in check_gnu_hash()
4743 if (!powerof2 (phdr->p_align)) in check_program_header()