Searched refs:val (Results 276 - 300 of 3650) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/contrib/mtree/
H A Dspec.c545 char *kw, *val, *md, *ep; local
557 while ((val = strsep(&t, " \t")) != NULL && *val == '\0')
559 if (val == NULL)
563 ip->cksum = strtoul(val, &ep, 10);
565 mtree_err("invalid checksum `%s'", val);
568 ip->st_rdev = parsedev(val);
571 if (strcmp("none", val) == 0)
573 else if (string_to_flags(&val, &ip->st_flags, NULL)
575 mtree_err("invalid flag `%s'", val);
[all...]
/freebsd-11-stable/crypto/heimdal/lib/hx509/
H A Dcollector.c49 } val; member in struct:hx509_collector
74 c->val.data = NULL;
75 c->val.len = 0;
129 d = realloc(c->val.data, (c->val.len + 1) * sizeof(c->val.data[0]));
135 c->val.data = d;
163 c->val.data[c->val.len] = key;
164 c->val
[all...]
/freebsd-11-stable/sys/compat/linuxkpi/common/include/asm/
H A Datomic.h189 __typeof(*(ptr)) val; \
194 } __ret = { .val = (old) }, __new = { .val = (new) }; \
197 LINUXKPI_ATOMIC_8(sizeof(__ret.val) == 1 ||) \
198 LINUXKPI_ATOMIC_16(sizeof(__ret.val) == 2 ||) \
199 LINUXKPI_ATOMIC_64(sizeof(__ret.val) == 8 ||) \
200 sizeof(__ret.val) == 4); \
202 switch (sizeof(__ret.val)) { \
206 __ret.u8, __new.u8[0]) && __ret.val == (old)) \
213 __ret.u16, __new.u16[0]) && __ret.val
[all...]
/freebsd-11-stable/contrib/libucl/src/
H A Ducl_emitter_utils.c196 ucl_utstring_append_int (int64_t val, void *ud) argument
200 utstring_printf (buf, "%jd", (intmax_t)val);
205 ucl_utstring_append_double (double val, void *ud) argument
210 if (val == (double)(int)val) {
211 utstring_printf (buf, "%.1lf", val);
213 else if (fabs (val - (double)(int)val) < delta) {
215 utstring_printf (buf, "%.*lg", DBL_DIG, val);
218 utstring_printf (buf, "%lf", val);
250 ucl_file_append_int(int64_t val, void *ud) argument
260 ucl_file_append_double(double val, void *ud) argument
323 ucl_fd_append_int(int64_t val, void *ud) argument
333 ucl_fd_append_double(double val, void *ud) argument
[all...]
/freebsd-11-stable/sys/arm/allwinner/clk/
H A Daw_debeclk.c76 #define DEBECLK_READ(sc, val) CLKDEV_READ_4((sc)->clkdev, (sc)->reg, (val))
77 #define DEBECLK_WRITE(sc, val) CLKDEV_WRITE_4((sc)->clkdev, (sc)->reg, (val))
102 uint32_t val; local
108 error = DEBECLK_READ(sc, &val);
114 *value = (val & BE_RST) != 0 ? false : true;
123 uint32_t val, index; local
131 DEBECLK_READ(sc, &val);
132 val
145 uint32_t val; local
166 uint32_t val; local
186 uint32_t val, m; local
206 uint32_t val, m; local
[all...]
H A Daw_mmcclk.c80 #define MODCLK_READ(sc, val) CLKDEV_READ_4((sc)->clkdev, (sc)->reg, (val))
81 #define MODCLK_WRITE(sc, val) CLKDEV_WRITE_4((sc)->clkdev, (sc)->reg, (val))
89 uint32_t val, index; local
94 MODCLK_READ(sc, &val);
97 index = (val & CLK_SRC_SEL) >> CLK_SRC_SEL_SHIFT;
107 uint32_t val; local
115 MODCLK_READ(sc, &val);
116 val
128 uint32_t val; local
148 uint32_t val, m, n; local
169 uint32_t val, m, n, phase, ophase; local
[all...]
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_if.c673 op_dot1d_stp(struct snmp_context *ctx, struct snmp_value *val, uint sub, argument
687 switch (val->var.subs[sub - 1]) {
689 val->v.integer = bif->prot_spec;
693 val->v.integer = bif->priority;
698 &(val->v.uint32)) < 0)
703 val->v.uint32 = bif->top_changes;
707 return (string_get(val, bif->design_root,
711 val->v.integer = bif->root_cost;
715 val->v.integer = bif->root_port;
719 val
997 bridge_set_if_status(struct snmp_context *ctx, struct snmp_value *val, uint sub) argument
1082 bridge_rollback_if_status(struct snmp_context *ctx, struct snmp_value *val, uint sub) argument
1112 bridge_commit_if_status(struct snmp_value *val, uint sub) argument
1127 op_begemot_base_bridge(struct snmp_context *ctx, struct snmp_value *val, uint sub, uint iidx __unused, enum snmp_op op) argument
1192 op_begemot_stp(struct snmp_context *ctx, struct snmp_value *val, uint sub, uint iidx __unused, enum snmp_op op) argument
1399 op_begemot_tp(struct snmp_context *ctx, struct snmp_value *val, uint sub, uint iidx __unused, enum snmp_op op) argument
[all...]
/freebsd-11-stable/sys/arm/freescale/imx/
H A Dimx6_hdmi.c87 WR1(struct imx_hdmi_softc *sc, bus_size_t off, uint8_t val) argument
90 bus_write_1(sc->sc_mem_res, off, val);
96 uint8_t val; local
98 val = RD1(sc, HDMI_IH_I2CMPHY_STAT0) &
100 while (val == 0) {
105 val = RD1(sc, HDMI_IH_I2CMPHY_STAT0) &
271 uint8_t val; local
273 val = RD1(sc, HDMI_PHY_TST0);
274 val &= ~HDMI_PHY_TST0_TSTCLR_MASK;
275 val |
284 uint8_t val; local
298 uint8_t val; local
462 uint8_t val; local
539 uint8_t val; local
[all...]
/freebsd-11-stable/contrib/ldns/compat/
H A Dinet_pton.c157 uint32_t val; local
168 val = 0;
175 val <<= 4;
176 val |= (pch - xdigits);
177 if (val > 0xffff)
192 *tp++ = (uint8_t) (val >> 8) & 0xff;
193 *tp++ = (uint8_t) val & 0xff;
195 val = 0;
209 *tp++ = (uint8_t) (val >> 8) & 0xff;
210 *tp++ = (uint8_t) val
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/
H A Dtst.lquantzero.d36 val = (-a * b) + a;
41 incr = val % b;
42 val += a;
46 /val == 0/
48 val += a;
/freebsd-11-stable/contrib/apr/network_io/unix/
H A Dinet_pton.c166 unsigned int val; local
177 val = 0;
184 val <<= 4;
185 val |= (pch - xdigits);
186 if (val > 0xffff)
201 *tp++ = (unsigned char) (val >> 8) & 0xff;
202 *tp++ = (unsigned char) val & 0xff;
204 val = 0;
218 *tp++ = (unsigned char) (val >> 8) & 0xff;
219 *tp++ = (unsigned char) val
[all...]
/freebsd-11-stable/contrib/unbound/compat/
H A Dinet_pton.c157 uint32_t val; local
168 val = 0;
175 val <<= 4;
176 val |= (pch - xdigits);
177 if (val > 0xffff)
192 *tp++ = (uint8_t) (val >> 8) & 0xff;
193 *tp++ = (uint8_t) val & 0xff;
195 val = 0;
209 *tp++ = (uint8_t) (val >> 8) & 0xff;
210 *tp++ = (uint8_t) val
[all...]
/freebsd-11-stable/sys/mips/nlm/hal/
H A Dmips-extns.h36 static __inline__ int32_t nlm_swapw(int32_t *loc, int32_t val) argument
49 : "r" (loc), "r" (val)
55 static __inline__ uint32_t nlm_swapwu(int32_t *loc, uint32_t val) argument
68 : "r" (loc), "r" (val)
75 static __inline__ uint64_t nlm_swapd(int32_t *loc, uint64_t val) argument
88 : "r" (loc), "r" (val)
218 nlm_write_c0_eirr(uint64_t val) argument
221 write_c0_register64(9, 6, val);
232 nlm_write_c0_eimr(uint64_t val) argument
235 write_c0_register64(9, 7, val);
[all...]
/freebsd-11-stable/sys/contrib/alpine-hal/
H A Dal_hal_reg_utils.h68 #define AL_REG_FIELD_SET(reg, mask, shift, val) \
71 ((((unsigned)(val)) << (shift)) & (mask)))
74 #define AL_REG_FIELD_SET_64(reg, mask, shift, val) \
77 ((((uint64_t)(val)) << (shift)) & (mask))))
83 #define AL_REG_BITS_FIELD(shift, val) \
84 (((unsigned)(val)) << (shift))
87 #define AL_REG_BIT_VAL_SET(reg, shift, val) \
88 AL_REG_FIELD_SET(reg, AL_BIT(shift), shift, val)
118 #define AL_ALIGN_UP(val, size) \
119 ((size) * (((val)
[all...]
/freebsd-11-stable/bin/kenv/
H A Dkenv.c63 char *env, *eq, *val; local
66 val = NULL;
96 val = eq;
109 } else if (val == NULL) {
120 error = ksetenv(env, val);
122 warnx("unable to set %s to %s", env, val);
189 ksetenv(const char *env, char *val) argument
193 ret = kenv(KENV_SET, env, val, strlen(val) + 1);
195 printf("%s=\"%s\"\n", env, val);
[all...]
/freebsd-11-stable/sys/ofed/include/rdma/
H A Dib_hdrs.h136 static inline void ib_u64_put(u64 val, __be64 *p) argument
138 put_unaligned_be64(val, p);
146 static inline void put_ib_reth_vaddr(u64 val, struct ib_reth *reth) argument
148 ib_u64_put(val, &reth->vaddr);
156 static inline void put_ib_ateth_vaddr(u64 val, struct ib_atomic_eth *ateth) argument
158 ib_u64_put(val, &ateth->vaddr);
166 static inline void put_ib_ateth_swap(u64 val, struct ib_atomic_eth *ateth) argument
168 ib_u64_put(val, &ateth->swap_data);
176 static inline void put_ib_ateth_compare(u64 val, struct ib_atomic_eth *ateth) argument
178 ib_u64_put(val,
[all...]
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_pf/
H A Dpf_snmp.c151 pf_status(struct snmp_context __unused *ctx, struct snmp_value *val, argument
154 asn_subid_t which = val->var.subs[sub - 1];
167 val->v.uint32 = pfs.running;
172 val->v.uint32 = runtime * 100;
175 val->v.uint32 = pfs.debug;
179 return (string_get(val, str, strlen(str)));
192 pf_counter(struct snmp_context __unused *ctx, struct snmp_value *val, argument
195 asn_subid_t which = val->var.subs[sub - 1];
206 val->v.counter64 = pfs.counters[PFRES_MATCH];
209 val
235 pf_statetable(struct snmp_context __unused *ctx, struct snmp_value *val, u_int sub, u_int __unused vindex, enum snmp_op op) argument
275 pf_srcnodes(struct snmp_context __unused *ctx, struct snmp_value *val, u_int sub, u_int __unused vindex, enum snmp_op op) argument
315 pf_limits(struct snmp_context __unused *ctx, struct snmp_value *val, u_int sub, u_int __unused vindex, enum snmp_op op) argument
357 pf_timeouts(struct snmp_context __unused *ctx, struct snmp_value *val, u_int sub, u_int __unused vindex, enum snmp_op op) argument
447 pf_logif(struct snmp_context __unused *ctx, struct snmp_value *val, u_int sub, u_int __unused vindex, enum snmp_op op) argument
520 pf_interfaces(struct snmp_context __unused *ctx, struct snmp_value *val, u_int sub, u_int __unused vindex, enum snmp_op op) argument
549 pf_iftable(struct snmp_context __unused *ctx, struct snmp_value *val, u_int sub, u_int __unused vindex, enum snmp_op op) argument
667 pf_tables(struct snmp_context __unused *ctx, struct snmp_value *val, u_int sub, u_int __unused vindex, enum snmp_op op) argument
696 pf_tbltable(struct snmp_context __unused *ctx, struct snmp_value *val, u_int sub, u_int __unused vindex, enum snmp_op op) argument
809 pf_tbladdr(struct snmp_context __unused *ctx, struct snmp_value __unused *val, u_int __unused sub, u_int __unused vindex, enum snmp_op __unused op) argument
907 pf_altq(struct snmp_context __unused *ctx, struct snmp_value *val, u_int sub, u_int __unused vindex, enum snmp_op op) argument
940 pf_altqq(struct snmp_context __unused *ctx, struct snmp_value *val, u_int sub, u_int __unused vindex, enum snmp_op op) argument
1001 pf_labels(struct snmp_context __unused *ctx, struct snmp_value *val, u_int sub, u_int __unused vindex, enum snmp_op op) argument
1031 pf_lbltable(struct snmp_context __unused *ctx, struct snmp_value *val, u_int sub, u_int __unused vindex, enum snmp_op op) argument
[all...]
/freebsd-11-stable/sys/arm/xscale/i8134x/
H A Di81342.c141 void intctl0_write(uint32_t val) argument
145 : : "r" (val));
149 void intctl1_write(uint32_t val) argument
153 : : "r" (val));
157 void intctl2_write(uint32_t val) argument
161 : : "r" (val));
165 void intctl3_write(uint32_t val) argument
169 : : "r" (val));
217 void intstr0_write(uint32_t val) argument
221 : : "r" (val));
225 intstr1_write(uint32_t val) argument
233 intstr2_write(uint32_t val) argument
241 intstr3_write(uint32_t val) argument
301 uint32_t val; local
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dbase64.c107 int val[4]; member in struct:__anon4813
127 ctx->val[ctx->digits++] = s - base64;
131 if (ctx->val[0] == 64 || ctx->val[1] == 64)
133 if (ctx->val[2] == 64 && ctx->val[3] != 64)
138 if (ctx->val[2] == 64 && (ctx->val[1] & 0xf) != 0)
141 * We don't need to test for ctx->val[2] != 64 as
144 if (ctx->val[
[all...]
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dget_addrs.c66 res->val = malloc (sizeof(*res->val));
67 if (res->val == NULL) {
71 res->val[0].addr_type = hostent->h_addrtype;
72 res->val[0].address.data = NULL;
73 res->val[0].address.length = 0;
74 ret = krb5_data_copy (&res->val[0].address,
78 free (res->val);
131 res->val = calloc(num, sizeof(*res->val));
[all...]
/freebsd-11-stable/crypto/openssl/crypto/x509v3/
H A Dv3_bcons.c108 CONF_VALUE *val;
115 val = sk_CONF_VALUE_value(values, i);
116 if (!strcmp(val->name, "CA")) {
117 if (!X509V3_get_value_bool(val, &bcons->ca))
119 } else if (!strcmp(val->name, "pathlen")) {
120 if (!X509V3_get_value_int(val, &bcons->pathlen))
124 X509V3_conf_err(val);
H A Dv3_pcons.c109 CONF_VALUE *val;
116 val = sk_CONF_VALUE_value(values, i);
117 if (!strcmp(val->name, "requireExplicitPolicy")) {
118 if (!X509V3_get_value_int(val, &pcons->requireExplicitPolicy))
120 } else if (!strcmp(val->name, "inhibitPolicyMapping")) {
121 if (!X509V3_get_value_int(val, &pcons->inhibitPolicyMapping))
125 X509V3_conf_err(val);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.cpp133 bool isTexture(const Value &val) { argument
134 if (const GlobalValue *gv = dyn_cast<GlobalValue>(&val)) {
144 bool isSurface(const Value &val) { argument
145 if (const GlobalValue *gv = dyn_cast<GlobalValue>(&val)) {
155 bool isSampler(const Value &val) { argument
158 if (const GlobalValue *gv = dyn_cast<GlobalValue>(&val)) {
165 if (const Argument *arg = dyn_cast<Argument>(&val)) {
176 bool isImageReadOnly(const Value &val) { argument
177 if (const Argument *arg = dyn_cast<Argument>(&val)) {
188 bool isImageWriteOnly(const Value &val) { argument
200 isImageReadWrite(const Value &val) argument
212 isImage(const Value &val) argument
216 isManaged(const Value &val) argument
227 getTextureName(const Value &val) argument
232 getSurfaceName(const Value &val) argument
237 getSamplerName(const Value &val) argument
[all...]
/freebsd-11-stable/sys/arm/arm/
H A Ddebug_monitor.c155 #define DBG_WB_READ(cn, cm, op2, val) do { \
156 __asm __volatile("mrc p14, 0, %0, " #cn "," #cm "," #op2 : "=r" (val)); \
159 #define DBG_WB_WRITE(cn, cm, op2, val) do { \
160 __asm __volatile("mcr p14, 0, %0, " #cn "," #cm "," #op2 :: "r" (val)); \
163 #define READ_WB_REG_CASE(op2, m, val) \
165 DBG_WB_READ(c0, c ## m, op2, val); \
168 #define WRITE_WB_REG_CASE(op2, m, val) \
170 DBG_WB_WRITE(c0, c ## m, op2, val); \
173 #define SWITCH_CASES_READ_WB_REG(op2, val) \
174 READ_WB_REG_CASE(op2, 0, val); \
212 uint32_t val; local
231 dbg_wb_write_reg(int reg, int n, uint32_t val) argument
[all...]
/freebsd-11-stable/sys/arm/nvidia/
H A Dtegra_soctherm.c269 int32_t val; local
273 val = ((reg >> shift) & mask) << (32 - bits);
274 val >>= 32 - bits;
275 return ((int32_t)val);
290 uint32_t val; local
293 val = tegra_fuse_read_4(FUSE_TSENSOR8_CALIB);
294 cal->base_cp = FUSE_TSENSOR8_CALIB_CP_TS_BASE(val);
295 cal->base_ft = FUSE_TSENSOR8_CALIB_FT_TS_BASE(val);
297 val = tegra_fuse_read_4(FUSE_SPARE_REALIGNMENT_REG);
298 calib_ft = extract_signed(val,
319 uint32_t val; local
370 uint32_t val; local
410 soctherm_convert_raw(uint32_t val) argument
427 uint32_t val; local
456 soctherm_get_temp(device_t dev, device_t cdev, uintptr_t id, int *val) argument
481 int val; local
[all...]

Completed in 188 milliseconds

<<11121314151617181920>>