/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_begemot.c | 40 op_begemot(struct snmp_context *ctx, struct snmp_value *value, argument 47 switch (value->var.subs[sub - 1]) { 50 value->v.uint32 = storage_tbl_refresh; 54 value->v.uint32 = fs_tbl_refresh; 58 value->v.uint32 = disk_storage_tbl_refresh; 62 value->v.uint32 = network_tbl_refresh; 66 value->v.uint32 = swins_tbl_refresh; 70 value->v.uint32 = swrun_tbl_refresh; 74 return (string_get(value, pkg_dir, -1)); 82 switch (value [all...] |
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_interfaces.c | 140 * 32-bit value. If the timeval is 0 then return 0. 159 op_interfaces(struct snmp_context *ctx __unused, struct snmp_value *value, argument 178 switch (value->var.subs[sub - 1]) { 181 value->v.integer = mib_if_number; 191 op_ifentry(struct snmp_context *ctx, struct snmp_value *value, argument 202 if ((ifp = NEXT_OBJECT_INT(&mibif_list, &value->var, sub)) == NULL) 204 value->var.len = sub + 1; 205 value->var.subs[sub] = ifp->index; 209 if (value->var.len - sub != 1) 211 if ((ifp = mib_find_if(value 366 op_ifxtable(struct snmp_context *ctx, struct snmp_value *value, u_int sub, u_int iidx __unused, enum snmp_op op) argument [all...] |
H A D | mibII_ip.c | 151 op_ip(struct snmp_context *ctx, struct snmp_value *value, argument 169 switch (value->var.subs[sub - 1]) { 173 ctx->scratch->int2 = value->v.integer; 174 if (value->v.integer == 1) { 178 } else if (value->v.integer == 2) { 188 ctx->scratch->int2 = value->v.integer; 189 if (value->v.integer < 1 || value->v.integer > 255) 191 if (ip_defttl != value->v.integer && 192 ip_setttl(value 244 op_ipstat(struct snmp_context *ctx __unused, struct snmp_value *value, u_int sub, u_int idx __unused, enum snmp_op op) argument 347 op_icmpstat(struct snmp_context *ctx __unused, struct snmp_value *value, u_int sub, u_int idx __unused, enum snmp_op op) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Interpreter/ |
H A D | OptionValueString.h | 34 OptionValueString(const char *value) argument 37 if (value && value[0]) { 38 m_current_value.assign(value); 39 m_default_value.assign(value); 52 OptionValueString(const char *value, ValidatorCallback validator, argument 56 if (value && value[0]) { 57 m_current_value.assign(value); 58 m_default_value.assign(value); 102 operator =(const char *value) argument 118 SetDefaultValue(const char *value) argument [all...] |
H A D | OptionValueUInt64.h | 21 OptionValueUInt64(uint64_t value) argument 22 : OptionValue(), m_current_value(value), m_default_value(value) {} 32 // isn't a uint64_t value or any other error occurs, return an empty 44 SetValueFromString(llvm::StringRef value, 60 const uint64_t &operator=(uint64_t value) { argument 61 m_current_value = value; 71 void SetCurrentValue(uint64_t value) { m_current_value = value; } argument 73 void SetDefaultValue(uint64_t value) { m_default_valu argument [all...] |
/freebsd-11-stable/sys/netgraph/bluetooth/common/ |
H A D | ng_bluetooth.c | 72 u_int32_t value; local 75 value = bluetooth_hci_command_timeout_value; 76 error = sysctl_handle_int(oidp, &value, 0, req); 78 if (value > 0) 79 bluetooth_hci_command_timeout_value = value; 96 u_int32_t value; local 99 value = bluetooth_hci_connect_timeout_value; 100 error = sysctl_handle_int(oidp, &value, 0, req); 102 if (0 < value && value < 131 u_int32_t value; local 156 u_int32_t value; local 234 u_int32_t value; local [all...] |
/freebsd-11-stable/sys/dev/sfxge/common/ |
H A D | ef10_mac.c | 577 efx_qword_t value; local 590 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_PKTS, &value); 591 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); 593 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_CONTROL_PKTS, &value); 594 EFSYS_STAT_SUBR_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value); 596 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_PAUSE_PKTS, &value); 597 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PAUSE_PKTS]), &value); 599 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_UNICAST_PKTS, &value); 600 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_UNICST_PKTS]), &value); 602 EF10_MAC_STAT_READ(esmp, MC_CMD_MAC_TX_MULTICAST_PKTS, &value); [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | wrapper.c | 20 #include "value.h" 46 struct value **argp; 47 struct value **args; 51 struct value **result_ptr; 105 gdb_evaluate_expression (struct expression *exp, struct value **value) argument 117 *value = (struct value *) args.result.pointer; 132 gdb_value_fetch_lazy (struct value *value) argument [all...] |
/freebsd-11-stable/crypto/heimdal/lib/gssapi/krb5/ |
H A D | set_sec_context_option.c | 41 const gss_buffer_t value, 44 if (value->value == NULL || value->length != 1) { 48 *flag = *((const char *)value->value) != 0; 54 const gss_buffer_t value, 57 if (value == NULL || value->length == 0) { 60 *str = malloc(value 40 get_bool(OM_uint32 *minor_status, const gss_buffer_t value, int *flag) argument 53 get_string(OM_uint32 *minor_status, const gss_buffer_t value, char **str) argument 72 get_int32(OM_uint32 *minor_status, const gss_buffer_t value, OM_uint32 *ret) argument 88 set_int32(OM_uint32 *minor_status, const gss_buffer_t value, OM_uint32 set) argument 102 _gsskrb5_set_sec_context_option(OM_uint32 *minor_status, gss_ctx_id_t *context_handle, const gss_OID desired_object, const gss_buffer_t value) argument [all...] |
/freebsd-11-stable/contrib/binutils/opcodes/ |
H A D | mep-ibld.c | 82 unsigned long value, 99 x = (x & ~(mask << shift)) | ((value & mask) << shift); 109 WORD_OFFSET is the offset in bits from the start of the insn of the value. 110 WORD_LENGTH is the length of the word in bits in which the value resides. 124 long value, 137 /* If LENGTH is zero, this operand doesn't contribute to the value. */ 159 if ((value > 0 && (unsigned long) value > maxval) 160 || value < minval) 165 value, minva 80 insert_1(CGEN_CPU_DESC cd, unsigned long value, int start, int length, int word_length, unsigned char *bufp) argument 122 insert_normal(CGEN_CPU_DESC cd, long value, unsigned int attrs, unsigned int word_offset, unsigned int start, unsigned int length, unsigned int word_length, unsigned int total_length, CGEN_INSN_BYTES_PTR buffer) argument 247 unsigned long value; local 295 put_insn_int_value(CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, CGEN_INSN_BYTES_PTR buf, int length, int insn_length, CGEN_INSN_INT value) argument 434 long value, mask; local 626 long value = fields->f_8s24a2; local 633 long value = fields->f_8s24a4; local 640 long value = fields->f_8s24a8; local 850 long value = fields->f_12s4a2; local 857 long value = fields->f_17s16a2; local 879 long value = fields->f_8s8a2; local 971 long value = fields->f_7u9a2; local 978 long value = fields->f_7u9a4; local 1014 long value = fields->f_7u9a4; local 1103 long value; local 1111 long value; local 1119 long value; local 1275 long value; local 1283 long value; local 1300 long value; local 1393 long value; local 1401 long value; local 1433 long value; local 1475 int value; local 1750 bfd_vma value; local 2029 mep_cgen_set_int_operand(CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, int opindex, CGEN_FIELDS * fields, int value) argument 2278 mep_cgen_set_vma_operand(CGEN_CPU_DESC cd ATTRIBUTE_UNUSED, int opindex, CGEN_FIELDS * fields, bfd_vma value) argument [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | MKcodes.awk | 29 function large_item(value) { 31 offset = offset + length(value) + 1; 39 bigstr = bigstr sprintf("\"%s\\0\" ", value); 40 bigcol = bigcol + length(value) + 5; 48 function small_item(value) { 49 return sprintf("\t\t\"%s\",\n", value); 52 function print_strings(name,value) { 54 print value 60 function print_offsets(name,value) { 62 printf "%s", value [all...] |
/freebsd-11-stable/sys/ddb/ |
H A D | db_access.c | 60 db_expr_t value; local 69 value = 0; 76 value = (value << 8) + (data[i] & 0xFF); 80 if (is_signed && (value & db_extend[size]) != 0) 81 value |= db_extend[size]; 83 return (value); 87 db_put_value(db_addr_t addr, int size, db_expr_t value) argument 98 data[i] = value & 0xFF; 99 value >> [all...] |
H A D | db_examine.c | 70 db_expr_t value; local 112 value = db_get_value(addr, size, true); 114 db_printf("%+-*lr", width, (long)value); 117 value = db_get_value(addr, size, false); 119 db_printf("%-*lx", width, (long)value); 122 value = db_get_value(addr, size, true); 124 db_printf("%-*ly", width, (long)value); 127 value = db_get_value(addr, size, true); 129 db_printf("%-*ld", width, (long)value); 132 value 194 db_expr_t value; local 258 db_expr_t value; local 317 db_search(db_addr_t addr, int size, db_expr_t value, db_expr_t mask, unsigned int count) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/ |
H A D | MachONormalizedFileYAML.cpp | 122 static void enumeration(IO &io, lld::MachOLinkingContext::Arch &value) { argument 123 io.enumCase(value, "unknown",lld::MachOLinkingContext::arch_unknown); 124 io.enumCase(value, "ppc", lld::MachOLinkingContext::arch_ppc); 125 io.enumCase(value, "x86", lld::MachOLinkingContext::arch_x86); 126 io.enumCase(value, "x86_64", lld::MachOLinkingContext::arch_x86_64); 127 io.enumCase(value, "armv6", lld::MachOLinkingContext::arch_armv6); 128 io.enumCase(value, "armv7", lld::MachOLinkingContext::arch_armv7); 129 io.enumCase(value, "armv7s", lld::MachOLinkingContext::arch_armv7s); 130 io.enumCase(value, "arm64", lld::MachOLinkingContext::arch_arm64); 136 static void enumeration(IO &io, lld::MachOLinkingContext::OS &value) { argument 151 enumeration(IO &io, HeaderFileType &value) argument 162 bitset(IO &io, FileFlags &value) argument 173 enumeration(IO &io, SectionType &value) argument 223 bitset(IO &io, SectionAttr &value) argument 242 output(const SectionAlignment &value, void *ctxt, raw_ostream &out) argument 247 input(StringRef scalar, void *ctxt, SectionAlignment &value) argument 264 enumeration(IO &io, NListType &value) argument 275 bitset(IO &io, SymbolScope &value) argument 283 bitset(IO &io, SymbolDesc &value) argument 369 enumeration(IO &io, RelocationInfoType &value) argument 485 output(const VMProtect &value, void*, raw_ostream &out) argument 490 input(StringRef scalar, void*, VMProtect &value) argument 541 enumeration(IO &io, LoadCommandType &value) argument 578 enumeration(IO &io, RebaseType &value) argument 603 enumeration(IO &io, BindType &value) argument 630 enumeration(IO &io, ExportSymbolKind &value) argument 642 bitset(IO &io, ExportFlags &value) argument 669 enumeration(IO &io, DataRegionType &value) argument 694 output(const PackedVersion &value, void*, raw_ostream &out) argument 701 uint32_t value; local [all...] |
/freebsd-11-stable/contrib/llvm-project/libcxx/src/ |
H A D | charconv.cpp | 102 __u32toa(uint32_t value, char* buffer) argument 104 if (value < 100000000) 106 buffer = append8_no_zeros(buffer, value); 110 // value = aabbbbcccc in decimal 111 const uint32_t a = value / 100000000; // 1 to 42 112 value %= 100000000; 115 buffer = append4(buffer, value / 10000); 116 buffer = append4(buffer, value % 10000); 123 __u64toa(uint64_t value, char* buffer) argument 125 if (value < 10000000 [all...] |
H A D | typeinfo.cpp | 34 size_t value = fnv_offset_basis; variable 36 value ^= static_cast<size_t>(static_cast<unsigned char>(*c)); 37 value *= fnv_prime; 41 value ^= value >> 32; 44 return value;
|
/freebsd-11-stable/contrib/gcc/ |
H A D | params.c | 59 set_param_value (const char *name, int value) argument 63 /* Make sure nobody tries to set a parameter to an invalid value. */ 64 gcc_assert (value != INVALID_PARAM_VAL); 70 if (value < compiler_params[i].min_value) 71 error ("minimum value of parameter %qs is %u", 75 && value > compiler_params[i].max_value) 76 error ("maximum value of parameter %qs is %u", 80 compiler_params[i].value = value;
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pid/ |
H A D | tst.vfork.d | 39 this->value = (int *)alloca(sizeof (int)); 40 *this->value = 1; 41 copyout(this->value, arg0, sizeof (int));
|
/freebsd-11-stable/contrib/ntp/util/ |
H A D | testrs6000.c | 24 struct itimerval value, oldvalue; local 30 value.it_interval.tv_sec = value.it_value.tv_sec = 1; 31 value.it_interval.tv_usec = value.it_value.tv_usec = 0; 35 setitimer(ITIMER_REAL, &value, &oldvalue);
|
/freebsd-11-stable/tools/tools/sysdoc/ |
H A D | sysctl.sh | 33 read type value _junk; \ 39 if [ X"${value}" = X"" ]; then \ 49 sed -e "s/@default@/${value}/g" | \
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Interpreter/ |
H A D | OptionValueString.cpp | 45 Status OptionValueString::SetValueFromString(llvm::StringRef value, argument 49 std::string value_str = value.str(); 50 value = value.trim(); 51 if (value.size() > 0) { 52 switch (value.front()) { 55 if (value.size() <= 1 || value.back() != value.front()) { 59 value 125 SetCurrentValue(llvm::StringRef value) argument 135 AppendToCurrentValue(const char *value) argument [all...] |
/freebsd-11-stable/sys/kgssapi/ |
H A D | gss_release_buffer.c | 44 if (buffer->value) { 45 free(buffer->value, M_GSSAPI); 48 buffer->value = NULL;
|
/freebsd-11-stable/usr.sbin/usbconfig/ |
H A D | dump.h | 32 const char *dump_mode(uint8_t value); 33 const char *dump_speed(uint8_t value); 34 const char *dump_power_mode(uint8_t value);
|
/freebsd-11-stable/contrib/bsnmp/snmpd/ |
H A D | action.c | 64 * Get an integer value from the KERN sysctl subtree. 71 u_long value; local 76 len = sizeof(value); 77 if (sysctl(mib, 2, &value, &len, NULL, 0) != 0) 82 sprintf(string, "%lu", value); 243 op_system_group(struct snmp_context *ctx, struct snmp_value *value, argument 246 asn_subid_t which = value->var.subs[sub - 1]; 262 return (string_save(value, ctx, -1, &systemg.descr)); 267 return (oid_save(value, ctx, &systemg.object_id)); 270 return (string_save(value, ct 356 op_debug(struct snmp_context *ctx, struct snmp_value *value, u_int sub, u_int iidx __unused, enum snmp_op op) argument 448 op_or_table(struct snmp_context *ctx __unused, struct snmp_value *value, u_int sub, u_int iidx __unused, enum snmp_op op) argument 505 op_snmp(struct snmp_context *ctx, struct snmp_value *value, u_int sub, u_int iidx __unused, enum snmp_op op) argument 588 op_snmpd_stats(struct snmp_context *ctx __unused, struct snmp_value *value, u_int sub, u_int iidx __unused, enum snmp_op op) argument 630 op_snmpd_config(struct snmp_context *ctx, struct snmp_value *value, u_int sub, u_int iidx __unused, enum snmp_op op) argument 751 op_community(struct snmp_context *ctx, struct snmp_value *value, u_int sub, u_int iidx __unused, enum snmp_op op) argument 928 op_modules(struct snmp_context *ctx, struct snmp_value *value, u_int sub, u_int iidx, enum snmp_op op) argument 1055 op_snmp_set(struct snmp_context *ctx __unused, struct snmp_value *value, u_int sub, u_int iidx __unused, enum snmp_op op) argument 1103 op_snmp_engine(struct snmp_context *ctx __unused, struct snmp_value *value, u_int sub, u_int iidx __unused, enum snmp_op op) argument 1200 op_transport_table(struct snmp_context *ctx __unused, struct snmp_value *value, u_int sub, u_int iidx, enum snmp_op op) argument [all...] |
/freebsd-11-stable/contrib/binutils/gas/ |
H A D | hash.h | 45 const char *key, PTR value); 49 error. If an entry already exists, its value is replaced. */ 52 const char *key, PTR value); 55 value stored for the entry. If the entry is not found in the hash 59 PTR value); 61 /* Find an entry in a hash table, returning its value. Returns NULL 71 /* Delete an entry from a hash table. This returns the value stored 80 void (*pfn) (const char *key, PTR value));
|