HomeSort by relevance Sort by last modified time
    Searched refs:implicit_cast (Results 1 - 25 of 27) sorted by null

1 2

  /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);
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/
casts.h 40 // Use implicit_cast as a safe version of static_cast or const_cast
44 // When you use implicit_cast, the compiler checks that the cast is safe.
50 // implicit_cast is the same as for static_cast etc.:
52 // implicit_cast<ToType>(expr)
54 // implicit_cast would have been part of the C++ standard library,
58 inline To implicit_cast(From const &f) { function in namespace:google::protobuf::internal
63 // SuperclassOfFoo), it's fine to use implicit_cast<>, since upcasts
87 implicit_cast<From*, To>(0);
104 implicit_cast<From*, ToAsPointer>(0);
127 using internal::implicit_cast;
    [all...]
  /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/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...]
  /prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/
wire_format.h 274 // Some compilers don't like enum -> enum casts, so we implicit_cast to
278 implicit_cast<int>(type)));
286 // Some compilers don't like enum -> enum casts, so we implicit_cast to
290 implicit_cast<int>(type)));
repeated_field.h     [all...]
  /prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/
wire_format.h 274 // Some compilers don't like enum -> enum casts, so we implicit_cast to
278 implicit_cast<int>(type)));
286 // Some compilers don't like enum -> enum casts, so we implicit_cast to
290 implicit_cast<int>(type)));
repeated_field.h     [all...]
  /prebuilts/misc/windows/protobuf2.5/include/google/protobuf/
wire_format.h 274 // Some compilers don't like enum -> enum casts, so we implicit_cast to
278 implicit_cast<int>(type)));
286 // Some compilers don't like enum -> enum casts, so we implicit_cast to
290 implicit_cast<int>(type)));
repeated_field.h     [all...]
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/
wire_format.h 293 // Some compilers don't like enum -> enum casts, so we implicit_cast to
297 implicit_cast<int>(type)));
305 // Some compilers don't like enum -> enum casts, so we implicit_cast to
309 implicit_cast<int>(type)));
  /prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/
wire_format.h 274 // Some compilers don't like enum -> enum casts, so we implicit_cast to
278 implicit_cast<int>(type)));
286 // Some compilers don't like enum -> enum casts, so we implicit_cast to
290 implicit_cast<int>(type)));
  /art/runtime/base/
casts.h 31 // Use implicit_cast as a safe version of static_cast or const_cast
35 // When you use implicit_cast, the compiler checks that the cast is safe.
41 // implicit_cast is the same as for static_cast etc.:
43 // implicit_cast<ToType>(expr)
45 // implicit_cast would have been part of the C++ standard library,
49 inline To implicit_cast(From const &f) { function in namespace:art
54 // SuperclassOfFoo), it's fine to use implicit_cast<>, since upcasts
  /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));
  /prebuilts/misc/darwin-x86_64/protobuf2.5/include/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...]
  /prebuilts/misc/linux-x86_64/protobuf2.5/include/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...]
  /prebuilts/misc/windows/protobuf2.5/include/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...]
  /prebuilts/tools/linux-x86_64/protoc/include/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...]
  /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...]

Completed in 1672 milliseconds

1 2