Searched refs:raw_value (Results 1 – 11 of 11) sorted by relevance
/netbsd-src/external/bsd/kyua-cli/dist/utils/cmdline/ |
H A D | options.cpp | 309 cmdline::int_option::validate(const std::string& raw_value) const in validate() 312 (void)text::to_type< int >(raw_value); in validate() 315 F("--%s") % long_name(), raw_value, "Not a valid integer"); in validate() 329 cmdline::int_option::convert(const std::string& raw_value) in convert() argument 332 return text::to_type< int >(raw_value); in convert() 335 "validated: %s") % raw_value % e.what()); in convert() 383 const std::string& UTILS_UNUSED_PARAM(raw_value)) const in validate() 397 cmdline::list_option::convert(const std::string& raw_value) in convert() argument 400 return text::split(raw_value, ','); in convert() 403 "validated: %s") % raw_value % e.what()); in convert() [all …]
|
/netbsd-src/external/bsd/kyua-cli/dist/engine/ |
H A D | config.cpp | 166 engine::user_node::set_string(const std::string& raw_value) in set_string() argument 170 passwd::find_user_by_name(raw_value)); in set_string() 174 uid = text::to_type< int >(raw_value); in set_string() 176 throw error(F("Cannot find user with name '%s'") % raw_value); in set_string()
|
H A D | metadata.cpp | 122 set_string(const std::string& raw_value) in set_string() argument 126 seconds = text::to_type< unsigned int >(raw_value); in set_string() 128 throw config::value_error(F("Invalid time delta %s") % raw_value); in set_string() 221 parse_one(const std::string& raw_value) const in parse_one() 224 return fs::path(raw_value); in parse_one()
|
/netbsd-src/external/bsd/kyua-cli/dist/utils/config/ |
H A D | nodes.hpp | 125 virtual void set_string(const std::string& raw_value) = 0; 291 virtual ValueType parse_one(const std::string& raw_value) const = 0;
|
H A D | nodes.ipp | 225 /// \param raw_value The value to set the node to. 230 config::native_leaf_node< ValueType >::set_string(const std::string& raw_value) 234 raw_value)); 237 "the node's type") % raw_value); 327 /// \param raw_value The value to set the node to. 332 config::base_set_node< ValueType >::set_string(const std::string& raw_value) 336 const std::vector< std::string > words = text::split(raw_value, ' ');
|
H A D | tree.cpp | 208 const std::string& raw_value) in set_string() argument 215 child.set_string(raw_value); in set_string()
|
H A D | nodes.cpp | 436 config::strings_set_node::parse_one(const std::string& raw_value) const in parse_one() 438 return raw_value; in parse_one()
|
H A D | lua_module_test.cpp | 102 set_string(const std::string& UTILS_UNUSED_PARAM(raw_value)) in set_string() argument
|
H A D | tree_test.cpp | 110 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()
|
/netbsd-src/sbin/atactl/ |
H A D | atactl.c | 849 device_smart_temp(const struct ata_smart_attr *attr, uint64_t raw_value) in device_smart_temp() argument 852 if (attr->raw[0] != raw_value) in device_smart_temp() 867 uint64_t raw_value; in print_smart_status() local 953 for (j = 0, raw_value = 0; j < 6; j++) in print_smart_status() 954 raw_value += ((uint64_t)attr->raw[j]) << (8*j); in print_smart_status() 957 (*special)(attr, raw_value); in print_smart_status() 959 printf("%" PRIu64, raw_value); in print_smart_status()
|
/netbsd-src/external/ibm-public/postfix/dist/src/smtpd/ |
H A D | smtpd.c | 4448 char *raw_value; in xclient_cmd() local 4510 if ((raw_value = split_at(attr_name, '=')) == 0 || *raw_value == 0) { in xclient_cmd() 4515 if (strlen(raw_value) > 255) { in xclient_cmd() 4525 attr_value = xtext_unquote(state->expand_buf, raw_value) ? in xclient_cmd() 4526 STR(state->expand_buf) : raw_value; in xclient_cmd() 4807 char *raw_value; in xforward_cmd() local 4869 if ((raw_value = split_at(attr_name, '=')) == 0 || *raw_value == 0) { in xforward_cmd() 4874 if (strlen(raw_value) > 255) { in xforward_cmd() 4884 attr_value = xtext_unquote(state->expand_buf, raw_value) ? in xforward_cmd() 4885 STR(state->expand_buf) : raw_value; in xforward_cmd()
|