Home
last modified time | relevance | path

Searched refs:Create (Results 1 – 25 of 237) sorted by relevance

12345678910

/frameworks/compile/mclinker/unittests/
DSymbolCategoryTest.cpp43 ResolveInfo* a = ResolveInfo::Create("a"); in TEST_F()
44 ResolveInfo* b = ResolveInfo::Create("b"); in TEST_F()
45 ResolveInfo* c = ResolveInfo::Create("c"); in TEST_F()
46 ResolveInfo* d = ResolveInfo::Create("d"); in TEST_F()
47 ResolveInfo* e = ResolveInfo::Create("e"); in TEST_F()
55 LDSymbol* aa = LDSymbol::Create(*a); in TEST_F()
56 LDSymbol* bb = LDSymbol::Create(*b); in TEST_F()
57 LDSymbol* cc = LDSymbol::Create(*c); in TEST_F()
58 LDSymbol* dd = LDSymbol::Create(*d); in TEST_F()
59 LDSymbol* ee = LDSymbol::Create(*e); in TEST_F()
[all …]
DStaticResolverTest.cpp49 ResolveInfo* old_sym = ResolveInfo::Create("abc"); in TEST_F()
50 ResolveInfo* new_sym = ResolveInfo::Create("abc"); in TEST_F()
64 ResolveInfo* old_sym = ResolveInfo::Create("abc"); in TEST_F()
65 ResolveInfo* new_sym = ResolveInfo::Create("abc"); in TEST_F()
91 ResolveInfo* old_sym = ResolveInfo::Create("abc"); in TEST_F()
92 ResolveInfo* new_sym = ResolveInfo::Create("abc"); in TEST_F()
118 ResolveInfo* old_sym = ResolveInfo::Create("abc"); in TEST_F()
119 ResolveInfo* new_sym = ResolveInfo::Create("abc"); in TEST_F()
145 ResolveInfo* old_sym = ResolveInfo::Create("abc"); in TEST_F()
146 ResolveInfo* new_sym = ResolveInfo::Create("abc"); in TEST_F()
[all …]
DFragmentTest.cpp38 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F()
39 SectionData* s = SectionData::Create(*test); in TEST_F()
53 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F()
54 SectionData* s = SectionData::Create(*test); in TEST_F()
DSectionDataTest.cpp39 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F()
41 SectionData* s = SectionData::Create(*test); in TEST_F()
49 LDSection* test = LDSection::Create("test", LDFileFormat::Null, 0, 0); in TEST_F()
50 SectionData* s = SectionData::Create(*test); in TEST_F()
/frameworks/rs/rsov/compiler/spirit/
Dword_stream.cpp25 InputWordStream *InputWordStream::Create() { return new WordStreamImpl(); } in Create() function in android::spirit::InputWordStream
27 InputWordStream *InputWordStream::Create(std::vector<uint32_t> &&words) { in Create() function in android::spirit::InputWordStream
31 InputWordStream *InputWordStream::Create(const std::vector<uint32_t> &words) { in Create() function in android::spirit::InputWordStream
35 InputWordStream *InputWordStream::Create(const std::vector<uint8_t> &bytes) { in Create() function in android::spirit::InputWordStream
38 return InputWordStream::Create(words); in Create()
41 InputWordStream *InputWordStream::Create(const char *filePath) { in Create() function in android::spirit::InputWordStream
42 return InputWordStream::Create(readFile<uint32_t>(filePath)); in Create()
45 OutputWordStream *OutputWordStream::Create() { return new WordStreamImpl(); } in Create() function in android::spirit::OutputWordStream
47 WordStream *WordStream::Create() { return new WordStreamImpl(); } in Create() function in android::spirit::WordStream
49 WordStream *WordStream::Create(const std::vector<uint32_t> &words) { in Create() function in android::spirit::WordStream
Dword_stream.h36 static InputWordStream *Create();
37 static InputWordStream *Create(std::vector<uint32_t> &&words);
38 static InputWordStream *Create(const std::vector<uint32_t> &words);
39 static InputWordStream *Create(const std::vector<uint8_t> &bytes);
40 static InputWordStream *Create(const char *fileName);
90 static OutputWordStream *Create();
135 static WordStream *Create();
136 static WordStream *Create(const std::vector<uint32_t> &words);
Dword_stream_test.cpp27 std::unique_ptr<OutputWordStream> OS(OutputWordStream::Create()); in TEST()
38 std::unique_ptr<OutputWordStream> OS(OutputWordStream::Create()); in TEST()
53 std::unique_ptr<InputWordStream> IS(InputWordStream::Create(words)); in TEST()
64 std::unique_ptr<InputWordStream> IS(InputWordStream::Create(words)); in TEST()
/frameworks/native/libs/vr/libpdx_uds/
Dservice_framework_tests.cpp333 return TestClient::Create(status.take()); in GetNewChannel()
344 return TestClient::Create(status.take()); in GetNewChannelFromOtherService()
400 : BASE{android::pdx::uds::ClientChannelFactory::Create(kTestServicePath + in TestClient()
404 : BASE{android::pdx::uds::ClientChannel::Create(std::move(channel))} {} in TestClient()
429 dispatcher_ = android::pdx::ServiceDispatcher::Create(); in SetUp()
451 auto service = TestService::Create(kTestService1); in TEST_F()
456 auto client = TestClient::Create(kTestService1); in TEST_F()
474 auto service = TestService::Create(kTestService1); in TEST_F()
478 auto client = TestClient::Create(kTestService1); in TEST_F()
513 auto service = TestService::Create(kTestService1); in TEST_F()
[all …]
Dclient_channel_tests.cpp84 service_ = TestService::Create(std::move(endpoint)); in TestServiceRunner()
85 dispatcher_ = ServiceDispatcher::Create(); in TestServiceRunner()
113 auto factory = ClientChannelFactory::Create(std::move(client_channel)); in SetUp()
116 client_ = TestClient::Create(status.take()); in SetUp()
/frameworks/compile/slang/
Dslang_rs_export_element.cpp64 ElementInfoMap.insert(ElementInfoMapTy::value_type::Create( in Init()
71 RSExportType *RSExportElement::Create(RSContext *Context, in Create() function in slang::RSExportElement
94 RSExportPrimitiveType::Create(Context, in Create()
107 RSExportVectorType::Create(Context, in Create()
141 return RSExportType::Create(Context, T, NotLegacyKernelArgument); in CreateFromDecl()
161 return RSExportType::Create(Context, T, NotLegacyKernelArgument); in CreateFromDecl()
163 return RSExportElement::Create(Context, T, EI); in CreateFromDecl()
Dslang_rs_foreach_lowering.cpp172 clang::FunctionDecl* FD = clang::FunctionDecl::Create( in CreateForEachInternalFunctionDecl()
178 ParamDecls[I] = clang::ParmVarDecl::Create(mASTCtxt, FD, Loc, in CreateForEachInternalFunctionDecl()
203 clang::DeclRefExpr* refExpr = clang::DeclRefExpr::Create( in CreateCalleeExprForInternalForEach()
207 clang::Expr* calleeNew = clang::ImplicitCastExpr::Create( in CreateCalleeExprForInternalForEach()
258 clang::IntegerLiteral::Create(mASTCtxt, APIntSlot, IntTy, Loc); in VisitCallExpr()
330 clang::ImplicitCastExpr* Decay = clang::ImplicitCastExpr::Create( in VisitCallExpr()
349 clang::IntegerLiteral::Create(mASTCtxt, APIntZero, IntTy, Loc); in VisitCallExpr()
353 clang::CStyleCastExpr::Create(mASTCtxt, in VisitCallExpr()
367 clang::IntegerLiteral::Create(mASTCtxt, APIntNumOutput, IntTy, Loc); in VisitCallExpr()
372 clang::IntegerLiteral::Create(mASTCtxt, APIntNumInputs, IntTy, Loc); in VisitCallExpr()
Dslang_rs_context.cpp126 RSExportForEach *EFE = RSExportForEach::Create(this, FD); in processExportFunc()
153 if (auto *EF = RSExportFunc::Create(this, FD)) { in processExportFunc()
212 ET = RSExportType::Create(this, T, NotLegacyKernelArgument); in processExportType()
363 clang::VarDecl *const VD = clang::VarDecl::Create( in markUsedByReducePragma()
372 clang::DeclRefExpr *const DRE = clang::DeclRefExpr::Create(mCtx, in markUsedByReducePragma()
377 …clang::ImplicitCastExpr *const ICE = clang::ImplicitCastExpr::Create(mCtx, mCtx.getPointerType(FD-… in markUsedByReducePragma()
380 …clang::CStyleCastExpr *const CSCE = clang::CStyleCastExpr::Create(mCtx, VoidPtrType, clang::VK_RVa… in markUsedByReducePragma()
391 ExportTypeMap::value_type::Create(TypeName, in insertExportType()
Dslang_rs_object_ref_count.cpp298 clang::DeclRefExpr::Create(C, in ClearSingleRSObject()
309 clang::ImplicitCastExpr::Create(C, in ClearSingleRSObject()
392 clang::VarDecl::Create(C, in ClearArrayRSObject()
408 clang::Expr *Int0 = clang::IntegerLiteral::Create(C, in ClearArrayRSObject()
413 clang::DeclGroupRef DGR = clang::DeclGroupRef::Create(C, &IID, 1); in ClearArrayRSObject()
418 clang::DeclRefExpr::Create(C, in ClearArrayRSObject()
429 clang::ImplicitCastExpr::Create(C, in ClearArrayRSObject()
436 clang::Expr *NumArrayElementsExpr = clang::IntegerLiteral::Create(C, in ClearArrayRSObject()
462 clang::ImplicitCastExpr::Create(C, in ClearArrayRSObject()
606 clang::MemberExpr::Create(C, in ClearStructRSObject()
[all …]
Dslang_rs_export_func.cpp50 RSExportFunc *RSExportFunc::Create(RSContext *Context, in Create() function in slang::RSExportFunc
72 clang::RecordDecl::Create(Ctx, clang::TTK_Struct, in Create()
89 clang::FieldDecl::Create(Ctx, in Create()
108 RSExportType::Create(Context, T.getTypePtr(), NotLegacyKernelArgument); in Create()
Dslang_rs_export_type.cpp829 RSExportType *RSExportType::Create(RSContext *Context, in Create() function in slang::RSExportType
850 ET = RSExportRecordType::Create(Context, in Create()
857 ET = RSExportMatrixType::Create(Context, in Create()
865 ET = RSExportMatrixType::Create(Context, in Create()
873 ET = RSExportMatrixType::Create(Context, in Create()
881 ET = RSExportPrimitiveType::Create(Context, T, TypeName); in Create()
888 ET = RSExportPrimitiveType::Create(Context, T, TypeName); in Create()
892 ET = RSExportPointerType::Create(Context, in Create()
900 ET = RSExportVectorType::Create(Context, in Create()
906 ET = RSExportConstantArrayType::Create( in Create()
[all …]
Dslang_rs_export_type.h232 static RSExportType *Create(RSContext *Context,
280 static RSExportType *Create(RSContext *Context, const clang::Type *T,
382 static RSExportPrimitiveType *Create(RSContext *Context,
409 static RSExportPrimitiveType *Create(RSContext *Context,
467 static RSExportPointerType *Create(RSContext *Context,
500 static RSExportVectorType *Create(RSContext *Context,
548 static RSExportMatrixType *Create(RSContext *Context,
575 static RSExportConstantArrayType *Create(RSContext *Context,
661 static RSExportRecordType *Create(RSContext *Context,
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64CA53ErratumStub.cpp90 FragmentRef::Create(*this, initSymValue()), in applyFixup()
96 FragmentRef* target = FragmentRef::Create(*pSrcFragRef.frag(), in applyFixup()
106 Relocation::Create((*it)->type(), in applyFixup()
107 *(FragmentRef::Create(*this, (*it)->offset())), in applyFixup()
119 reloc = Relocation::Create((*it)->type(), in applyFixup()
120 *(FragmentRef::Create(*this, (*it)->offset())), in applyFixup()
/frameworks/base/tools/aapt2/compile/
DNinePatch_test.cpp186 EXPECT_EQ(nullptr, NinePatch::Create(k2x2, 2, 2, &err)); in TEST()
192 EXPECT_EQ(nullptr, NinePatch::Create(kMixedNeutralColor3x3, 3, 3, &err)); in TEST()
199 NinePatch::Create(kTransparentNeutralColor3x3, 3, 3, &err)); in TEST()
205 NinePatch::Create(kSingleStretch7x6, 7, 6, &err); in TEST()
218 NinePatch::Create(kMultipleStretch10x7, 10, 7, &err); in TEST()
235 NinePatch::Create(kMultipleStretch10x7, 10, 7, &err); in TEST()
243 NinePatch::Create(kPadding6x5, 6, 5, &err); in TEST()
250 EXPECT_EQ(nullptr, NinePatch::Create(kLayoutBoundsWrongEdge3x3, 3, 3, &err)); in TEST()
257 NinePatch::Create(kLayoutBoundsNotEdgeAligned5x5, 5, 5, &err)); in TEST()
264 NinePatch::Create(kLayoutBounds5x5, 5, 5, &err); in TEST()
[all …]
/frameworks/native/libs/vr/libvrflinger/
Dvr_flinger.cpp31 std::unique_ptr<VrFlinger> VrFlinger::Create( in Create() function in android::dvr::VrFlinger
74 dispatcher_ = android::pdx::ServiceDispatcher::Create(); in Init()
78 android::dvr::DisplayService::Create(hidl, request_display_callback); in Init()
82 service = android::dvr::DisplayManagerService::Create(display_service_); in Init()
86 service = android::dvr::VSyncService::Create(); in Init()
/frameworks/native/libs/vr/libperformance/
Dperformance_client.cpp16 : BASE(pdx::default_transport::ClientChannelFactory::Create( in PerformanceClient()
118 if (auto client = android::dvr::PerformanceClient::Create(&error)) in dvrSetCpuPartition()
127 if (auto client = android::dvr::PerformanceClient::Create(&error)) in dvrSetSchedulerPolicy()
136 if (auto client = android::dvr::PerformanceClient::Create(&error)) in dvrSetSchedulerClass()
144 if (auto client = android::dvr::PerformanceClient::Create(&error)) in dvrGetCpuPartition()
/frameworks/native/libs/vr/libbufferhub/
Dbufferhub_tests.cpp35 std::unique_ptr<BufferProducer> p = BufferProducer::Create( in TEST_F()
97 std::unique_ptr<BufferProducer> p = BufferProducer::Create( in TEST_F()
158 std::unique_ptr<BufferProducer> p = BufferProducer::Create( in TEST_F()
192 std::unique_ptr<BufferProducer> p = BufferProducer::Create( in TEST_F()
248 std::unique_ptr<BufferProducer> p = BufferProducer::Create( in TEST_F()
279 std::unique_ptr<BufferProducer> p = BufferProducer::Create( in TEST_F()
308 std::unique_ptr<BufferProducer> p = BufferProducer::Create( in TEST_F()
333 std::unique_ptr<BufferProducer> p = BufferProducer::Create( in TEST_F()
349 BufferProducer::Create(kWidth, kHeight, kFormat, kUsage); in TEST_F()
363 BufferProducer::Create(kWidth, kHeight, kFormat, kUsage); in TEST_F()
[all …]
/frameworks/compile/mclinker/lib/Core/
DIRBuilder.cpp275 LDSection* header = LDSection::Create(pName, kind, pType, pFlag); in CreateELFHeader()
287 SectionData* sect_data = SectionData::Create(pSection); in CreateSectionData()
296 RelocData* reloc_data = RelocData::Create(pSection); in CreateRelocData()
305 EhFrame* eh_frame = EhFrame::Create(pSection); in CreateEhFrame()
314 DebugString* debug_str = DebugString::Create(pSection); in CreateDebugString()
325 SectionData* sect_data = SectionData::Create(pSection); in CreateBSS()
435 frag = FragmentRef::Create(*pSection, pValue); in AddSymbol()
496 LDSymbol* input_sym = LDSymbol::Create(*resolved_result.info); in addSymbolFromObject()
512 output_sym = LDSymbol::Create(*resolved_result.info); in addSymbolFromObject()
572 LDSymbol* input_sym = LDSymbol::Create(*resolved_result.info); in addSymbolFromDynObj()
[all …]
/frameworks/compile/mclinker/lib/Fragment/
DStub.cpp52 FragmentRef::Create(*this, initSymValue()), in applyFixup()
59 Relocation::Create((*it)->type(), in applyFixup()
60 *(FragmentRef::Create(*this, (*it)->offset())), in applyFixup()
/frameworks/hardware/interfaces/sensorservice/1.0/
DISensorManager.hal54 * Create direct channel based on shared memory
56 * Create a direct channel of DIRECT_CHANNEL_ASHMEM type to be used
88 * Create direct channel based on hardware buffer
90 * Create a direct channel of DIRECT_CHANNEL_GRALLOC type to be used
107 * Create a sensor event queue.
109 * Create a sensor event queue with an IEventQueueCallback object.
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dclient_channel_factory.h14 static std::unique_ptr<pdx::ClientChannelFactory> Create(
16 static std::unique_ptr<pdx::ClientChannelFactory> Create(LocalHandle socket);

12345678910