Searched refs:val (Results 1 - 25 of 505) sorted by relevance

1234567891011>>

/haiku/src/system/libroot/posix/stdlib/
H A Ddiv.c17 div_t val; local
19 val.quot = numerator / denominator;
20 val.rem = numerator % denominator;
22 if (numerator >= 0 && val.rem < 0) {
23 val.rem -= denominator;
24 ++val.quot;
27 return val;
34 ldiv_t val; local
36 val.quot = numerator / denominator;
37 val
51 lldiv_t val; local
[all...]
/haiku/src/add-ons/kernel/drivers/graphics/et6x00/
H A Dbits.c12 * positions to be set and must contain 1s at all other bits; val must
15 __inline void set8(volatile char *addr, char mask, char val) argument
18 *addr = val;
20 *addr = (*addr & mask) | (val & ~mask);
23 __inline void set16(volatile short *addr, short mask, short val) argument
26 *addr = val;
28 *addr = (*addr & mask) | (val & ~mask);
31 __inline void set32(volatile int *addr, int mask, int val) argument
34 *addr = val;
36 *addr = (*addr & mask) | (val
39 ioSet8(short port, char mask, char val) argument
[all...]
H A Dbits.h10 __inline void set8(volatile char *addr, char mask, char val);
11 __inline void set16(volatile short *addr, short mask, short val);
12 __inline void set32(volatile int *addr, int mask, int val);
13 __inline void ioSet8(short port, char mask, char val);
/haiku/src/add-ons/translators/psd/
H A DDataArray.cpp61 BDataArray::Append(uint8 val) argument
63 status_t status = _ReallocArrayFor(sizeof(val));
65 fData[fDataSize] = val;
73 BDataArray::Append(int8 val) argument
75 return Append((uint8)val);
80 BDataArray::Append(uint16 val) argument
82 status_t status = _ReallocArrayFor(sizeof(val));
84 val = B_HOST_TO_BENDIAN_INT16(val);
85 memcpy(fData + fDataSize, &val, sizeo
93 Append(int16 val) argument
100 Append(uint32 val) argument
113 Append(int64 val) argument
120 Append(uint64 val) argument
133 Append(int32 val) argument
190 operator <<(int8 val) argument
198 operator <<(uint8 val) argument
206 operator <<(int16 val) argument
214 operator <<(uint16 val) argument
222 operator <<(int32 val) argument
230 operator <<(uint32 val) argument
238 operator <<(int64 val) argument
246 operator <<(uint64 val) argument
[all...]
/haiku/src/libs/libunwind/unwind/
H A DGetBSP.c32 unw_word_t val; local
34 unw_get_reg (&context->cursor, UNW_IA64_BSP, &val);
35 return val;
H A DGetCFA.c31 unw_word_t val; local
33 unw_get_reg (&context->cursor, UNW_REG_SP, &val);
34 return val;
H A DGetIP.c31 unw_word_t val; local
33 unw_get_reg (&context->cursor, UNW_REG_IP, &val);
34 return val;
H A DGetGR.c31 unw_word_t val; local
38 unw_get_reg (&context->cursor, index, &val);
39 return val;
H A DGetIPInfo.c34 unw_word_t val; local
36 unw_get_reg (&context->cursor, UNW_REG_IP, &val);
38 return val;
/haiku/src/system/kernel/util/
H A Dinet_addr.c85 struct in_addr val; local
87 if (inet_aton(cp, &val))
88 return (val.s_addr);
101 u_long val; local
117 val = 0; base = 10; digit = 0;
131 val = (val * base) + (c - '0');
136 val = (val << 4) |
150 if (pp >= parts + 3 || val >
[all...]
/haiku/src/data/dts/dt-bindings/pinctrl/
H A Domap.h58 #define OMAP2420_CORE_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0030) (val)
59 #define OMAP2430_CORE_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x2030) (val)
60 #define OMAP3_CORE1_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x2030) (val)
61 #define OMAP3430_CORE2_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x25d8) (val)
62 #define OMAP3630_CORE2_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x25a0) (val)
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_spectral.c52 uint32_t val; local
55 val = OS_REG_READ(ah, AR_PHY_RADAR_0);
56 val |= AR_PHY_RADAR_0_FFT_ENA;
59 val &= ~AR_PHY_RADAR_0_RRSSI;
60 val |= SM(MAX_RADAR_RSSI_THRESH, AR_PHY_RADAR_0_RRSSI);
62 val &= ~AR_PHY_RADAR_0_HEIGHT;
63 val |= SM(MAX_RADAR_HEIGHT, AR_PHY_RADAR_0_HEIGHT);
65 val &= ~(AR_PHY_RADAR_0_ENA);
66 OS_REG_WRITE(ah, AR_PHY_RADAR_0, val);
69 val
88 uint32_t val; local
155 uint32_t val; local
175 uint32_t val; local
184 uint32_t val; local
193 uint32_t val; local
210 uint32_t val; local
225 uint32_t val; local
[all...]
/haiku/headers/private/system/posix/
H A Dxsi_semaphore_defs.h13 int val; member in union:semun
/haiku/src/tests/kits/media/nodetest/
H A Dmisc.h4 void val(void *p);
5 void val(status_t status);
/haiku/headers/libs/libcxxrt/
H A Datomic.h13 #define ATOMIC_SWAP(addr, val)\
14 __c11_atomic_exchange(reinterpret_cast<_Atomic(__typeof__(val))*>(addr), val, __ATOMIC_ACQ_REL)
16 #define ATOMIC_SWAP(addr, val)\
17 __sync_swap(addr, val)
19 #define ATOMIC_SWAP(addr, val)\
20 __sync_lock_test_and_set(addr, val)
/haiku/src/add-ons/kernel/drivers/disk/nvme/compat/
H A Dnvme_arch.h43 nvme_mmio_write_4(volatile __u32 *addr, __u32 val) argument
45 *addr = val;
56 __u64 val;
64 val = addr32[0];
65 val |= (__u64)addr32[1] << 32;
67 return val;
73 nvme_mmio_write_8(volatile __u64 *addr, __u64 val) argument
77 *addr = val;
81 addr32[0] = (__u32)val;
82 addr32[1] = (__u32)(val >> 3
[all...]
/haiku/src/system/libnetwork/netresolv/inet/
H A Dinet_addr.c96 struct in_addr val; local
98 if (inet_aton(cp, &val))
99 return (val.s_addr);
112 uint32_t val; local
128 val = 0; base = 10; digit = 0;
142 val = (val * base) + (c - '0');
147 val = (val << 4) |
161 if (pp >= parts + 3 || val >
[all...]
H A Dinet_network.c67 in_addr_t val; local
76 val = 0; base = 10; digit = 0;
85 val = (val * base) + (c - '0');
91 val = (val << 4) + (c + 10 - (islower(c) ? 'a' : 'A'));
100 if (pp >= parts + 4 || val > 0xff)
103 *pp++ = val, cp++;
108 *pp++ = val;
112 for (val
[all...]
/haiku/headers/private/graphics/radeon/
H A Dmmio.h16 #define OUTREG8( regs, addr, val ) do { *(regs + (addr)) = (val); } while( 0 )
20 #define OUTREG( regs, addr, val ) do { *(vuint32 *)(regs + (addr)) = (val); } while( 0 )
22 #define OUTREGP( regs, addr, val, mask ) \
26 tmp |= (val) & ~(mask); \
/haiku/headers/private/kernel/arch/arm/
H A Dreg.h34 #define RMWREG64(addr, startbit, width, val) *REG64(addr) = (*REG64(addr) & ~(((1<<(width)) - 1) << (startbit))) | ((val) << (startbit))
35 #define RMWREG32(addr, startbit, width, val) *REG32(addr) = (*REG32(addr) & ~(((1<<(width)) - 1) << (startbit))) | ((val) << (startbit))
36 #define RMWREG16(addr, startbit, width, val) *REG16(addr) = (*REG16(addr) & ~(((1<<(width)) - 1) << (startbit))) | ((val) << (startbit))
37 #define RMWREG8(addr, startbit, width, val) *REG8(addr) = (*REG8(addr) & ~(((1<<(width)) - 1) << (startbit))) | ((val) << (startbit))
/haiku/src/libs/libunwind/mi/
H A DGset_fpreg.c29 unw_set_fpreg (unw_cursor_t *cursor, int regnum, unw_fpreg_t val) argument
33 return tdep_access_fpreg (c, regnum, &val, 1);
/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_trackpoint.cpp29 uint8 val[2]; local
32 ps2_dev_command(dev, 0xE1, NULL, 0, val, 2);
34 if (val[0] != 0x01) {
40 TRACE("TRACKPOINT: version 0x%x found\n", val[1]);
/haiku/src/apps/cortex/addons/audioOps/
H A Daudio_op_tools.h63 inline double fast_floor(double val) { argument
64 return (double)(int64)val;
66 inline double fast_ceil(double val) { argument
67 return fast_floor(val+1.0);
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/
H A Dr92c_rom_defs.h34 #define RTWN_SIGN4TO8(val) (((val) & 0x08) ? (val) | 0xf0 : (val))
/haiku/src/libs/libunwind/aarch64/
H A DGstash_frame.c35 Debug (4, "ip=0x%lx cfa=0x%lx type %d cfa [where=%d val=%ld] cfaoff=%ld"
36 " ra=0x%lx fp [where=%d val=%ld @0x%lx] lr [where=%d val=%ld @0x%lx] "
37 "sp [where=%d val=%ld @0x%lx]\n",
40 rs->reg[DWARF_CFA_REG_COLUMN].val,
41 rs->reg[DWARF_CFA_OFF_COLUMN].val,
43 rs->reg[FP].where, rs->reg[FP].val, DWARF_GET_LOC(d->loc[FP]),
44 rs->reg[LR].where, rs->reg[LR].val, DWARF_GET_LOC(d->loc[LR]),
45 rs->reg[SP].where, rs->reg[SP].val, DWARF_GET_LOC(d->loc[SP]));
55 && (rs->reg[DWARF_CFA_REG_COLUMN].val
[all...]

Completed in 163 milliseconds

1234567891011>>