Home
last modified time | relevance | path

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

123

/netbsd-src/sys/dev/hid/
H A Dhid.c125 uint32_t uval; in hid_get_item() local
183 uval = dval; in hid_get_item()
187 uval = dval; in hid_get_item()
193 uval = dval; in hid_get_item()
201 uval = dval; in hid_get_item()
209 DPRINTFN(5,("hid_get_item: bType=%d bTag=%d dval=%d uval=%u\n", in hid_get_item()
210 bType, bTag, dval, uval)); in hid_get_item()
224 c->flags = uval; in hid_get_item()
257 c->collection = uval; in hid_get_item()
280 c->_usage_page = uval << 1 in hid_get_item()
[all...]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A DDWARFFormValue.cpp95 V.uval = D.size(); in createFromBlockValue()
266 Value.uval = in extractValue()
272 Value.uval = Data.getULEB128(OffsetPtr, &Err); in extractValue()
276 Value.uval = Data.getU8(OffsetPtr, &Err); in extractValue()
280 Value.uval = Data.getU16(OffsetPtr, &Err); in extractValue()
284 Value.uval = Data.getU32(OffsetPtr, &Err); in extractValue()
292 Value.uval = Data.getU8(OffsetPtr, &Err); in extractValue()
298 Value.uval = Data.getU16(OffsetPtr, &Err); in extractValue()
301 Value.uval = Data.getU24(OffsetPtr, &Err); in extractValue()
308 Value.uval = Data.getRelocatedValue(4, OffsetPtr, nullptr, &Err); in extractValue()
[all …]
/netbsd-src/external/lgpl3/gmp/dist/mpz/
H A Dui_sub.c34 mpz_ui_sub (mpz_ptr w, unsigned long int uval, mpz_srcptr v) in mpz_ui_sub() argument
41 if (uval > GMP_NUMB_MAX) in mpz_ui_sub()
46 ul[0] = uval & GMP_NUMB_MASK; in mpz_ui_sub()
47 ul[1] = uval >> GMP_NUMB_BITS; in mpz_ui_sub()
60 mpn_sub_1 (wp, vp, vn, (mp_limb_t) uval); in mpz_ui_sub()
68 if (uval >= vp0) in mpz_ui_sub()
70 wp[0] = uval - vp0; in mpz_ui_sub()
75 wp[0] = vp0 - uval; in mpz_ui_sub()
84 cy = mpn_add_1 (wp, vp, vn, (mp_limb_t) uval); in mpz_ui_sub()
/netbsd-src/external/gpl3/binutils.old/dist/opcodes/
H A Dmips-dis.c1285 const struct mips_operand *operand, unsigned int uval) in print_vu0_channel() argument
1289 uval & 8 ? "x" : "", in print_vu0_channel()
1290 uval & 4 ? "y" : "", in print_vu0_channel()
1291 uval & 2 ? "z" : "", in print_vu0_channel()
1292 uval & 1 ? "w" : ""); in print_vu0_channel()
1294 info->fprintf_func (info->stream, "%c", "xyzw"[uval]); in print_vu0_channel()
1401 unsigned int uval) in print_insn_arg() argument
1413 uval = mips_decode_int_operand (int_op, uval); in print_insn_arg()
1414 state->last_int = uval; in print_insn_arg()
1416 infprintf (is, "0x%x", uval); in print_insn_arg()
[all …]
/netbsd-src/external/gpl3/binutils/dist/opcodes/
H A Dmips-dis.c1293 const struct mips_operand *operand, unsigned int uval, in print_vu0_channel() argument
1300 uval & 8 ? "x" : "", in print_vu0_channel()
1301 uval & 4 ? "y" : "", in print_vu0_channel()
1302 uval & 2 ? "z" : "", in print_vu0_channel()
1303 uval & 1 ? "w" : ""); in print_vu0_channel()
1305 infprintf (info->stream, style, "%c", "xyzw"[uval]); in print_vu0_channel()
1429 unsigned int uval) in print_insn_arg() argument
1441 uval = mips_decode_int_operand (int_op, uval); in print_insn_arg()
1442 state->last_int = uval; in print_insn_arg()
1444 infprintf (is, dis_style_immediate, "0x%x", uval); in print_insn_arg()
[all …]
/netbsd-src/libexec/ld.elf_so/
H A Dxprintf.c93 unsigned long uval; in xvsnprintf() local
128 uval = -sval; in xvsnprintf()
130 uval = sval; in xvsnprintf()
134 uval = UARG(); in xvsnprintf()
136 uval = SARG(); in xvsnprintf()
139 *dp++ = '0' + (uval % 10); in xvsnprintf()
140 uval /= 10; in xvsnprintf()
141 } while (uval != 0); in xvsnprintf()
/netbsd-src/sys/ddb/
H A Ddb_sym.c92 unsigned long uval; in db_value_of_name() local
115 if (ksyms_getval_unlocked(mod, sym, NULL, &uval, KSYMS_EXTERN) == 0) { in db_value_of_name()
116 val = (long) uval; in db_value_of_name()
120 if (ksyms_getval_unlocked(mod, sym, NULL, &uval, KSYMS_ANY) == 0) { in db_value_of_name()
121 val = (long) uval; in db_value_of_name()
389 unsigned long uval; in db_printsym() local
430 (void)ksyms_getval_unlocked(mod, name, NULL, &uval, KSYMS_ANY); in db_printsym()
431 if (strategy & KSYMS_PROC && uval == off) { in db_printsym()
435 (void)ksyms_getval_unlocked(mod, name, NULL, &uval, KSYMS_ANY); in db_printsym()
437 val = (long) uval; in db_printsym()
/netbsd-src/external/gpl3/binutils.old/dist/include/opcode/
H A Dmips.h638 unsigned int uval) in mips_insert_operand() argument
644 insn |= (uval & mask) << operand->lsb; in mips_insert_operand()
659 mips_signed_operand (const struct mips_operand *operand, unsigned int uval) in mips_signed_operand() argument
665 return ((uval + sign_bit) & mask) - sign_bit; in mips_signed_operand()
672 unsigned int uval) in mips_decode_int_operand() argument
674 uval |= (operand->max_val - uval) & -(1 << operand->root.size); in mips_decode_int_operand()
675 uval += operand->bias; in mips_decode_int_operand()
676 uval <<= operand->shift; in mips_decode_int_operand()
677 return uval; in mips_decode_int_operand()
703 unsigned int uval) in mips_decode_reg_operand() argument
[all …]
/netbsd-src/external/gpl3/binutils/dist/include/opcode/
H A Dmips.h638 unsigned int uval) in mips_insert_operand() argument
644 insn |= (uval & mask) << operand->lsb; in mips_insert_operand()
659 mips_signed_operand (const struct mips_operand *operand, unsigned int uval) in mips_signed_operand() argument
665 return ((uval + sign_bit) & mask) - sign_bit; in mips_signed_operand()
672 unsigned int uval) in mips_decode_int_operand() argument
674 uval |= (operand->max_val - uval) & -(1 << operand->root.size); in mips_decode_int_operand()
675 uval += operand->bias; in mips_decode_int_operand()
676 uval <<= operand->shift; in mips_decode_int_operand()
677 return uval; in mips_decode_int_operand()
703 unsigned int uval) in mips_decode_reg_operand() argument
[all …]
/netbsd-src/sys/arch/i386/stand/efiboot/
H A Dboot.c826 char *uname, *uval, *uguid; in command_efivar() local
877 uval = NULL; in command_efivar()
878 rv = ucs2_to_utf8(val, &uval); in command_efivar()
885 uval = NULL; in command_efivar()
890 FreePool(uval); in command_efivar()
898 FreePool(uval); in command_efivar()
902 printf("%-35s %-20s %s\n", uguid, uname, uval ? uval : "(null)"); in command_efivar()
905 if (uval != NULL) in command_efivar()
906 FreePool(uval); in command_efivar()
/netbsd-src/external/gpl3/binutils/dist/gas/config/
H A Dtc-s390.c602 addressT uval; in s390_insert_operand() local
635 uval = (addressT) val & ((((addressT) 1 << (operand->bits-1)) << 1) - 1); in s390_insert_operand()
638 uval = (uval >> 12) | ((uval & 0xfff) << 8); in s390_insert_operand()
646 uval = (addressT) val; in s390_insert_operand()
655 uval--; in s390_insert_operand()
657 if (uval < min || uval > max) in s390_insert_operand()
661 uval++; in s390_insert_operand()
666 as_bad_value_out_of_range (_("operand"), uval, (offsetT) min, (offsetT) max, file, line); in s390_insert_operand()
678 insn[4] |= (uval & 0x10) >> 1; in s390_insert_operand()
681 insn[4] |= (uval & 0x10) >> 2; in s390_insert_operand()
[all …]
H A Dkvx-parse.c522 uint64_t uval in get_token_class() local
526 int64_t val = uval; in get_token_class()
527 int64_t pval = val < 0 ? -uval : uval; in get_token_class()
528 int neg_power2_p = val < 0 && !(uval & (uval - 1)); in get_token_class()
545 token->val = uval; in get_token_class()
/netbsd-src/external/gpl3/binutils.old/dist/gas/config/
H A Dtc-s390.c604 addressT uval; in s390_insert_operand() local
637 uval = (addressT) val & ((((addressT) 1 << (operand->bits-1)) << 1) - 1); in s390_insert_operand()
640 uval = (uval >> 12) | ((uval & 0xfff) << 8); in s390_insert_operand()
648 uval = (addressT) val; in s390_insert_operand()
657 uval--; in s390_insert_operand()
659 if (uval < min || uval > max) in s390_insert_operand()
663 uval++; in s390_insert_operand()
668 as_bad_value_out_of_range (_("operand"), uval, (offsetT) min, (offsetT) max, file, line); in s390_insert_operand()
680 insn[4] |= (uval & 0x10) >> 1; in s390_insert_operand()
683 insn[4] |= (uval & 0x10) >> 2; in s390_insert_operand()
[all …]
H A Dtc-mips.c2372 const struct mips_operand *operand, unsigned int uval) in insn_insert_operand() argument
2377 insn->insn_opcode |= mips16_immed_extend (uval, operand->size); in insn_insert_operand()
2379 insn->insn_opcode = mips_insert_operand (operand, insn->insn_opcode, uval); in insn_insert_operand()
4639 unsigned int uval, vsel; in operand_reg_mask() local
4669 uval = insn_extract_operand (insn, operand); in operand_reg_mask()
4670 return 1u << mips_decode_reg_operand (reg_op, uval); in operand_reg_mask()
4680 uval = insn_extract_operand (insn, operand); in operand_reg_mask()
4681 return (1u << pair_op->reg1_map[uval]) | (1u << pair_op->reg2_map[uval]); in operand_reg_mask()
4687 uval = insn_extract_operand (insn, operand); in operand_reg_mask()
4688 return (1u << (uval & 31)) | (1u << (uval >> 5)); in operand_reg_mask()
[all …]
/netbsd-src/external/bsd/ntp/dist/libntp/
H A Datouint.c21 u_long *uval in atouint() argument
42 *uval = u; in atouint()
/netbsd-src/usr.bin/nl/
H A Dnl.c137 unsigned long uval; in main() local
188 uval = strtoul(optarg, &ep, 10); in main()
190 (uval == ULONG_MAX && errno != 0)) in main()
193 nblank = (unsigned int)uval; in main()
/netbsd-src/bin/ps/
H A Dprint.c1236 u_int64_t uval; in printval() local
1239 uval = 0; /* XXXGCC -Wuninitialized [hpcarm] */ in printval()
1260 uval = CHK_INF127(GET(u_char)); in printval()
1272 uval = CHK_INF127(GET(u_short)); in printval()
1290 uval = CHK_INF127(GET(u_int)); in printval()
1298 uval = CHK_INF127(GET(u_long)); in printval()
1302 uval = GET(u_int64_t); in printval()
1306 uval = GET(u_int64_t); in printval()
1307 uval &= 0xffffff; in printval()
1315 uval = CHK_INF127(GET(u_int64_t)); in printval()
[all …]
/netbsd-src/external/apache2/llvm/dist/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
78 uint64_t getRawUValue() const { return Value.uval; } in getRawUValue()
/netbsd-src/external/gpl3/gcc/dist/libgcc/
H A Dgeneric-morestack.c320 unsigned int uval; in print_int() local
322 uval = (unsigned int) val; in print_int()
328 uval = - uval; in print_int()
335 buf[i] = '0' + (uval % 10); in print_int()
336 uval /= 10; in print_int()
338 while (uval != 0 && i > 0); in print_int()
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/
H A Dgeneric-morestack.c320 unsigned int uval; in print_int() local
322 uval = (unsigned int) val; in print_int()
328 uval = - uval; in print_int()
335 buf[i] = '0' + (uval % 10); in print_int()
336 uval /= 10; in print_int()
338 while (uval != 0 && i > 0); in print_int()
/netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/
H A Ddwarf.c667 Dwarf_Unsigned uval; in tdesc_array_create() local
700 if (die_unsigned(dw, dim, DW_AT_upper_bound, &uval, 0)) in tdesc_array_create()
701 ar->ad_nelems = uval + 1; in tdesc_array_create()
704 else if (die_unsigned(dw, dim, DW_AT_count, &uval, 0)) in tdesc_array_create()
705 ar->ad_nelems = uval + 1; in tdesc_array_create()
735 Dwarf_Unsigned uval; in die_array_create() local
759 if (die_unsigned(dw, arr, DW_AT_byte_size, &uval, 0)) { in die_array_create()
763 tdp->t_size = uval; in die_array_create()
843 Dwarf_Unsigned uval; in die_enum_create() local
855 (void) die_unsigned(dw, die, DW_AT_byte_size, &uval, DW_ATTR_REQ); in die_enum_create()
[all …]
/netbsd-src/usr.bin/units/
H A Dunits.c55 const char *uval; member
255 unittable[unitcount++].uval = dupstr(lineptr); in readunits()
557 return unittable[i].uval; in lookupunit()
778 thedefn = unittable[i].uval; in listunits()
816 thedefn = unittable[i].uval; in listunits()
/netbsd-src/external/bsd/pcc/dist/pcc/cc/cpp/
H A Dcpp.h161 unsigned long long uval; member
167 #define nd_uval n.uval
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_printf.cc167 u64 uval; in VSNPrintf() local
184 uval = have_ll ? va_arg(args, u64) in VSNPrintf()
188 result += AppendUnsigned(&buff, buff_end, uval, (*cur == 'u') ? 10 : 16, in VSNPrintf()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_printf.cc165 u64 uval; in VSNPrintf() local
182 uval = have_ll ? va_arg(args, u64) in VSNPrintf()
186 result += AppendUnsigned(&buff, buff_end, uval, (*cur == 'u') ? 10 : 16, in VSNPrintf()

123