Home
last modified time | relevance | path

Searched refs:EXPORT (Results 1 – 25 of 110) sorted by relevance

12345

/art/runtime/arch/
Dinstruction_set_features.h39 EXPORT static std::unique_ptr<const InstructionSetFeatures> FromVariant(
45 EXPORT static std::unique_ptr<const InstructionSetFeatures> FromVariantAndHwcap(
49 EXPORT static std::unique_ptr<const InstructionSetFeatures> FromBitmap(InstructionSet isa,
53 EXPORT static std::unique_ptr<const InstructionSetFeatures> FromCppDefines();
85 EXPORT std::unique_ptr<const InstructionSetFeatures> AddFeaturesFromString(
122 EXPORT const Arm64InstructionSetFeatures* AsArm64InstructionSetFeatures() const;
125 EXPORT const Riscv64InstructionSetFeatures* AsRiscv64InstructionSetFeatures() const;
154 EXPORT std::ostream& operator<<(std::ostream& os, const InstructionSetFeatures& rhs);
/art/runtime/oat/
Doat_file.h81 EXPORT std::ostream& operator<<(std::ostream& os, OatClassType rhs);
110 EXPORT static OatFile* Open(int zip_fd,
120 EXPORT static OatFile* Open(int zip_fd, in Open()
202 EXPORT CompilerFilter::Filter GetCompilerFilter() const;
212 EXPORT const OatHeader& GetOatHeader() const;
271 EXPORT const OatMethod GetOatMethod(uint32_t method_index) const;
276 EXPORT const OatMethodOffsets* GetOatMethodOffsets(uint32_t method_index) const;
281 EXPORT uint32_t GetOatMethodOffsetsOffset(uint32_t method_index) const;
364 EXPORT const uint8_t* Begin() const;
365 EXPORT const uint8_t* End() const;
[all …]
Doat_file_assistant.h165 EXPORT OatFileAssistant(const char* dex_location,
175 EXPORT OatFileAssistant(const char* dex_location,
189 EXPORT static std::unique_ptr<OatFileAssistant> Create(
201 EXPORT bool IsInBootClassPath();
219 EXPORT int GetDexOptNeeded(CompilerFilter::Filter target_compiler_filter,
225 EXPORT bool GetDexOptNeeded(CompilerFilter::Filter target_compiler_filter,
258 EXPORT void GetOptimizationStatus(std::string* out_odex_location,
292 EXPORT std::optional<bool> HasDexFiles(std::string* error_msg);
321 EXPORT static bool DexLocationToOdexFilename(const std::string& location,
342 EXPORT static bool DexLocationToOatFilename(const std::string& location,
[all …]
Doat_file_manager.h58 EXPORT const OatFile* RegisterOatFile(std::unique_ptr<const OatFile> oat_file,
66 EXPORT const OatFile* FindOpenedOatFileFromOatLocation(const std::string& oat_location) const
75 EXPORT std::vector<const OatFile*> GetBootOatFiles() const;
139 EXPORT void WaitForBackgroundVerificationTasksToFinish();
142 EXPORT void WaitForBackgroundVerificationTasks();
Dimage.h132 EXPORT ImageHeader(uint32_t image_reservation_size,
149 EXPORT bool IsValid() const;
150 EXPORT const char* GetMagic() const;
202 EXPORT PointerSize GetPointerSize() const;
281 EXPORT ArtMethod* GetImageMethod(ImageMethod index) const;
283 EXPORT static const char* GetImageSectionName(ImageSections index);
374 EXPORT bool IsAppImage() const;
376 EXPORT uint32_t GetImageSpaceCount() const;
380 EXPORT void VisitObjects(ObjectVisitor* visitor, uint8_t* base, PointerSize pointer_size) const
432 EXPORT bool WriteData(const ImageFileGuard& image_file,
[all …]
Daot_class_linker.h42 EXPORT static void SetAppImageDexFiles(const std::vector<const DexFile*>* app_image_dex_files);
44 EXPORT static bool CanReferenceInBootImageExtensionOrAppImage(
47 EXPORT void SetSdkChecker(std::unique_ptr<SdkChecker>&& sdk_checker_);
62 EXPORT bool IsActiveTransaction() const;
64 EXPORT void EnterTransactionMode(bool strict, mirror::Class* root)
66 EXPORT void ExitTransactionMode();
67 EXPORT void RollbackAllTransactions() REQUIRES_SHARED(Locks::mutator_lock_);
Doat_file_assistant_context.h63 EXPORT explicit OatFileAssistantContext(std::unique_ptr<RuntimeOptions> runtime_options);
71 EXPORT bool FetchAll(std::string* error_msg);
73 EXPORT const std::vector<BootImageInfo>& GetBootImageInfoList(InstructionSet isa);
/art/runtime/
Dbarrier.h43 enum EXPORT LockHandling {
50 EXPORT explicit Barrier(int count, bool verify_count_on_shutdown = true);
51 EXPORT virtual ~Barrier();
54 EXPORT void Pass(Thread* self) REQUIRES(!GetLock());
71 EXPORT void Increment(Thread* self, int delta) REQUIRES(!GetLock());
Druntime.h127 EXPORT static bool ParseOptions(const RuntimeOptions& raw_options,
132 EXPORT static bool Create(RuntimeArgumentMap&& runtime_options)
136 EXPORT static bool Create(const RuntimeOptions& raw_options, bool ignore_unrecognized)
245 EXPORT bool IsShuttingDown(Thread* self);
264 EXPORT void EndThreadBirth() REQUIRES(Locks::runtime_shutdown_lock_);
274 EXPORT void RunRootClinits(Thread* self) REQUIRES_SHARED(Locks::mutator_lock_);
293 NO_RETURN EXPORT static void Abort(const char* msg) REQUIRES(!Locks::abort_lock_);
299 EXPORT jobject GetSystemThreadGroup() const;
302 EXPORT jobject GetSystemClassLoader() const;
305 EXPORT bool AttachCurrentThread(const char* thread_name,
[all …]
Dstack.h121 EXPORT StackVisitor(Thread* thread,
137 enum class EXPORT CountTransitions {
143 EXPORT void WalkStack(bool include_transitions = false) REQUIRES_SHARED(Locks::mutator_lock_);
179 EXPORT ArtMethod* GetMethod() const REQUIRES_SHARED(Locks::mutator_lock_);
183 EXPORT void SetMethod(ArtMethod* method) REQUIRES(Locks::mutator_lock_);
193 EXPORT uint32_t GetDexPc(bool abort_on_failure = true) const
202 EXPORT ObjPtr<mirror::Object> GetThisObject() const REQUIRES_SHARED(Locks::mutator_lock_);
204 EXPORT size_t GetNativePcOffset() const REQUIRES_SHARED(Locks::mutator_lock_);
231 EXPORT bool GetVReg(
239 EXPORT bool GetVRegPair(ArtMethod* m,
[all …]
Dthread_list.h68 EXPORT void Dump(std::ostream& os, bool dump_native_stack = true)
73 EXPORT void ResumeAll()
76 EXPORT bool Resume(Thread* thread, SuspendReason reason = SuspendReason::kInternal)
82 EXPORT void SuspendAll(const char* cause, bool long_suspend = false)
90 EXPORT Thread* SuspendThreadByPeer(jobject peer, SuspendReason reason)
107 EXPORT Thread* FindThreadByThreadId(uint32_t thread_id) REQUIRES(Locks::thread_list_lock_);
127 EXPORT size_t RunCheckpoint(Closure* checkpoint_function,
163 EXPORT void ForEach(void (*callback)(Thread*, void*), void* context)
197 EXPORT void SweepInterpreterCaches(IsMarkedVisitor* visitor) const
309 EXPORT explicit ScopedSuspendAll(const char* cause, bool long_suspend = false)
[all …]
Ddebugger.h41 EXPORT static void SetJdwpAllowed(bool allowed);
42 EXPORT static bool IsJdwpAllowed();
86 EXPORT static bool DdmHandleChunk(JNIEnv* env,
92 EXPORT static void DdmConnected() REQUIRES_SHARED(Locks::mutator_lock_);
93 EXPORT static void DdmDisconnected() REQUIRES_SHARED(Locks::mutator_lock_);
Dvdex_file.h104 EXPORT explicit VdexFileHeader(bool has_dex_section);
113 EXPORT bool IsMagicValid() const;
114 EXPORT bool IsVdexVersionValid() const;
190 EXPORT static std::unique_ptr<VdexFile> OpenAtAddress(uint8_t* mmap_addr,
200 EXPORT static std::unique_ptr<VdexFile> OpenAtAddress(uint8_t* mmap_addr,
242 EXPORT static std::unique_ptr<VdexFile> OpenFromDm(const std::string& filename,
270 EXPORT const uint8_t* GetNextDexFileData(const uint8_t* cursor, uint32_t dex_file_index) const;
281 EXPORT bool OpenAllDexFiles(std::vector<std::unique_ptr<const DexFile>>* dex_files,
Dthread_pool.h119 EXPORT const std::vector<ThreadPoolWorker*>& GetWorkers();
122 EXPORT void StartWorkers(Thread* self) REQUIRES(!task_queue_lock_);
125 EXPORT void StopWorkers(Thread* self) REQUIRES(!task_queue_lock_);
140 EXPORT void CreateThreads();
148 EXPORT void Wait(Thread* self, bool do_work, bool may_hold_locks) REQUIRES(!task_queue_lock_);
186 EXPORT AbstractThreadPool(const char* name,
214 class EXPORT ThreadPool : public AbstractThreadPool {
Dinstrumentation.h237 EXPORT void AddListener(InstrumentationListener* listener,
243 EXPORT void RemoveListener(InstrumentationListener* listener,
255 EXPORT void DisableDeoptimization(const char* key, bool try_switch_to_non_debuggable)
260 EXPORT void EnableEntryExitHooks(const char* key)
269 EXPORT void DeoptimizeEverything(const char* key)
275 EXPORT void UndeoptimizeEverything(const char* key)
282 EXPORT void Deoptimize(ArtMethod* method)
288 EXPORT void Undeoptimize(ArtMethod* method)
292 EXPORT bool IsDeoptimized(ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_);
299 EXPORT void EnableMethodTracing(
[all …]
Druntime_image.h35 EXPORT static std::string GetRuntimeImagePath(const std::string& app_data_dir,
47 EXPORT static std::string GetRuntimeImageDir(const std::string& app_data_dir);
Dcommon_throws.h90 EXPORT void ThrowClassFormatError(ObjPtr<mirror::Class> referrer, const char* fmt, ...)
95 EXPORT void ThrowIllegalAccessErrorClass(ObjPtr<mirror::Class> referrer,
108 EXPORT void ThrowIllegalAccessErrorField(ObjPtr<mirror::Class> referrer, ArtField* accessed)
111 EXPORT void ThrowIllegalAccessErrorFinalField(ArtMethod* referrer, ArtField* accessed)
135 EXPORT void ThrowIllegalStateException(const char* msg)
151 EXPORT void ThrowIncompatibleClassChangeErrorField(ArtField* resolved_field,
203 EXPORT void ThrowNoSuchFieldError(std::string_view scope,
236 EXPORT void ThrowNullPointerException(const char* msg)
/art/runtime/gc/
Dscoped_gc_critical_section.h39 EXPORT const char* Enter(GcCause cause, CollectorType type) ACQUIRE(Roles::uninterruptible_);
42 EXPORT void Exit(const char* old_reason) RELEASE(Roles::uninterruptible_);
54 EXPORT ScopedGCCriticalSection(Thread* self, GcCause cause, CollectorType collector_type)
56 EXPORT ~ScopedGCCriticalSection() RELEASE(Roles::uninterruptible_);
/art/runtime/jni/
Djni_id_manager.h53 EXPORT ArtMethod* DecodeMethodId(jmethodID method) REQUIRES(!Locks::jni_id_lock_);
54 EXPORT ArtField* DecodeFieldId(jfieldID field) REQUIRES(!Locks::jni_id_lock_);
55 EXPORT jmethodID EncodeMethodId(ReflectiveHandle<ArtMethod> method) REQUIRES(!Locks::jni_id_lock_)
57 EXPORT jmethodID EncodeMethodId(ArtMethod* method) REQUIRES(!Locks::jni_id_lock_)
59 EXPORT jfieldID EncodeFieldId(ReflectiveHandle<ArtField> field) REQUIRES(!Locks::jni_id_lock_)
61 EXPORT jfieldID EncodeFieldId(ArtField* field) REQUIRES(!Locks::jni_id_lock_)
69 EXPORT ObjPtr<mirror::Object> GetPointerMarker() REQUIRES_SHARED(Locks::mutator_lock_);
116 class EXPORT ScopedEnableSuspendAllJniIdQueries {
Djava_vm_ext.h106 EXPORT bool LoadNativeLibrary(JNIEnv* env,
142 EXPORT void VisitRoots(RootVisitor* visitor) REQUIRES_SHARED(Locks::mutator_lock_)
154 EXPORT jobject AddGlobalRef(Thread* self, ObjPtr<mirror::Object> obj)
157 EXPORT jweak AddWeakGlobalRef(Thread* self, ObjPtr<mirror::Object> obj)
160 EXPORT void DeleteGlobalRef(Thread* self, jobject obj) REQUIRES(!Locks::jni_globals_lock_);
162 EXPORT void DeleteWeakGlobalRef(Thread* self, jweak obj) REQUIRES(!Locks::jni_weak_globals_lock_);
215 EXPORT void AddEnvironmentHook(GetEnvHook hook) REQUIRES(!env_hooks_lock_);
/art/runtime/verifier/
Dverifier_deps.h64 EXPORT explicit VerifierDeps(const std::vector<const DexFile*>& dex_files,
72 EXPORT bool ParseStoredData(const std::vector<const DexFile*>& dex_files,
77 EXPORT void MergeWith(std::unique_ptr<VerifierDeps> other,
87 EXPORT static void MaybeRecordVerificationStatus(VerifierDeps* verifier_deps,
117 EXPORT void Encode(const std::vector<const DexFile*>& dex_files,
120 EXPORT void Dump(VariableIndentationOutputStream* vios) const;
124 EXPORT bool ValidateDependenciesAndUpdateStatus(
201 EXPORT const DexFileDeps* GetDexFileDeps(const DexFile& dex_file) const;
/art/runtime/jit/
Djit.h191 EXPORT bool CompileMethod(ArtMethod* method,
255 EXPORT void WaitForCompilationToFinish(Thread* self);
296 EXPORT bool JitAtFirstUse();
322 EXPORT void Stop();
325 EXPORT void Start();
328 EXPORT void PostForkChildAction(bool is_system_server, bool is_zygote);
331 EXPORT void PreZygoteFork();
388 EXPORT void EnqueueOptimizedCompilation(ArtMethod* method, Thread* self);
390 EXPORT void MaybeEnqueueCompilation(ArtMethod* method, Thread* self)
393 EXPORT static bool TryPatternMatch(ArtMethod* method, CompilationKind compilation_kind)
[all …]
/art/compiler/trampolines/
Dtrampoline_compiler.h38 EXPORT std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline32(
40 EXPORT std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline64(
/art/runtime/base/
Dtiming_logger.h156 EXPORT TimingLogger(const char* name,
160 EXPORT ~TimingLogger();
166 EXPORT void StartTiming(const char* new_split_label);
168 EXPORT void EndTiming();
178 EXPORT void Dump(std::ostream& os, const char* indent_string = " ") const;
/art/runtime/mirror/
Dclass_ext.h108 EXPORT void SetIdsArraysForClassExtExtData(ObjPtr<Object> marker)
111 EXPORT void SetOriginalDexFile(ObjPtr<Object> bytes) REQUIRES_SHARED(Locks::mutator_lock_);
118 EXPORT void SetPreRedefineClassDefIndex(uint16_t index) REQUIRES_SHARED(Locks::mutator_lock_);
125 EXPORT void SetPreRedefineDexFile(const DexFile* dex_file) REQUIRES_SHARED(Locks::mutator_lock_);
127 EXPORT void SetObsoleteArrays(ObjPtr<PointerArray> methods,
132 EXPORT static bool ExtendObsoleteArrays(Handle<ClassExt> h_this, Thread* self, uint32_t increase)
162 EXPORT void SetObsoleteClass(ObjPtr<Class> classes) REQUIRES_SHARED(Locks::mutator_lock_);

12345