Home
last modified time | relevance | path

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

1234567

/dports/games/libretro-beetle_saturn/beetle-saturn-libretro-ee5b214/mednafen/
H A Dmath_ops.h219 static INLINE uint64 round_up_pow2(uint32 v) { uint64 tmp = (uint64)1 << MDFN_log2(v); return tmp <… in round_up_pow2() function
220 static INLINE uint64 round_up_pow2(uint64 v) { uint64 tmp = (uint64)1 << MDFN_log2(v); return tmp <… in round_up_pow2() function
222 static INLINE uint64 round_up_pow2(int32 v) { return round_up_pow2((uint32)v); } in round_up_pow2() function
223 static INLINE uint64 round_up_pow2(int64 v) { return round_up_pow2((uint64)v); } in round_up_pow2() function
/dports/emulators/mednafen/mednafen/src/
H A Dmath_ops.h222 static INLINE uint64 round_up_pow2(uint32 v) { uint64 tmp = (uint64)1 << MDFN_log2(v); return tmp <… in round_up_pow2() function
223 static INLINE uint64 round_up_pow2(uint64 v) { uint64 tmp = (uint64)1 << MDFN_log2(v); return tmp <… in round_up_pow2() function
225 static INLINE uint64 round_up_pow2(int32 v) { return round_up_pow2((uint32)v); } in round_up_pow2() function
226 static INLINE uint64 round_up_pow2(int64 v) { return round_up_pow2((uint64)v); } in round_up_pow2() function
H A Dtests.cpp1506 assert(round_up_pow2((uint32)tv.val) == (uint64)tv.expected); in TestRoundPow2()
1507 assert(round_up_pow2((int32)tv.val) == (uint64)tv.expected); in TestRoundPow2()
1510 assert(round_up_pow2((uint64)tv.val) == (uint64)tv.expected); in TestRoundPow2()
1511 assert(round_up_pow2((int64)tv.val) == (uint64)tv.expected); in TestRoundPow2()
1518 assert(round_up_pow2((uint32)(((uint64)1 << i) + 0)) == ((uint64)1 << i)); in TestRoundPow2()
1519 assert(round_up_pow2((uint32)(((uint64)1 << i) + 1)) == (((uint64)1 << i) << 1)); in TestRoundPow2()
1521 assert(round_up_pow2(((uint64)1 << i) + 0) == ((uint64)1 << i)); in TestRoundPow2()
1522 assert(round_up_pow2(((uint64)1 << i) + 1) == (((uint64)1 << i) << 1)); in TestRoundPow2()
1561 …accum += round_up_pow2(lcg) * 1 + round_up_pow2((uint32)lcg) * 3 + round_up_pow2((uint16)lcg) * 5 … in TestRoundPow2()
/dports/games/libretro-beetle_pce_fast/beetle-pce-fast-libretro-67426f4/mednafen/
H A DMemoryStream.cpp14 static INLINE uint32 round_up_pow2(uint32 v) in round_up_pow2() function
106 uint64 new_required_alloced = round_up_pow2(new_required_size); in grow_if_necessary()
/dports/emulators/mednafen/mednafen/src/drivers/
H A Dopengl.cpp54 tmpwidth = round_up_pow2(rect->w); in BlitRaw()
55 tmpheight = round_up_pow2(rect->h); in BlitRaw()
358 tmpwidth = round_up_pow2(tex_src_rect.w); in Blit()
359 tmpheight = round_up_pow2(tex_src_rect.h); in Blit()
362 if(tmpwidth != round_up_pow2(last_w) || tmpheight != round_up_pow2(last_h)) in Blit()
/dports/emulators/mednafen/mednafen/src/pce/
H A Dmcgenjin.cpp85 assert(round_up_pow2(size) == size); in MCGenjin_CS_Device_RAM()
209 rom.resize(round_up_pow2(rr_size)); in MCGenjin()
/dports/emulators/mednafen/mednafen/src/sms/
H A Dcart.cpp113 page_mask8 = round_up_pow2(pages) - 1; in Cart_Init()
115 rom_mask = (round_up_pow2(pages) * 8192) - 1; in Cart_Init()
/dports/games/libretro-beetle_pce/beetle-pce-libretro-945b7a7/mednafen/pce/
H A Dmcgenjin.cpp83 assert(round_up_pow2(size) == size); in MCGenjin_CS_Device_RAM()
213 rom.resize(round_up_pow2(rr_size)); in MCGenjin()
/dports/games/libretro-beetle_pcfx/beetle-pcfx-libretro-7bba669/mednafen/
H A Dmath_ops.h8 static INLINE uint32 round_up_pow2(uint32 v) in round_up_pow2() function
/dports/games/libretro-beetle_gba/beetle-gba-libretro-8d1e421/mednafen/
H A Dmath_ops.h6 static INLINE uint64 round_up_pow2(uint64 v) in round_up_pow2() function
/dports/games/libretro-beetle_supergrafx/beetle-supergrafx-libretro-c4dd156/mednafen/
H A Dmath_ops.h6 static INLINE uint64 round_up_pow2(uint64 v) in round_up_pow2() function
/dports/games/libretro-beetle_supergrafx/beetle-supergrafx-libretro-c4dd156/mednafen/cdrom/
H A DSimpleFIFO.h17 data.resize(round_up_pow2(the_size)); in SimpleFIFO()
/dports/games/kodi-addon-game.libretro.beetle-psx/game.libretro.beetle-psx-0.9.44.22-Matrix/depends/common/beetle-psx/mednafen/
H A Dmath_ops.h66 static INLINE uint32 round_up_pow2(uint32 v) in round_up_pow2() function
/dports/games/libretro-beetle_psx/beetle-psx-libretro-3ec155d/mednafen/
H A Dmath_ops.h66 static INLINE uint32 round_up_pow2(uint32 v) in round_up_pow2() function
/dports/games/libretro-beetle_pce/beetle-pce-libretro-945b7a7/mednafen/cdrom/
H A DSimpleFIFO.h17 data.resize(round_up_pow2(the_size)); in SimpleFIFO()
/dports/emulators/mednafen/mednafen/src/cdrom/
H A DSimpleFIFO.h15 data.resize(round_up_pow2(the_size)); in SimpleFIFO()
/dports/games/libretro-beetle_pcfx/beetle-pcfx-libretro-7bba669/mednafen/cdrom/
H A DSimpleFIFO.h17 data.resize(round_up_pow2(the_size)); in SimpleFIFO()
/dports/biology/plink/plink-ng-79b2df8c/1.9/
H A Dplink_perm.c288 pheno_nm_ctv = round_up_pow2(pheno_nm_ctv, 2); in generate_cc_perms_thread()
320 pheno_nm_ctv = round_up_pow2(pheno_nm_ctv, 2); in generate_cc_cluster_perms_thread()
713 uintptr_t pheno_nm_ctv = round_up_pow2(pheno_nm_ctl, VEC_WORDS); in make_perm_pheno()
780 perm_vec_ctcl8m = round_up_pow2(permphe_ct, CACHELINE_DBL); in make_perm_pheno()
794 …bigstack_alloc_ui(g_perm_generation_thread_ct * round_up_pow2(g_perm_cluster_ct, CACHELINE_INT32),… in make_perm_pheno()
/dports/games/libretro-beetle_pce/beetle-pce-libretro-945b7a7/mednafen/
H A Dgit.h339 static INLINE uint32 round_up_pow2(uint32 v) in round_up_pow2() function
/dports/games/libretro-scummvm/scummvm-7b1e929/backends/platform/libretro/deps/libjpeg/
H A Djmemmgr.c48 round_up_pow2 (size_t a, size_t b) in round_up_pow2() function
288 sizeofobject = round_up_pow2(sizeofobject, ALIGN_SIZE); in alloc_small()
382 sizeofobject = round_up_pow2(sizeofobject, ALIGN_SIZE); in alloc_large()
455 samplesperrow = (JDIMENSION)round_up_pow2(samplesperrow, (2 * ALIGN_SIZE) / in alloc_sarray()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/glmark2/src/src/libjpeg-turbo/
H A Djmemmgr.c44 round_up_pow2 (size_t a, size_t b) in round_up_pow2() function
284 sizeofobject = round_up_pow2(sizeofobject, ALIGN_SIZE); in alloc_small()
378 sizeofobject = round_up_pow2(sizeofobject, ALIGN_SIZE); in alloc_large()
451 samplesperrow = (JDIMENSION)round_up_pow2(samplesperrow, (2 * ALIGN_SIZE) / in alloc_sarray()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libjpeg_turbo/
H A Djmemmgr.c48 round_up_pow2(size_t a, size_t b) in round_up_pow2() function
299 sizeofobject = round_up_pow2(sizeofobject, ALIGN_SIZE); in alloc_small()
393 sizeofobject = round_up_pow2(sizeofobject, ALIGN_SIZE); in alloc_large()
466 samplesperrow = (JDIMENSION)round_up_pow2(samplesperrow, (2 * ALIGN_SIZE) / in alloc_sarray()
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/3rdparty/libjpeg/src/
H A Djmemmgr.c48 round_up_pow2(size_t a, size_t b) in round_up_pow2() function
286 sizeofobject = round_up_pow2(sizeofobject, ALIGN_SIZE); in alloc_small()
380 sizeofobject = round_up_pow2(sizeofobject, ALIGN_SIZE); in alloc_large()
453 samplesperrow = (JDIMENSION)round_up_pow2(samplesperrow, (2 * ALIGN_SIZE) / in alloc_sarray()
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/3rdparty/libjpeg/src/
H A Djmemmgr.c48 round_up_pow2(size_t a, size_t b) in round_up_pow2() function
286 sizeofobject = round_up_pow2(sizeofobject, ALIGN_SIZE); in alloc_small()
380 sizeofobject = round_up_pow2(sizeofobject, ALIGN_SIZE); in alloc_large()
453 samplesperrow = (JDIMENSION)round_up_pow2(samplesperrow, (2 * ALIGN_SIZE) / in alloc_sarray()
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/3rdparty/libjpeg/src/
H A Djmemmgr.c48 round_up_pow2(size_t a, size_t b) in round_up_pow2() function
286 sizeofobject = round_up_pow2(sizeofobject, ALIGN_SIZE); in alloc_small()
380 sizeofobject = round_up_pow2(sizeofobject, ALIGN_SIZE); in alloc_large()
453 samplesperrow = (JDIMENSION)round_up_pow2(samplesperrow, (2 * ALIGN_SIZE) / in alloc_sarray()

1234567