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.h58 inline To implicit_cast(From const &f) { in implicit_cast() function
87 implicit_cast<From*, To>(0); in down_cast()
104 implicit_cast<From*, ToAsPointer>(0); in down_cast()
127 using internal::implicit_cast;
Dcommon_unittest.cc86 implicit_cast<int>(level), filename, line, message)); in CaptureLog()
/external/sfntly/cpp/src/sfntly/port/
Dtype.h69 inline To implicit_cast(From const &f) { in implicit_cast() function
84 implicit_cast<From*, To>(0); in down_cast()
/external/protobuf/src/google/protobuf/
Dwire_format.h297 implicit_cast<int>(type))); in WireTypeForFieldType()
309 implicit_cast<int>(type))); in TagSize()
Dwire_format_unittest.cc62 EXPECT_EQ(implicit_cast<int>(FieldDescriptor::MAX_TYPE), in TEST()
63 implicit_cast<int>(WireFormatLite::MAX_FIELD_TYPE)); in TEST()
64 EXPECT_EQ(implicit_cast<int>(FieldDescriptor::MAX_CPPTYPE), in TEST()
65 implicit_cast<int>(WireFormatLite::MAX_CPPTYPE)); in TEST()
69 implicit_cast<int>(FieldDescriptor::TypeToCppType( in TEST()
71 implicit_cast<int>(WireFormatLite::FieldTypeToCppType( in TEST()
Dmap_field_test.cc260 Map<int32, int32>* map = implicit_cast<MapFieldLiteType*>(map_field) in MakeRepeatedDirty()
273 Map<int32, int32>* map = implicit_cast<MapFieldLiteType*>(map_field) in Expect()
Ddescriptor.cc1851 implicit_cast<int>(label()))); in CopyTo()
1853 implicit_cast<int>(type()))); in CopyTo()
4235 implicit_cast<int>(proto.type())); in BuildFieldOrExtension()
4237 implicit_cast<int>(proto.label())); in BuildFieldOrExtension()
Drepeated_field.h2095 implicit_cast<Element*, OtherElement*>(0);
Dmap_test.cc1877 const Message* source = implicit_cast<const Message*>(&message1); in TEST()
/external/v8/src/torque/
Ddeclaration-visitor.h45 Visit(implicit_cast<ModuleDeclaration*>(decl)); in Visit()
49 Visit(implicit_cast<ModuleDeclaration*>(decl)); in Visit()
Dimplementation-visitor.h84 Visit(implicit_cast<ModuleDeclaration*>(decl)); in Visit()
87 Visit(implicit_cast<ModuleDeclaration*>(decl)); in Visit()
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.cc239 Read(junk, std::min(count - skipped, implicit_cast<int>(sizeof(junk)))); in Skip()
/external/v8/src/base/
Dmacros.h286 V8_INLINE A implicit_cast(A x) { in implicit_cast() function
/external/v8/src/compiler/
Dcode-assembler.h643 return implicit_cast<TNode<A>>(*this);
1003 {implicit_cast<SloppyTNode<Object>>(args)...});
1020 {implicit_cast<SloppyTNode<Object>>(args)...});
1027 {implicit_cast<SloppyTNode<Object>>(args)...});
1038 {implicit_cast<SloppyTNode<Object>>(args)...});
/external/v8/src/
Dcode-stub-assembler.h109 return implicit_cast<compiler::SloppyTNode<Word32T>>(x); \
146 return implicit_cast<compiler::SloppyTNode<Word32T>>( \
680 [&]() -> Node* { return implicit_cast<TNode<A>>(true_body()); }, in Select()
681 [&]() -> Node* { return implicit_cast<TNode<A>>(false_body()); }, in Select()
1676 return Signed(TimesPointerSize(implicit_cast<TNode<WordT>>(value))); in TimesPointerSize()
1679 return Unsigned(TimesPointerSize(implicit_cast<TNode<WordT>>(value))); in TimesPointerSize()
1683 return Unsigned(TimesDoubleSize(implicit_cast<TNode<WordT>>(value))); in TimesDoubleSize()
1686 return Signed(TimesDoubleSize(implicit_cast<TNode<WordT>>(value))); in TimesDoubleSize()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc543 const Message* source = implicit_cast<const Message*>(&message1); in TEST()
607 EXPECT_DEATH(message.MergeFrom(implicit_cast<const Message&>(message)), in TEST()
1800 const Message* source = implicit_cast<const Message*>(&message1); in TEST_F()
/external/googletest/googletest/docs/
Dfaq.md118 sure `implicit_cast<MyInterface*>(my_concrete_impl)` works, not just that