Home
last modified time | relevance | path

Searched refs:implicit_cast (Results 1 – 17 of 17) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Dcasts.h59 inline To implicit_cast(From const &f) { in implicit_cast() function
88 implicit_cast<From*, To>(0); in down_cast()
105 implicit_cast<From*, ToAsPointer>(0); in down_cast()
128 using internal::implicit_cast;
Dcommon_unittest.cc86 implicit_cast<int>(level), filename, line, message)); in CaptureLog()
/external/sfntly/cpp/src/sfntly/port/
Dtype.h48 inline To implicit_cast(From const &f) { in implicit_cast() function
63 implicit_cast<From*, To>(0); in down_cast()
/external/protobuf/src/google/protobuf/
Dwire_format.h286 static_cast<WireFormatLite::FieldType>(implicit_cast<int>(type))); in WireTypeForFieldType()
299 static_cast<WireFormatLite::FieldType>(implicit_cast<int>(type))); in TagSize()
Dwire_format_unittest.cc65 EXPECT_EQ(implicit_cast<int>(FieldDescriptor::MAX_TYPE), in TEST()
66 implicit_cast<int>(WireFormatLite::MAX_FIELD_TYPE)); in TEST()
67 EXPECT_EQ(implicit_cast<int>(FieldDescriptor::MAX_CPPTYPE), in TEST()
68 implicit_cast<int>(WireFormatLite::MAX_CPPTYPE)); in TEST()
71 EXPECT_EQ(implicit_cast<int>(FieldDescriptor::TypeToCppType( in TEST()
73 implicit_cast<int>(WireFormatLite::FieldTypeToCppType( in TEST()
Ddescriptor.cc2130 implicit_cast<int>(label()))); in CopyTo()
2132 implicit_cast<int>(type()))); in CopyTo()
4711 implicit_cast<int>(proto.type())); in BuildFieldOrExtension()
4713 implicit_cast<int>(proto.label())); in BuildFieldOrExtension()
Drepeated_field.h2283 implicit_cast<Element*>(static_cast<OtherElement*>(nullptr));
Dmap_test.cc1963 const Message* source = implicit_cast<const Message*>(&message1); in TEST()
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.cc191 implicit_cast<int>(sizeof(junk)))); in Skip()
/external/v8/src/base/
Dmacros.h274 V8_INLINE A implicit_cast(A x) { in implicit_cast() function
/external/v8/src/compiler/
Dcode-assembler.h455 return implicit_cast<TNode<A>>(*this);
1010 function, context, {implicit_cast<TNode<Object>>(args)...})); in CallRuntime()
1019 {implicit_cast<TNode<Object>>(args)...}); in TailCallRuntime()
1026 {implicit_cast<TNode<Object>>(args)...}); in TailCallRuntime()
/external/python/pybind11/include/pybind11/
Dcast.h1385 operator type() & { return implicit_cast(indices{}); }
1386 operator type() && { return std::move(*this).implicit_cast(indices{}); }
1390 …type implicit_cast(index_sequence<Is...>) & { return type(cast_op<Ts>(std::get<Is>(subcasters))...…
1392 …type implicit_cast(index_sequence<Is...>) && { return type(cast_op<Ts>(std::move(std::get<Is>(subc…
/external/v8/src/flags/
Dflags.cc802 bool change_flag = *conclusion_pointer != implicit_cast<A>(value); in TriggerImplication()
/external/v8/src/codegen/
Dcode-stub-assembler.h825 implicit_cast<TNode<Object>>(args)...)); in ConstructWithTarget()
2243 return Signed(TimesSystemPointerSize(implicit_cast<TNode<WordT>>(value))); in TimesSystemPointerSize()
2246 return Unsigned(TimesSystemPointerSize(implicit_cast<TNode<WordT>>(value))); in TimesSystemPointerSize()
2251 return Signed(TimesTaggedSize(implicit_cast<TNode<WordT>>(value))); in TimesTaggedSize()
2254 return Unsigned(TimesTaggedSize(implicit_cast<TNode<WordT>>(value))); in TimesTaggedSize()
2259 return Unsigned(TimesDoubleSize(implicit_cast<TNode<WordT>>(value))); in TimesDoubleSize()
2262 return Signed(TimesDoubleSize(implicit_cast<TNode<WordT>>(value))); in TimesDoubleSize()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.inc667 const Message* source = implicit_cast<const Message*>(&message1);
1874 const Message* source = implicit_cast<const Message*>(&message1);
/external/googletest/googletest/docs/
Dfaq.md119 sure `implicit_cast<MyInterface*>(my_concrete_impl)` works, not just that
/external/googletest/googlemock/docs/
Dcook_book.md2235 ... Invoke(implicit_cast<Closure*>(done)) ...; // The cast is necessary.
2320 ... InvokeWithoutArgs(implicit_cast<Closure*>(done)) ...;