Home
last modified time | relevance | path

Searched refs:uval (Results 1 – 25 of 45) sorted by relevance

12

/freebsd/sys/dev/hid/
H A Dhid.c245 uint32_t uval; in hid_get_item() local
257 uval = s->usages_min[s->iusage] + s->ousage; in hid_get_item()
258 c->usage = uval; in hid_get_item()
259 s->usage_last = uval; in hid_get_item()
260 if (uval == s->usages_max[s->iusage]) { in hid_get_item()
268 uval = s->usage_last; in hid_get_item()
322 uval = 0; in hid_get_item()
323 dval = uval; in hid_get_item()
327 uval = hid_get_byte(s, 1); in hid_get_item()
328 dval = (int8_t)uval; in hid_get_item()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFFormValue.cpp46 m_value.uval = in ExtractValue()
50 m_value.uval = data.GetU8(offset_ptr); in ExtractValue()
54 m_value.uval = data.GetU16(offset_ptr); in ExtractValue()
58 m_value.uval = data.GetU32(offset_ptr); in ExtractValue()
62 m_value.uval = 16; in ExtractValue()
67 m_value.uval = data.GetULEB128(offset_ptr); in ExtractValue()
80 m_value.uval = data.GetMaxU64( in ExtractValue()
88 m_value.uval = data.GetU8(offset_ptr); in ExtractValue()
94 m_value.uval = data.GetU16(offset_ptr); in ExtractValue()
98 m_value.uval = data.GetMaxU64(offset_ptr, 3); in ExtractValue()
[all …]
H A DDWARFFormValue.h60 bool Boolean() const { return m_value.uval != 0; } in Boolean()
61 uint64_t Unsigned() const { return m_value.uval; } in Unsigned()
62 void SetUnsigned(uint64_t uval) { m_value.uval = uval; } in SetUnsigned() argument
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFFormValue.cpp97 V.uval = D.size(); in createFromBlockValue()
242 Value.uval = in extractValue()
248 Value.uval = Data.getULEB128(OffsetPtr, &Err); in extractValue()
252 Value.uval = Data.getU8(OffsetPtr, &Err); in extractValue()
256 Value.uval = Data.getU16(OffsetPtr, &Err); in extractValue()
260 Value.uval = Data.getU32(OffsetPtr, &Err); in extractValue()
268 Value.uval = Data.getU8(OffsetPtr, &Err); in extractValue()
274 Value.uval = Data.getU16(OffsetPtr, &Err); in extractValue()
278 Value.uval = Data.getU24(OffsetPtr, &Err); in extractValue()
285 Value.uval = Data.getRelocatedValue(4, OffsetPtr, nullptr, &Err); in extractValue()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStream.h228 Stream &operator<<(uint8_t uval) = delete;
229 Stream &operator<<(uint16_t uval) = delete;
230 Stream &operator<<(uint32_t uval) = delete;
231 Stream &operator<<(uint64_t uval) = delete;
329 /// Put an offset \a uval out to the stream using the printf format in \a
384 /// Put an SLEB128 \a uval out to the stream using the printf format in \a
387 /// \param[in] uval
389 size_t PutSLEB128(int64_t uval);
393 /// Put an ULEB128 \a uval out to the stream using the printf format in \a
396 /// \param[in] uval
[all...]
/freebsd/sys/compat/linux/
H A Dlinux_futex.c677 uint32_t uval; in linux_futex_requeue() local
704 error = fueword32(args->uaddr, &uval); in linux_futex_requeue()
707 else if (args->val3_compare == true && uval != args->val3) in linux_futex_requeue()
746 uint32_t uval; in linux_futex_wait() local
764 error = fueword32(args->uaddr, &uval); in linux_futex_wait()
767 else if (uval != args->val) in linux_futex_wait()
937 uint32_t uval, nval, mval; in handle_futex_death() local
941 error = fueword32(uaddr, &uval); in handle_futex_death()
964 if (pending_op && !pi && !uval) { in handle_futex_death()
969 if ((uval & FUTEX_TID_MASK) == em->em_tid) { in handle_futex_death()
[all …]
/freebsd/contrib/ntp/libntp/
H A Datouint.c19 u_long *uval in atouint() argument
40 *uval = u; in atouint()
/freebsd/bin/sh/
H A Dmiscbltin.c589 uintmax_t uval; in ulimitcmd() local
594 uval = strtoumax(p, &end, 10); in ulimitcmd()
597 if (uval > UINTMAX_MAX / l->factor) in ulimitcmd()
599 uval *= l->factor; in ulimitcmd()
600 val = (rlim_t)uval; in ulimitcmd()
601 if (val < 0 || (uintmax_t)val != uval || in ulimitcmd()
/freebsd/usr.bin/nl/
H A Dnl.c130 unsigned long uval; in main() local
184 uval = strtoul(optarg, &ep, 10); in main()
186 (uval == ULONG_MAX && errno != 0)) in main()
189 nblank = (unsigned int)uval; in main()
/freebsd/usr.bin/printf/
H A Dprintf.c396 uintmax_t uval; in printf_doformat() local
402 if (getnum(&val, &uval, signedconv)) in printf_doformat()
407 PF(f, uval); in printf_doformat()
555 uintmax_t uval; in getint() local
558 if (getnum(&val, &uval, 1)) in getint()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DStream.cpp45 // Put an offset "uval" out to the stream using the printf format in "format".
46 void Stream::Offset(uint32_t uval, const char *format) { Printf(format, uval); }
48 // Put an SLEB128 "uval" out to the stream using the printf format in "format". in PutSLEB128()
56 // Put an ULEB128 "uval" out to the stream using the printf format in "format". in PutULEB128()
57 size_t Stream::PutULEB128(uint64_t uval) { in PutULEB128()
59 return llvm::encodeULEB128(uval, m_forwarder); in PutULEB128()
61 return Printf("0x%" PRIx64, uval);
44 Offset(uint32_t uval,const char * format) Offset() argument
55 PutULEB128(uint64_t uval) PutULEB128() argument
/freebsd/usr.sbin/iovctl/
H A Dparse.c92 uint64_t uval; in add_uint_config() local
101 uval = val; in add_uint_config()
102 if (uval > max) in add_uint_config()
105 nvlist_add_number(config, key, uval); in add_uint_config()
/freebsd/contrib/ntp/ntpd/
H A Drefclock_parse.c5043 union uval { union
5139 union uval uval; in sendflt() local
5141 uval.fv = (float) a; in sendflt()
5147 sendbyte(buf, uval.bd[i]); in sendflt()
5385 union uval uval; in getflt() local
5388 uval.bd[0] = *bp++; in getflt()
5389 uval.bd[1] = *bp++; in getflt()
5390 uval.bd[2] = *bp++; in getflt()
5391 uval.bd[3] = *bp; in getflt()
5393 uval.bd[3] = *bp++; in getflt()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h43 ValueType() { uval = 0; } in ValueType()
45 ValueType(uint64_t V) : uval(V) {} in ValueType()
49 uint64_t uval; member
82 uint64_t getRawUValue() const { return Value.uval; } in getRawUValue()
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DNativeRegisterContext.cpp217 uint64_t uval) { in WriteRegisterFromUnsigned() argument
220 return WriteRegisterFromUnsigned(GetRegisterInfoAtIndex(reg), uval); in WriteRegisterFromUnsigned()
225 uint64_t uval) { in WriteRegisterFromUnsigned() argument
231 if (!value.SetUInt(uval, reg_info->byte_size)) in WriteRegisterFromUnsigned()
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Ddwarf.c649 Dwarf_Unsigned uval; in tdesc_array_create() local
682 if (die_unsigned(dw, dim, DW_AT_upper_bound, &uval, 0)) in tdesc_array_create()
683 ar->ad_nelems = uval + 1; in tdesc_array_create()
686 else if (die_unsigned(dw, dim, DW_AT_count, &uval, 0)) in tdesc_array_create()
687 ar->ad_nelems = uval; in tdesc_array_create()
715 Dwarf_Unsigned uval; in die_array_create() local
726 if (die_unsigned(dw, arr, DW_AT_byte_size, &uval, 0)) { in die_array_create()
730 tdp->t_size = uval; in die_array_create()
809 Dwarf_Unsigned uval; in die_enum_create() local
821 (void) die_unsigned(dw, die, DW_AT_byte_size, &uval, DW_ATTR_REQ); in die_enum_create()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DRegisterContext.cpp211 bool RegisterContext::WriteRegisterFromUnsigned(uint32_t reg, uint64_t uval) { in WriteRegisterFromUnsigned() argument
214 return WriteRegisterFromUnsigned(GetRegisterInfoAtIndex(reg), uval); in WriteRegisterFromUnsigned()
218 uint64_t uval) { in WriteRegisterFromUnsigned() argument
221 if (value.SetUInt(uval, reg_info->byte_size)) in WriteRegisterFromUnsigned()
/freebsd/contrib/ntp/ntpq/
H A Dntpq.c1870 argp->uval = assoc_cache[ul - 1].assid; in getarg()
1873 if (!atouint(str, &argp->uval)) { in getarg()
2477 tvout.tv_sec = pcmd->argval[0].uval / 1000; in timeout()
2478 tvout.tv_usec = (pcmd->argval[0].uval - ((long)tvout.tv_sec * 1000)) in timeout()
2633 if(pcmd->argval[0].uval > NTP_MAXKEY) in keyid()
2635 info_auth_keyid = pcmd->argval[0].uval; in keyid()
2867 if (pcmd->argval[0].uval < NTP_OLDVERSION in ntpversion()
2868 || pcmd->argval[0].uval > NTP_VERSION) { in ntpversion()
2872 pktversion = (u_char) pcmd->argval[0].uval; in ntpversion()
3666 u_long uval; in cookedprint()
3670 u_long uval; cookedprint() local
[all...]
H A Dntpq-subs.c787 if (pcmd->argval[0].uval == 0) in readlist()
789 else if ((associd = checkassocid(pcmd->argval[0].uval)) == 0) in readlist()
818 /* HMS: Do we really want uval here? */ in writelist()
819 if (pcmd->argval[0].uval == 0) in writelist()
821 else if ((associd = checkassocid(pcmd->argval[0].uval)) == 0) in writelist()
860 /* HMS: uval? */ in readvar()
861 if (pcmd->nargs == 0 || pcmd->argval[0].uval == 0) in readvar()
863 else if ((associd = checkassocid(pcmd->argval[0].uval)) == 0) in readvar()
899 /* HMS: uval? */ in writevar()
900 if (pcmd->argval[0].uval in writevar()
[all...]
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DRegisterContext.h205 bool WriteRegisterFromUnsigned(uint32_t reg, uint64_t uval);
207 bool WriteRegisterFromUnsigned(const RegisterInfo *reg_info, uint64_t uval);
/freebsd/stand/libsa/zfs/
H A Dzfs.c1099 uint64_t uval; in zfs_nvstore_setter_str() local
1174 rv = get_uint64(data, &uval); in zfs_nvstore_setter_str()
1176 uint8_t v = uval; in zfs_nvstore_setter_str()
1183 rv = get_uint64(data, &uval); in zfs_nvstore_setter_str()
1185 uint8_t v = uval; in zfs_nvstore_setter_str()
1192 rv = get_uint64(data, &uval); in zfs_nvstore_setter_str()
1194 uint16_t v = uval; in zfs_nvstore_setter_str()
1201 rv = get_uint64(data, &uval); in zfs_nvstore_setter_str()
1203 uint32_t v = uval; in zfs_nvstore_setter_str()
1210 rv = get_uint64(data, &uval); in zfs_nvstore_setter_str()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/common/
H A DNativeRegisterContext.h157 Status WriteRegisterFromUnsigned(uint32_t reg, uint64_t uval);
159 Status WriteRegisterFromUnsigned(const RegisterInfo *reg_info, uint64_t uval);
/freebsd/contrib/libucl/src/
H A Ducl_util.c301 int i, uval; local
346 uval = 0;
352 uval <<= 4;
354 uval += h[i] - '0';
357 uval += h[i] - 'a' + 10;
360 uval += h[i] - 'A' + 10;
368 if (uval < 0x80) {
369 t[0] = (char) uval;
372 else if (uval < 0x800) {
373 t[0] = 0xC0 + ((uval & 0x7C0) >> 6);
[all …]
H A Ducl_msgpack.c148 uint64_t uval; in ucl_emitter_print_int_msgpack() local
150 uval = ((val ^ (val >> 63)) - (val >> 63)); in ucl_emitter_print_int_msgpack()
154 buf[0] = (mask_negative | uval) & 0xff; in ucl_emitter_print_int_msgpack()
156 else if (uval <= INT8_MAX) { in ucl_emitter_print_int_msgpack()
162 else if (uval <= INT16_MAX) { in ucl_emitter_print_int_msgpack()
169 else if (uval <= INT32_MAX) { in ucl_emitter_print_int_msgpack()
/freebsd/contrib/ntp/ntpdc/
H A Dntpdc.h36 u_long uval; member

12