| /src/external/bsd/kyua-cli/dist/utils/text/ |
| operations.hpp | 54 Type to_type(const std::string&); 56 bool to_type(const std::string&); 58 std::string to_type(const std::string&);
|
| operations_test.cpp | 277 ATF_REQUIRE( text::to_type< bool >("true")); 278 ATF_REQUIRE(!text::to_type< bool >("false")); 285 ATF_REQUIRE_EQ(12, text::to_type< int >("12")); 286 ATF_REQUIRE_EQ(18745, text::to_type< int >("18745")); 287 ATF_REQUIRE_EQ(-12345, text::to_type< int >("-12345")); 289 ATF_REQUIRE_EQ(12.0, text::to_type< double >("12")); 290 ATF_REQUIRE_EQ(12.5, text::to_type< double >("12.5")); 298 // does nothing allows callers to delegate work to to_type without worrying 300 ATF_REQUIRE_EQ("", text::to_type< std::string >("")); 301 ATF_REQUIRE_EQ(" abcd ", text::to_type< std::string >(" abcd ")) [all...] |
| operations.cpp | 170 text::to_type(const std::string& str) function in class:text 181 /// Identity function for to_type, for genericity purposes. 188 text::to_type(const std::string& str) function in class:text
|
| /src/external/gpl3/gcc/dist/gcc/ |
| sancov.cc | 59 tree to_type = NULL_TREE; local 71 to_type = unsigned_char_type_node; 76 to_type = uint16_type_node; 81 to_type = uint32_type_node; 86 to_type = uint64_type_node; 95 to_type = float_type_node; 100 to_type = double_type_node; 104 if (to_type != NULL_TREE) 108 if (!useless_type_conversion_p (to_type, type)) 111 lhs = fold_convert (to_type, lhs) [all...] |
| gimple-builder.cc | 104 that converts OP to TO_TYPE. */ 107 build_type_cast (tree to_type, tree op, tree lhs) 110 lhs = make_ssa_name (to_type); 115 build_type_cast (tree to_type, gimple *op, tree lhs) 117 return build_type_cast (to_type, gimple_assign_lhs (op), lhs);
|
| /src/external/gpl3/gcc.old/dist/gcc/ |
| sancov.cc | 59 tree to_type = NULL_TREE; local 71 to_type = unsigned_char_type_node; 76 to_type = uint16_type_node; 81 to_type = uint32_type_node; 86 to_type = uint64_type_node; 95 to_type = float_type_node; 100 to_type = double_type_node; 104 if (to_type != NULL_TREE) 108 if (!useless_type_conversion_p (to_type, type)) 111 lhs = fold_convert (to_type, lhs) [all...] |
| gimple-builder.cc | 104 that converts OP to TO_TYPE. */ 107 build_type_cast (tree to_type, tree op, tree lhs) 110 lhs = make_ssa_name (to_type); 115 build_type_cast (tree to_type, gimple *op, tree lhs) 117 return build_type_cast (to_type, gimple_assign_lhs (op), lhs);
|
| /src/external/bsd/atf/dist/atf-c++/detail/ |
| text_test.cpp | 350 ATF_TEST_CASE(to_type); variable 351 ATF_TEST_CASE_HEAD(to_type) 353 set_md_var("descr", "Tests the to_type function"); 355 ATF_TEST_CASE_BODY(to_type) 357 using atf::text::to_type; 359 ATF_REQUIRE_EQ(to_type< int >("0"), 0); 360 ATF_REQUIRE_EQ(to_type< int >("1234"), 1234); 361 ATF_REQUIRE_THROW(std::runtime_error, to_type< int >(" ")); 362 ATF_REQUIRE_THROW(std::runtime_error, to_type< int >("0 a")); 363 ATF_REQUIRE_THROW(std::runtime_error, to_type< int >("a")) [all...] |
| text.hpp | 140 to_type(const std::string& str) function in namespace:atf::text
|
| text.cpp | 159 return to_type< int64_t >(str) * multiplier;
|
| /src/external/bsd/atf/dist/tools/ |
| text_test.cpp | 350 ATF_TEST_CASE(to_type); variable 351 ATF_TEST_CASE_HEAD(to_type) 353 set_md_var("descr", "Tests the to_type function"); 355 ATF_TEST_CASE_BODY(to_type) 357 using tools::text::to_type; 359 ATF_REQUIRE_EQ(to_type< int >("0"), 0); 360 ATF_REQUIRE_EQ(to_type< int >("1234"), 1234); 361 ATF_REQUIRE_THROW(std::runtime_error, to_type< int >(" ")); 362 ATF_REQUIRE_THROW(std::runtime_error, to_type< int >("0 a")); 363 ATF_REQUIRE_THROW(std::runtime_error, to_type< int >("a")) [all...] |
| text.hpp | 140 to_type(const std::string& str) function in namespace:tools::text
|
| /src/external/gpl3/gdb.old/dist/gdb/ |
| target-float.h | 52 gdb_byte *to, const struct type *to_type);
|
| cp-abi.h | 161 TO_TYPE. */ 162 int cplus_method_ptr_size (struct type *to_type);
|
| cp-abi.c | 138 cplus_method_ptr_size (struct type *to_type) 142 return (*current_cp_abi.method_ptr_size) (to_type);
|
| target-float.c | 52 gdb_byte *to, const struct type *to_type) const = 0; 553 gdb_byte *to, const struct type *to_type) const override; 1065 byte-stream FROM to a floating-point number of type TO_TYPE, and 1071 const struct type *to_type) const 1075 to_target (to_type, &host_float, to); 1181 gdb_byte *to, const struct type *to_type) const override; 1628 byte-stream FROM to a floating-point number of type TO_TYPE, and 1634 const struct type *to_type) const 1636 gdb_mpfr from_tmp (from_type), to_tmp (to_type); 1639 to_target (to_type, to_tmp, to) [all...] |
| valops.c | 356 /* Assuming that TO_TYPE is a fixed point type, return a value 360 value_cast_to_fixed_point (struct type *to_type, struct value *from_val) 364 if (from_type == to_type) 371 from_type->name (), to_type->name ()); 378 vq /= to_type->fixed_point_scaling_factor (); 383 struct value *result = value::allocate (to_type); 385 type_byte_order (to_type), 386 to_type->is_unsigned ()); 450 struct type *to_type = type; local 507 return cast_into_complex (to_type, arg2) [all...] |
| /src/external/gpl3/gdb/dist/gdb/ |
| target-float.h | 52 gdb_byte *to, const struct type *to_type);
|
| cp-abi.h | 161 TO_TYPE. */ 162 int cplus_method_ptr_size (struct type *to_type);
|
| cp-abi.c | 138 cplus_method_ptr_size (struct type *to_type) 142 return (*current_cp_abi.method_ptr_size) (to_type);
|
| target-float.c | 52 gdb_byte *to, const struct type *to_type) const = 0; 553 gdb_byte *to, const struct type *to_type) const override; 1065 byte-stream FROM to a floating-point number of type TO_TYPE, and 1071 const struct type *to_type) const 1075 to_target (to_type, &host_float, to); 1181 gdb_byte *to, const struct type *to_type) const override; 1628 byte-stream FROM to a floating-point number of type TO_TYPE, and 1634 const struct type *to_type) const 1636 gdb_mpfr from_tmp (from_type), to_tmp (to_type); 1639 to_target (to_type, to_tmp, to) [all...] |
| valops.c | 353 /* Assuming that TO_TYPE is a fixed point type, return a value 357 value_cast_to_fixed_point (struct type *to_type, struct value *from_val) 361 if (from_type == to_type) 368 from_type->name (), to_type->name ()); 375 vq /= to_type->fixed_point_scaling_factor (); 380 struct value *result = value::allocate (to_type); 382 type_byte_order (to_type), 383 to_type->is_unsigned ()); 447 struct type *to_type = type; local 504 return cast_into_complex (to_type, arg2) [all...] |
| /src/external/bsd/kyua-cli/dist/utils/ |
| units.cpp | 100 count = text::to_type< double >(str);
|
| /src/external/bsd/kyua-cli/dist/engine/ |
| config.cpp | 174 uid = text::to_type< int >(raw_value);
|
| /src/external/bsd/kyua-cli/dist/utils/cmdline/ |
| options.cpp | 312 (void)text::to_type< int >(raw_value); 332 return text::to_type< int >(raw_value);
|