/haiku/src/add-ons/kernel/file_systems/exfat/ |
H A D | Utility.cpp | 47 off_t divisor = 1ULL << 40; in get_default_volume_name() local 49 if (partitionSize < divisor) { in get_default_volume_name() 50 divisor = 1UL << 30; in get_default_volume_name() 52 if (partitionSize < divisor) { in get_default_volume_name() 53 divisor = 1UL << 20; in get_default_volume_name() 58 double size = double((10 * partitionSize + divisor - 1) / divisor); in get_default_volume_name()
|
/haiku/src/system/libroot/os/ |
H A D | fs_info.cpp | 47 off_t divisor = 1ULL << 40; in fs_stat_dev() local 51 if (diskSize < divisor) { in fs_stat_dev() 52 divisor = 1UL << 30; in fs_stat_dev() 54 if (diskSize < divisor) { in fs_stat_dev() 55 divisor = 1UL << 20; in fs_stat_dev() 60 double size = double((10 * diskSize + divisor - 1) / divisor); in fs_stat_dev()
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | Utility.h | 50 divide_roundup(int32 num, int32 divisor) in divide_roundup() argument 52 return (num + divisor - 1) / divisor; in divide_roundup() 57 divide_roundup(int64 num, int32 divisor) in divide_roundup() argument 59 return (num + divisor - 1) / divisor; in divide_roundup()
|
/haiku/src/system/boot/platform/bios_ia32/ |
H A D | serial.cpp | 100 uint16 divisor = uint16(115200 / kSerialBaudRate); in serial_init() local 104 out8(divisor & 0xf, sSerialBasePort + SERIAL_DIVISOR_LATCH_LOW); in serial_init() 105 out8(divisor >> 8, sSerialBasePort + SERIAL_DIVISOR_LATCH_HIGH); in serial_init()
|
/haiku/src/bin/bfs_tools/lib/ |
H A D | bfs.h | 163 divide_roundup(int32 num,int32 divisor) in divide_roundup() argument 165 return (num + divisor - 1) / divisor; in divide_roundup() 169 divide_roundup(int64 num,int32 divisor) in divide_roundup() argument 171 return (num + divisor - 1) / divisor; in divide_roundup()
|
/haiku/src/kits/tracker/ |
H A D | MountMenu.cpp | 116 uint32 divisor = 1UL << 30; in Visit() local 118 if (partition->Size() < divisor) { in Visit() 119 divisor = 1UL << 20; in Visit() 124 1.0 * partition->Size() / divisor, unit, type); in Visit()
|
/haiku/src/system/libroot/posix/glibc/stdio-common/ |
H A D | printf_size.c | 104 int divisor = isupper (info->spec) ? 1000 : 1024; in printf_size() local 147 while (fpnum.ldbl.d >= divisor && tag[1] != '\0') in printf_size() 149 fpnum.ldbl.d /= divisor; in printf_size() 173 while (fpnum.dbl.d >= divisor && tag[1] != '\0') in printf_size() 175 fpnum.dbl.d /= divisor; in printf_size()
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | Volume.cpp | 315 off_t divisor = 1ULL << 40; in Mount() local 317 if (diskSize < divisor) { in Mount() 318 divisor = 1UL << 30; in Mount() 320 if (diskSize < divisor) { in Mount() 321 divisor = 1UL << 20; in Mount() 326 double size = double((10 * diskSize + divisor - 1) / divisor); in Mount()
|
/haiku/headers/libs/zydis/Zycore/ |
H A D | Defines.h | 491 # define ZYAN_DIV64(n, divisor) do_div(n, divisor) argument 493 # define ZYAN_DIV64(n, divisor) (n /= divisor) argument
|
/haiku/src/system/kernel/arch/x86/ |
H A D | arch_debug_console.cpp | 79 uint16 divisor = (uint16)(115200 / baudRate); in init_serial_port() local 82 out8(divisor & 0xf, sSerialBasePort + SERIAL_DIVISOR_LATCH_LOW); in init_serial_port() 83 out8(divisor >> 8, sSerialBasePort + SERIAL_DIVISOR_LATCH_HIGH); in init_serial_port()
|
/haiku/src/add-ons/kernel/drivers/input/hid_shared/ |
H A D | HIDParser.cpp | 554 float divisor = (physicalMaximum - physicalMinimum) * power; in _CalculateResolution() local 555 if (divisor == 0.0) in _CalculateResolution() 558 return (state->logical_maximum - state->logical_minimum) / divisor; in _CalculateResolution()
|
/haiku/src/kits/storage/disk_device/ |
H A D | Partition.cpp | 267 off_t divisor = 1ULL << 40; in ContentName() local 270 if (diskSize < divisor) { in ContentName() 271 divisor = 1UL << 30; in ContentName() 273 if (diskSize < divisor) { in ContentName() 274 divisor = 1UL << 20; in ContentName() 278 double size = double((10 * diskSize + divisor - 1) / divisor); in ContentName()
|
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/ |
H A D | SerialDevice.cpp | 132 uint16 divisor = SupportDescriptor()->bauds[baudIndex]; in SetModes() local 174 WriteReg8(DLLB, divisor & 0x00ff); in SetModes() 175 WriteReg8(DLHB, divisor >> 8); in SetModes()
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_uipc_mbuf.c | 1441 int divisor = 255, progress = 0, fraglen; in m_fragment() local 1450 if (length < 0 && divisor > MCLBYTES) in m_fragment() 1451 divisor = MCLBYTES; in m_fragment() 1453 length = 1 + (arc4random() % divisor); in m_fragment() 1470 fraglen = 1 + (arc4random() % divisor); in m_fragment()
|
/haiku/headers/private/file_systems/ |
H A D | QueryParser.h | 781 const int32 divisor = (firstSymbolIndex > 3) ? 4 : (firstSymbolIndex + 1); 782 fScore /= divisor;
|
/haiku/src/apps/mail/ |
H A D | words | 11087 divisor/MS
|