Searched +full:0 +full:xffff (Results 1 – 4 of 4) sorted by relevance
24 #define LFS_VERSION 0x0002000225 #define LFS_VERSION_MAJOR (0xffff & (LFS_VERSION >> 16))26 #define LFS_VERSION_MINOR (0xffff & (LFS_VERSION >> 0))31 #define LFS_DISK_VERSION 0x0002000032 #define LFS_DISK_VERSION_MAJOR (0xffff & (LFS_DISK_VERSION >> 16))33 #define LFS_DISK_VERSION_MINOR (0xffff & (LFS_DISK_VERSION >> 0))72 LFS_ERR_OK = 0, // No error92 LFS_TYPE_REG = 0x001,93 LFS_TYPE_DIR = 0x002,96 LFS_TYPE_SPLICE = 0x400,[all …]
51 - make test TFLAGS+="-nrk -DLFS_INLINE_MAX=0"70 if [ "$TRAVIS_TEST_RESULT" -eq 0 ]76 | capture(\"code size is (?<size>[0-9]+)\").size" \77 || echo 0)80 if [ "$PREV" -ne 0 ]82 STATUS="$STATUS ($(python -c "print '%+.2f' % (100*($CURR-$PREV)/$PREV.0)")%)"308 LFS_VERSION_MAJOR=$((0xffff & ($LFS_VERSION >> 16)))309 LFS_VERSION_MINOR=$((0xffff & ($LFS_VERSION >> 0)))310 # Grab latests patch from repo tags, default to 0, needs finagling319 || echo 0)[all …]
156 uint32_t r = 0; in lfs_npw2()159 s = (a > 0xffff) << 4; a >>= s; r |= s; in lfs_npw2()160 s = (a > 0xff ) << 3; a >>= s; r |= s; in lfs_npw2()161 s = (a > 0xf ) << 2; a >>= s; r |= s; in lfs_npw2()162 s = (a > 0x3 ) << 1; a >>= s; r |= s; in lfs_npw2()168 // lfs_ctz(0) may be undefined182 a = a - ((a >> 1) & 0x55555555); in lfs_popc()183 a = (a & 0x33333333) + ((a >> 2) & 0x33333333); in lfs_popc()184 return (((a + (a >> 4)) & 0xf0f0f0f) * 0x1010101) >> 24; in lfs_popc()207 return (((uint8_t*)&a)[0] << 0) | in lfs_fromle32()[all …]
23 memset(pcache->buffer, 0xff, lfs->cfg->cache_size); in lfs_cache_zero()37 while (size > 0) { in lfs_bd_read()74 if (size >= hint && off % lfs->cfg->read_size == 0 && in lfs_bd_read()101 LFS_ASSERT(err <= 0); in lfs_bd_read()107 return 0; in lfs_bd_read()111 LFS_CMP_EQ = 0,122 for (lfs_off_t i = 0; i < size; i++) { in lfs_bd_cmp()146 LFS_ASSERT(err <= 0); in lfs_bd_flush()157 if (res < 0) { in lfs_bd_flush()169 return 0; in lfs_bd_flush()[all …]