/external/golang-protobuf/proto/ |
D | pointer_reflect.go | 85 u.Elem().Set(v) 87 u = u.Elem() 100 return pointer{v: p.v.Elem().FieldByIndex(f).Addr()} 115 s.Set(reflect.Append(s, reflect.Zero(s.Type().Elem()))) 147 if p.v.Type().Elem().Elem() == reflect.TypeOf(int32(0)) { 149 return p.v.Elem().Interface().(*int32) 152 return p.v.Elem().Convert(int32PtrType).Interface().(*int32) 159 p.v.Elem().Set(reflect.ValueOf(&v).Convert(p.v.Type().Elem())) 165 if p.v.Type().Elem().Elem() == reflect.TypeOf(int32(0)) { 167 return p.v.Elem().Interface().([]int32) [all …]
|
D | clone.go | 50 out := reflect.New(in.Type().Elem()) 98 mergeStruct(out.Elem(), in.Elem()) 160 if out.IsNil() || out.Elem().Type() != in.Elem().Type() { 161 out.Set(reflect.New(in.Elem().Elem().Type())) // interface -> *T -> T -> new(T) 163 mergeAny(out.Elem(), in.Elem(), false, nil) 172 elemKind := in.Type().Elem().Kind() 177 val = reflect.New(in.Type().Elem().Elem()) 192 out.Set(reflect.New(in.Elem().Type())) 194 mergeAny(out.Elem(), in.Elem(), true, nil) 199 if in.Type().Elem().Kind() == reflect.Uint8 { [all …]
|
D | discard.go | 72 di = getDiscardInfo(reflect.TypeOf(m).Elem()) 160 if tf.Kind() == reflect.Slice && tf.Elem().Kind() != reflect.Uint8 { 162 tf = tf.Elem() 166 tf = tf.Elem() 201 if tf.Elem().Kind() == reflect.Ptr { // Proto struct (e.g., *T) 203 sm := src.asPointerTo(tf).Elem() 224 su := src.asPointerTo(tf).Elem() 226 sv := su.Elem().Elem().Field(0) 259 v = v.Elem() 275 if tf.Kind() == reflect.Slice && tf.Elem().Kind() != reflect.Uint8 { [all …]
|
D | extensions.go | 175 return t.Kind() == reflect.Slice && t.Elem().Kind() != reflect.Uint8 402 value := reflect.New(t).Elem() 403 value.Set(reflect.New(value.Type().Elem())) 408 value.Elem().SetInt(int64(sf.value.(int32))) 410 value.Elem().Set(reflect.ValueOf(sf.value)) 422 value := reflect.New(t).Elem() 542 st := reflect.TypeOf(desc.ExtendedType).Elem() 558 return extensionMaps[reflect.TypeOf(pb).Elem()] 568 rv2.Elem().Set(rv) 572 switch rv.Type().Elem().Kind() { [all …]
|
D | table_merge.go | 47 mi = getMergeInfo(reflect.TypeOf(dst).Elem()) 143 out := dst.asPointerTo(mi.typ).Elem() 144 in := src.asPointerTo(mi.typ).Elem() 203 if tf.Kind() == reflect.Slice && tf.Elem().Kind() != reflect.Uint8 { 205 tf = tf.Elem() 209 tf = tf.Elem() 501 case tf.Elem().Kind() != reflect.Uint8: 575 sm := src.asPointerTo(tf).Elem() 579 dm := dst.asPointerTo(tf).Elem() 584 switch tf.Elem().Kind() { [all …]
|
D | equal.go | 87 v1, v2 = v1.Elem(), v2.Elem() 112 f1, f2 = f1.Elem(), f2.Elem() 164 e1, e2 := v1.Elem(), v2.Elem() 192 return equalAny(v1.Elem(), v2.Elem(), prop) 194 if v1.Type().Elem().Kind() == reflect.Uint8 {
|
D | text_parser.go | 412 if typ.Elem().Kind() == reflect.String { 417 if typ.Elem().Kind() != reflect.Ptr { 492 v := reflect.New(mt.Elem()) 493 if pe := p.readStruct(v.Elem(), terminator); pe != nil { 540 ext = reflect.New(typ).Elem() 542 ext = reflect.New(typ.Elem()).Elem() 579 nv := reflect.New(oop.Type.Elem()) 580 dst = nv.Elem().Field(0) 601 key := reflect.New(dst.Type().Key()).Elem() 602 val := reflect.New(dst.Type().Elem()).Elem() [all …]
|
D | properties.go | 260 var protoMessageType = reflect.TypeOf((*Message)(nil)).Elem() 266 if t1.Elem().Kind() == reflect.Struct { 267 p.stype = t1.Elem() 271 if t2 := t1.Elem(); t2.Kind() == reflect.Ptr && t2.Elem().Kind() == reflect.Struct { 272 p.stype = t2.Elem() 280 vtype := p.mtype.Elem() 299 marshalerType = reflect.TypeOf((*Marshaler)(nil)).Elem() 408 sft := oop.Type.Elem().Field(0)
|
/external/deqp/framework/delibs/decpp/ |
D | deArrayUtil.hpp | 33 template <int LastElementIndex, int Size, typename Elem> 34 const Elem& getSizedArrayElement (const Elem (&array)[Size], typename de::meta::EnableIf<int, LastE… in getSizedArrayElement() 41 template <int Size, typename Elem> 42 const Elem& getArrayElement (const Elem (&array)[Size], int offset) in getArrayElement()
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | buffer_sequence_adapter.hpp | 229 template <typename Buffer, typename Elem> 230 class buffer_sequence_adapter<Buffer, boost::array<Elem, 2> > 235 const boost::array<Elem, 2>& buffer_sequence) in buffer_sequence_adapter() argument 258 static bool all_empty(const boost::array<Elem, 2>& buffer_sequence) in all_empty() argument 264 static void validate(const boost::array<Elem, 2>& buffer_sequence) in validate() argument 270 static Buffer first(const boost::array<Elem, 2>& buffer_sequence) in first() argument 282 template <typename Buffer, typename Elem> 283 class buffer_sequence_adapter<Buffer, std::array<Elem, 2> > 288 const std::array<Elem, 2>& buffer_sequence) in buffer_sequence_adapter() argument 311 static bool all_empty(const std::array<Elem, 2>& buffer_sequence) in all_empty() argument [all …]
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
D | move.pass.cpp | 51 template <class Elem> 53 using Tup = std::tuple<Elem>; in test_sfinae() 65 static_assert(std::is_constructible<Tup, Elem&&>::value, ""); in test_sfinae() 66 static_assert(!std::is_constructible<Tup, Elem const&>::value, ""); in test_sfinae() 67 static_assert(!std::is_constructible<Tup, Elem&>::value, ""); in test_sfinae() 78 static_assert(std::is_constructible<Tup, Tag, Alloc, Elem&&>::value, ""); in test_sfinae() 79 static_assert(!std::is_constructible<Tup, Tag, Alloc, Elem const&>::value, ""); in test_sfinae() 80 static_assert(!std::is_constructible<Tup, Tag, Alloc, Elem &>::value, ""); in test_sfinae()
|
/external/golang-protobuf/jsonpb/ |
D | jsonpb.go | 103 return reflect.New(mt.Elem()).Interface().(proto.Message), nil 200 s := reflect.ValueOf(v).Elem() 271 x := kind.Elem().Elem().Field(0) 338 sv := value.Elem().Elem() // interface -> *T -> T 410 v := reflect.ValueOf(any).Elem() 506 if v.Kind() == reflect.Slice && v.Type().Elem().Kind() != reflect.Uint8 { 550 valStr = strconv.Itoa(int(v.Elem().Int())) 682 if err := u.unmarshalValue(reflect.ValueOf(pb).Elem(), inputValue, nil); err != nil { 730 target.Set(reflect.New(targetType.Elem())) 732 return u.unmarshalValue(target.Elem(), inputValue, prop) [all …]
|
/external/skqp/src/xml/ |
D | SkXMLWriter.h | 42 struct Elem { struct 43 Elem(const char name[], size_t len) in Elem() argument 52 void doEnd(Elem* elem); argument 54 Elem* getEnd(); 56 SkTDArray<Elem*> fElems;
|
D | SkXMLWriter.cpp | 58 void SkXMLWriter::doEnd(Elem* elem) { in doEnd() 68 Elem** elem = fElems.push(); in doStart() 69 *elem = new Elem(name, length); in doStart() 73 SkXMLWriter::Elem* SkXMLWriter::getEnd() { in getEnd() 74 Elem* elem; in getEnd() 216 Elem* elem = fElems.top(); in onAddText() 229 Elem* elem = getEnd(); in onEndElement() 285 Elem* elem = this->getEnd(); in onEndElement()
|
/external/skia/src/xml/ |
D | SkXMLWriter.h | 42 struct Elem { struct 43 Elem(const char name[], size_t len) in Elem() function 52 void doEnd(Elem* elem); argument 54 Elem* getEnd(); 56 SkTDArray<Elem*> fElems;
|
D | SkXMLWriter.cpp | 58 void SkXMLWriter::doEnd(Elem* elem) { in doEnd() 68 Elem** elem = fElems.push(); in doStart() 69 *elem = new Elem(name, length); in doStart() 73 SkXMLWriter::Elem* SkXMLWriter::getEnd() { in getEnd() 74 Elem* elem; in getEnd() 211 Elem* elem = fElems.top(); in onAddText() 224 Elem* elem = getEnd(); in onEndElement() 294 Elem* elem = this->getEnd(); in onEndElement()
|
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/ |
D | RunQueue.h | 56 Elem* e = &array_[front & kMask]; in PushFront() 71 Elem* e = &array_[(front - 1) & kMask]; in PopFront() 88 Elem* e = &array_[(back - 1) & kMask]; in PushBack() 107 Elem* e = &array_[back & kMask]; in PopBack() 131 Elem* e = &array_[mid & kMask]; in PopBackHalf() 183 struct Elem { struct 202 Elem array_[kSize]; argument
|
/external/llvm/lib/IR/ |
D | LLVMContextImpl.cpp | 110 FoldingSetIterator<AttributeImpl> Elem = I++; in ~LLVMContextImpl() local 111 delete &*Elem; in ~LLVMContextImpl() 117 FoldingSetIterator<AttributeSetImpl> Elem = I++; in ~LLVMContextImpl() local 118 delete &*Elem; in ~LLVMContextImpl() 124 FoldingSetIterator<AttributeSetNode> Elem = I++; in ~LLVMContextImpl() local 125 delete &*Elem; in ~LLVMContextImpl()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
D | LLVMContextImpl.cpp | 110 FoldingSetIterator<AttributeImpl> Elem = I++; in ~LLVMContextImpl() local 111 delete &*Elem; in ~LLVMContextImpl() 118 FoldingSetIterator<AttributeListImpl> Elem = I++; in ~LLVMContextImpl() local 119 delete &*Elem; in ~LLVMContextImpl() 125 FoldingSetIterator<AttributeSetNode> Elem = I++; in ~LLVMContextImpl() local 126 delete &*Elem; in ~LLVMContextImpl()
|
/external/parameter-framework/asio-1.10.6/include/asio/impl/ |
D | read.hpp | 230 template <typename AsyncReadStream, typename Elem, 232 class read_op<AsyncReadStream, boost::array<Elem, 2>, 237 read_op(AsyncReadStream& stream, const boost::array<Elem, 2>& buffers, in read_op() argument 272 typename asio::detail::dependent_type<Elem, in operator ()() 305 boost::array<Elem, 2> buffers_; 312 template <typename AsyncReadStream, typename Elem, 314 class read_op<AsyncReadStream, std::array<Elem, 2>, 319 read_op(AsyncReadStream& stream, const std::array<Elem, 2>& buffers, in read_op() argument 354 typename asio::detail::dependent_type<Elem, in operator ()() 387 std::array<Elem, 2> buffers_;
|
D | write.hpp | 303 template <typename AsyncWriteStream, typename Elem, 305 class write_op<AsyncWriteStream, boost::array<Elem, 2>, 310 write_op(AsyncWriteStream& stream, const boost::array<Elem, 2>& buffers, in write_op() argument 345 typename asio::detail::dependent_type<Elem, in operator ()() 378 boost::array<Elem, 2> buffers_; 385 template <typename AsyncWriteStream, typename Elem, 387 class write_op<AsyncWriteStream, std::array<Elem, 2>, 392 write_op(AsyncWriteStream& stream, const std::array<Elem, 2>& buffers, in write_op() argument 427 typename asio::detail::dependent_type<Elem, in operator ()() 460 std::array<Elem, 2> buffers_;
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Linker/ |
D | LinkModulesTest.cpp | 116 Value *Elem = Init->getOperand(0); in TEST_F() local 117 ASSERT_TRUE(isa<BlockAddress>(Elem)); in TEST_F() 118 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(), in TEST_F() 120 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(), in TEST_F() 123 Elem = Init->getOperand(1); in TEST_F() 124 ASSERT_TRUE(isa<BlockAddress>(Elem)); in TEST_F() 125 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(), in TEST_F() 127 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(), in TEST_F()
|
/external/llvm/unittests/Linker/ |
D | LinkModulesTest.cpp | 116 Value *Elem = Init->getOperand(0); in TEST_F() local 117 ASSERT_TRUE(isa<BlockAddress>(Elem)); in TEST_F() 118 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(), in TEST_F() 120 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(), in TEST_F() 123 Elem = Init->getOperand(1); in TEST_F() 124 ASSERT_TRUE(isa<BlockAddress>(Elem)); in TEST_F() 125 EXPECT_EQ(cast<BlockAddress>(Elem)->getFunction(), in TEST_F() 127 EXPECT_EQ(cast<BlockAddress>(Elem)->getBasicBlock()->getParent(), in TEST_F()
|
/external/parameter-framework/asio-1.10.6/include/asio/local/ |
D | basic_endpoint.hpp | 206 template <typename Elem, typename Traits, typename Protocol> 207 std::basic_ostream<Elem, Traits>& operator<<( in operator <<() argument 208 std::basic_ostream<Elem, Traits>& os, in operator <<()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | tuple_points_to_analysis.h | 126 tree_.ForEachElement([&fn](const ShapeIndex& index, const Elem& elem) { in ForEachElement() 132 tree_.ForEachMutableElement([&fn](const ShapeIndex& index, Elem* elem) { in ForEachMutableElement() 139 [&fn](const ShapeIndex& index, const Elem& elem) { in ForEachElementWithStatus() 145 struct Elem { struct 149 ShapeTree<Elem> tree_; argument
|