/freebsd-11-stable/sys/arm/allwinner/clk/ |
H A D | aw_hdmiclk.c | 76 #define HDMICLK_READ(sc, val) CLKDEV_READ_4((sc)->clkdev, (sc)->reg, (val)) 77 #define HDMICLK_WRITE(sc, val) CLKDEV_WRITE_4((sc)->clkdev, (sc)->reg, (val)) 85 uint32_t val, index; local 93 HDMICLK_READ(sc, &val); 94 val &= ~CLK_SRC_SEL; 95 val |= (index << CLK_SRC_SEL_SHIFT); 96 HDMICLK_WRITE(sc, val); 107 uint32_t val; local 128 uint32_t val; local 148 uint32_t val, m, n; local 169 uint32_t val, m, n, best_m, best_n; local [all...] |
H A D | aw_ahbclk.c | 104 #define AHBCLK_READ(sc, val) CLKDEV_READ_4((sc)->clkdev, (sc)->reg, (val)) 105 #define AHBCLK_WRITE(sc, val) CLKDEV_WRITE_4((sc)->clkdev, (sc)->reg, (val)) 113 uint32_t val, index; local 123 AHBCLK_READ(sc, &val); 125 index = (val & A13_AHB_CLK_SRC_SEL) >> 130 AHBCLK_READ(sc, &val); 132 index = (val & A31_AHB1_CLK_SRC_SEL) >> 137 AHBCLK_READ(sc, &val); 164 uint32_t val, src_sel, div, pre_div; local 214 uint32_t val; local [all...] |
H A D | aw_pll.c | 191 #define PLL_READ(sc, val) CLKDEV_READ_4((sc)->clkdev, (sc)->reg, (val)) 192 #define PLL_WRITE(sc, val) CLKDEV_WRITE_4((sc)->clkdev, (sc)->reg, (val)) 199 uint32_t val, m, n, k, p; local 202 PLL_READ(sc, &val); 205 p = 1 << ((val & A10_PLL1_OUT_EXT_DIVP) >> A10_PLL1_OUT_EXT_DIVP_SHIFT); 206 m = ((val & A10_PLL1_FACTOR_M) >> A10_PLL1_FACTOR_M_SHIFT) + 1; 207 k = ((val & A10_PLL1_FACTOR_K) >> A10_PLL1_FACTOR_K_SHIFT) + 1; 208 n = (val 220 uint32_t val, post_div, n, pre_div; local 260 uint32_t val, post_div, n, pre_div; local 295 uint32_t val, m; local 323 uint32_t val, m, mode, func; local 350 uint32_t val; local 370 uint32_t val, m, n, k, p; local 400 uint32_t val, m, n, k; local 428 uint32_t val, m, k, n; local 477 uint32_t val, post_div, n, pre_div; local 517 uint32_t val, post_div, n, pre_div; local 552 uint32_t val, m, n, k, p; local 571 uint32_t val, m, n, k; local 589 uint32_t val; local 625 uint32_t val, k, n; local 651 uint32_t val, n, div1, div2; local 711 uint32_t val; local [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libnvpair/ |
H A D | libnvpair.c | 115 #define RENDER(pctl, type, nvl, name, val) \ 120 CUSTPRTOPARG(pctl, type), nvl, name, val); \ 124 DFLTPRTOPARG(pctl, type), nvl, name, val); \ 591 boolean_t val; local 592 (void) nvpair_value_boolean_value(nvp, &val); 593 RENDER(pctl, boolean_value, nvl, name, val); 597 uchar_t val; local 598 (void) nvpair_value_byte(nvp, &val); 599 RENDER(pctl, byte, nvl, name, val); 603 int8_t val; local 609 uint8_t val; local 615 int16_t val; local 621 uint16_t val; local 627 int32_t val; local 633 uint32_t val; local 639 int64_t val; local 645 uint64_t val; local 651 double val; local 657 char *val; local 663 boolean_t *val; local 669 uchar_t *val; local 675 int8_t *val; local 681 uint8_t *val; local 687 int16_t *val; local 693 uint16_t *val; local 699 int32_t *val; local 705 uint32_t *val; local 711 int64_t *val; local 717 uint64_t *val; local 723 char **val; local 729 hrtime_t val; local 735 nvlist_t *val; local 741 nvlist_t **val; local 991 char *val; local 1024 uchar_t val, val_arg; local 1047 int8_t val, val_arg; local 1070 uint8_t val, val_arg; local 1093 int16_t val, val_arg; local 1116 uint16_t val, val_arg; local 1139 int32_t val, val_arg; local 1162 uint32_t val, val_arg; local 1185 int64_t val, val_arg; local 1208 uint64_t val_arg, val; local 1232 boolean_t val; local [all...] |
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_radar.c | 83 uint32_t val, temp; local 85 val = OS_REG_READ(ah, AR_PHY_RADAR_0); 87 temp = MS(val,AR_PHY_RADAR_0_FIRPWR); 90 pe->pe_rrssi = MS(val, AR_PHY_RADAR_0_RRSSI); 91 pe->pe_height = MS(val, AR_PHY_RADAR_0_HEIGHT); 92 pe->pe_prssi = MS(val, AR_PHY_RADAR_0_PRSSI); 93 pe->pe_inband = MS(val, AR_PHY_RADAR_0_INBAND); 96 val = OS_REG_READ(ah, AR_PHY_RADAR_1); 97 pe->pe_relpwr = MS(val, AR_PHY_RADAR_1_RELPWR_THRESH); 98 pe->pe_relstep = MS(val, AR_PHY_RADAR_1_RELSTEP_THRES 125 uint32_t val; local [all...] |
/freebsd-11-stable/sys/arm/mv/ |
H A D | rtc.c | 75 uint32_t val); 133 uint32_t val; local 137 val = mv_rtc_reg_read(sc, MV_RTC_TIME_REG); 140 ct.sec = FROMBCD(val & 0x7f); 141 ct.min = FROMBCD((val & 0x7f00) >> 8); 142 ct.hour = FROMBCD((val & 0x3f0000) >> 16); 143 ct.dow = FROMBCD((val & 0x7000000) >> 24) - 1; 145 val = mv_rtc_reg_read(sc, MV_RTC_DATE_REG); 147 ct.day = FROMBCD(val & 0x7f); 148 ct.mon = FROMBCD((val 159 uint32_t val; local 188 mv_rtc_reg_write(struct mv_rtc_softc *sc, bus_size_t off, uint32_t val) argument [all...] |
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/ |
H A D | ibportstate.c | 92 uint64_t *val; member in struct:__anon3671 163 char val[64]; local 166 mad_decode_field(data, IB_PORT_LID_F, val); 168 sizeof buf - strlen(buf), val); 170 mad_decode_field(data, IB_PORT_SMLID_F, val); 172 sizeof buf - strlen(buf), val); 174 mad_decode_field(data, IB_PORT_LMC_F, val); 176 sizeof buf - strlen(buf), val); 178 mad_decode_field(data, IB_PORT_LINK_WIDTH_SUPPORTED_F, val); 180 sizeof buf - strlen(buf), val); 395 uint64_t val; local [all...] |
/freebsd-11-stable/sbin/dhclient/ |
H A D | clparse.c | 65 char *val; local 110 token = peek_token(&val, cfile); 115 token = next_token(&val, cfile); /* Clear the peek buffer */ 153 char *val; local 163 token = next_token(&val, cfile); 201 char *val; local 204 switch (next_token(&val, cfile)) { 290 token = next_token(&val, cfile); 301 char *val; local 304 token = peek_token(&val, cfil 351 char *val; local 394 char *val; local 494 char *val; local 621 char *val; local 682 char *val; local 885 char *val; local 931 char *val; local [all...] |
/freebsd-11-stable/contrib/atf/atf-c/detail/ |
H A D | env_test.c | 58 const char *val; local 62 val = atf_env_get("PATH"); 63 ATF_REQUIRE(strlen(val) > 0); 64 ATF_REQUIRE(strchr(val, ':') != NULL); 75 const char *val; local 79 val = atf_env_get_with_default("PATH", "unknown"); 80 ATF_REQUIRE(strcmp(val, "unknown") != 0); 82 val = atf_env_get_with_default("_UNKNOWN_VARIABLE_", "foo bar"); 83 ATF_REQUIRE(strcmp(val, "foo bar") == 0);
|
/freebsd-11-stable/crypto/openssl/crypto/stack/ |
H A D | safestack.h | 154 # define SKM_sk_set(type, st,i,val) \ 155 sk_set(CHECKED_STACK_OF(type, st), i, CHECKED_PTR_OF(type, val)) 158 # define SKM_sk_push(type, st, val) \ 159 sk_push(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, val)) 160 # define SKM_sk_unshift(type, st, val) \ 161 sk_unshift(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, val)) 162 # define SKM_sk_find(type, st, val) \ 163 sk_find(CHECKED_STACK_OF(type, st), CHECKED_PTR_OF(type, val)) 164 # define SKM_sk_find_ex(type, st, val) \ 166 CHECKED_PTR_OF(type, val)) [all...] |
/freebsd-11-stable/contrib/gcc/config/soft-fp/ |
H A D | extended.h | 88 #define FP_UNPACK_RAW_E(X, val) \ 90 union _FP_UNION_E _flo; _flo.flt = (val); \ 99 #define FP_UNPACK_RAW_EP(X, val) \ 102 (union _FP_UNION_E *)(val); \ 111 #define FP_PACK_RAW_E(val, X) \ 122 (val) = _flo.flt; \ 125 #define FP_PACK_RAW_EP(val, X) \ 130 (union _FP_UNION_E *)(val); \ 141 #define FP_UNPACK_E(X,val) \ 143 FP_UNPACK_RAW_E(X,val); \ [all...] |
/freebsd-11-stable/sys/cddl/contrib/opensolaris/common/nvpair/ |
H A D | opensolaris_fnvpair.c | 140 fnvlist_add_boolean_value(nvlist_t *nvl, const char *name, boolean_t val) argument 142 VERIFY0(nvlist_add_boolean_value(nvl, name, val)); 146 fnvlist_add_byte(nvlist_t *nvl, const char *name, uchar_t val) argument 148 VERIFY0(nvlist_add_byte(nvl, name, val)); 152 fnvlist_add_int8(nvlist_t *nvl, const char *name, int8_t val) argument 154 VERIFY0(nvlist_add_int8(nvl, name, val)); 158 fnvlist_add_uint8(nvlist_t *nvl, const char *name, uint8_t val) argument 160 VERIFY0(nvlist_add_uint8(nvl, name, val)); 164 fnvlist_add_int16(nvlist_t *nvl, const char *name, int16_t val) argument 166 VERIFY0(nvlist_add_int16(nvl, name, val)); 170 fnvlist_add_uint16(nvlist_t *nvl, const char *name, uint16_t val) argument 176 fnvlist_add_int32(nvlist_t *nvl, const char *name, int32_t val) argument 182 fnvlist_add_uint32(nvlist_t *nvl, const char *name, uint32_t val) argument 188 fnvlist_add_int64(nvlist_t *nvl, const char *name, int64_t val) argument 194 fnvlist_add_uint64(nvlist_t *nvl, const char *name, uint64_t val) argument 200 fnvlist_add_string(nvlist_t *nvl, const char *name, const char *val) argument 206 fnvlist_add_nvlist(nvlist_t *nvl, const char *name, nvlist_t *val) argument 218 fnvlist_add_boolean_array(nvlist_t *nvl, const char *name, boolean_t *val, uint_t n) argument 225 fnvlist_add_byte_array(nvlist_t *nvl, const char *name, uchar_t *val, uint_t n) argument 231 fnvlist_add_int8_array(nvlist_t *nvl, const char *name, int8_t *val, uint_t n) argument 237 fnvlist_add_uint8_array(nvlist_t *nvl, const char *name, uint8_t *val, uint_t n) argument 243 fnvlist_add_int16_array(nvlist_t *nvl, const char *name, int16_t *val, uint_t n) argument 249 fnvlist_add_uint16_array(nvlist_t *nvl, const char *name, uint16_t *val, uint_t n) argument 256 fnvlist_add_int32_array(nvlist_t *nvl, const char *name, int32_t *val, uint_t n) argument 262 fnvlist_add_uint32_array(nvlist_t *nvl, const char *name, uint32_t *val, uint_t n) argument 269 fnvlist_add_int64_array(nvlist_t *nvl, const char *name, int64_t *val, uint_t n) argument 275 fnvlist_add_uint64_array(nvlist_t *nvl, const char *name, uint64_t *val, uint_t n) argument 282 fnvlist_add_string_array(nvlist_t *nvl, const char *name, char * const *val, uint_t n) argument 289 fnvlist_add_nvlist_array(nvlist_t *nvl, const char *name, nvlist_t **val, uint_t n) argument [all...] |
/freebsd-11-stable/sys/contrib/ncsw/inc/etc/ |
H A D | memcpy_ext.h | 123 @Param[in] val - Value to set destination bytes to. 124 @Param[in] size - The number of bytes that will be set to val. 132 void * MemSet32(void* pDst, uint8_t val, uint32_t size); 133 void * IOMemSet32(void* pDst, uint8_t val, uint32_t size); 142 @Param[in] val - Value to set destination bytes to. 143 @Param[in] size - The number of bytes that will be set to val. 151 void * MemSet64(void* pDst, uint8_t val, uint32_t size);
|
/freebsd-11-stable/crypto/openssl/crypto/asn1/ |
H A D | x_attrib.c | 103 ASN1_TYPE *val = NULL; 111 if ((val = ASN1_TYPE_new()) == NULL) 113 if (!sk_ASN1_TYPE_push(ret->value.set, val)) 116 ASN1_TYPE_set(val, atrtype, value); 121 if (val != NULL) 122 ASN1_TYPE_free(val);
|
/freebsd-11-stable/contrib/ntp/util/ |
H A D | precision.c | 70 long val; local 98 for (i=0, val=HUSECS; val>0; i--, val >>= 1) if (diff >= val) return i; 128 long val; local 132 val = MAXSTEP; 156 if (diff < val) 157 val = diff; 161 val, [all...] |
/freebsd-11-stable/share/examples/ses/srcs/ |
H A D | setencstat.c | 49 long val; local 62 val = strtol(v[2], NULL, 0); 63 stat = (encioc_enc_status_t)val;
|
/freebsd-11-stable/sys/dev/virtio/ |
H A D | virtio.h | 71 void virtio_read_ivar(device_t dev, int ivar, uintptr_t *val); 72 void virtio_write_ivar(device_t dev, int ivar, uintptr_t val); 99 type val; \ 100 virtio_read_device_config(dev, offset, &val, sizeof(type)); \ 101 return (val); \ 106 bus_size_t offset, type val) \ 108 virtio_write_device_config(dev, offset, &val, sizeof(type)); \ 121 uintptr_t val; \ 122 virtio_read_ivar(dev, ivar, &val); \ 123 return ((int) val); \ [all...] |
/freebsd-11-stable/bin/sh/ |
H A D | arith_yacc.c | 168 static arith_t primary(int token, union yystype *val, int op, int noeval) argument 182 return val->val; 185 return noeval ? val->val : arith_lookupvarint(val->name); 188 *val = yylval; 192 *val = yylval; 193 return -primary(op, val, yylex(), noeval); 195 *val 208 union yystype val; local 235 binop(int token, union yystype *val, int op, int noeval) argument 246 and(int token, union yystype *val, int op, int noeval) argument 263 or(int token, union yystype *val, int op, int noeval) argument 280 cond(int token, union yystype *val, int op, int noeval) argument 304 union yystype val = yylval; local [all...] |
/freebsd-11-stable/sys/arm/allwinner/ |
H A D | aw_mp.c | 116 uint32_t val; local 146 val = bus_space_read_4(fdtbus_bs_tag, cpucfg, CPUCFG_GENCTL); 148 val &= ~(1 << i); 149 bus_space_write_4(fdtbus_bs_tag, cpucfg, CPUCFG_GENCTL, val); 152 val = bus_space_read_4(fdtbus_bs_tag, cpucfg, CPUCFG_DBGCTL1); 154 val &= ~(1 << i); 155 bus_space_write_4(fdtbus_bs_tag, cpucfg, CPUCFG_DBGCTL1, val); 172 val = bus_space_read_4(fdtbus_bs_tag, prcm, CPU_PWROFF); 174 val &= ~(1 << i); 175 bus_space_write_4(fdtbus_bs_tag, prcm, CPU_PWROFF, val); 207 uint32_t val; local [all...] |
/freebsd-11-stable/sys/dev/etherswitch/mtkswitch/ |
H A D | mtkswitch_mt7620.c | 90 int val) 95 (val & PIAC_MDIO_RW_DATA_MASK) | PIAC_MDIO_CMD_WRITE); 102 mtkswitch_phy_write(device_t dev, int phy, int reg, int val) argument 112 res = mtkswitch_phy_write_locked(sc, phy, reg, val); 126 mtkswitch_reg_write32(struct mtkswitch_softc *sc, int reg, uint32_t val) argument 129 MTKSWITCH_WRITE(sc, reg, val); 148 mtkswitch_reg_write32_mt7621(struct mtkswitch_softc *sc, int reg, uint32_t val) argument 154 MTKSWITCH_REG_LO(reg), MTKSWITCH_VAL_LO(val)); 156 MTKSWITCH_REG_HI(reg), MTKSWITCH_VAL_HI(val)); 164 uint32_t val; local 89 mtkswitch_phy_write_locked(struct mtkswitch_softc *sc, int phy, int reg, int val) argument 173 mtkswitch_reg_write(device_t dev, int reg, int val) argument 224 uint32_t val; local 249 uint32_t val, res, tmp; local 354 uint32_t val, vid, i; local 396 uint32_t val, i; local 451 uint32_t val, i, vid; local 516 uint32_t val; local [all...] |
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_wlan/ |
H A D | wlan_snmp.c | 219 op_wlan_iface(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, argument 230 if ((wif = wlan_get_snmp_interface(&val->var, sub)) == NULL) 235 if ((wif = wlan_get_next_snmp_interface(&val->var, sub)) == NULL) 237 wlan_append_ifindex(&val->var, sub, wif); 241 if ((wif = wlan_get_snmp_interface(&val->var, sub)) == NULL) { 242 if (val->var.subs[sub - 1] != LEAF_wlanIfaceName) 244 if (wlan_get_ifname(&val->var, sub, wname) == NULL) 251 val->var.subs[sub - 1] != LEAF_wlanIfaceStatus && 252 val->var.subs[sub - 1] != LEAF_wlanIfaceState) 255 switch (val 446 op_wlan_if_parent(struct snmp_context *ctx __unused, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 489 op_wlan_iface_config(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 878 op_wlan_if_peer(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 964 op_wlan_channels(struct snmp_context *ctx __unused, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 1032 op_wlan_roam_params(struct snmp_context *ctx __unused, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 1079 op_wlan_tx_params(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 1183 op_wlan_scan_config(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 1291 op_wlan_scan_results(struct snmp_context *ctx __unused, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 1350 op_wlan_iface_stats(struct snmp_context *ctx __unused, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 1753 op_wlan_wep_iface(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 1859 op_wlan_mac_access_control(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 1949 op_wlan_mac_acl_mac(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 2015 op_wlan_mesh_config(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 2114 op_wlan_mesh_iface(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 2275 op_wlan_mesh_neighbor(struct snmp_context *ctx __unused, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 2344 op_wlan_mesh_route(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 2436 op_wlan_mesh_stats(struct snmp_context *ctx __unused, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 2508 op_wlan_hwmp_config(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 2646 op_wlan_hwmp_iface(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 2726 op_wlan_hwmp_stats(struct snmp_context *ctx __unused, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 4039 wlan_acl_mac_set_status(struct snmp_context *ctx, struct snmp_value *val, uint sub) argument 4378 wlan_mesh_route_set_status(struct snmp_context *ctx, struct snmp_value *val, uint sub) argument [all...] |
/freebsd-11-stable/sys/riscv/include/ |
H A D | atomic.h | 63 atomic_add_32(volatile uint32_t *p, uint32_t val) argument 68 : "r" (val) 73 atomic_subtract_32(volatile uint32_t *p, uint32_t val) argument 78 : "r" (-val) 83 atomic_set_32(volatile uint32_t *p, uint32_t val) argument 88 : "r" (val) 93 atomic_clear_32(volatile uint32_t *p, uint32_t val) argument 98 : "r" (~val) 151 atomic_fetchadd_32(volatile uint32_t *p, uint32_t val) argument 157 : "r" (val) 167 uint32_t val; local 248 atomic_store_rel_32(volatile uint32_t *p, uint32_t val) argument 273 atomic_add_64(volatile uint64_t *p, uint64_t val) argument 283 atomic_subtract_64(volatile uint64_t *p, uint64_t val) argument 293 atomic_set_64(volatile uint64_t *p, uint64_t val) argument 303 atomic_clear_64(volatile uint64_t *p, uint64_t val) argument 361 atomic_fetchadd_64(volatile uint64_t *p, uint64_t val) argument 377 uint64_t val; local 390 atomic_swap_32(volatile uint32_t *p, uint32_t val) argument 403 atomic_swap_64(volatile uint64_t *p, uint64_t val) argument 493 atomic_store_rel_64(volatile uint64_t *p, uint64_t val) argument [all...] |
/freebsd-11-stable/contrib/bsnmp/snmp_usm/ |
H A D | usm_snmp.c | 78 op_usm_stats(struct snmp_context *ctx __unused, struct snmp_value *val, argument 90 switch (val->var.subs[sub - 1]) { 92 val->v.uint32 = usmstats->unsupported_seclevels; 95 val->v.uint32 = usmstats->not_in_time_windows; 98 val->v.uint32 = usmstats->unknown_users; 101 val->v.uint32 = usmstats->unknown_engine_ids; 104 val->v.uint32 = usmstats->wrong_digests; 107 val->v.uint32 = usmstats->decrypt_errors; 118 op_usm_lock(struct snmp_context *ctx __unused, struct snmp_value *val, argument 121 if (val 146 op_usm_users(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument [all...] |
/freebsd-11-stable/contrib/tcsh/ |
H A D | ed.xmap.c | 13 * int GetXkey(ch,val); 15 * XmapVal *val; 20 * Returns NULL in val.str and XK_STR for no match. 23 * void AddXkey(Xkey, val, ntype); 25 * XmapVal *val; 28 * Adds Xkey to the Xmap and associates the value in val with it. 104 XmapVal val; /* command code or pointer to string, if this member in struct:Xmapnode 161 GetXkey(CStr *ch, XmapVal *val) argument 163 return (TraverseMap(Xmap, ch, val)); 171 TraverseMap(XmapNode *ptr, CStr *ch, XmapVal *val) argument 209 AddXkey(const CStr *Xkey, XmapVal *val, int ntype) argument 235 TryNode(XmapNode *ptr, CStr *str, XmapVal *val, int ntype) argument 541 printOne(const Char *key, const XmapVal *val, int ntype) argument 658 int cnt, val; local [all...] |
/freebsd-11-stable/contrib/bsnmp/snmp_vacm/ |
H A D | vacm_snmp.c | 90 op_vacm_context(struct snmp_context *ctx __unused, struct snmp_value *val, argument 97 if (val->var.subs[sub - 1] != LEAF_vacmContextName) 102 if ((vacm_ctx = vacm_get_context(&val->var, sub)) == NULL) 107 if ((vacm_ctx = vacm_get_next_context(&val->var, sub)) == NULL) 109 vacm_append_ctxindex(&val->var, sub, vacm_ctx); 113 if ((vacm_ctx = vacm_get_context(&val->var, sub)) != NULL) 117 if (val->var.subs[sub] >= SNMP_ADM_STR32_SIZ) 119 if (index_decode(&val->var, sub, iidx, &cname, &cnamelen)) 134 return (string_get(val, vacm_ctx->ctxname, -1)); 138 op_vacm_security_to_group(struct snmp_context *ctx, struct snmp_value *val, argument 262 op_vacm_access(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 426 op_vacm_view_lock(struct snmp_context *ctx __unused, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument 457 op_vacm_view(struct snmp_context *ctx, struct snmp_value *val, uint32_t sub, uint32_t iidx __unused, enum snmp_op op) argument [all...] |