HomeSort by relevance Sort by last modified time
    Searched full:implicit_cast (Results 1 - 20 of 20) sorted by null

  /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 30 // Use implicit_cast as a safe version of static_cast or const_cast
34 // When you use implicit_cast, the compiler checks that the cast is safe.
40 // implicit_cast is the same as for static_cast etc.:
42 // implicit_cast<ToType>(expr)
44 // implicit_cast would have been part of the C++ standard library,
48 inline To implicit_cast(From const &f) { function in namespace:art
53 // SuperclassOfFoo), it's fine to use implicit_cast<>, since upcasts
  /external/sfntly/cpp/src/sfntly/port/
type.h 69 inline To implicit_cast(From const &f) { function
84 implicit_cast<From*, To>(0);
  /system/extras/perfprofd/quipper/base/
macros.h 118 // Use implicit_cast as a safe version of static_cast or const_cast
122 // When you use implicit_cast, the compiler checks that the cast is safe.
128 // implicit_cast is the same as for static_cast etc.:
130 // implicit_cast<ToType>(expr)
132 // implicit_cast would have been part of the C++ standard library,
136 inline To implicit_cast(From const &f) { function
  /external/lldb/source/Expression/
ASTResultSynthesizer.cpp 263 ImplicitCastExpr *implicit_cast = dyn_cast<ImplicitCastExpr>(last_expr); local
265 if (!implicit_cast)
268 if (implicit_cast->getCastKind() != CK_LValueToRValue)
271 last_expr = implicit_cast->getSubExpr();
  /external/protobuf/src/google/protobuf/
wire_format.h 294 // Some compilers don't like enum -> enum casts, so we implicit_cast to
298 implicit_cast<int>(type)));
306 // Some compilers don't like enum -> enum casts, so we implicit_cast to
310 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...]
descriptor.cc     [all...]
repeated_field.h     [all...]
  /external/protobuf/src/google/protobuf/stubs/
common.h 293 // Use implicit_cast as a safe version of static_cast or const_cast
297 // When you use implicit_cast, the compiler checks that the cast is safe.
303 // implicit_cast is the same as for static_cast etc.:
305 // implicit_cast<ToType>(expr)
307 // implicit_cast would have been part of the C++ standard library,
311 inline To implicit_cast(From const &f) { function in namespace:google::protobuf::internal
316 // SuperclassOfFoo), it's fine to use implicit_cast<>, since upcasts
340 implicit_cast<From*, To>(0);
353 using internal::implicit_cast;
    [all...]
common_unittest.cc 85 implicit_cast<int>(level), filename, line, message));
  /external/protobuf/src/google/protobuf/io/
zero_copy_stream_impl_lite.cc 206 implicit_cast<int>(sizeof(junk))));
  /external/protobuf/src/google/protobuf/compiler/cpp/
cpp_unittest.cc 518 const Message* source = implicit_cast<const Message*>(&message1);
582 EXPECT_DEATH(message.MergeFrom(implicit_cast<const Message&>(message)),
    [all...]
  /external/google-breakpad/src/testing/gtest/include/gtest/internal/
gtest-port.h     [all...]
  /external/gtest/include/gtest/internal/
gtest-port.h     [all...]
  /external/llvm/utils/unittest/googletest/include/gtest/internal/
gtest-port.h     [all...]
  /external/mesa3d/src/gtest/include/gtest/internal/
gtest-port.h     [all...]
  /ndk/sources/third_party/googletest/googletest/include/gtest/internal/
gtest-port.h     [all...]
  /external/libvpx/libvpx/third_party/googletest/src/include/gtest/
gtest.h     [all...]
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/include/gtest/
gtest.h     [all...]

Completed in 2141 milliseconds