/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/ |
D | default.pass.cpp | 46 template <class ElemType> 51 using U = std::unique_ptr<ElemType, void (*)(void*)>; in test_sfinae() 56 using Del = CDeleter<ElemType>; in test_sfinae() 57 using U1 = std::unique_ptr<ElemType, NonDefaultDeleter>; in test_sfinae() 58 using U2 = std::unique_ptr<ElemType, Del&>; in test_sfinae() 59 using U3 = std::unique_ptr<ElemType, Del const&>; in test_sfinae() 67 template <class ElemType> 71 using U1 = std::unique_ptr<ElemType>; in test_basic() 72 using U2 = std::unique_ptr<ElemType, Deleter<ElemType> >; in test_basic() 78 std::unique_ptr<ElemType> p; in test_basic() [all …]
|
/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/ |
D | TestUtil.h | 305 using ElemType = \ 308 static_assert(sizeof(ElemType) == sizeof(Container), \ 310 const ElemType *const RhsPtr = \ 311 reinterpret_cast<const ElemType *const>(&Rhs); \ 312 const ElemType *const LhsPtr = \ 313 reinterpret_cast<const ElemType *const>(&Lhs); \ 314 ElemType Ret[N]; \ 335 using ElemType = \ 338 static_assert(sizeof(ElemType) == sizeof(Container), \ 344 ElemType Ret[N]; \ [all …]
|
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/ |
D | TestUtil.h | 417 using ElemType = \ 420 static_assert(sizeof(ElemType) == sizeof(Container), \ 422 const ElemType *const RhsPtr = \ 423 reinterpret_cast<const ElemType *const>(&Rhs); \ 424 const ElemType *const LhsPtr = \ 425 reinterpret_cast<const ElemType *const>(&Lhs); \ 426 ElemType Ret[N]; \ 447 using ElemType = \ 450 static_assert(sizeof(ElemType) == sizeof(Container), \ 456 ElemType Ret[N]; \ [all …]
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CastSizeChecker.cpp | 63 const Type *ElemType = Last->getType()->getArrayElementTypeNoTypeQual(); in evenFlexibleArraySize() local 67 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize() 73 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
|
D | MallocSizeofChecker.cpp | 166 QualType ElemType = AT->getElementType(); in compatibleWithArrayType() local 169 T = ElemType; in compatibleWithArrayType()
|
/external/spirv-llvm/lib/SPIRV/libSPIRV/ |
D | SPIRVType.cpp | 263 :SPIRVType(M, 4, OpTypeArray, TheId), ElemType(TheElemType), in SPIRVTypeArray() 271 ElemType->validate(); in validate() 281 _SPIRV_IMP_ENCDEC3(SPIRVTypeArray, Id, ElemType, Length) in _SPIRV_IMP_ENCDEC3() argument
|
D | SPIRVType.h | 299 SPIRVTypeArray():SPIRVType(OpTypeArray), ElemType(nullptr), in SPIRVTypeArray() 302 SPIRVType *getElementType() const { return ElemType;} in getElementType() 308 std::vector<SPIRVEntry*> Operands(2, ElemType); in getNonLiteralOperands() 318 SPIRVType *ElemType; // Element Type
|
/external/tensorflow/tensorflow/core/kernels/ |
D | tensor_array_ops.cc | 334 key, tensor_array->ElemType(), *tensor_array_output_handle, in CreateTensorArray() 407 ctx, tensor_value->dtype() == tensor_array->ElemType(), in Compute() 409 DataTypeString(tensor_array->ElemType()), in Compute() 491 ctx, dtype_ == tensor_array->ElemType(), in Compute() 493 "TensorArray dtype is ", DataTypeString(tensor_array->ElemType()), in Compute() 577 ctx, dtype_ == tensor_array->ElemType(), in Compute() 579 "TensorArray dtype is ", DataTypeString(tensor_array->ElemType()), in Compute() 802 ctx, dtype_ == tensor_array->ElemType(), in Compute() 804 "TensorArray dtype is ", DataTypeString(tensor_array->ElemType()), in Compute() 1020 ctx, tensor_value->dtype() == tensor_array->ElemType(), in Compute() [all …]
|
D | stack_ops.cc | 103 DataType ElemType() { return elem_type_; } in ElemType() function in tensorflow::Stack 260 if (ctx->input_dtype(1) != stack->ElemType()) { in ComputeAsync() 262 stack->ElemType(), " but got ", in ComputeAsync()
|
D | conv_ops_gpu_3.cu.cc | 884 using ElemType = typename TransposeElemType<sizeof(T)>::type; in SwapDimension1And2InTensor3WithNarrowMatrices() typedef 885 static_assert(alignof(T) >= alignof(ElemType), "Unexpected data alignment."); in SwapDimension1And2InTensor3WithNarrowMatrices() 886 BatchNarrowMatrixTransposeDispatcher<ElemType, 32, 2>::DoIt( in SwapDimension1And2InTensor3WithNarrowMatrices() 888 reinterpret_cast<const ElemType*>(input), input_dims, in SwapDimension1And2InTensor3WithNarrowMatrices() 889 reinterpret_cast<ElemType*>(output)); in SwapDimension1And2InTensor3WithNarrowMatrices()
|
D | tensor_array.h | 245 DataType ElemType() const { return dtype_; } in ElemType() function
|
/external/libchrome/base/ |
D | tuple.h | 59 using ElemType = typename std::tuple_element<I, std::tuple<Ts...>>::type; 60 return std::forward<ElemType>(std::get<I>(t));
|
/external/swiftshader/third_party/LLVM/lib/Target/ |
D | TargetData.cpp | 573 Type *ElemType = GV->getType()->getElementType(); in getPreferredAlignment() local 574 unsigned Alignment = getPrefTypeAlignment(ElemType); in getPreferredAlignment() 579 Alignment = std::max(GVAlignment, getABITypeAlignment(ElemType)); in getPreferredAlignment() 586 if (getTypeSizeInBits(ElemType) > 128) in getPreferredAlignment()
|
/external/llvm/lib/IR/ |
D | DataLayout.cpp | 761 Type *ElemType = GV->getValueType(); in getPreferredAlignment() local 762 unsigned Alignment = getPrefTypeAlignment(ElemType); in getPreferredAlignment() 767 Alignment = std::max(GVAlignment, getABITypeAlignment(ElemType)); in getPreferredAlignment() 774 if (getTypeSizeInBits(ElemType) > 128) in getPreferredAlignment()
|
/external/clang/lib/Sema/ |
D | SemaInit.cpp | 261 InitListExpr *IList, QualType ElemType, 1094 QualType ElemType, in CheckSubElementType() argument 1100 if (ElemType->isReferenceType()) in CheckSubElementType() 1101 return CheckReferenceType(Entity, IList, ElemType, Index, in CheckSubElementType() 1106 IsStringInit(SubInitList->getInit(0), ElemType, SemaRef.Context) == in CheckSubElementType() 1111 = getStructuredSubobjectInit(IList, Index, ElemType, in CheckSubElementType() 1114 CheckExplicitInitList(Entity, SubInitList, ElemType, in CheckSubElementType() 1133 assert(SemaRef.Context.hasSameType(expr->getType(), ElemType) && in CheckSubElementType() 1174 } else if (ElemType->isScalarType() || ElemType->isAtomicType()) { in CheckSubElementType() 1176 return CheckScalarType(Entity, IList, ElemType, Index, in CheckSubElementType() [all …]
|
D | SemaOpenMP.cpp | 8380 auto ElemType = Context.getBaseElementType(Type).getNonReferenceType(); in ActOnOpenMPFirstprivateClause() local 8387 bool IsConstant = ElemType.isConstant(Context); in ActOnOpenMPFirstprivateClause() 8558 buildVarDecl(*this, RefExpr->getExprLoc(), ElemType, D->getName()); in ActOnOpenMPFirstprivateClause() 8559 VDInitRefExpr = buildDeclRefExpr(*this, VDInit, ElemType, ELoc); in ActOnOpenMPFirstprivateClause() 8561 ElemType = ElemType.getUnqualifiedType(); in ActOnOpenMPFirstprivateClause() 8562 auto *VDInitTemp = buildVarDecl(*this, RefExpr->getExprLoc(), ElemType, in ActOnOpenMPFirstprivateClause() 9959 auto ElemType = Context.getBaseElementType(Type).getNonReferenceType(); in ActOnOpenMPCopyinClause() local 9961 buildVarDecl(*this, DE->getLocStart(), ElemType.getUnqualifiedType(), in ActOnOpenMPCopyinClause() 9964 *this, SrcVD, ElemType.getUnqualifiedType(), DE->getExprLoc()); in ActOnOpenMPCopyinClause() 9966 buildVarDecl(*this, DE->getLocStart(), ElemType, ".copyin.dst", in ActOnOpenMPCopyinClause() [all …]
|
D | SemaType.cpp | 7134 QualType ElemType = Context.getBaseElementType(T); in RequireLiteralType() local 7135 if ((isCompleteType(Loc, ElemType) || ElemType->isVoidType()) && in RequireLiteralType() 7144 const RecordType *RT = ElemType->getAs<RecordType>(); in RequireLiteralType() 7153 if (RequireCompleteType(Loc, ElemType, diag::note_non_literal_incomplete, T)) in RequireLiteralType()
|
/external/v8/src/compiler/ |
D | typer.cc | 1855 #define TYPED_ARRAY_CASE(ElemType, type, TYPE, ctype, size) \ in TypeLoadBuffer() argument 1856 case kExternal##ElemType##Array: \ in TypeLoadBuffer() 1857 return Type::Union(typer_->cache_.k##ElemType, Type::Undefined(), zone()); in TypeLoadBuffer() 1872 #define TYPED_ARRAY_CASE(ElemType, type, TYPE, ctype, size) \ in TypeLoadTypedElement() argument 1873 case kExternal##ElemType##Array: \ in TypeLoadTypedElement() 1874 return typer_->cache_.k##ElemType; in TypeLoadTypedElement()
|
/external/libcxxabi/src/ |
D | cxa_demangle.cpp | 2147 Node *ElemType = parseType(); in parseVectorType() local 2148 if (ElemType == nullptr) in parseVectorType() 2150 return make<VectorType>(ElemType, DimensionNumber); in parseVectorType() 2159 Node *ElemType = parseType(); in parseVectorType() local 2160 if (!ElemType) in parseVectorType() 2162 return make<VectorType>(ElemType, DimExpr); in parseVectorType() 2164 Node *ElemType = parseType(); in parseVectorType() local 2165 if (!ElemType) in parseVectorType() 2167 return make<VectorType>(ElemType, StringView()); in parseVectorType()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | RegionStore.cpp | 2129 QualType ElemType = VT->getElementType(); in bindVector() local 2140 const ElementRegion *ER = MRMgr.getElementRegion(ElemType, Idx, R, Ctx); in bindVector() 2142 if (ElemType->isArrayType()) in bindVector() 2144 else if (ElemType->isStructureOrClassType()) in bindVector()
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 860 llvm::Type *ElemType = AType->getElementType(); in EmitDesignatedInitUpdater() local 883 bool RewriteType = (fillC && fillC->getType() != ElemType); in EmitDesignatedInitUpdater() 901 RewriteType |= (Elts[i]->getType() != ElemType); in EmitDesignatedInitUpdater()
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitcodeReader.cpp | 4350 Type *ElemType = cast<PointerType>(PtrType)->getElementType(); in typeCheckLoadStoreInst() local 4352 if (ValType && ValType != ElemType) in typeCheckLoadStoreInst() 4355 if (!PointerType::isLoadableOrStorableType(ElemType)) in typeCheckLoadStoreInst()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 5230 QualType ElemType = readType(*Loc.F, Record, Idx); in readTypeRecord() local 5231 return Context.getComplexType(ElemType); in readTypeRecord()
|