Searched refs:contextRef (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/mlir/lib/Bindings/Python/ |
D | IRModules.h | 253 BaseContextObject(PyMlirContextRef ref) : contextRef(std::move(ref)) { in BaseContextObject() 254 assert(this->contextRef && in BaseContextObject() 259 PyMlirContextRef &getContext() { return contextRef; } in getContext() 262 PyMlirContextRef contextRef; 272 PyDialectDescriptor(PyMlirContextRef contextRef, MlirDialect dialect) in PyDialectDescriptor() argument 273 : BaseContextObject(std::move(contextRef)), dialect(dialect) {} in PyDialectDescriptor() 285 PyDialects(PyMlirContextRef contextRef) in PyDialects() argument 286 : BaseContextObject(std::move(contextRef)) {} in PyDialects() 307 PyLocation(PyMlirContextRef contextRef, MlirLocation loc) in PyLocation() argument 308 : BaseContextObject(std::move(contextRef)), loc(loc) {} in PyLocation() [all …]
|
D | IRModules.cpp | 682 PyModule::PyModule(PyMlirContextRef contextRef, MlirModule module) in PyModule() argument 683 : BaseContextObject(std::move(contextRef)), module(module) {} in PyModule() 696 PyMlirContextRef contextRef = PyMlirContext::forContext(context); in forModule() local 699 auto &liveModules = contextRef->liveModules; in forModule() 703 PyModule *unownedModule = new PyModule(std::move(contextRef), module); in forModule() 735 PyOperation::PyOperation(PyMlirContextRef contextRef, MlirOperation operation) in PyOperation() argument 736 : BaseContextObject(std::move(contextRef)), operation(operation) {} in PyOperation() 748 PyOperationRef PyOperation::createInstance(PyMlirContextRef contextRef, in createInstance() argument 751 auto &liveOperations = contextRef->liveOperations; in createInstance() 754 new PyOperation(std::move(contextRef), operation); in createInstance() [all …]
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/ |
D | LottieCompositionFactory.java | 194 final WeakReference<Context> contextRef = new WeakReference<>(context); 199 @Nullable Context originalContext = contextRef.get();
|
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/ |
D | SubsamplingScaleImageView.java | 1530 private final WeakReference<Context> contextRef; field in SubsamplingScaleImageView.TilesInitTask 1538 this.contextRef = new WeakReference<>(context); in TilesInitTask() 1547 Context context = contextRef.get(); in doInBackground() 1713 private final WeakReference<Context> contextRef; field in SubsamplingScaleImageView.BitmapLoadTask 1722 this.contextRef = new WeakReference<>(context); in BitmapLoadTask() 1732 Context context = contextRef.get(); in doInBackground()
|