HomeSort by: relevance | last modified time | path
    Searched defs:to_type (Results 1 - 25 of 41) sorted by relevancy

1 2

  /src/external/bsd/atf/dist/atf-c++/detail/
text.hpp 140 to_type(const std::string& str) function in namespace:atf::text
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...]
  /src/external/bsd/atf/dist/tools/
text.hpp 140 to_type(const std::string& str) function in namespace:tools::text
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...]
  /src/external/bsd/kyua-cli/dist/utils/text/
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...]
tree-ssa-math-opts.cc 3075 tree to_type = TREE_TYPE (gimple_assign_lhs (conv_stmt)); local
3079 if (TYPE_PRECISION (from_type) > TYPE_PRECISION (to_type))
3082 if (TYPE_PRECISION (to_type) < data_size)
3085 else if (TYPE_PRECISION (from_type) < TYPE_PRECISION (to_type))
  /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...]
tree-ssa-math-opts.cc 2939 tree to_type = TREE_TYPE (gimple_assign_lhs (conv_stmt)); local
2943 if (TYPE_PRECISION (from_type) > TYPE_PRECISION (to_type))
2946 if (TYPE_PRECISION (to_type) < data_size)
2949 else if (TYPE_PRECISION (from_type) < TYPE_PRECISION (to_type))
  /src/external/gpl3/gdb/dist/gdb/
