/external/ceres-solver/internal/ceres/ |
casts.h | 45 // Use implicit_cast as a safe version of static_cast or const_cast 51 // In general, implicit_cast can be used to convert this code 55 // DoSomething(implicit_cast<To>(from)); 60 inline To implicit_cast(typename identity_<To>::type to) { function in namespace:ceres 64 // This version of implicit_cast is used when two template arguments 67 inline To implicit_cast(typename identity_<From>::type const &f) { function in namespace:ceres 72 // SuperclassOfFoo), it's fine to use implicit_cast<>, since upcasts 98 implicit_cast<From*, To>(NULL);
|
/art/runtime/base/ |
casts.h | 26 // Use implicit_cast as a safe version of static_cast or const_cast 30 // When you use implicit_cast, the compiler checks that the cast is safe. 36 // implicit_cast is the same as for static_cast etc.: 38 // implicit_cast<ToType>(expr) 40 // implicit_cast would have been part of the C++ standard library, 44 inline To implicit_cast(From const &f) { function in namespace:art 49 // SuperclassOfFoo), it's fine to use implicit_cast<>, since upcasts 73 implicit_cast<From*, To>(0);
|
/external/chromium_org/third_party/cld/base/ |
casts.h | 14 // Use implicit_cast as a safe version of static_cast or const_cast 18 // When you use implicit_cast, the compiler checks that the cast is safe. 24 // implicit_cast is the same as for static_cast etc.: 26 // implicit_cast<ToType>(expr) 28 // implicit_cast would have been part of the C++ standard library, 32 inline To implicit_cast(From const &f) { function 38 // SuperclassOfFoo), it's fine to use implicit_cast<>, since upcasts 62 implicit_cast<From*, To>(0); 83 implicit_cast<From*, ToAsPointer>(0);
|
basictypes.h | 166 // Use implicit_cast as a safe version of static_cast or const_cast 170 // When you use implicit_cast, the compiler checks that the cast is safe. 176 // implicit_cast is the same as for static_cast etc.: 178 // implicit_cast<ToType>(expr) 180 // implicit_cast would have been part of the C++ standard library, 184 inline To implicit_cast(From const &f) { function
|
/external/chromium_org/content/public/common/ |
page_transition_types.cc | 16 return implicit_cast<int>(PageTransitionStripQualifier(lhs)) == 17 implicit_cast<int>(PageTransitionStripQualifier(rhs));
|
/external/sfntly/cpp/src/sfntly/port/ |
type.h | 69 inline To implicit_cast(From const &f) { function 84 implicit_cast<From*, To>(0);
|
/external/chromium_org/apps/app_shim/ |
app_shim_host_mac_unittest.cc | 78 implicit_cast<IPC::Listener*>(host_.release())->OnChannelError(); 126 implicit_cast<apps::AppShimHandler::Host*>(host())->GetAppId()); 134 implicit_cast<apps::AppShimHandler::Host*>(host())-> 154 implicit_cast<apps::AppShimHandler::Host*>(host())->GetAppId());
|
/external/chromium/net/tools/dump_cache/ |
url_utilities_unittest.cc | 79 std::string unescaped_char(1, implicit_cast<unsigned char>(c)); 93 std::string just_char(1, implicit_cast<unsigned char>(c));
|
/external/chromium_org/net/tools/dump_cache/ |
url_utilities_unittest.cc | 79 std::string unescaped_char(1, implicit_cast<unsigned char>(c)); 93 std::string just_char(1, implicit_cast<unsigned char>(c));
|
/external/chromium_org/base/android/ |
scoped_java_ref.h | 135 implicit_cast<T>(obj); // Ensure U is assignable to T 184 implicit_cast<T>(obj); // Ensure U is assignable to T
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
wire_format.h | 210 // Some compilers don't like enum -> enum casts, so we implicit_cast to 214 implicit_cast<int>(type))); 222 // Some compilers don't like enum -> enum casts, so we implicit_cast to 226 implicit_cast<int>(type)));
|
wire_format_unittest.cc | 58 EXPECT_EQ(implicit_cast<int>(FieldDescriptor::MAX_TYPE), 59 implicit_cast<int>(WireFormatLite::MAX_FIELD_TYPE)); 60 EXPECT_EQ(implicit_cast<int>(FieldDescriptor::MAX_CPPTYPE), 61 implicit_cast<int>(WireFormatLite::MAX_CPPTYPE)); 65 implicit_cast<int>(FieldDescriptor::TypeToCppType( 67 implicit_cast<int>(WireFormatLite::FieldTypeToCppType( [all...] |
/external/protobuf/src/google/protobuf/ |
wire_format.h | 273 // Some compilers don't like enum -> enum casts, so we implicit_cast to 277 implicit_cast<int>(type))); 285 // Some compilers don't like enum -> enum casts, so we implicit_cast to 289 implicit_cast<int>(type)));
|
wire_format_unittest.cc | 58 EXPECT_EQ(implicit_cast<int>(FieldDescriptor::MAX_TYPE), 59 implicit_cast<int>(WireFormatLite::MAX_FIELD_TYPE)); 60 EXPECT_EQ(implicit_cast<int>(FieldDescriptor::MAX_CPPTYPE), 61 implicit_cast<int>(WireFormatLite::MAX_CPPTYPE)); 65 implicit_cast<int>(FieldDescriptor::TypeToCppType( 67 implicit_cast<int>(WireFormatLite::FieldTypeToCppType(
|
/external/chromium_org/net/disk_cache/simple/ |
simple_util.cc | 73 DCHECK_GE(implicit_cast<int64>(std::numeric_limits<int32>::max()), data_size);
|
simple_synchronous_entry.cc | 569 if (key_read_result != implicit_cast<int>(header.key_length)) { 619 key_.size()) != implicit_cast<int>(key_.size())) {
|
simple_index_file.cc | 55 DCHECK_EQ(bytes_written, implicit_cast<int>(pickle->size()));
|
/external/chromium/base/ |
basictypes.h | 174 // Use implicit_cast as a safe version of static_cast or const_cast 178 // When you use implicit_cast, the compiler checks that the cast is safe. 184 // implicit_cast is the same as for static_cast etc.: 186 // implicit_cast<ToType>(expr) 188 // implicit_cast would have been part of the C++ standard library, 192 inline To implicit_cast(From const &f) { function
|
/external/chromium_org/base/ |
basictypes.h | 181 // Use implicit_cast as a safe version of static_cast or const_cast 185 // When you use implicit_cast, the compiler checks that the cast is safe. 191 // implicit_cast is the same as for static_cast etc.: 193 // implicit_cast<ToType>(expr) 195 // implicit_cast would have been part of the C++ standard library, 199 inline To implicit_cast(From const &f) { function
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
common.h | 303 // Use implicit_cast as a safe version of static_cast or const_cast 307 // When you use implicit_cast, the compiler checks that the cast is safe. 313 // implicit_cast is the same as for static_cast etc.: 315 // implicit_cast<ToType>(expr) 317 // implicit_cast would have been part of the C++ standard library, 321 inline To implicit_cast(From const &f) { function in namespace:google::protobuf::internal 326 // SuperclassOfFoo), it's fine to use implicit_cast<>, since upcasts 350 implicit_cast<From*, To>(0); 369 using internal::implicit_cast; [all...] |
common_unittest.cc | 85 implicit_cast<int>(level), filename, line, message));
|
/external/protobuf/src/google/protobuf/stubs/ |
common.h | 263 // Use implicit_cast as a safe version of static_cast or const_cast 267 // When you use implicit_cast, the compiler checks that the cast is safe. 273 // implicit_cast is the same as for static_cast etc.: 275 // implicit_cast<ToType>(expr) 277 // implicit_cast would have been part of the C++ standard library, 281 inline To implicit_cast(From const &f) { function in namespace:google::protobuf::internal 286 // SuperclassOfFoo), it's fine to use implicit_cast<>, since upcasts 310 implicit_cast<From*, To>(0); 323 using internal::implicit_cast; [all...] |
common_unittest.cc | 85 implicit_cast<int>(level), filename, line, message));
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/ |
zero_copy_stream_impl_lite.cc | 194 implicit_cast<int>(sizeof(junk))));
|
/external/protobuf/src/google/protobuf/io/ |
zero_copy_stream_impl_lite.cc | 194 implicit_cast<int>(sizeof(junk))));
|