Home
last modified time | relevance | path

Searched full:delegate (Results 1 – 25 of 1038) sorted by relevance

12345678910>>...42

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstVisitor.h29 #define DELEGATE(CLASS_TO_VISIT) \ macro
161 DELEGATE(CLASS); \
168 RetTy visitICmpInst(ICmpInst &I) { DELEGATE(CmpInst);} in visitICmpInst()
169 RetTy visitFCmpInst(FCmpInst &I) { DELEGATE(CmpInst);} in visitFCmpInst()
170 RetTy visitAllocaInst(AllocaInst &I) { DELEGATE(UnaryInstruction);} in visitAllocaInst()
171 RetTy visitLoadInst(LoadInst &I) { DELEGATE(UnaryInstruction);} in visitLoadInst()
172 RetTy visitStoreInst(StoreInst &I) { DELEGATE(Instruction);} in visitStoreInst()
173 RetTy visitAtomicCmpXchgInst(AtomicCmpXchgInst &I) { DELEGATE(Instruction);} in visitAtomicCmpXchgInst()
174 RetTy visitAtomicRMWInst(AtomicRMWInst &I) { DELEGATE(Instruction);} in visitAtomicRMWInst()
175 RetTy visitFenceInst(FenceInst &I) { DELEGATE(Instruction);} in visitFenceInst()
[all …]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DMapField.java263 private final Map<K, V> delegate; field in MapField.MutabilityAwareMap
265 MutabilityAwareMap(MutabilityOracle mutabilityOracle, Map<K, V> delegate) { in MutabilityAwareMap() argument
267 this.delegate = delegate; in MutabilityAwareMap()
272 return delegate.size(); in size()
277 return delegate.isEmpty(); in isEmpty()
282 return delegate.containsKey(key); in containsKey()
287 return delegate.containsValue(value); in containsValue()
292 return delegate.get(key); in get()
300 return delegate.put(key, value); in put()
306 return delegate.remove(key); in remove()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/delegate/npu/
Dnpu_delegate.cc17 #include "src/litert/delegate/npu/npu_delegate.h"
21 #include "src/litert/delegate/npu/pass/npu_pass_utils.h"
22 #include "src/litert/delegate/npu/op/npu_op.h"
23 #include "src/litert/delegate/npu/op/activation_npu.h"
24 #include "src/litert/delegate/npu/op/argmax_npu.h"
25 #include "src/litert/delegate/npu/op/arithmetic_npu.h"
26 #include "src/litert/delegate/npu/op/arithmetic_self_npu.h"
27 #include "src/litert/delegate/npu/op/avg_pooling_npu.h"
28 #include "src/litert/delegate/npu/op/batchnorm_npu.h"
29 #include "src/litert/delegate/npu/op/cast_npu.h"
[all …]
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dplatform_thread.cc24 PlatformThread::Delegate* delegate = in ThreadFunc() local
25 static_cast<PlatformThread::Delegate*>(params); in ThreadFunc()
26 delegate->ThreadMain(); in ThreadFunc()
31 bool PlatformThread::Create(Delegate* delegate, in Create() argument
34 *thread_handle = CreateThread(NULL, 0, ThreadFunc, delegate, 0, NULL); in Create()
58 PlatformThread::Delegate* delegate =
59 static_cast<PlatformThread::Delegate*>(params);
60 delegate->ThreadMain();
65 bool PlatformThread::Create(Delegate* delegate,
72 success = !pthread_create(thread_handle, &attributes, ThreadFunc, delegate);
/third_party/mindspore/mindspore-src/source/include/api/
Ddelegate.h74 /// \brief Replace the continuous kernel supported by the delegate with a delegate graph kernel.
76 /// \param[in] from Define the begin iterator of continuous kernel supported by the delegate.
77 /// \param[in] end Define the end iterator of continuous kernel supported by the delegate.
118 // lite delegate use kernel::Kernel as graph node.
120 class Delegate : public IDelegate<LiteDelegateGraph, kernel::Kernel, kernel::Kernel> {
122 Delegate() = default;
123Delegate(const std::vector<mindspore::MSTensor> &inputs, const std::vector<mindspore::MSTensor> &o… in Delegate() function
125 virtual ~Delegate() = default;
126 /// \brief Init delegate.
140 …/// \brief Replace the nodes in model with delegate nodes, delegate will create kernels by its del…
[all …]
Ddelegate_api.h55 …/// \brief Replace the nodes in model with delegate nodes, delegate will create kernels by its del…
60 /// \brief Check if this node is belong to this delegate.
64 /// \return True if the node is belong to this delegate, otherwise return false.
67 /// \brief Create a delegate kernel if the node is a delegate node.
69 /// \param[in] node Define the delegate model to be built.
71 /// \return The delegate kernel, if the node is not a delegate node, return nullptr.
/third_party/spirv-tools/source/opt/
Dmodule.cpp88 #define DELEGATE(list) list.ForEachInst(f, run_on_debug_line_insts) in ForEachInst() macro
89 DELEGATE(capabilities_); in ForEachInst()
90 DELEGATE(extensions_); in ForEachInst()
91 DELEGATE(ext_inst_imports_); in ForEachInst()
95 DELEGATE(entry_points_); in ForEachInst()
96 DELEGATE(execution_modes_); in ForEachInst()
97 DELEGATE(debugs1_); in ForEachInst()
98 DELEGATE(debugs2_); in ForEachInst()
99 DELEGATE(debugs3_); in ForEachInst()
100 DELEGATE(ext_inst_debuginfo_); in ForEachInst()
[all …]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dmodule.cpp88 #define DELEGATE(list) list.ForEachInst(f, run_on_debug_line_insts) in ForEachInst() macro
89 DELEGATE(capabilities_); in ForEachInst()
90 DELEGATE(extensions_); in ForEachInst()
91 DELEGATE(ext_inst_imports_); in ForEachInst()
93 DELEGATE(entry_points_); in ForEachInst()
94 DELEGATE(execution_modes_); in ForEachInst()
95 DELEGATE(debugs1_); in ForEachInst()
96 DELEGATE(debugs2_); in ForEachInst()
97 DELEGATE(debugs3_); in ForEachInst()
98 DELEGATE(ext_inst_debuginfo_); in ForEachInst()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/delegate/coreml/
Dcoreml_delegate.mm17 #include "src/litert/delegate/coreml/coreml_delegate.h"
20 #include "src/litert/delegate/coreml/op/coreml_op.h"
21 #include "src/litert/delegate/coreml/op/activation_coreml.h"
22 #include "src/litert/delegate/coreml/op/transpose_coreml.h"
23 #include "src/litert/delegate/coreml/op/convolution_coreml.h"
24 #include "src/litert/delegate/coreml/op/deconvolution_coreml.h"
25 #include "src/litert/delegate/coreml/op/avg_pooling_coreml.h"
26 #include "src/litert/delegate/coreml/op/max_pooling_coreml.h"
27 #include "src/litert/delegate/coreml/op/arithmetic_coreml.h"
28 #include "src/litert/delegate/coreml/op/resize_coreml.h"
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dmodule.cpp88 #define DELEGATE(list) list.ForEachInst(f, run_on_debug_line_insts) in ForEachInst() macro
89 DELEGATE(capabilities_); in ForEachInst()
90 DELEGATE(extensions_); in ForEachInst()
91 DELEGATE(ext_inst_imports_); in ForEachInst()
93 DELEGATE(entry_points_); in ForEachInst()
94 DELEGATE(execution_modes_); in ForEachInst()
95 DELEGATE(debugs1_); in ForEachInst()
96 DELEGATE(debugs2_); in ForEachInst()
97 DELEGATE(debugs3_); in ForEachInst()
98 DELEGATE(ext_inst_debuginfo_); in ForEachInst()
[all …]
/third_party/protobuf/java/kotlin/src/main/kotlin/com/google/protobuf/
DUnmodifiableCollections.kt34 internal class UnmodifiableIterator<E>(delegate: Iterator<E>) : Iterator<E> by delegate
37 internal class UnmodifiableListIterator<E>(delegate: ListIterator<E>) : ListIterator<E> by delegate
40 internal open class UnmodifiableCollection<E>(private val delegate: Collection<E>) : constant in UnmodifiableCollection
41 Collection<E> by delegate { in <lambda>()
42 override fun iterator(): Iterator<E> = UnmodifiableIterator(delegate.iterator()) in <lambda>()
46 internal class UnmodifiableSet<E>(delegate: Collection<E>) :
47 UnmodifiableCollection<E>(delegate), Set<E>
50 internal class UnmodifiableMapEntry<K, V>(delegate: Map.Entry<K, V>) : Map.Entry<K, V> by delegate
53 internal class UnmodifiableMapEntries<K, V>(private val delegate: Set<Map.Entry<K, V>>) : constant in UnmodifiableMapEntries
54 UnmodifiableCollection<Map.Entry<K, V>>(delegate), Set<Map.Entry<K, V>> {
[all …]
DDslList.kt44 constructor(private val delegate: List<E>) : List<E> by delegate { in <lambda>() constant in com.google.protobuf.kotlin.DslList
45 override fun iterator(): Iterator<E> = UnmodifiableIterator(delegate.iterator()) in <lambda>()
47 override fun listIterator(): ListIterator<E> = UnmodifiableListIterator(delegate.listIterator()) in <lambda>()
50 UnmodifiableListIterator(delegate.listIterator(index)) in <lambda>()
52 override fun equals(other: Any?): Boolean = delegate == other in <lambda>()
54 override fun hashCode(): Int = delegate.hashCode() in <lambda>()
56 override fun toString(): String = delegate.toString() in <lambda>()
DExtensionList.kt43 constructor(val extension: ExtensionLite<M, List<E>>, private val delegate: List<E>) : constant in com.google.protobuf.kotlin.ExtensionList
44 List<E> by delegate { in <lambda>()
45 override fun iterator(): Iterator<E> = UnmodifiableIterator(delegate.iterator()) in <lambda>()
47 override fun listIterator(): ListIterator<E> = UnmodifiableListIterator(delegate.listIterator()) in <lambda>()
50 UnmodifiableListIterator(delegate.listIterator(index)) in <lambda>()
52 override fun equals(other: Any?): Boolean = delegate == other in <lambda>()
54 override fun hashCode(): Int = delegate.hashCode() in <lambda>()
56 override fun toString(): String = delegate.toString() in <lambda>()
DDslMap.kt44 constructor(private val delegate: Map<K, V>) : Map<K, V> by delegate { in <lambda>() constant in com.google.protobuf.kotlin.DslMap
49 get() = UnmodifiableMapEntries(delegate.entries) in <lambda>()
52 get() = UnmodifiableSet(delegate.keys) in <lambda>()
55 get() = UnmodifiableCollection(delegate.values) in <lambda>()
57 override fun equals(other: Any?): Boolean = delegate == other in <lambda>()
59 override fun hashCode(): Int = delegate.hashCode() in <lambda>()
61 override fun toString(): String = delegate.toString() in <lambda>()
/third_party/python/Lib/idlelib/
Ddelegator.py3 def __init__(self, delegate=None): argument
4 self.delegate = delegate
7 # when changing the delegate.
10 attr = getattr(self.delegate, name) # May raise AttributeError
26 def setdelegate(self, delegate): argument
27 "Reset attributes and change delegate."
29 self.delegate = delegate
Dpercolator.py37 assert filter.delegate is None
44 assert filter.delegate is None
50 f = f.delegate
53 filter.setdelegate(f.delegate)
59 assert filter.delegate is not None
62 self.top = filter.delegate
65 while f.delegate is not filter:
68 f = f.delegate
69 f.setdelegate(filter.delegate)
83 self.delegate.insert(*args)
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/delegate/nnapi/
Dnnapi_delegate.cc17 #include "src/litert/delegate/nnapi/nnapi_delegate.h"
24 #include "src/litert/delegate/delegate_utils.h"
25 #include "src/litert/delegate/nnapi/nnapi_utils.h"
26 #include "src/litert/delegate/nnapi/op/activation_nnapi.h"
27 #include "src/litert/delegate/nnapi/op/arithmetic_nnapi.h"
28 #include "src/litert/delegate/nnapi/op/cast_nnapi.h"
29 #include "src/litert/delegate/nnapi/op/concat_nnapi.h"
30 #include "src/litert/delegate/nnapi/op/conv_nnapi.h"
31 #include "src/litert/delegate/nnapi/op/conv_transpose_nnapi.h"
32 #include "src/litert/delegate/nnapi/op/full_connection_nnapi.h"
[all …]
/third_party/mesa3d/include/tensorflow/lite/core/c/
Dcommon.h447 // The delegate which knows how to handle `buffer_handle`.
449 struct TfLiteDelegate* delegate; member
451 // An integer buffer handle that can be handled by `delegate`.
452 // The value is valid only when delegate is not null.
456 // If the delegate uses its own buffer (e.g. GPU memory), the delegate is
458 // `delegate->CopyFromBufferHandle` can be called to copy the data from
459 // delegate buffer.
514 // The pointer to the delegate. This is non-null only when the node is
517 struct TfLiteDelegate* delegate; member
534 // - delegate
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DSimpleFilteredSentenceBreakIterator.java31 private BreakIterator delegate; field in SimpleFilteredSentenceBreakIterator
46 this.delegate = adoptBreakIterator; in SimpleFilteredSentenceBreakIterator()
53 * Reset the filter from the delegate.
56 text = UCharacterIterator.getInstance((CharacterIterator) delegate.getText().clone()); in resetState()
120 * Given that the delegate has already given its "initial" answer,
122 * @param n initial position from delegate
140 n = delegate.next(); in internalNext()
150 * Given that the delegate has already given its "initial" answer,
152 * @param n initial position from delegate
168 n = delegate.previous(); in internalPrev()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DSimpleFilteredSentenceBreakIterator.java32 private BreakIterator delegate; field in SimpleFilteredSentenceBreakIterator
47 this.delegate = adoptBreakIterator; in SimpleFilteredSentenceBreakIterator()
54 * Reset the filter from the delegate.
57 text = UCharacterIterator.getInstance((CharacterIterator) delegate.getText().clone()); in resetState()
125 * Given that the delegate has already given its "initial" answer,
127 * @param n initial position from delegate
145 n = delegate.next(); in internalNext()
155 * Given that the delegate has already given its "initial" answer,
157 * @param n initial position from delegate
173 n = delegate.previous(); in internalPrev()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/extendrt/
DCMakeLists.txt31 file(GLOB DELEGATE_OPS ${CMAKE_CURRENT_SOURCE_DIR}/delegate/ops/*.cc)
57 ${CMAKE_CURRENT_SOURCE_DIR}/delegate/comm_group_info.cc
58 ${CMAKE_CURRENT_SOURCE_DIR}/delegate/plugin/tensorrt_executor_plugin.cc
59 ${CMAKE_CURRENT_SOURCE_DIR}/delegate/plugin/litert_executor_plugin.cc
60 ${CMAKE_CURRENT_SOURCE_DIR}/delegate/plugin/ascend_ge_executor_plugin.cc
61 ${CMAKE_CURRENT_SOURCE_DIR}/delegate/plugin/ascend_native_executor_plugin.cc
62 ${CMAKE_CURRENT_SOURCE_DIR}/delegate/tensorrt/distribution/distribution_base.cc
64 ${CMAKE_CURRENT_SOURCE_DIR}/delegate/graph_executor/litert/func_graph_reuse_manager.cc
99 … ${CMAKE_CURRENT_SOURCE_DIR}/delegate/ascend_native/ascend_native_registration_factory.cc
100 ${CMAKE_CURRENT_SOURCE_DIR}/delegate/ascend_native/ascend_native_add_kernel.cc
[all …]
/third_party/python/Lib/idlelib/idle_test/
Dtest_percolator.py16 self.delegate.insert(*args)
20 self.delegate.delete(*args)
24 self.delegate.insert(index, chars)
28 self.delegate.insert(index, chars)
59 self.assertIsNotNone(self.filter_one.delegate)
61 self.assertEqual(self.filter_two.delegate, self.filter_one)
62 self.assertEqual(self.filter_one.delegate, self.percolator.bottom)
68 self.assertIsNone(self.filter_two.delegate)
75 self.assertEqual(filter_three.delegate, self.filter_two)
76 self.assertEqual(self.filter_two.delegate, self.percolator.bottom)
[all …]
/third_party/mesa3d/src/gallium/frontends/teflon/
Dtfl_device.c97 fill_operation(struct teflon_delegate *delegate, TfLiteContext *tf_context, TfLiteNode *node, TfLit… in fill_operation() argument
186 fill_tensor(struct teflon_delegate *delegate, TfLiteContext *tf_context, struct pipe_tensor *tensor… in fill_tensor() argument
188 struct pipe_context *context = delegate->context; in fill_tensor()
289 struct teflon_delegate *delegate = (struct teflon_delegate *)params->delegate; in partition_init() local
290 struct pipe_context *context = delegate->context; in partition_init()
305 fill_tensor(delegate, tf_context, &tensors[i], i); in partition_init()
315 …fill_operation(delegate, tf_context, delegated_node, delegated_node_registration, &operations[i], … in partition_init()
382 struct teflon_delegate *delegate = (struct teflon_delegate *)node->delegate; in partition_invoke() local
385 struct pipe_context *context = delegate->context; in partition_invoke()
492 PrepareDelegate(TfLiteContext *context, TfLiteDelegate *delegate) in PrepareDelegate() argument
[all …]
/third_party/rust/rust/tests/ui/nll/
Dissue-27583.rs12 pub trait Delegate<'tcx> { } trait
25 delegate: &'d mut (Delegate<'tcx>+'d), field
29 pub fn new(delegate: &'d mut Delegate<'tcx>, in new()
36 delegate: delegate, in new()
/third_party/pulseaudio/vala/
Dlibpulse.vapi51 public delegate void FreeCb(void *p);
735 public delegate void VoidFunc();
785 … public delegate void IoEventCb(MainLoopApi a, IoEvent e, int fd, IoEventFlags flags);
787 public delegate void IoEventDestroyCb(MainLoopApi a, IoEvent e);
790 public delegate void TimeEventCb(MainLoopApi a, TimeEvent e, ref timeval t);
792 public delegate void TimeEventDestroyCb(MainLoopApi a, TimeEvent e);
795 public delegate void DeferEventCb(MainLoopApi a, DeferEvent e);
797 public delegate void DeferEventDestroyCb(MainLoopApi a, DeferEvent e);
800 public delegate void SignalEventCb(MainLoopApi a, SignalEvent e, int sig);
802 public delegate void SignalEventDestroyCb(MainLoopApi a, SignalEvent e);
[all …]

12345678910>>...42