Home
last modified time | relevance | path

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

12345678910>>...13

/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/libs/binary_translation/base/
Dexec_region_elf_backed_test.cc30 ExecRegion exec = ExecRegionElfBackedFactory::Create(sizeof(buf)); in TEST()
53 auto region1 = ExecRegionElfBackedFactory::Create(1); in TEST()
54 auto region2 = ExecRegionElfBackedFactory::Create(1); in TEST()
61 auto region = ExecRegionElfBackedFactory::Create(ExecRegionElfBackedFactory::kExecRegionSize); in TEST()
65 (void)ExecRegionElfBackedFactory::Create(ExecRegionElfBackedFactory::kExecRegionSize + 1), 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 …]
/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_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_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_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/libs/androidfw/tests/
DNinePatch_test.cpp166 EXPECT_EQ(nullptr, NinePatch::Create(k2x2, 2, 2, &err)); in TEST()
172 EXPECT_EQ(nullptr, NinePatch::Create(kMixedNeutralColor3x3, 3, 3, &err)); in TEST()
178 EXPECT_NE(nullptr, NinePatch::Create(kTransparentNeutralColor3x3, 3, 3, &err)); in TEST()
183 std::unique_ptr<NinePatch> nine_patch = NinePatch::Create(kSingleStretch7x6, 7, 6, &err); in TEST()
195 std::unique_ptr<NinePatch> nine_patch = NinePatch::Create(kMultipleStretch10x7, 10, 7, &err); in TEST()
211 std::unique_ptr<NinePatch> nine_patch = NinePatch::Create(kMultipleStretch10x7, 10, 7, &err); in TEST()
218 std::unique_ptr<NinePatch> nine_patch = NinePatch::Create(kPadding6x5, 6, 5, &err); in TEST()
225 EXPECT_EQ(nullptr, NinePatch::Create(kLayoutBoundsWrongEdge3x3, 3, 3, &err)); in TEST()
231 EXPECT_EQ(nullptr, NinePatch::Create(kLayoutBoundsNotEdgeAligned5x5, 5, 5, &err)); in TEST()
237 std::unique_ptr<NinePatch> nine_patch = NinePatch::Create(kLayoutBounds5x5, 5, 5, &err); in TEST()
[all …]
/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/base/core/jni/
Dandroid_content_res_ApkAssets.cpp112 static std::unique_ptr<AssetsProvider> Create(JNIEnv* env, jobject assets_provider) { in Create() function in android::LoaderAssetsProvider
113 return (!assets_provider) ? EmptyAssetsProvider::Create() in Create()
231 auto loader_assets = LoaderAssetsProvider::Create(env, assets_provider); in NativeLoad()
235 auto assets = MultiAssetsProvider::Create(std::move(loader_assets), in NativeLoad()
236 ZipAssetsProvider::Create(path.c_str(), in NativeLoad()
250 auto assets = MultiAssetsProvider::Create(std::move(loader_assets), in NativeLoad()
251 DirectoryAssetsProvider::Create(path.c_str())); in NativeLoad()
291 auto loader_assets = LoaderAssetsProvider::Create(env, assets_provider); in NativeLoadFromFd()
296 MultiAssetsProvider::Create(std::move(loader_assets), in NativeLoadFromFd()
297 ZipAssetsProvider::Create(std::move(dup_fd), in NativeLoadFromFd()
[all …]
/frameworks/base/packages/CredentialManager/wear/robotests/src/com/android/credentialmanager/
DCredentialSelectorViewModelTest.kt50 private val stateFlow: MutableStateFlow<Request?> = MutableStateFlow(Request.Create(null))
94 fun `Setting state to create when receiving Create request`() { in Setting state to create when receiving Create request()
95 stateFlow.value = Request.Create(token = null) in Setting state to create when receiving Create request()
98 assertThat(mViewModel.uiState.value).isEqualTo(CredentialSelectorUiState.Create) in Setting state to create when receiving Create request()
148 stateFlow.value = Request.Create(token = null) in Back on create request state closes app()
225 stateFlow.value = Request.Create(null) in Send entry selection result does not close app on false return()
237 assertThat(mViewModel.uiState.value).isEqualTo(CredentialSelectorUiState.Create) in Send entry selection result does not close app on false return()
/frameworks/compile/mclinker/lib/Core/
DIRBuilder.cpp276 LDSection* header = LDSection::Create(pName, kind, pType, pFlag); in CreateELFHeader()
288 SectionData* sect_data = SectionData::Create(pSection); in CreateSectionData()
297 RelocData* reloc_data = RelocData::Create(pSection); in CreateRelocData()
306 EhFrame* eh_frame = EhFrame::Create(pSection); in CreateEhFrame()
315 DebugString* debug_str = DebugString::Create(pSection); in CreateDebugString()
326 SectionData* sect_data = SectionData::Create(pSection); in CreateBSS()
436 frag = FragmentRef::Create(*pSection, pValue); in AddSymbol()
497 LDSymbol* input_sym = LDSymbol::Create(*resolved_result.info); in addSymbolFromObject()
513 output_sym = LDSymbol::Create(*resolved_result.info); in addSymbolFromObject()
573 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/base/libs/androidfw/include/androidfw/
DAssetsProvider.h84 static std::unique_ptr<ZipAssetsProvider> Create(std::string path, package_property_t flags,
87 static std::unique_ptr<ZipAssetsProvider> Create(base::unique_fd fd,
143 static std::unique_ptr<DirectoryAssetsProvider> Create(std::string root_dir);
167 static std::unique_ptr<AssetsProvider> Create(std::unique_ptr<AssetsProvider>&& primary,
194 static std::unique_ptr<AssetsProvider> Create();
195 static std::unique_ptr<AssetsProvider> Create(std::string path);
/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub-test.cpp57 std::unique_ptr<ProducerBuffer> p = ProducerBuffer::Create( in TEST_F()
107 std::unique_ptr<ProducerBuffer> p = ProducerBuffer::Create( in TEST_F()
175 std::unique_ptr<ProducerBuffer> p = ProducerBuffer::Create( in TEST_F()
208 std::unique_ptr<ProducerBuffer> p = ProducerBuffer::Create( in TEST_F()
252 std::unique_ptr<ProducerBuffer> p = ProducerBuffer::Create( in TEST_F()
315 std::unique_ptr<ProducerBuffer> p = ProducerBuffer::Create( in TEST_F()
324 std::unique_ptr<ProducerBuffer> p = ProducerBuffer::Create( in TEST_F()
341 std::unique_ptr<ProducerBuffer> p = ProducerBuffer::Create( in TEST_F()
360 std::unique_ptr<ProducerBuffer> p = ProducerBuffer::Create( in TEST_F()
377 std::unique_ptr<ProducerBuffer> p = ProducerBuffer::Create( in TEST_F()
[all …]
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/
DCredentialSelectorViewModel.kt33 import com.android.credentialmanager.CredentialSelectorUiState.Create in <lambda>()
70 is Request.Create -> Create in <lambda>()
88 is Create, Close, is Cancel, Idle -> shouldClose.value = true in <lambda>()
/frameworks/base/cmds/idmap2/tests/
DXmlParserTests.cpp29 auto zip = ZipAssetsProvider::Create(GetTestDataPath() + "/target/target.apk", 0 /* flags */); in CreateTestParser()
39 return XmlParser::Create(data->getBuffer(true /* aligned*/), data->getLength(), in CreateTestParser()
43 TEST(XmlParserTests, Create) { in TEST() argument
49 auto fail = XmlParser::Create(reinterpret_cast<const uint8_t*>(not_xml), strlen(not_xml)); in TEST()
/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);
/frameworks/base/libs/androidfw/
DAssetsProvider.cpp63 if (!file_map.Create(fd, offset, static_cast<size_t>(length), path)) { in CreateAssetFromFd()
95 std::unique_ptr<ZipAssetsProvider> ZipAssetsProvider::Create(std::string path, in Create() function in android::ZipAssetsProvider
122 std::unique_ptr<ZipAssetsProvider> ZipAssetsProvider::Create(base::unique_fd fd, in Create() function in android::ZipAssetsProvider
177 if (!asset_map.Create(fd, entry.offset + fd_offset, entry.compressed_length, in OpenInternal()
194 if (!asset_map.Create(fd, entry.offset + fd_offset, entry.uncompressed_length, in OpenInternal()
301 std::unique_ptr<DirectoryAssetsProvider> DirectoryAssetsProvider::Create(std::string path) { in Create() function in android::DirectoryAssetsProvider
370 std::unique_ptr<AssetsProvider> MultiAssetsProvider::Create( in Create() function in android::MultiAssetsProvider
407 std::unique_ptr<AssetsProvider> EmptyAssetsProvider::Create() { in Create() function in android::EmptyAssetsProvider
411 std::unique_ptr<AssetsProvider> EmptyAssetsProvider::Create(std::string path) { in Create() function in android::EmptyAssetsProvider

12345678910>>...13