Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/kyua/utils/cmdline/
H A Doptions.cpp310 (void)text::to_type< int >(raw_value); in validate()
327 cmdline::int_option::convert(const std::string& raw_value) in convert() argument
330 return text::to_type< int >(raw_value); in convert()
395 return text::split(raw_value, ','); in convert()
450 (void)utils::fs::path(raw_value); in validate()
469 return utils::fs::path(raw_value); in convert()
518 F("--%s") % long_name(), raw_value, in validate()
521 const std::string key = raw_value.substr(0, pos); in validate()
526 const std::string value = raw_value.substr(pos + 1); in validate()
544 return std::make_pair(raw_value.substr(0, pos), raw_value.substr(pos + 1)); in convert()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ABI/ARC/
H A DABISysV_arc.cpp358 raw_value >>= 32; in SetReturnValueObject()
376 raw_value &= std::numeric_limits<T>::max(); in SetInteger()
380 scalar = static_cast<T>(raw_value); in SetInteger()
402 SetInteger<uint8_t>(scalar, raw_value, is_signed); in SetSizedInteger()
416 scalar = *reinterpret_cast<double *>(&raw_value); in SetSizedFloat()
420 scalar = *reinterpret_cast<float *>(&raw_value); in SetSizedFloat()
433 uint64_t raw_value = in ReadRawValue() local
437 raw_value |= (reg_ctx->ReadRegisterAsUnsigned( in ReadRawValue()
442 return raw_value; in ReadRawValue()
462 auto raw_value = ReadRawValue(reg_ctx, byte_size); in GetReturnValueObjectSimple() local
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ABI/RISCV/
H A DABISysV_riscv.cpp340 raw_value >>= 32; in SetReturnValueObject()
360 raw_value &= std::numeric_limits<T>::max(); in SetInteger()
364 scalar = static_cast<T>(raw_value); in SetInteger()
374 SetInteger<uint64_t>(scalar, raw_value, is_signed); in SetSizedInteger()
378 SetInteger<uint32_t>(scalar, raw_value, is_signed); in SetSizedInteger()
386 SetInteger<uint8_t>(scalar, raw_value, is_signed); in SetSizedInteger()
400 scalar = *reinterpret_cast<double *>(&raw_value); in SetSizedFloat()
404 scalar = *reinterpret_cast<float *>(&raw_value); in SetSizedFloat()
422 uint64_t raw_value; in GetValObjFromIntRegs() local
433 raw_value |= in GetValObjFromIntRegs()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ABI/X86/
H A DABIMacOSX_i386.cpp221 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes); in SetReturnValueObject() local
223 if (reg_ctx->WriteRegisterFromUnsigned(eax_info, raw_value)) in SetReturnValueObject()
226 uint32_t raw_value = data.GetMaxU32(&offset, 4); in SetReturnValueObject() local
228 if (reg_ctx->WriteRegisterFromUnsigned(eax_info, raw_value)) { in SetReturnValueObject()
231 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes - offset); in SetReturnValueObject() local
233 if (reg_ctx->WriteRegisterFromUnsigned(edx_info, raw_value)) in SetReturnValueObject()
291 uint64_t raw_value; in GetReturnValueObjectImpl() local
292 raw_value = in GetReturnValueObjectImpl()
295 raw_value |= in GetReturnValueObjectImpl()
300 value.GetScalar() = (int64_t)raw_value; in GetReturnValueObjectImpl()
[all …]
H A DABISysV_i386.cpp241 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes); in SetReturnValueObject() local
243 reg_ctx->WriteRegisterFromUnsigned(eax_info, raw_value); in SetReturnValueObject()
271 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes); in SetReturnValueObject() local
279 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes); in SetReturnValueObject() local
399 uint64_t raw_value = in GetReturnValueObjectSimple() local
402 raw_value |= in GetReturnValueObjectSimple()
418 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectSimple()
420 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectSimple()
426 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
442 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple()
[all …]
H A DABIWindows_x86_64.cpp335 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes); in SetReturnValueObject() local
337 if (reg_ctx->WriteRegisterFromUnsigned(reg_info, raw_value)) in SetReturnValueObject()
422 uint64_t raw_value = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in GetReturnValueObjectSimple() local
431 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectSimple()
433 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectSimple()
439 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
441 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
447 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
449 value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
455 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple()
[all …]
H A DABISysV_x86_64.cpp328 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes); in SetReturnValueObject() local
330 if (reg_ctx->WriteRegisterFromUnsigned(reg_info, raw_value)) in SetReturnValueObject()
414 uint64_t raw_value = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in GetReturnValueObjectSimple() local
423 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectSimple()
425 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectSimple()
431 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
433 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
439 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
441 value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
447 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ABI/Mips/
H A DABISysV_mips64.cpp707 uint64_t raw_value = data.GetMaxU64(&offset, 8); in SetReturnValueObject() local
785 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectImpl()
787 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectImpl()
793 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectImpl()
801 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectImpl()
809 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectImpl()
811 value.GetScalar() = (uint8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectImpl()
822 value.GetScalar() = *((float *)(&raw_value)); in GetReturnValueObjectImpl()
826 value.GetScalar() = *((double *)(&raw_value)); in GetReturnValueObjectImpl()
832 result[0] = raw_value; in GetReturnValueObjectImpl()
[all …]
H A DABISysV_mips.cpp739 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes); in SetReturnValueObject() local
741 if (reg_ctx->WriteRegisterFromUnsigned(r2_info, raw_value)) in SetReturnValueObject()
744 uint32_t raw_value = data.GetMaxU32(&offset, 4); in SetReturnValueObject() local
818 uint64_t raw_value; in GetReturnValueObjectImpl() local
824 value.GetScalar() = (int64_t)raw_value; in GetReturnValueObjectImpl()
826 value.GetScalar() = (uint64_t)raw_value; in GetReturnValueObjectImpl()
877 value.GetScalar() = *((float *)(&raw_value)); in GetReturnValueObjectImpl()
884 raw_value = in GetReturnValueObjectImpl()
886 raw_value; in GetReturnValueObjectImpl()
888 raw_value = (raw_value << 32) | in GetReturnValueObjectImpl()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/
H A DABIMacOSX_arm64.cpp276 uint64_t raw_value = data.GetMaxU64(&offset, byte_size); in SetReturnValueObject() local
281 uint64_t raw_value = data.GetMaxU64(&offset, 8); in SetReturnValueObject() local
286 raw_value = data.GetMaxU64(&offset, byte_size - offset); in SetReturnValueObject()
657 uint64_t raw_value = in GetReturnValueObjectImpl() local
703 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectImpl()
705 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectImpl()
711 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectImpl()
713 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectImpl()
719 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectImpl()
727 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectImpl()
[all …]
H A DABISysV_arm64.cpp249 uint64_t raw_value = data.GetMaxU64(&offset, byte_size); in SetReturnValueObject() local
254 uint64_t raw_value = data.GetMaxU64(&offset, 8); in SetReturnValueObject() local
259 raw_value = data.GetMaxU64(&offset, byte_size - offset); in SetReturnValueObject()
628 uint64_t raw_value = in GetReturnValueObjectImpl() local
675 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectImpl()
677 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectImpl()
683 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectImpl()
685 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectImpl()
691 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectImpl()
699 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectImpl()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/
H A DABISysV_arm.cpp1581 uint64_t raw_value; in GetReturnValueObjectImpl() local
1587 value.GetScalar() = (int64_t)raw_value; in GetReturnValueObjectImpl()
1589 value.GetScalar() = (uint64_t)raw_value; in GetReturnValueObjectImpl()
1656 uint64_t raw_value; in GetReturnValueObjectImpl() local
1659 raw_value = in GetReturnValueObjectImpl()
1661 raw_value |= in GetReturnValueObjectImpl()
1680 uint32_t raw_value; in GetReturnValueObjectImpl() local
1681 raw_value = in GetReturnValueObjectImpl()
1759 uint32_t raw_value = in GetReturnValueObjectImpl() local
1761 value.SetBytes(&raw_value, *byte_size); in GetReturnValueObjectImpl()
[all …]
H A DABIMacOSX_arm.cpp1633 uint64_t raw_value; in GetReturnValueObjectImpl() local
1639 value.GetScalar() = (int64_t)raw_value; in GetReturnValueObjectImpl()
1641 value.GetScalar() = (uint64_t)raw_value; in GetReturnValueObjectImpl()
1723 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes); in SetReturnValueObject() local
1725 if (reg_ctx->WriteRegisterFromUnsigned(r0_info, raw_value)) in SetReturnValueObject()
1728 uint32_t raw_value = data.GetMaxU32(&offset, 4); in SetReturnValueObject() local
1749 uint32_t raw_value = data.GetMaxU64(&offset, 4); in SetReturnValueObject() local
1750 if (reg_ctx->WriteRegisterFromUnsigned(r0_info, raw_value) && in SetReturnValueObject()
1753 raw_value = data.GetMaxU64(&offset, 4); in SetReturnValueObject()
1757 raw_value = data.GetMaxU64(&offset, 4); in SetReturnValueObject()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ABI/SystemZ/
H A DABISysV_s390x.cpp416 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes); in SetReturnValueObject() local
418 if (reg_ctx->WriteRegisterFromUnsigned(reg_info, raw_value)) in SetReturnValueObject()
500 uint64_t raw_value = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in GetReturnValueObjectSimple() local
509 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectSimple()
511 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectSimple()
517 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
519 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
525 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
527 value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
533 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple()
[all …]
/freebsd-14.2/contrib/kyua/engine/
H A Dconfig.cpp187 engine::user_node::set_string(const std::string& raw_value) in set_string() argument
191 passwd::find_user_by_name(raw_value)); in set_string()
195 uid = text::to_type< int >(raw_value); in set_string()
197 throw error(F("Cannot find user with name '%s'") % raw_value); in set_string()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/
H A DABISysV_ppc64.cpp332 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes); in SetReturnValueObject() local
334 if (reg_ctx->WriteRegisterFromUnsigned(reg_info, raw_value)) in SetReturnValueObject()
587 uint64_t raw_value; in GetIntegerValue() local
589 if (!reg.GetRawData(raw_value)) in GetIntegerValue()
601 value_sp->GetScalar() = (int64_t)(raw_value); in GetIntegerValue()
603 value_sp->GetScalar() = (uint64_t)(raw_value); in GetIntegerValue()
608 value_sp->GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetIntegerValue()
610 value_sp->GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetIntegerValue()
615 value_sp->GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetIntegerValue()
622 value_sp->GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetIntegerValue()
[all …]
H A DABISysV_ppc.cpp453 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes); in SetReturnValueObject() local
455 if (reg_ctx->WriteRegisterFromUnsigned(reg_info, raw_value)) in SetReturnValueObject()
534 uint64_t raw_value = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in GetReturnValueObjectSimple() local
543 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectSimple()
545 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectSimple()
551 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
553 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
559 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
561 value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
567 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple()
[all …]
/freebsd-14.2/contrib/kyua/utils/config/
H A Dnodes.ipp233 /// \param raw_value The value to set the node to.
238 config::native_leaf_node< ValueType >::set_string(const std::string& raw_value)
242 raw_value));
245 "the node's type") % raw_value);
335 /// \param raw_value The value to set the node to.
340 config::base_set_node< ValueType >::set_string(const std::string& raw_value)
344 const std::vector< std::string > words = text::split(raw_value, ' ');
H A Dtree.cpp245 const std::string& raw_value) in set_string() argument
252 child.set_string(raw_value); in set_string()
H A Dnodes.cpp586 config::strings_set_node::parse_one(const std::string& raw_value) const in parse_one()
588 return raw_value; in parse_one()
H A Dtree_test.cpp110 set_string(const std::string& raw_value) in set_string() argument
112 int_wrapper new_value(text::to_type< int >(raw_value)); in set_string()
/freebsd-14.2/contrib/kyua/model/
H A Dmetadata.cpp120 set_string(const std::string& raw_value) in set_string() argument
124 seconds = text::to_type< unsigned int >(raw_value); in set_string()
126 throw config::value_error(F("Invalid time delta %s") % raw_value); in set_string()
213 parse_one(const std::string& raw_value) const in parse_one()
216 return fs::path(raw_value); in parse_one()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1158 int64_t raw_value; in AddEnumValue() local
1161 raw_value = v.Value.Int8; in AddEnumValue()
1164 raw_value = v.Value.Int16; in AddEnumValue()
1167 raw_value = v.Value.Int32; in AddEnumValue()
1170 raw_value = v.Value.Int64; in AddEnumValue()
1173 raw_value = v.Value.UInt8; in AddEnumValue()
1176 raw_value = v.Value.UInt16; in AddEnumValue()
1179 raw_value = v.Value.UInt32; in AddEnumValue()
1182 raw_value = v.Value.UInt64; in AddEnumValue()
1191 enum_type, decl, name.c_str(), raw_value, byte_size * 8); in AddEnumValue()
/freebsd-14.2/sys/netpfil/ipfw/
H A Dip_fw2.c1290 cache.raw_value = f->cache.raw_value; in jump_cached()
1298 f->cache.raw_value = cache.raw_value; in jump_cached()
H A Dip_fw_private.h272 uint64_t raw_value; member