Searched refs:val (Results 51 - 75 of 3650) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/gdb/gdb/gdbserver/
H A Di387-fp.c78 unsigned long val, val2; local
91 collect_register_by_name ("fctrl", &val);
92 *(unsigned short *) &fp->fctrl = val;
94 collect_register_by_name ("fstat", &val);
95 val &= 0xFFFF;
96 *(unsigned short *) &fp->fstat = val;
98 collect_register_by_name ("ftag", &val);
99 val &= 0xFFFF;
100 *(unsigned short *) &fp->ftag = val;
102 collect_register_by_name ("fiseg", &val);
117 unsigned long val; local
152 unsigned long val, val2; local
250 unsigned long val; local
[all...]
/freebsd-11-stable/contrib/opie/libopie/
H A Datob8.c34 register int val; local
44 val = *(in++) - '0';
47 val = *(in++) - 'a' + 10;
50 val = *(in++) - 'A' + 10;
54 *out = val << 4;
62 val = *(in++) - '0';
65 val = *(in++) - 'a' + 10;
68 val = *(in++) - 'A' + 10;
72 *out++ |= val;
/freebsd-11-stable/sys/riscv/include/
H A Driscvreg.h131 #define CSR_ZIMM(val) \
132 (__builtin_constant_p(val) && ((u_long)(val) < 32))
134 #define csr_swap(csr, val) \
135 ({ if (CSR_ZIMM(val)) \
137 : "=r" (val) : "i" (val)); \
140 : "=r" (val) : "r" (val)); \
141 val; \
[all...]
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Decore_init_ops.h94 * @param val
98 u32 val);
100 #define STORE_RT_REG(hwfn, offset, val) \
101 ecore_init_store_rt_reg(hwfn, offset, val)
103 #define OVERWRITE_RT_REG(hwfn, offset, val) \
104 ecore_init_store_rt_reg(hwfn, offset, val)
112 * @param val
118 u32 *val,
121 #define STORE_RT_REG_AGG(hwfn, offset, val) \
122 ecore_init_store_rt_agg(hwfn, offset, (u32*)&val, sizeo
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/x86_32/include/isc/
H A Datomic.h27 * This routine atomically increments the value stored in 'p' by 'val', and
31 isc_atomic_xadd(isc_int32_t *p, isc_int32_t val) { argument
32 isc_int32_t prev = val;
48 isc_atomic_xaddq(isc_int64_t *p, isc_int64_t val) { argument
49 isc_int64_t prev = val;
65 * This routine atomically stores the value 'val' in 'p'.
68 isc_atomic_store(isc_int32_t *p, isc_int32_t val) { argument
80 : "r"(val), "m"(*p)
85 * This routine atomically replaces the value in 'p' with 'val', if the
90 isc_atomic_cmpxchg(isc_int32_t *p, isc_int32_t cmpval, isc_int32_t val) { argument
114 isc_atomic_xadd(isc_int32_t *p, isc_int32_t val) argument
136 isc_atomic_store(isc_int32_t *p, isc_int32_t val) argument
151 isc_atomic_cmpxchg(isc_int32_t *p, isc_int32_t cmpval, isc_int32_t val) argument
[all...]
/freebsd-11-stable/lib/libc/inet/
H A Dinet_addr.c91 struct in_addr val; local
93 if (inet_aton(cp, &val))
94 return (val.s_addr);
107 u_long val; local
123 val = 0; base = 10; digit = 0;
137 val = (val * base) + (c - '0');
142 val = (val << 4) |
156 if (pp >= parts + 3 || val >
[all...]
H A Dinet_network.c53 in_addr_t val, base, n; local
59 val = 0; base = 10; digit = 0;
68 val = (val * base) + (c - '0');
74 val = (val << 4) +
84 if (pp >= parts + 4 || val > 0xffU)
87 *pp++ = val, cp++;
92 *pp++ = val;
96 for (val
[all...]
/freebsd-11-stable/sys/mips/rt305x/
H A Drt305x_sysctl.c55 uint32_t val; local
57 val = rt305x_sysctl_get(r); printf(" " #r "=%#08x\n", val)
59 val = rt305x_sysctl_get(SYSCTL_CHIPID0_3);
61 (val >> 0 ) & 0xff,
62 (val >> 8 ) & 0xff,
63 (val >> 16) & 0xff,
64 (val >> 24) & 0xff);
65 val = rt305x_sysctl_get(SYSCTL_CHIPID4_7);
67 (val >>
219 rt305x_sysctl_set(uint32_t reg, uint32_t val) argument
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/mips/include/isc/
H A Datomic.h27 * This routine atomically increments the value stored in 'p' by 'val', and
31 isc_atomic_xadd(isc_int32_t *p, int val) { argument
43 : "m"(*p), "r"(val)
51 * This routine atomically stores the value 'val' in 'p'.
54 isc_atomic_store(isc_int32_t *p, isc_int32_t val) { argument
62 : "m"(*p), "r"(val)
68 * This routine atomically replaces the value in 'p' with 'val', if the
73 isc_atomic_cmpxchg(isc_int32_t *p, int cmpval, int val) { argument
86 : "m"(*p), "r"(cmpval), "r"(val)
/freebsd-11-stable/sys/mips/nlm/hal/
H A Dfmn.c141 uint64_t val; local
143 val = (((uint64_t)credit << 24) | (destid << 12) | (srcid << 0));
144 nlm_write_cms_reg(base, CMS_OUTPUTQ_CREDIT_CFG, val);
185 void nlm_cms_set_onchip_queue (uint64_t base, int qid, uint64_t val) argument
190 rdval |= val;
197 uint64_t val; local
199 val = nlm_read_cms_reg(base, CMS_OUTPUTQ_CONFIG(qid));
201 val &= ~((0x7ULL << 56) | (0x3ULL << 54));
203 val |= (((uint64_t)sub_type<<54) |
206 nlm_write_cms_reg(base, CMS_OUTPUTQ_CONFIG(qid), val);
212 uint64_t val; local
227 uint64_t val; local
235 uint64_t val; local
243 uint64_t val; local
252 uint64_t val; local
261 uint64_t val; local
270 uint64_t val; local
279 uint64_t val; local
288 uint64_t val; local
297 uint64_t val; local
336 uint64_t val; local
[all...]
/freebsd-11-stable/sys/dev/sound/pcm/
H A Dpcm.h118 #define _PCM_WRITE_S16_LE(b8, val) do { \
119 *((int16_t *)(b8)) = (val); \
121 #define _PCM_WRITE_S32_LE(b8, val) do { \
122 *((int32_t *)(b8)) = (val); \
125 intpcm_t val = (vval); \
127 b8[1] = val; \
128 b8[0] = val >> 8; \
131 intpcm_t val = (vval); \
133 b8[3] = val; \
134 b8[2] = val >>
[all...]
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dinet_addr.c99 register u_long val; local
114 val = 0; base = 10;
124 val = (val * base) + (c - '0');
127 val = (val << 4) |
142 *pp++ = val;
166 if (val > 0xffffff)
168 val |= parts[0] << 24;
172 if (val >
[all...]
/freebsd-11-stable/lib/libc/yp/
H A Dxdryp.c66 char *key, *val; local
81 status = out.ypresp_all_u.val.stat;
84 key = (char *)malloc(out.ypresp_all_u.val.key.keydat_len + 1);
90 bcopy(out.ypresp_all_u.val.key.keydat_val, key,
91 out.ypresp_all_u.val.key.keydat_len);
92 key[out.ypresp_all_u.val.key.keydat_len] = '\0';
93 val = (char *)malloc(out.ypresp_all_u.val.val.valdat_len + 1);
94 if (val
[all...]
/freebsd-11-stable/sys/arm/arm/
H A Didentcpu-v6.c177 uint32_t type, val, size, sets, ways, linesize; local
193 val = cp15_ccsidr_get();
194 ways = CPUV7_CT_xSIZE_ASSOC(val) + 1;
195 sets = CPUV7_CT_xSIZE_SET(val) + 1;
196 linesize = 1 << (CPUV7_CT_xSIZE_LEN(val) + 4);
205 if (val & CPUV7_CT_CTYPE_WT)
207 if (val & CPUV7_CT_CTYPE_WB)
209 if (val & CPUV7_CT_CTYPE_RA)
211 if (val & CPUV7_CT_CTYPE_WA)
218 val
265 u_int val; local
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/x86_64/include/isc/
H A Datomic.h41 isc_atomic_xadd(isc_int32_t *p, isc_int32_t val) { argument
43 UNUSED(val);
60 isc_atomic_xaddq(isc_int64_t *p, isc_int64_t val) { argument
62 UNUSED(val);
79 isc_atomic_store(isc_int32_t *p, isc_int32_t val) { argument
81 UNUSED(val);
97 isc_atomic_cmpxchg(isc_int32_t *p, isc_int32_t cmpval, isc_int32_t val) { argument
100 UNUSED(val);
/freebsd-11-stable/contrib/gcclibs/libgomp/config/linux/x86/
H A Dfutex.h39 futex_wait (int *addr, int val) argument
47 "d"(val), "r"(r10)
69 sys_futex0 (int *addr, int op, int val) argument
78 "d"(val), "S"(0)
85 sys_futex0 (int *addr, int op, int val) argument
92 "d"(val), "S"(0)
99 futex_wait (int *addr, int val) argument
101 sys_futex0 (addr, FUTEX_WAIT, val);
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dmemset.c19 memset (PTR dest, register int val, register size_t len) argument
23 *ptr++ = val;
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dmemset.c19 memset (PTR dest, register int val, register size_t len) argument
23 *ptr++ = val;
/freebsd-11-stable/crypto/heimdal/base/
H A Dbool.c49 heim_bool_create(int val) argument
51 return heim_base_make_tagged_object(!!val, HEIM_TID_BOOL);
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Desetenv.c41 esetenv(const char *var, const char *val, int rewrite) argument
43 if (setenv (rk_UNCONST(var), rk_UNCONST(val), rewrite))
H A Dparse_bytes-test.c41 int val; member in struct:testcase
65 int val = parse_bytes (tests[i].str, tests[i].def_unit); local
68 if (val != tests[i].val) {
72 val, tests[i].val);
76 len = unparse_bytes (tests[i].val, buf, sizeof(buf));
79 tests[i].val, buf, tests[i].str);
/freebsd-11-stable/usr.sbin/bhyve/
H A Dps2kbd.h38 int ps2kbd_read(struct ps2kbd_softc *sc, uint8_t *val);
39 void ps2kbd_write(struct ps2kbd_softc *sc, uint8_t val);
H A Dxmsr.h35 int emulate_wrmsr(struct vmctx *ctx, int vcpu, uint32_t code, uint64_t val);
36 int emulate_rdmsr(struct vmctx *ctx, int vcpu, uint32_t code, uint64_t *val);
/freebsd-11-stable/contrib/apr/atomic/unix/
H A Dbuiltins64.c26 APR_DECLARE(void) apr_atomic_set64(volatile apr_uint64_t *mem, apr_uint64_t val) argument
28 *mem = val;
31 APR_DECLARE(apr_uint64_t) apr_atomic_add64(volatile apr_uint64_t *mem, apr_uint64_t val)
33 return __sync_fetch_and_add(mem, val);
36 APR_DECLARE(void) apr_atomic_sub64(volatile apr_uint64_t *mem, apr_uint64_t val) argument
38 __sync_fetch_and_sub(mem, val);
57 APR_DECLARE(apr_uint64_t) apr_atomic_xchg64(volatile apr_uint64_t *mem, apr_uint64_t val)
61 return __sync_lock_test_and_set(mem, val);
/freebsd-11-stable/bin/expr/
H A Dexpr.y35 struct val {
45 struct val *result;
47 void assert_to_integer(struct val *);
52 int compare_vals(struct val *, struct val *);
53 void free_value(struct val *);
55 int is_string(struct val *);
56 int is_zero_or_null(struct val *);
57 struct val *make_integer(intmax_t);
58 struct val *make_st
[all...]

Completed in 162 milliseconds

1234567891011>>