Home
last modified time | relevance | path

Searched refs:Source (Results 1 – 25 of 527) sorted by relevance

12345678910>>...22

/frameworks/compile/libbcc/lib/Core/
DSource.cpp59 void Source::setModule(llvm::Module *pModule) { in setModule()
64 Source *Source::CreateFromBuffer(BCCContext &pContext, in CreateFromBuffer()
87 Source *result = CreateFromModule(pContext, pName, *module, /* pNoDelete */false); in CreateFromBuffer()
95 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) { in CreateFromFile()
117 Source *result = CreateFromModule(pContext, pPath.c_str(), *module, /* pNoDelete */false); in CreateFromFile()
125 Source *Source::CreateFromModule(BCCContext &pContext, const char* name, llvm::Module &pModule, in CreateFromModule()
136 Source *result = new (std::nothrow) Source(name, pContext, pModule, pNoDelete); in CreateFromModule()
144 Source::Source(const char* name, BCCContext &pContext, llvm::Module &pModule, in Source() function in bcc::Source
151 Source::~Source() { in ~Source()
158 bool Source::merge(Source &pSource) { in merge()
[all …]
DScript.cpp23 bool Script::reset(Source &pSource, bool pPreserveCurrent) { in reset()
35 bool Script::mergeSource(Source &pSource) { in mergeSource()
/frameworks/base/tools/aapt2/
DSource.h32 struct Source { struct
36 Source() = default; argument
38 inline Source(const StringPiece& path) : path(path.toString()) { in Source() argument
41 inline Source(const StringPiece& path, size_t line) : path(path.toString()), line(line) { in Source() function
44 inline Source withLine(size_t line) const { in withLine() argument
45 return Source(path, line); in withLine()
53 inline ::std::ostream& operator<<(::std::ostream& out, const Source& source) {
61 inline bool operator==(const Source& lhs, const Source& rhs) {
65 inline bool operator<(const Source& lhs, const Source& rhs) {
DFormat.proto2 * Copyright (C) 2016 The Android Open Source Project
70 optional Source source = 2;
86 message Source { message
125 optional Source source = 1;
138 optional Source source = 1;
145 optional Source parent_source = 2;
151 optional Source source = 1;
160 optional Source source = 1;
178 optional Source source = 1;
204 optional Source source = 1;
DDiagnostics.h32 Source source;
38 Source mSource;
47 DiagMessage(const Source& src) : mSource(src) { in DiagMessage()
50 DiagMessage(size_t line) : mSource(Source().withLine(line)) { in DiagMessage()
130 SourcePathDiagnostics(const Source& src, IDiagnostics* diag) : mSource(src), mDiag(diag) { in SourcePathDiagnostics()
139 Source mSource;
/frameworks/compile/libbcc/include/bcc/
DScript.h22 class Source; variable
28 Source *mSource;
36 Script(Source &pSource) : mSource(&pSource) { } in Script()
45 bool reset(Source &pSource, bool pPreserveCurrent = false);
51 bool mergeSource(Source &pSource);
53 inline Source &getSource() in getSource()
55 inline const Source &getSource() const in getSource()
DSource.h34 class Source {
50 Source(const char* name, BCCContext &pContext, llvm::Module &pModule,
54 static Source *CreateFromBuffer(BCCContext &pContext,
59 static Source *CreateFromFile(BCCContext &pContext,
64 static Source *CreateFromModule(BCCContext &pContext,
69 static Source *CreateEmpty(BCCContext &pContext, const std::string &pName);
75 bool merge(Source &pSource);
107 ~Source();
DBCCContext.h27 class Source; variable
42 void addSource(Source &pSource);
43 void removeSource(Source &pSource);
/frameworks/base/tools/aapt2/link/
DProductFilter_test.cpp35 .setSource(Source("land/default.xml")).build(), in TEST()
40 .setSource(Source("land/tablet.xml")).build(), in TEST()
46 .setSource(Source("port/default.xml")).build(), in TEST()
51 .setSource(Source("port/tablet.xml")).build(), in TEST()
74 .setSource(Source("default.xml")).build(), in TEST()
79 .setSource(Source("tablet.xml")).build(), in TEST()
100 .setSource(Source("default.xml")).build(), in TEST()
105 .setSource(Source("tablet.xml")).build(), in TEST()
110 .setSource(Source("no-sdcard.xml")).build(), in TEST()
124 .setSource(Source(".xml")).build(), in TEST()
[all …]
DTableMerger.h70 bool merge(const Source& src, ResourceTable* table,
77 bool mergeOverlay(const Source& src, ResourceTable* table,
84 bool mergeAndMangle(const Source& src, const StringPiece16& package, ResourceTable* table,
111 bool mergeImpl(const Source& src, ResourceTable* srcTable, io::IFileCollection* collection,
114 bool doMerge(const Source& src, ResourceTable* srcTable, ResourceTablePackage* srcPackage,
/frameworks/base/tools/aapt2/java/
DProguardRules.h34 inline void addClass(const Source& source, const std::u16string& className) { in addClass()
38 inline void addMethod(const Source& source, const std::u16string& methodName) { in addMethod()
45 std::map<std::u16string, std::set<Source>> mKeepSet;
46 std::map<std::u16string, std::set<Source>> mKeepMethodSet;
49 bool collectProguardRulesForManifest(const Source& source, xml::XmlResource* res, KeepSet* keepSet);
50 bool collectProguardRules(const Source& source, xml::XmlResource* res, KeepSet* keepSet);
DProguardRules.cpp29 BaseVisitor(const Source& source, KeepSet* keepSet) : mSource(source), mKeepSet(keepSet) { in BaseVisitor()
62 mKeepSet->addClass(Source(mSource.path, lineNumber), className); in addClass()
66 mKeepSet->addMethod(Source(mSource.path, lineNumber), methodName); in addMethod()
70 Source mSource;
75 LayoutVisitor(const Source& source, KeepSet* keepSet) : BaseVisitor(source, keepSet) { in LayoutVisitor()
104 XmlResourceVisitor(const Source& source, KeepSet* keepSet) : BaseVisitor(source, keepSet) { in XmlResourceVisitor()
125 TransitionVisitor(const Source& source, KeepSet* keepSet) : BaseVisitor(source, keepSet) { in TransitionVisitor()
143 ManifestVisitor(const Source& source, KeepSet* keepSet) : BaseVisitor(source, keepSet) { in ManifestVisitor()
187 bool collectProguardRulesForManifest(const Source& source, xml::XmlResource* res, in collectProguardRulesForManifest()
197 bool collectProguardRules(const Source& source, xml::XmlResource* res, KeepSet* keepSet) { in collectProguardRules()
[all …]
/frameworks/base/tools/aapt2/proto/
DProtoHelpers.h33 void serializeSourceToPb(const Source& source, StringPool* srcPool, pb::Source* outPbSource);
34 void deserializeSourceFromPb(const pb::Source& pbSource, const android::ResStringPool& srcPool,
35 Source* outSource);
/frameworks/compile/libbcc/lib/Renderscript/
DRSScript.cpp32 Source *libclcore_source = Source::CreateFromFile(context, core_lib); in LinkRuntime()
52 RSScript::RSScript(Source &pSource) in RSScript()
58 RSScript::RSScript(Source &pSource, const CompilerConfig * pCompilerConfig): RSScript(pSource) in RSScript()
DRSCompilerDriver.cpp261 Source *source = Source::CreateFromBuffer(pContext, pResName, in build()
312 const std::vector<Source*>& sources, in buildScriptGroup()
320 for (Source* source : sources) { in buildScriptGroup()
335 for (Source* source : sources) { in buildScriptGroup()
352 std::vector<Source*> sourcesToFuse; in buildScriptGroup()
373 Source* source = sources[p.first]; in buildScriptGroup()
385 const std::unique_ptr<Source> source( in buildScriptGroup()
386 Source::CreateFromModule(Context, pOutputFilepath, module, true)); in buildScriptGroup()
DRSScriptGroupFusion.cpp39 const Function* getInvokeFunction(const Source& source, const int slot, in getInvokeFunction()
52 getFunction(Module* mergedModule, const Source* source, const int slot, in getFunction()
91 int getFusedFuncSig(const std::vector<Source*>& sources, in getFusedFuncSig()
98 for (const Source* source : sources) { in getFusedFuncSig()
134 const std::vector<Source*>& sources, in getFusedFuncType()
177 const std::vector<Source *>& sources, in fuseKernels()
227 for (const Source* source : sources) { in fuseKernels()
319 bool renameInvoke(BCCContext& Context, const Source* source, const int slot, in renameInvoke()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.h96 enum Source {SOURCE_SINK = 0, SOURCE_SCRATCH = 1}; enum
135 static Source fbSourceForCompositionType(CompositionType type);
136 status_t dequeueBuffer(Source source, PixelFormat format, uint32_t usage,
148 static int mapSource2ProducerSlot(Source source, int sslot);
149 static int mapProducer2SourceSlot(Source source, int pslot);
247 static const char* dbgSourceStr(Source s);
/frameworks/compile/libbcc/include/bcc/Renderscript/
DRSScriptGroupFusion.h29 class Source; variable
42 const std::vector<Source *>& sources,
47 bool renameInvoke(BCCContext& Context, const Source* source, const int slot,
DRSScript.h30 class Source; variable
72 RSScript(Source &pSource);
76 RSScript(Source &pSource, const CompilerConfig * pCompilerConfig);
/frameworks/base/tools/aapt2/dump/
DDump.cpp35 const Source& source, IAaptContext* context) { in dumpCompiledFile()
47 void dumpCompiledTable(const pb::ResourceTable& pbTable, const Source& source, in dumpCompiledTable()
79 pbTable, Source(filePath), context->getDiagnostics()); in tryDumpFile()
100 dumpCompiledTable(pbTable, Source(filePath), context); in tryDumpFile()
107 dumpCompiledFile(*pbFile, input.data(), input.size(), Source(filePath), context); in tryDumpFile()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerSource.h33 struct NuPlayer::Source : public AHandler { struct
62 Source(const sp<AMessage> &notify) in Source() argument
126 virtual ~Source() {} in ~Source() argument
140 DISALLOW_EVIL_CONSTRUCTORS(Source); argument
DNuPlayer.cpp248 sp<Source> source; in setDataSourceAsync()
403 sp<Source> source; in resetAsync()
494 mSource = static_cast<Source *>(obj.get()); in onMessageReceived()
907 if (mSourceFlags & Source::FLAG_DYNAMIC_DURATION) { in onMessageReceived()
1065 if (!audio && mSource != NULL && mSourceFlags & Source::FLAG_SECURE) { in onMessageReceived()
1290 if (!(mSourceFlags & Source::FLAG_SECURE)) { in onInstantiateSecureDecoders()
1435 if (mSource != NULL && mSourceFlags & Source::FLAG_SECURE) { in handleFlushComplete()
1603 if (mSourceFlags & Source::FLAG_SECURE) { in instantiateDecoder()
1607 if (mSourceFlags & Source::FLAG_PROTECTED) { in instantiateDecoder()
1659 if (!audio && (mSourceFlags & Source::FLAG_SECURE)) { in instantiateDecoder()
[all …]
/frameworks/base/tools/aapt2/io/
DFileSystem.h32 RegularFile(const Source& source);
35 const Source& getSource() const override;
38 Source mSource;
DZipArchive.h35 ZipFile(ZipArchiveHandle handle, const ZipEntry& entry, const Source& source);
38 const Source& getSource() const override;
43 Source mSource;
DFileSystem.cpp29 RegularFile::RegularFile(const Source& source) : mSource(source) { in RegularFile()
43 const Source& RegularFile::getSource() const { in getSource()
62 return (mFiles[path.toString()] = util::make_unique<RegularFile>(Source(path))).get(); in insertFile()

12345678910>>...22