/freebsd-current/contrib/netbsd-tests/lib/libbluetooth/ |
H A D | t_sdp_data.c | 51 sdp_data_t value; local 53 ATF_REQUIRE(sdp_get_data(&test, &value)); 54 ATF_CHECK_EQ(sdp_data_type(&value), SDP_DATA_NIL); 56 ATF_REQUIRE(sdp_get_data(&test, &value)); 57 ATF_CHECK_EQ(sdp_data_type(&value), SDP_DATA_UINT8); 91 sdp_data_t value; local 93 ATF_REQUIRE(sdp_get_data(&test, &value)); 94 ATF_CHECK_EQ(sdp_data_size(&value), 1); 96 ATF_REQUIRE(sdp_get_data(&test, &value)); 97 ATF_CHECK_EQ(sdp_data_size(&value), [all...] |
/freebsd-current/contrib/ncurses/ncurses/tinfo/ |
H A D | getenv_num.c | 47 long value; local 50 || (value = strtol(src, &dst, 0)) < 0 53 || (int) value < value) 54 value = -1; 56 return (int) value; 60 _nc_setenv_num(const char *name, int value) argument 62 if (name != 0 && value >= 0) { 65 _nc_SPRINTF(buffer, _nc_SLIMIT(sizeof(buffer)) "%d", value); 69 _nc_SPRINTF(buffer, _nc_SLIMIT(sizeof(buffer)) "%s=%d", name, value); [all...] |
/freebsd-current/crypto/heimdal/lib/gssapi/ntlm/ |
H A D | inquire_sec_context_by_oid.c | 53 gss_buffer_desc value; local 55 value.length = ctx->sessionkey.length; 56 value.value = ctx->sessionkey.data; 59 &value, 72 gss_buffer_desc value; local 80 value.length = sizeof(num); 81 value.value = # 84 &value, [all...] |
/freebsd-current/sys/sys/ |
H A D | assym.h | 35 #define ASSYM_ABS(value) ((value) < 0 ? -((value) + 1) + 1ULL : (value)) 37 #define ASSYM(name, value) \ 38 char name ## sign[((value) < 0 ? 1 : 0) + ASSYM_BIAS]; \ 39 char name ## w0[(ASSYM_ABS(value) & 0xFFFFU) + ASSYM_BIAS]; \ 40 char name ## w1[((ASSYM_ABS(value) & 0xFFFF0000UL) >> 16) + ASSYM_BIAS]; \ 41 char name ## w2[((ASSYM_ABS(value) & 0xFFFF00000000ULL) >> 32) + ASSYM_BIAS]; \ 42 char name ## w3[((ASSYM_ABS(value) [all...] |
/freebsd-current/sys/contrib/dev/rtw88/ |
H A D | fw.h | 387 #define SET_PKT_H2C_CATEGORY(h2c_pkt, value) \ 388 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(6, 0)) 389 #define SET_PKT_H2C_CMD_ID(h2c_pkt, value) \ 390 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(15, 8)) 391 #define SET_PKT_H2C_SUB_CMD_ID(h2c_pkt, value) \ 392 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x00, value, GENMASK(31, 16)) 393 #define SET_PKT_H2C_TOTAL_LEN(h2c_pkt, value) \ 394 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMASK(15, 0)) 403 #define FW_OFFLOAD_H2C_SET_SEQ_NUM(h2c_pkt, value) \ 404 le32p_replace_bits((__le32 *)(h2c_pkt) + 0x01, value, GENMAS [all...] |
/freebsd-current/sys/contrib/ck/src/ |
H A D | ck_barrier_centralized.c | 36 unsigned int sense, value; local 45 value = ck_pr_faa_uint(&barrier->value, 1); 46 if (value == n_threads - 1) { 47 ck_pr_store_uint(&barrier->value, 0);
|
/freebsd-current/sys/dev/sfxge/common/ |
H A D | siena_mac.c | 277 efx_qword_t value; local 299 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_PKTS, &value); 300 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); 301 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_CONTROL_PKTS, &value); 302 EFSYS_STAT_SUBR_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); 304 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_PAUSE_PKTS, &value); 305 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PAUSE_PKTS]), &value); 307 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_UNICAST_PKTS, &value); 308 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_UNICST_PKTS]), &value); 310 SIENA_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_MULTICAST_PKTS, &value); [all...] |
H A D | ef10_mac.c | 612 efx_qword_t value; local 651 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_PKTS, &value); 652 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); 654 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_CONTROL_PKTS, &value); 655 EFSYS_STAT_SUBR_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); 657 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_PAUSE_PKTS, &value); 658 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PAUSE_PKTS]), &value); 660 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_UNICAST_PKTS, &value); 661 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_UNICST_PKTS]), &value); 663 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_MULTICAST_PKTS, &value); [all...] |
/freebsd-current/contrib/ncurses/menu/ |
H A D | m_item_val.c | 45 | Function : int set_item_value(ITEM *item, int value) 47 | Description : Programmatically set the item's selection value. This is 57 set_item_value(ITEM *item, bool value) argument 61 T((T_CALLED("set_item_value(%p,%d)"), (void *)item, value)); 70 if (item->value ^ value) 72 item->value = value ? TRUE : FALSE; 84 _nc_Default_Item.value = value; [all...] |
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Core/ |
H A D | ThreadSafeValue.h | 21 ThreadSafeValue(const T &value) : m_value(value) {} argument 26 T value; local 29 value = m_value; 31 return value; 38 void SetValue(const T &value) { argument 40 m_value = value; 46 void SetValueNoLock(const T &value) { m_value = value; } argument
|
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Interpreter/ |
H A D | OptionValueSInt64.h | 21 OptionValueSInt64(int64_t value) argument 22 : m_current_value(value), m_default_value(value) {} 43 SetValueFromString(llvm::StringRef value, 53 const int64_t &operator=(int64_t value) { argument 54 m_current_value = value; 62 bool SetCurrentValue(int64_t value) { argument 63 if (value >= m_min_value && value <= m_max_value) { 64 m_current_value = value; 70 SetDefaultValue(int64_t value) argument [all...] |
H A D | OptionValueChar.h | 18 OptionValueChar(char value) argument 19 : m_current_value(value), m_default_value(value) {} 38 SetValueFromString(llvm::StringRef value, 57 void SetCurrentValue(char value) { m_current_value = value; } argument 59 void SetDefaultValue(char value) { m_default_value = value; } argument
|
/freebsd-current/sys/dev/cxgbe/cudbg/ |
H A D | cudbg_wtp.c | 259 u32 value; local 264 value = t4_read_reg(padap, A_SGE_DEBUG_DATA_LOW); 265 /*printf("LOW 0x%08x\n", value);*/ 266 sge_dbg_reg[(i << 1) | 1] = HTONL_NIBBLE(value); 267 value = t4_read_reg(padap, A_SGE_DEBUG_DATA_HIGH); 268 /*printf("HIGH 0x%08x\n", value);*/ 269 sge_dbg_reg[(i << 1)] = HTONL_NIBBLE(value); 281 t4_tp_mib_read(padap, &tp_mib[i].value, 1, 299 u32 value = 0; local 332 value 941 u32 value = 0; local [all...] |
/freebsd-current/sys/dev/qat/qat_common/ |
H A D | adf_freebsd_pfvf_ctrs_dbg.c | 15 unsigned int value = 0; local 24 value = pfvf_counters->tx; 28 value = pfvf_counters->rx; 32 value = pfvf_counters->spurious; 36 value = pfvf_counters->blk_tx; 40 value = pfvf_counters->blk_rx; 44 value = pfvf_counters->crc_err; 48 value = pfvf_counters->busy; 52 value = pfvf_counters->no_ack; 56 value [all...] |
/freebsd-current/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_ifmib.c | 40 op_ifmib(struct snmp_context *ctx __unused, struct snmp_value *value, argument 59 switch (value->var.subs[sub - 1]) { 63 value->v.uint32 = mib_iftable_last_change - start_tick; 65 value->v.uint32 = 0; 70 value->v.uint32 = mib_ifstack_last_change - start_tick; 72 value->v.uint32 = 0;
|
/freebsd-current/contrib/ncurses/ncurses/widechar/ |
H A D | lib_erasewchar.c | 48 int value; local 52 if ((value = erasechar()) != ERR) { 53 *wch = (wchar_t) value; 69 int value; local 73 if ((value = killchar()) != ERR) { 74 *wch = (wchar_t) value;
|
/freebsd-current/sys/contrib/dev/acpica/include/ |
H A D | acbuffer.h | 173 /* _FDE return value */ 186 * _GRT return value 187 * _SRT input value 205 /* _GTM return value */ 218 * Formatted _PLD return value. The minimum size is a package containing 274 #define ACPI_PLD_SET_REVISION(dword,value) ACPI_SET_BITS (dword, 0, ACPI_7BIT_MASK, value) /* Offset 0, Len 7 */ 277 #define ACPI_PLD_SET_IGNORE_COLOR(dword,value) ACPI_SET_BITS (dword, 7, ACPI_1BIT_MASK, value) /* Offset 7, Len 1 */ 280 #define ACPI_PLD_SET_RED(dword,value) ACPI_SET_BIT [all...] |
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_leb128.h | 18 It EncodeSLEB128(T value, It begin, It end) { argument 21 u8 byte = value & 0x7f; 23 value >>= 7; 24 more = !((((value == 0) && ((byte & 0x40) == 0)) || 25 ((value == -1) && ((byte & 0x40) != 0)))); 37 T value = 0; local 45 value |= slice << shift; 49 value |= (-1ULL) << shift; 50 *v = value; 55 It EncodeULEB128(T value, I argument 70 T value = 0; local [all...] |
/freebsd-current/crypto/heimdal/lib/gssapi/krb5/ |
H A D | release_buffer.c | 42 free (buffer->value); 43 buffer->value = NULL;
|
/freebsd-current/crypto/heimdal/lib/gssapi/mech/ |
H A D | gss_release_buffer.c | 37 if (buffer->value) 38 free(buffer->value);
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | snapdir_001_pos.ksh | 42 # 4. Check the return value and make sure it is 0. 58 typeset value=$2 63 [ $value = "visible" ] 65 [ $value != "visible" ] 87 for value in hidden visible; do 89 set_n_check_prop "$value" "snapdir" \ 92 set_n_check_prop "$value" "snapdir" \ 94 verify_snapdir_visible $dataset $value || 95 log_fail "$dataset/.zfs is not $value as expected."
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_create/ |
H A D | zfs_create_common.kshlib | 34 # Check if the user property is identical to the expected value. 47 typeset value=$(get_prop $prop $dtst) 50 [ "$expect_value" = "$value" ]
|
/freebsd-current/sys/contrib/openzfs/include/sys/ |
H A D | unique.h | 35 /* The number of significant bits in each unique value. */ 42 * Return a new unique value (which will not be uniquified against until 47 /* Return a unique value, which equals the one passed in if possible. */ 48 uint64_t unique_insert(uint64_t value); 50 /* Indicate that this value no longer needs to be uniquified against. */ 51 void unique_remove(uint64_t value);
|
/freebsd-current/lib/libgssapi/ |
H A D | gss_release_buffer.c | 40 if (buffer->value) 41 free(buffer->value);
|
/freebsd-current/sys/dev/iicbus/ |
H A D | iic_recover_bus.h | 40 void (*setsda)(void *ctx, int value); 42 void (*setscl)(void *ctx, int value);
|