/freebsd-11-stable/contrib/apr/tables/ |
H A D | apr_hash.c | 52 const void *val; member in struct:apr_hash_entry_t 158 void **val) 162 if (val) *val = (void *)hi->this->val; 183 void *val; local 185 apr_hash_this(hi, NULL, NULL, &val); 186 return val; 280 * If val is non-NULL it creates and initializes a new hash entry if 288 const void *val) 155 apr_hash_this(apr_hash_index_t *hi, const void **key, apr_ssize_t *klen, void **val) argument 285 find_entry(apr_hash_t *ht, const void *key, apr_ssize_t klen, const void *val) argument 374 apr_hash_set(apr_hash_t *ht, const void *key, apr_ssize_t klen, const void *val) argument [all...] |
/freebsd-11-stable/sys/arm/arm/ |
H A D | stdatomic.c | 124 __atomic_store_##N(uintN_t *mem, uintN_t val, int model __unused) \ 128 *mem = val; \ 153 __atomic_##name##_##N(uintN_t *mem, uintN_t val, int model __unused) \ 159 *mem op val; \ 199 __atomic_store_##N(uintN_t *mem, uintN_t val, int model __unused) \ 202 *mem = val; \ 207 __atomic_exchange_##N(uintN_t *mem, uintN_t val, int model __unused) \ 230 : "r" (val), "m" (*mem), "r" (ras_start)); \ 274 __atomic_##name##_##N(uintN_t *mem, uintN_t val, int model __unused) \ 298 : "r" (val), " 387 put_1(reg_t *r, const uint8_t *offset_ptr, uint8_t val) argument 405 put_2(reg_t *r, const uint16_t *offset_ptr, uint16_t val) argument 590 __sync_lock_test_and_set_4_c(uint32_t *mem, uint32_t val) argument [all...] |
/freebsd-11-stable/crypto/heimdal/lib/krb5/ |
H A D | get_in_tkt.c | 119 pa2 = realloc (md->val, (md->len + netypes) * sizeof(*md->val)); 124 md->val = pa2; 132 ret = make_pa_enc_timestamp (context, &md->val[md->len], 213 &a->req_body.etype.val, 256 a->padata->val = NULL; 259 if(preauth->val[i].type == KRB5_PADATA_ENC_TIMESTAMP){ 262 for(j = 0; j < preauth->val[i].info.len; j++) { 264 if(preauth->val[i].info.val[ [all...] |
H A D | appdefault.c | 128 char *val; local 130 krb5_appdefault_string(context, appname, realm, option, NULL, &val); 131 if (val == NULL) { 135 if (krb5_string_to_deltat(val, &t)) 139 free(val);
|
/freebsd-11-stable/sys/dev/mlx/ |
H A D | mlxreg.h | 81 #define MLX_V3_PUT_MAILBOX(sc, idx, val) bus_write_1(sc->mlx_mem, MLX_V3_MAILBOX + idx, val) 85 #define MLX_V3_PUT_IDBR(sc, val) bus_write_1(sc->mlx_mem, MLX_V3_IDBR, val) 87 #define MLX_V3_PUT_ODBR(sc, val) bus_write_1(sc->mlx_mem, MLX_V3_ODBR, val) 88 #define MLX_V3_PUT_IER(sc, val) bus_write_1(sc->mlx_mem, MLX_V3_IER, val) 90 #define MLX_V3_PUT_FWERROR(sc, val) bus_write_1(sc->mlx_mem, MLX_V3_FWERROR, val) [all...] |
/freebsd-11-stable/sys/mips/mediatek/ |
H A D | mtk_gpio_v1.c | 123 #define MTK_WRITE_4(sc, reg, val) \ 124 bus_write_4((sc)->res[0], (sc)->regs[(reg)], (val)) 204 mtk_gpio_pin_set_invert(struct mtk_gpio_softc *sc, uint32_t pin, uint32_t val) argument 209 if (val) 215 sc->pins[pin].pin_flags |= val; 224 uint32_t val; local 229 val = MTK_READ_4(sc, GPIO_PIORENA) | 231 if (val & mask) { 234 val = MTK_READ_4(sc, GPIO_PIORENA); 235 if (val 457 mtk_gpio_pin_get(device_t dev, uint32_t pin, unsigned int *val) argument 527 uint32_t pin, mask, val; local 557 uint32_t pin, mask, val; local [all...] |
/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | rcparse.y | 93 rc_uint_type val; 1219 ri = define_rcdata_number ($1.val, $1.dword); 1245 ri = define_rcdata_number ($3.val, $3.dword); 1766 $$ = $1.val; 1801 $$ = $1.val; 1818 $$.val = ~ $2.val; 1823 $$.val = - $2.val; 1828 $$.val [all...] |
/freebsd-11-stable/usr.sbin/wlconfig/ |
H A D | wlconfig.c | 291 int val, argind, i; local 332 val = strtol(value,&cp,0); 333 if ((val < 0) || (val > 0xffff) || (cp == value)) 336 ifr.ifr_data = (caddr_t)val; 343 val = strtol(value,&cp,0); 344 val = irqvals[val]; 345 if ((val == 0) || (cp == value)) 347 psabuf[WLPSA_IRQNO] = (u_char)val; [all...] |
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | ps2mouse.c | 131 fifo_put(struct ps2mouse_softc *sc, uint8_t val) argument 137 fifo->buf[fifo->windex] = val; 144 fifo_get(struct ps2mouse_softc *sc, uint8_t *val) argument 150 *val = fifo->buf[fifo->rindex]; 244 ps2mouse_read(struct ps2mouse_softc *sc, uint8_t *val) argument 249 retval = fifo_get(sc, val); 277 ps2mouse_write(struct ps2mouse_softc *sc, uint8_t val, int insert) argument 284 sc->sampling_rate = val; 288 sc->resolution = val; 293 "command byte 0x%02x\n", val); [all...] |
/freebsd-11-stable/sbin/ifconfig/ |
H A D | iflagg.c | 36 setlaggport(const char *val, int d, int s, const struct afswtch *afp) argument 42 strlcpy(rp.rp_portname, val, sizeof(rp.rp_portname)); 50 unsetlaggport(const char *val, int d, int s, const struct afswtch *afp) argument 56 strlcpy(rp.rp_portname, val, sizeof(rp.rp_portname)); 63 setlaggproto(const char *val, int d, int s, const struct afswtch *afp) argument 73 if (strcmp(val, lpr[i].lpr_name) == 0) { 79 errx(1, "Invalid aggregation protocol: %s", val); 87 setlaggflowidshift(const char *val, int d, int s, const struct afswtch *afp) argument 94 ro.ro_flowid_shift = (int)strtol(val, NULL, 10); 96 errx(1, "Invalid flowid_shift option: %s", val); 103 setlaggrr_limit(const char *val, int d, int s, const struct afswtch *afp) argument 116 setlaggsetopt(const char *val, int d, int s, const struct afswtch *afp) argument 144 setlagghash(const char *val, int d, int s, const struct afswtch *afp) argument [all...] |
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_misc.c | 191 ar5210GpioSet(struct ath_hal *ah, uint32_t gpio, uint32_t val) argument 199 reg |= (val&1) << gpio; 212 uint32_t val = OS_REG_READ(ah, AR_GPIODI); local 213 val = ((val & AR_GPIOD_MASK) >> gpio) & 0x1; 214 return val; 226 uint32_t val = OS_REG_READ(ah, AR_GPIOCR); local 229 val &= ~(AR_GPIOCR_INT_SEL(gpio) | AR_GPIOCR_INT_SELH | AR_GPIOCR_INT_ENA | 232 val |= AR_GPIOCR_INT_SEL(gpio) | AR_GPIOCR_INT_ENA; 234 val | 249 uint32_t val; local 275 uint32_t val = OS_REG_READ(ah, AR_STA_ID1); local 282 uint32_t val = OS_REG_READ(ah, AR_STA_ID1); local 371 uint32_t val = OS_REG_READ(ah, AR_BEACON); local 697 ar5210UpdateDiagReg(struct ath_hal *ah, uint32_t val) argument [all...] |
/freebsd-11-stable/contrib/ncurses/form/ |
H A D | fty_int.c | 171 long val; local 228 val = atol(s); 231 if (val < low || val > high) 237 "%.*ld", (prec > 0 ? prec : 0), val);
|
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_cal_adcdc.c | 76 uint32_t val; local 101 val = OS_REG_READ(ah, AR_PHY_NEW_ADC_DC_GAIN_CORR(i)); 102 val &= 0xc0000fff; 103 val |= (qDcMismatch << 12) | (iDcMismatch << 21); 104 OS_REG_WRITE(ah, AR_PHY_NEW_ADC_DC_GAIN_CORR(i), val);
|
H A D | ar5416_cal_adcgain.c | 96 uint32_t val; local 105 val = OS_REG_READ(ah, AR_PHY_NEW_ADC_DC_GAIN_CORR(i)); 106 val &= 0xfffff000; 107 val |= (qGainMismatch) | (iGainMismatch << 6); 108 OS_REG_WRITE(ah, AR_PHY_NEW_ADC_DC_GAIN_CORR(i), val);
|
/freebsd-11-stable/crypto/heimdal/lib/kadm5/ |
H A D | rename_s.c | 73 if(ent.entry.keys.val[i].salt == NULL){ 74 ent.entry.keys.val[i].salt = 75 malloc(sizeof(*ent.entry.keys.val[i].salt)); 76 if(ent.entry.keys.val[i].salt == NULL) 78 ret = copy_Salt(&salt, ent.entry.keys.val[i].salt);
|
/freebsd-11-stable/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_rng.c | 134 bcm2835_rng_write4(struct bcm2835_rng_softc *sc, bus_size_t off, uint32_t val) argument 137 bus_write_4(sc->sc_mem_res, off, val); 143 uint32_t comblk2_osc, comblk1_osc, jclk_byp_div, val; local 147 val = bcm2835_rng_read4(sc, RNG_CTRL); 148 sbuf_printf(sbp, "RNG_CTRL (%08x)\n", val); 150 comblk2_osc = (val & RNG_COMBLK2_OSC) >> RNG_COMBLK2_OSC_SHIFT; 156 comblk1_osc = (val & RNG_COMBLK1_OSC) >> RNG_COMBLK1_OSC_SHIFT; 162 jclk_byp_div = (val & RNG_JCLK_BYP_DIV_CNT) >> 169 (val & RNG_JCLK_BYP_SRC) ? "Use divided down APB clock" : 173 (val [all...] |
/freebsd-11-stable/usr.sbin/jail/ |
H A D | jailparse.y | 117 TAILQ_CONCAT(&$$->val, $3, tq); 123 TAILQ_CONCAT(&$$->val, $3, tq); 130 TAILQ_CONCAT(&$$->val, $2, tq); 146 TAILQ_INIT(&$$->val); 153 TAILQ_INIT(&$$->val);
|
/freebsd-11-stable/sys/kern/ |
H A D | subr_boot.c | 96 char *val; local 99 val = GETENV(howto_names[i].ev); 100 if (val != NULL && strcasecmp(val, "no") != 0) 102 FREE(val);
|
/freebsd-11-stable/contrib/binutils/gas/config/ |
H A D | tc-spu.c | 589 int val; 649 val = insn->exp[reloc_i].X_add_number; 654 val <<= arg_encode[arg].rshift; 656 val = 173 - val; 658 val = 155 - val; 662 val = val >> 16; 664 val 587 int val; local 955 valueT val = *valP; local [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/ |
H A D | DataExtractor.cpp | 351 uint16_t val = 0; local 353 static_cast<const uint8_t *>(GetData(offset_ptr, sizeof(val))); 356 val = ReadSwapInt16(data); 358 val = ReadInt16(data); 360 return val; 364 uint16_t val; local 366 val = ReadInt16(m_start, *offset_ptr); 368 val = ReadSwapInt16(m_start, *offset_ptr); 369 *offset_ptr += sizeof(val); 370 return val; 374 uint32_t val; local 384 uint64_t val; local 429 uint32_t val = 0; local 478 uint64_t val = 0; local 626 float_type val = 0.0; local 645 float_type val = 0.0; local 663 long double val = 0.0; local [all...] |
/freebsd-11-stable/sys/cddl/contrib/opensolaris/common/nvpair/ |
H A D | opensolaris_nvpair.c | 1274 nvlist_add_boolean_value(nvlist_t *nvl, const char *name, boolean_t val) argument 1276 return (nvlist_add_common(nvl, name, DATA_TYPE_BOOLEAN_VALUE, 1, &val)); 1280 nvlist_add_byte(nvlist_t *nvl, const char *name, uchar_t val) argument 1282 return (nvlist_add_common(nvl, name, DATA_TYPE_BYTE, 1, &val)); 1286 nvlist_add_int8(nvlist_t *nvl, const char *name, int8_t val) argument 1288 return (nvlist_add_common(nvl, name, DATA_TYPE_INT8, 1, &val)); 1292 nvlist_add_uint8(nvlist_t *nvl, const char *name, uint8_t val) argument 1294 return (nvlist_add_common(nvl, name, DATA_TYPE_UINT8, 1, &val)); 1298 nvlist_add_int16(nvlist_t *nvl, const char *name, int16_t val) argument 1300 return (nvlist_add_common(nvl, name, DATA_TYPE_INT16, 1, &val)); 1304 nvlist_add_uint16(nvlist_t *nvl, const char *name, uint16_t val) argument 1310 nvlist_add_int32(nvlist_t *nvl, const char *name, int32_t val) argument 1316 nvlist_add_uint32(nvlist_t *nvl, const char *name, uint32_t val) argument 1322 nvlist_add_int64(nvlist_t *nvl, const char *name, int64_t val) argument 1328 nvlist_add_uint64(nvlist_t *nvl, const char *name, uint64_t val) argument 1335 nvlist_add_double(nvlist_t *nvl, const char *name, double val) argument 1342 nvlist_add_string(nvlist_t *nvl, const char *name, const char *val) argument 1416 nvlist_add_hrtime(nvlist_t *nvl, const char *name, hrtime_t val) argument 1422 nvlist_add_nvlist(nvlist_t *nvl, const char *name, nvlist_t *val) argument 1631 nvlist_lookup_boolean_value(nvlist_t *nvl, const char *name, boolean_t *val) argument 1638 nvlist_lookup_byte(nvlist_t *nvl, const char *name, uchar_t *val) argument 1644 nvlist_lookup_int8(nvlist_t *nvl, const char *name, int8_t *val) argument 1650 nvlist_lookup_uint8(nvlist_t *nvl, const char *name, uint8_t *val) argument 1656 nvlist_lookup_int16(nvlist_t *nvl, const char *name, int16_t *val) argument 1662 nvlist_lookup_uint16(nvlist_t *nvl, const char *name, uint16_t *val) argument 1668 nvlist_lookup_int32(nvlist_t *nvl, const char *name, int32_t *val) argument 1674 nvlist_lookup_uint32(nvlist_t *nvl, const char *name, uint32_t *val) argument 1680 nvlist_lookup_int64(nvlist_t *nvl, const char *name, int64_t *val) argument 1686 nvlist_lookup_uint64(nvlist_t *nvl, const char *name, uint64_t *val) argument 1693 nvlist_lookup_double(nvlist_t *nvl, const char *name, double *val) argument 1700 nvlist_lookup_string(nvlist_t *nvl, const char *name, char **val) argument 1706 nvlist_lookup_nvlist(nvlist_t *nvl, const char *name, nvlist_t **val) argument 1796 nvlist_lookup_hrtime(nvlist_t *nvl, const char *name, hrtime_t *val) argument 1812 void *val; local 2090 nvpair_value_boolean_value(nvpair_t *nvp, boolean_t *val) argument 2096 nvpair_value_byte(nvpair_t *nvp, uchar_t *val) argument 2102 nvpair_value_int8(nvpair_t *nvp, int8_t *val) argument 2108 nvpair_value_uint8(nvpair_t *nvp, uint8_t *val) argument 2114 nvpair_value_int16(nvpair_t *nvp, int16_t *val) argument 2120 nvpair_value_uint16(nvpair_t *nvp, uint16_t *val) argument 2126 nvpair_value_int32(nvpair_t *nvp, int32_t *val) argument 2132 nvpair_value_uint32(nvpair_t *nvp, uint32_t *val) argument 2138 nvpair_value_int64(nvpair_t *nvp, int64_t *val) argument 2144 nvpair_value_uint64(nvpair_t *nvp, uint64_t *val) argument 2151 nvpair_value_double(nvpair_t *nvp, double *val) argument 2158 nvpair_value_string(nvpair_t *nvp, char **val) argument 2164 nvpair_value_nvlist(nvpair_t *nvp, nvlist_t **val) argument 2170 nvpair_value_boolean_array(nvpair_t *nvp, boolean_t **val, uint_t *nelem) argument 2176 nvpair_value_byte_array(nvpair_t *nvp, uchar_t **val, uint_t *nelem) argument 2182 nvpair_value_int8_array(nvpair_t *nvp, int8_t **val, uint_t *nelem) argument 2188 nvpair_value_uint8_array(nvpair_t *nvp, uint8_t **val, uint_t *nelem) argument 2194 nvpair_value_int16_array(nvpair_t *nvp, int16_t **val, uint_t *nelem) argument 2200 nvpair_value_uint16_array(nvpair_t *nvp, uint16_t **val, uint_t *nelem) argument 2206 nvpair_value_int32_array(nvpair_t *nvp, int32_t **val, uint_t *nelem) argument 2212 nvpair_value_uint32_array(nvpair_t *nvp, uint32_t **val, uint_t *nelem) argument 2218 nvpair_value_int64_array(nvpair_t *nvp, int64_t **val, uint_t *nelem) argument 2224 nvpair_value_uint64_array(nvpair_t *nvp, uint64_t **val, uint_t *nelem) argument 2230 nvpair_value_string_array(nvpair_t *nvp, char ***val, uint_t *nelem) argument 2236 nvpair_value_nvlist_array(nvpair_t *nvp, nvlist_t ***val, uint_t *nelem) argument 2242 nvpair_value_hrtime(nvpair_t *nvp, hrtime_t *val) argument [all...] |
/freebsd-11-stable/contrib/libpcap/ |
H A D | optimize.c | 217 int val; member in struct:valnode 684 int val; local 692 return p->val; 694 val = ++opt_state->curval; 697 opt_state->vmap[val].const_val = v0; 698 opt_state->vmap[val].is_const = 1; 701 p->val = val; 708 return val; 835 int val; local 1094 opt_stmt(opt_state_t *opt_state, struct stmt *s, int val[], int alter) argument 1597 int val, at_top; local 1689 int val, at_top; local [all...] |
/freebsd-11-stable/contrib/gcc/ |
H A D | tree-profile.c | 127 tree val = value->hvalue.value; 128 return force_gimple_operand_bsi (bsi, fold_convert (gcov_type_node, val), 142 tree args, call, val; 149 val = prepare_instrumented_value (&bsi, value); 151 tree_cons (NULL_TREE, val, 169 tree args, call, val; 174 val = prepare_instrumented_value (&bsi, value); 176 tree_cons (NULL_TREE, val, 192 tree args, call, val; 197 val 126 tree val = value->hvalue.value; local 141 tree args, call, val; local 168 tree args, call, val; local 191 tree args, call, val; local [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | remote-rdp.c | 207 unsigned int val = 0; local 213 val |= c << (n * 8); 215 return val; 219 put_byte (char val) argument 222 fprintf_unfiltered (gdb_stdlog, "(%02x)\n", val); 223 serial_write (io, &val, 1); 227 put_word (int val) argument 231 b[0] = val; 232 b[1] = val >> 8; 233 b[2] = val >> 1 405 unsigned int val; local 512 int val; local 528 int val; local 543 int val; local 578 int val = extract_unsigned_integer (buf, 4); local [all...] |
/freebsd-11-stable/sys/dev/acpi_support/ |
H A D | acpi_hp.c | 290 int is_write, int val); 626 int val = 0; local 633 val = acpi_hp_exec_wmi_command(sc->wmi_dev, 635 val = ((val & HP_MASK_WLAN_ENABLED) != 0); 638 val = acpi_hp_exec_wmi_command(sc->wmi_dev, 640 val = ((val & HP_MASK_WLAN_RADIO) != 0); 643 val = acpi_hp_exec_wmi_command(sc->wmi_dev, 645 val 817 acpi_hp_exec_wmi_command(device_t wmi_dev, int command, int is_write, int val) argument [all...] |