Home
last modified time | relevance | path

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

/freebsd-13.1/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-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/ARC/
H A DABISysV_arc.cpp359 raw_value >>= 32; in SetReturnValueObject()
378 raw_value &= std::numeric_limits<T>::max(); in SetInteger()
382 scalar = static_cast<T>(raw_value); in SetInteger()
404 SetInteger<uint8_t>(scalar, raw_value, is_signed); in SetSizedInteger()
417 scalar = *reinterpret_cast<double *>(&raw_value); in SetSizedFloat()
421 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()
463 auto raw_value = ReadRawValue(reg_ctx, byte_size); in GetReturnValueObjectSimple() local
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/X86/
H A DABIMacOSX_i386.cpp220 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes); in SetReturnValueObject() local
222 if (reg_ctx->WriteRegisterFromUnsigned(eax_info, raw_value)) in SetReturnValueObject()
225 uint32_t raw_value = data.GetMaxU32(&offset, 4); in SetReturnValueObject() local
227 if (reg_ctx->WriteRegisterFromUnsigned(eax_info, raw_value)) { in SetReturnValueObject()
230 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes - offset); in SetReturnValueObject() local
232 if (reg_ctx->WriteRegisterFromUnsigned(edx_info, raw_value)) in SetReturnValueObject()
290 uint64_t raw_value; in GetReturnValueObjectImpl() local
291 raw_value = in GetReturnValueObjectImpl()
294 raw_value |= in GetReturnValueObjectImpl()
299 value.GetScalar() = (int64_t)raw_value; in GetReturnValueObjectImpl()
[all …]
H A DABISysV_i386.cpp240 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes); in SetReturnValueObject() local
242 reg_ctx->WriteRegisterFromUnsigned(eax_info, raw_value); in SetReturnValueObject()
270 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes); in SetReturnValueObject() local
278 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes); in SetReturnValueObject() local
398 uint64_t raw_value = in GetReturnValueObjectSimple() local
401 raw_value |= in GetReturnValueObjectSimple()
417 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectSimple()
419 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectSimple()
425 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
441 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple()
[all …]
H A DABIWindows_x86_64.cpp333 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes); in SetReturnValueObject() local
335 if (reg_ctx->WriteRegisterFromUnsigned(reg_info, raw_value)) in SetReturnValueObject()
420 uint64_t raw_value = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in GetReturnValueObjectSimple() local
429 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectSimple()
431 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectSimple()
437 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
439 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
445 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
447 value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
453 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple()
[all …]
H A DABISysV_x86_64.cpp326 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes); in SetReturnValueObject() local
328 if (reg_ctx->WriteRegisterFromUnsigned(reg_info, raw_value)) in SetReturnValueObject()
412 uint64_t raw_value = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in GetReturnValueObjectSimple() local
421 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectSimple()
423 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectSimple()
429 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
431 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
437 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
439 value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
445 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/Mips/
H A DABISysV_mips64.cpp705 uint64_t raw_value = data.GetMaxU64(&offset, 8); in SetReturnValueObject() local
783 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectImpl()
785 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectImpl()
791 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectImpl()
799 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectImpl()
807 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectImpl()
809 value.GetScalar() = (uint8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectImpl()
820 value.GetScalar() = *((float *)(&raw_value)); in GetReturnValueObjectImpl()
824 value.GetScalar() = *((double *)(&raw_value)); in GetReturnValueObjectImpl()
830 result[0] = raw_value; in GetReturnValueObjectImpl()
[all …]
H A DABISysV_mips.cpp738 uint32_t raw_value = data.GetMaxU32(&offset, num_bytes); in SetReturnValueObject() local
740 if (reg_ctx->WriteRegisterFromUnsigned(r2_info, raw_value)) in SetReturnValueObject()
743 uint32_t raw_value = data.GetMaxU32(&offset, 4); in SetReturnValueObject() local
817 uint64_t raw_value; in GetReturnValueObjectImpl() local
823 value.GetScalar() = (int64_t)raw_value; in GetReturnValueObjectImpl()
825 value.GetScalar() = (uint64_t)raw_value; in GetReturnValueObjectImpl()
876 value.GetScalar() = *((float *)(&raw_value)); in GetReturnValueObjectImpl()
883 raw_value = in GetReturnValueObjectImpl()
885 raw_value; in GetReturnValueObjectImpl()
887 raw_value = (raw_value << 32) | in GetReturnValueObjectImpl()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/
H A DABIMacOSX_arm64.cpp274 uint64_t raw_value = data.GetMaxU64(&offset, byte_size); in SetReturnValueObject() local
279 uint64_t raw_value = data.GetMaxU64(&offset, 8); in SetReturnValueObject() local
284 raw_value = data.GetMaxU64(&offset, byte_size - offset); in SetReturnValueObject()
667 uint64_t raw_value = in GetReturnValueObjectImpl() local
713 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectImpl()
715 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectImpl()
721 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectImpl()
723 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectImpl()
729 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectImpl()
737 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectImpl()
[all …]
H A DABISysV_arm64.cpp247 uint64_t raw_value = data.GetMaxU64(&offset, byte_size); in SetReturnValueObject() local
252 uint64_t raw_value = data.GetMaxU64(&offset, 8); in SetReturnValueObject() local
257 raw_value = data.GetMaxU64(&offset, byte_size - offset); in SetReturnValueObject()
636 uint64_t raw_value = in GetReturnValueObjectImpl() local
683 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectImpl()
685 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectImpl()
691 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectImpl()
693 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectImpl()
699 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectImpl()
707 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectImpl()
[all …]
/freebsd-13.1/contrib/kyua/engine/
H A Dconfig.cpp176 engine::user_node::set_string(const std::string& raw_value) in set_string() argument
180 passwd::find_user_by_name(raw_value)); in set_string()
184 uid = text::to_type< int >(raw_value); in set_string()
186 throw error(F("Cannot find user with name '%s'") % raw_value); in set_string()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/
H A DABISysV_arm.cpp1580 uint64_t raw_value; in GetReturnValueObjectImpl() local
1586 value.GetScalar() = (int64_t)raw_value; in GetReturnValueObjectImpl()
1588 value.GetScalar() = (uint64_t)raw_value; in GetReturnValueObjectImpl()
1655 uint64_t raw_value; in GetReturnValueObjectImpl() local
1658 raw_value = in GetReturnValueObjectImpl()
1660 raw_value |= in GetReturnValueObjectImpl()
1679 uint32_t raw_value; in GetReturnValueObjectImpl() local
1680 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-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/SystemZ/
H A DABISysV_s390x.cpp415 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes); in SetReturnValueObject() local
417 if (reg_ctx->WriteRegisterFromUnsigned(reg_info, raw_value)) in SetReturnValueObject()
499 uint64_t raw_value = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in GetReturnValueObjectSimple() local
508 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectSimple()
510 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectSimple()
516 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
518 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
524 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
526 value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
532 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/
H A DABISysV_ppc64.cpp330 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes); in SetReturnValueObject() local
332 if (reg_ctx->WriteRegisterFromUnsigned(reg_info, raw_value)) in SetReturnValueObject()
586 uint64_t raw_value; in GetIntegerValue() local
588 if (!reg.GetRawData(raw_value)) in GetIntegerValue()
600 value_sp->GetScalar() = (int64_t)(raw_value); in GetIntegerValue()
602 value_sp->GetScalar() = (uint64_t)(raw_value); in GetIntegerValue()
607 value_sp->GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetIntegerValue()
609 value_sp->GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetIntegerValue()
614 value_sp->GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetIntegerValue()
621 value_sp->GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetIntegerValue()
[all …]
H A DABISysV_ppc.cpp452 uint64_t raw_value = data.GetMaxU64(&offset, num_bytes); in SetReturnValueObject() local
454 if (reg_ctx->WriteRegisterFromUnsigned(reg_info, raw_value)) in SetReturnValueObject()
533 uint64_t raw_value = thread.GetRegisterContext()->ReadRegisterAsUnsigned( in GetReturnValueObjectSimple() local
542 value.GetScalar() = (int64_t)(raw_value); in GetReturnValueObjectSimple()
544 value.GetScalar() = (uint64_t)(raw_value); in GetReturnValueObjectSimple()
550 value.GetScalar() = (int32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
552 value.GetScalar() = (uint32_t)(raw_value & UINT32_MAX); in GetReturnValueObjectSimple()
558 value.GetScalar() = (int16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
560 value.GetScalar() = (uint16_t)(raw_value & UINT16_MAX); in GetReturnValueObjectSimple()
566 value.GetScalar() = (int8_t)(raw_value & UINT8_MAX); in GetReturnValueObjectSimple()
[all …]
/freebsd-13.1/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-13.1/contrib/kyua/model/
H A Dmetadata.cpp119 set_string(const std::string& raw_value) in set_string() argument
123 seconds = text::to_type< unsigned int >(raw_value); in set_string()
125 throw config::value_error(F("Invalid time delta %s") % raw_value); in set_string()
212 parse_one(const std::string& raw_value) const in parse_one()
215 return fs::path(raw_value); in parse_one()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1149 int64_t raw_value; in AddEnumValue() local
1152 raw_value = v.Value.Int8; in AddEnumValue()
1155 raw_value = v.Value.Int16; in AddEnumValue()
1158 raw_value = v.Value.Int32; in AddEnumValue()
1161 raw_value = v.Value.Int64; in AddEnumValue()
1164 raw_value = v.Value.UInt8; in AddEnumValue()
1167 raw_value = v.Value.UInt16; in AddEnumValue()
1170 raw_value = v.Value.UInt32; in AddEnumValue()
1173 raw_value = v.Value.UInt64; in AddEnumValue()
1182 enum_type, decl, name.c_str(), raw_value, byte_size * 8); in AddEnumValue()
/freebsd-13.1/contrib/subversion/subversion/svnlook/
H A Dsvnlook.c443 svn_string_t *raw_value; in get_property() local
447 SVN_ERR(svn_fs_txn_prop(&raw_value, c->txn, prop_name, pool)); in get_property()
451 SVN_ERR(svn_fs_revision_prop2(&raw_value, c->fs, c->rev_id, in get_property()
454 *prop_value = raw_value; in get_property()
/freebsd-13.1/sys/netpfil/ipfw/
H A Dip_fw2.c1281 cache.raw_value = f->cache.raw_value; in jump_cached()
1289 f->cache.raw_value = cache.raw_value; in jump_cached()
H A Dip_fw_private.h274 uint64_t raw_value; member