Home
last modified time | relevance | path

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

12345678910>>...26

/frameworks/base/tools/aapt2/
DSource.h33 struct Source { struct
37 Source() = default; argument
39 inline Source(const android::StringPiece& path) : path(path.to_string()) { // NOLINT(implicit) in Source() function
42 inline Source(const android::StringPiece& path, size_t line) in Source() function
45 inline Source WithLine(size_t line) const { return Source(path, line); } in WithLine() argument
52 inline ::std::ostream& operator<<(::std::ostream& out, const Source& source) {
60 inline bool operator==(const Source& lhs, const Source& rhs) {
64 inline bool operator<(const Source& lhs, const Source& rhs) {
DFormat.proto2 * Copyright (C) 2016 The Android Open Source Project
70 optional Source source = 2;
87 message Source { message
126 optional Source source = 1;
139 optional Source source = 1;
146 optional Source parent_source = 2;
152 optional Source source = 1;
161 optional Source source = 1;
179 optional Source source = 1;
205 optional Source source = 1;
DDiagnostics.h33 Source source;
43 explicit DiagMessage(const Source& src) : source_(src) {} in DiagMessage()
45 explicit DiagMessage(size_t line) : source_(Source().WithLine(line)) {} in DiagMessage()
58 Source source_;
130 SourcePathDiagnostics(const Source& src, IDiagnostics* diag) in SourcePathDiagnostics()
139 Source source_;
DLoadedApk.h34 const Source& source, in LoadedApk()
43 const Source& GetSource() { return source_; } in GetSource()
56 Source source_;
/frameworks/compile/libbcc/lib/
DSource.cpp86 unsigned Source::getCompilerVersion() const { in getCompilerVersion()
90 void Source::getWrapperInformation(unsigned *compilerVersion, in getWrapperInformation()
97 void Source::setModule(llvm::Module *pModule) { in setModule()
102 Source *Source::CreateFromBuffer(BCCContext &pContext, in CreateFromBuffer()
128 Source *result = CreateFromModule(pContext, pName, *module, in CreateFromBuffer()
138 Source *Source::CreateFromFile(BCCContext &pContext, const std::string &pPath) { in CreateFromFile()
165 Source *result = CreateFromModule(pContext, pPath.c_str(), *module, in CreateFromFile()
175 Source *Source::CreateFromModule(BCCContext &pContext, const char* name, llvm::Module &pModule, in CreateFromModule()
188 Source *result = new (std::nothrow) Source(name, pContext, pModule, pNoDelete); in CreateFromModule()
197 Source::Source(const char* name, BCCContext &pContext, llvm::Module &pModule, in Source() function in bcc::Source
[all …]
DScript.cpp31 Script::Script(Source *pSource) in Script()
43 Source *libclcore_source = Source::CreateFromFile(context, core_lib); in LinkRuntime()
88 bool Script::mergeSource(Source &pSource) { return mSource->merge(pSource); } in mergeSource()
DRSScriptGroupFusion.h29 class Source; variable
42 const std::vector<Source *>& sources,
47 bool renameInvoke(BCCContext& Context, const Source* source, const int slot,
DRSCompilerDriver.cpp255 Source *source = Source::CreateFromBuffer(pContext, pResName, in build()
306 const std::vector<Source*>& sources, in buildScriptGroup()
314 for (Source* source : sources) { in buildScriptGroup()
331 for (Source* source : sources) { in buildScriptGroup()
367 std::vector<Source*> sourcesToFuse; in buildScriptGroup()
388 Source* source = sources[p.first]; in buildScriptGroup()
400 const std::unique_ptr<Source> source( in buildScriptGroup()
401 Source::CreateFromModule(Context, pOutputFilepath, module, in buildScriptGroup()
DBCCContextImpl.h26 class Source; variable
37 llvm::SmallPtrSet<Source *, 2> mOwnSources;
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/compile/libbcc/include/bcc/
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,
75 bool merge(Source &pSource);
112 ~Source();
DScript.h32 class Source; variable
43 Source *mSource;
60 explicit Script(Source *pSource);
112 bool mergeSource(Source &pSource);
114 inline Source &getSource() { return *mSource; } in getSource()
115 inline const Source &getSource() const { return *mSource; } in getSource()
DBCCContext.h27 class Source; variable
42 void addSource(Source &pSource);
43 void removeSource(Source &pSource);
/frameworks/base/tools/aapt2/link/
DProductFilter_test.cpp32 test::ValueBuilder<Id>().SetSource(Source("land/default.xml")).Build(), in TEST()
36 test::ValueBuilder<Id>().SetSource(Source("land/tablet.xml")).Build(), in TEST()
41 test::ValueBuilder<Id>().SetSource(Source("port/default.xml")).Build(), in TEST()
45 test::ValueBuilder<Id>().SetSource(Source("port/tablet.xml")).Build(), in TEST()
68 test::ValueBuilder<Id>().SetSource(Source("default.xml")).Build(), in TEST()
73 test::ValueBuilder<Id>().SetSource(Source("tablet.xml")).Build(), in TEST()
94 test::ValueBuilder<Id>().SetSource(Source("default.xml")).Build(), in TEST()
99 test::ValueBuilder<Id>().SetSource(Source("tablet.xml")).Build(), in TEST()
104 test::ValueBuilder<Id>().SetSource(Source("no-sdcard.xml")).Build(), in TEST()
118 test::ValueBuilder<Id>().SetSource(Source(".xml")).Build(), in TEST()
[all …]
DTableMerger.h82 bool Merge(const Source& src, ResourceTable* table,
90 bool MergeOverlay(const Source& src, ResourceTable* table,
99 bool MergeAndMangle(const Source& src, const android::StringPiece& package, ResourceTable* table,
129 bool MergeImpl(const Source& src, ResourceTable* src_table,
132 bool DoMerge(const Source& src, ResourceTable* src_table,
/frameworks/base/tools/aapt2/java/
DProguardRules.h34 inline void AddClass(const Source& source, const std::string& class_name) { in AddClass()
38 inline void AddMethod(const Source& source, const std::string& method_name) { in AddMethod()
45 std::map<std::string, std::set<Source>> keep_set_;
46 std::map<std::string, std::set<Source>> keep_method_set_;
49 bool CollectProguardRulesForManifest(const Source& source,
52 bool CollectProguardRules(const Source& source, xml::XmlResource* res,
DProguardRules.cpp32 BaseVisitor(const Source& source, KeepSet* keep_set) in BaseVisitor()
65 keep_set_->AddClass(Source(source_.path, line_number), class_name); in AddClass()
69 keep_set_->AddMethod(Source(source_.path, line_number), method_name); in AddMethod()
75 Source source_;
81 LayoutVisitor(const Source& source, KeepSet* keep_set) in LayoutVisitor()
115 XmlResourceVisitor(const Source& source, KeepSet* keep_set) in XmlResourceVisitor()
142 TransitionVisitor(const Source& source, KeepSet* keep_set) in TransitionVisitor()
165 ManifestVisitor(const Source& source, KeepSet* keep_set, bool main_dex_only) in ManifestVisitor()
234 bool CollectProguardRulesForManifest(const Source& source, in CollectProguardRulesForManifest()
245 bool CollectProguardRules(const Source& source, xml::XmlResource* res, in CollectProguardRules()
[all …]
/frameworks/base/tools/aapt2/proto/
DProtoHelpers.h33 void SerializeSourceToPb(const Source& source, StringPool* src_pool,
34 pb::Source* out_pb_source);
36 void DeserializeSourceFromPb(const pb::Source& pb_source,
38 Source* out_source);
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.h97 enum Source {SOURCE_SINK = 0, SOURCE_SCRATCH = 1}; enum
137 static Source fbSourceForCompositionType(CompositionType type);
138 status_t dequeueBuffer(Source source, PixelFormat format, uint32_t usage,
150 static int mapSource2ProducerSlot(Source source, int sslot);
151 static int mapProducer2SourceSlot(Source source, int pslot);
251 static const char* dbgSourceStr(Source s);
/frameworks/base/tools/aapt2/io/
DFileSystem.h32 explicit RegularFile(const Source& source);
35 const Source& GetSource() const override;
38 Source source_;
DZipArchive.h39 ZipFile(ZipArchiveHandle handle, const ZipEntry& entry, const Source& source);
42 const Source& GetSource() const override;
48 Source source_;
DFileSystem.cpp32 RegularFile::RegularFile(const Source& source) : source_(source) {} in RegularFile()
45 const Source& RegularFile::GetSource() const { return source_; } in GetSource()
59 return (files_[path.to_string()] = util::make_unique<RegularFile>(Source(path))).get(); in InsertFile()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerSource.h34 struct NuPlayer::Source : public AHandler { struct
65 explicit Source(const sp<AMessage> &notify) in Source() function
150 virtual ~Source() {} in ~Source() argument
166 DISALLOW_EVIL_CONSTRUCTORS(Source); argument
DNuPlayer.cpp259 sp<Source> source; in setDataSourceAsync()
454 sp<Source> source; in resetAsync()
546 mSource = static_cast<Source *>(obj.get()); in onMessageReceived()
1004 if (mSourceFlags & Source::FLAG_DYNAMIC_DURATION) { in onMessageReceived()
1436 if (!(mSourceFlags & Source::FLAG_SECURE)) { in onInstantiateSecureDecoders()
1780 if (mSourceFlags & Source::FLAG_SECURE) { in instantiateDecoder()
1784 if (mSourceFlags & Source::FLAG_PROTECTED) { in instantiateDecoder()
1841 (mSourceFlags & Source::FLAG_SECURE) != 0); in instantiateDecoder()
2323 case Source::kWhatInstantiateSecureDecoders: in onSourceNotify()
2340 case Source::kWhatPrepared: in onSourceNotify()
[all …]
/frameworks/base/tools/aapt2/cmd/
DDump.cpp35 const Source& source, IAaptContext* context) { in DumpCompiledFile()
69 table = DeserializeTableFromPb(pb_table, Source(file_path), context->GetDiagnostics()); in TryDumpFile()
86 BinaryResourceParser parser(context, table.get(), Source(file_path), data->data(), in TryDumpFile()
107 table = DeserializeTableFromPb(pb_table, Source(file_path), context->GetDiagnostics()); in TryDumpFile()
133 DumpCompiledFile(compiled_file, data, len, Source(file_path), context); in TryDumpFile()

12345678910>>...26