i387-tdep.c 401 struct type *to_type = i387_ext_type (gdbarch);
402 target_float_convert (from, type, to, to_type);
403 auto to_view = gdb::make_array_view (to, to_type->length ());
400 struct type *to_type = i387_ext_type (gdbarch); local
opencl-lang.c 598 struct type *to_type; local
601 to_type = check_typedef (type);
603 code1 = to_type->code ();
614 if (code1 == TYPE_CODE_ARRAY && to_type->is_vector () && scalar)
622 eltype = check_typedef (to_type->target_type ());
ia64-tdep.c 1247 type *to_type = ia64_ext_type (gdbarch); local
1248 target_float_convert (in, valtype, out, to_type);
1249 auto out_view = gdb::make_array_view (out, to_type->length ());
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.old/dist/gdb/
opencl-lang.c 598 struct type *to_type; local
601 to_type = check_typedef (type);
603 code1 = to_type->code ();
614 if (code1 == TYPE_CODE_ARRAY && to_type->is_vector () && scalar)
622 eltype = check_typedef (to_type->target_type ());
i387-tdep.c 401 struct type *to_type = i387_ext_type (gdbarch);
402 target_float_convert (from, type, to, to_type);
403 auto to_view = gdb::make_array_view (to, to_type->length ());
400 struct type *to_type = i387_ext_type (gdbarch); local
ia64-tdep.c 1247 type *to_type = ia64_ext_type (gdbarch); local
1248 target_float_convert (in, valtype, out, to_type);
1249 auto out_view = gdb::make_array_view (out, to_type->length ());
valops.c 357 /* Assuming that TO_TYPE is a fixed point type, return a value
361 value_cast_to_fixed_point (struct type *to_type, struct value *from_val)
365 if (from_type == to_type)
372 from_type->name (), to_type->name ());
379 vq /= to_type->fixed_point_scaling_factor ();
384 struct value *result = value::allocate (to_type);
386 type_byte_order (to_type),
387 to_type->is_unsigned ());
451 struct type *to_type = type; local
508 return cast_into_complex (to_type, arg2)
    [all...]
  /src/external/gpl3/binutils/dist/bfd/
elf32-i386.c 1075 unsigned int to_type = from_type;
1135 to_type = to_le_type;
1138 to_type = to_ie_type;
1145 unsigned int new_to_type = to_type;
1150 if (to_type == R_386_TLS_GD
1151 || to_type == R_386_TLS_GOTDESC
1152 || to_type == R_386_TLS_DESC_CALL)
1163 check = new_to_type != to_type && from_type == to_type;
1164 to_type = new_to_type
1072 unsigned int to_type = from_type; local
    [all...]
elf64-x86-64.c 1520 unsigned int to_type = from_type;
1583 to_type = R_X86_64_TPOFF32;
1585 to_type = R_X86_64_GOTTPOFF;
1592 unsigned int new_to_type = to_type;
1597 if (to_type == R_X86_64_TLSGD
1598 || to_type == R_X86_64_GOTPC32_TLSDESC
1599 || to_type == R_X86_64_CODE_4_GOTPC32_TLSDESC
1600 || to_type == R_X86_64_TLSDESC_CALL)
1609 check = (new_to_type != to_type
1610 && (from_type == to_type
1518 unsigned int to_type = from_type; local
    [all...]
  /src/external/gpl3/binutils.old/dist/bfd/
elf32-i386.c 1075 unsigned int to_type = from_type;
1135 to_type = to_le_type;
1138 to_type = to_ie_type;
1145 unsigned int new_to_type = to_type;
1150 if (to_type == R_386_TLS_GD
1151 || to_type == R_386_TLS_GOTDESC
1152 || to_type == R_386_TLS_DESC_CALL)
1163 check = new_to_type != to_type && from_type == to_type;
1164 to_type = new_to_type
1072 unsigned int to_type = from_type; local
    [all...]
elf64-x86-64.c 1520 unsigned int to_type = from_type;
1583 to_type = R_X86_64_TPOFF32;
1585 to_type = R_X86_64_GOTTPOFF;
1592 unsigned int new_to_type = to_type;
1597 if (to_type == R_X86_64_TLSGD
1598 || to_type == R_X86_64_GOTPC32_TLSDESC
1599 || to_type == R_X86_64_CODE_4_GOTPC32_TLSDESC
1600 || to_type == R_X86_64_TLSDESC_CALL)
1609 check = (new_to_type != to_type
1610 && (from_type == to_type
1518 unsigned int to_type = from_type; local
    [all...]
  /src/external/gpl3/gdb/dist/bfd/
elf32-i386.c 1069 unsigned int to_type = from_type;
1129 to_type = to_le_type;
1132 to_type = to_ie_type;
1139 unsigned int new_to_type = to_type;
1144 if (to_type == R_386_TLS_GD
1145 || to_type == R_386_TLS_GOTDESC
1146 || to_type == R_386_TLS_DESC_CALL)
1157 check = new_to_type != to_type && from_type == to_type;
1158 to_type = new_to_type
1066 unsigned int to_type = from_type; local
    [all...]
elf64-x86-64.c 1495 unsigned int to_type = from_type;
1557 to_type = R_X86_64_TPOFF32;
1559 to_type = R_X86_64_GOTTPOFF;
1566 unsigned int new_to_type = to_type;
1571 if (to_type == R_X86_64_TLSGD
1572 || to_type == R_X86_64_GOTPC32_TLSDESC
1573 || to_type == R_X86_64_CODE_4_GOTPC32_TLSDESC
1574 || to_type == R_X86_64_TLSDESC_CALL)
1583 check = (new_to_type != to_type
1584 && (from_type == to_type
1493 unsigned int to_type = from_type; local
    [all...]
  /src/external/gpl3/gdb.old/dist/bfd/
elf32-i386.c 1067 unsigned int to_type = from_type;
1100 to_type = to_le_type;
1103 to_type = to_ie_type;
1110 unsigned int new_to_type = to_type;
1115 if (to_type == R_386_TLS_GD
1116 || to_type == R_386_TLS_GOTDESC
1117 || to_type == R_386_TLS_DESC_CALL)
1128 check = new_to_type != to_type && from_type == to_type;
1129 to_type = new_to_type
1064 unsigned int to_type = from_type; local
    [all...]
elf64-x86-64.c 1446 unsigned int to_type = from_type;
1467 to_type = R_X86_64_TPOFF32;
1469 to_type = R_X86_64_GOTTPOFF;
1476 unsigned int new_to_type = to_type;
1481 if (to_type == R_X86_64_TLSGD
1482 || to_type == R_X86_64_GOTPC32_TLSDESC
1483 || to_type == R_X86_64_CODE_4_GOTPC32_TLSDESC
1484 || to_type == R_X86_64_TLSDESC_CALL)
1493 check = new_to_type != to_type && from_type == to_type;
1444 unsigned int to_type = from_type; local
    [all...]

Completed in 73 milliseconds

1 2