Home
last modified time | relevance | path

Searched refs:uval (Results 1 – 25 of 43) 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/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/source/Plugins/SymbolFile/DWARF/
H A DDWARFFormValue.cpp47 m_value.value.uval = in ExtractValue()
51 m_value.value.uval = data.GetU8(offset_ptr); in ExtractValue()
55 m_value.value.uval = data.GetU16(offset_ptr); in ExtractValue()
59 m_value.value.uval = data.GetU32(offset_ptr); in ExtractValue()
63 m_value.value.uval = 16; in ExtractValue()
68 m_value.value.uval = data.GetULEB128(offset_ptr); in ExtractValue()
80 m_value.value.uval = data.GetMaxU64(offset_ptr, 4); in ExtractValue()
87 m_value.value.uval = data.GetU8(offset_ptr); in ExtractValue()
93 m_value.value.uval = data.GetU16(offset_ptr); in ExtractValue()
97 m_value.value.uval in ExtractValue()
[all...]
H A DDWARFFormValue.h25 ValueTypeTag() : value() { value.uval = 0; }
28 uint64_t uval;
70 bool Boolean() const { return m_value.value.uval != 0; } in IsValid()
71 uint64_t Unsigned() const { return m_value.value.uval; }
72 void SetUnsigned(uint64_t uval) { m_value.value.uval = uval; }
26 uint64_t uval; global() member
65 SetUnsigned(uint64_t uval) SetUnsigned() argument
/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.c674 uint32_t uval; in linux_futex_requeue() local
701 error = fueword32(args->uaddr, &uval); in linux_futex_requeue()
704 else if (args->val3_compare == true && uval != args->val3) in linux_futex_requeue()
743 uint32_t uval; in linux_futex_wait() local
761 error = fueword32(args->uaddr, &uval); in linux_futex_wait()
764 else if (uval != args->val) in linux_futex_wait()
934 uint32_t uval, nval, mval; in handle_futex_death() local
938 error = fueword32(uaddr, &uval); in handle_futex_death()
961 if (pending_op && !pi && !uval) { in handle_futex_death()
966 if ((uval & FUTEX_TID_MASK) == em->em_tid) { in handle_futex_death()
[all …]
/freebsd/bin/sh/
H A Dmiscbltin.c555 uintmax_t uval; in ulimitcmd() local
560 uval = strtoumax(p, &end, 10); in ulimitcmd()
563 if (uval > UINTMAX_MAX / l->factor) in ulimitcmd()
565 uval *= l->factor; in ulimitcmd()
566 val = (rlim_t)uval; in ulimitcmd()
567 if (val < 0 || (uintmax_t)val != uval || in ulimitcmd()
/freebsd/contrib/ntp/libntp/
H A Datouint.c19 u_long *uval in atouint() argument
40 *uval = u; in atouint()
/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.h42 ValueType() { uval = 0; } in ValueType()
44 ValueType(uint64_t V) : uval(V) {} in ValueType()
48 uint64_t uval; member
81 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()
214 return WriteRegisterFromUnsigned(GetRegisterInfoAtIndex(reg), uval); in WriteRegisterFromUnsigned()
218 uint64_t uval) { in WriteRegisterFromUnsigned()
221 if (value.SetUInt(uval, reg_info->byte_size)) in CopyFromRegisterContext()
205 WriteRegisterFromUnsigned(uint32_t reg,uint64_t uval) WriteRegisterFromUnsigned() argument
212 WriteRegisterFromUnsigned(const RegisterInfo * reg_info,uint64_t uval) WriteRegisterFromUnsigned() argument
/freebsd/stand/libsa/zfs/
H A Dzfs.c1097 uint64_t uval; in zfs_nvstore_setter_str() local
1172 rv = get_uint64(data, &uval); in zfs_nvstore_setter_str()
1174 uint8_t v = uval; in zfs_nvstore_setter_str()
1181 rv = get_uint64(data, &uval); in zfs_nvstore_setter_str()
1183 uint8_t v = uval; in zfs_nvstore_setter_str()
1190 rv = get_uint64(data, &uval); in zfs_nvstore_setter_str()
1192 uint16_t v = uval; in zfs_nvstore_setter_str()
1199 rv = get_uint64(data, &uval); in zfs_nvstore_setter_str()
1201 uint32_t v = uval; in zfs_nvstore_setter_str()
1208 rv = get_uint64(data, &uval); in zfs_nvstore_setter_str()
[all …]
/freebsd/contrib/libucl/src/
H A Ducl_util.c305 int i, uval; local
350 uval = 0;
356 uval <<= 4;
358 uval += h[i] - '0';
361 uval += h[i] - 'a' + 10;
364 uval += h[i] - 'A' + 10;
372 if(uval < 0x80) {
373 t[0] = (char)uval;
376 else if(uval < 0x800) {
377 t[0] = 0xC0 + ((uval & 0x7C0) >> 6);
[all …]
H A Ducl_msgpack.c144 uint64_t uval; in ucl_emitter_print_int_msgpack() local
146 uval = ((val ^ (val >> 63)) - (val >> 63)); in ucl_emitter_print_int_msgpack()
150 buf[0] = (mask_negative | uval) & 0xff; in ucl_emitter_print_int_msgpack()
152 else if (uval <= INT8_MAX) { in ucl_emitter_print_int_msgpack()
158 else if (uval <= INT16_MAX) { in ucl_emitter_print_int_msgpack()
165 else if (uval <= INT32_MAX) { in ucl_emitter_print_int_msgpack()
/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/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/ntp/ntpdc/
H A Dntpdc.h36 u_long uval; member

12