| /external/guava/android/guava-tests/test/com/google/common/reflect/ |
| D | AbstractInvocationHandlerTest.java | 82 private static List<String> newDelegatingList(List<String> delegate) { in newDelegatingList() 87 private static List<String> newDelegatingListWithEquals(List<String> delegate) { in newDelegatingListWithEquals() 92 private static Iterable<String> newDelegatingIterableWithEquals(Iterable<String> delegate) { in newDelegatingIterableWithEquals() 97 private static List<String> newProxyWithSubHandler1(List<String> delegate) { in newProxyWithSubHandler1() 102 private static List<String> newProxyWithSubHandler2(List<String> delegate) { in newProxyWithSubHandler2() 115 final Object delegate; field in AbstractInvocationHandlerTest.DelegatingInvocationHandler 117 DelegatingInvocationHandler(Object delegate) { in DelegatingInvocationHandler() 134 DelegatingInvocationHandlerWithEquals(Object delegate) { in DelegatingInvocationHandlerWithEquals() 160 SubHandler1(Object delegate) { in SubHandler1() 166 SubHandler2(Object delegate) { in SubHandler2()
|
| D | InvokableTest.java | 81 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); in testConstructor_parameters() local 95 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); in testConstructor_call() local 102 Invokable<?, Prepender> delegate = in testConstructor_returning() local 110 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); in testConstructor_invalidReturning() local 119 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_returnType() local 124 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_exceptionTypes() local 129 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_typeParameters() local 136 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_parameters() local 150 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_call() local 158 Invokable<?, Iterable<String>> delegate = in testStaticMethod_returning() local [all …]
|
| /external/guava/guava-tests/test/com/google/common/reflect/ |
| D | AbstractInvocationHandlerTest.java | 82 private static List<String> newDelegatingList(List<String> delegate) { in newDelegatingList() 87 private static List<String> newDelegatingListWithEquals(List<String> delegate) { in newDelegatingListWithEquals() 92 private static Iterable<String> newDelegatingIterableWithEquals(Iterable<String> delegate) { in newDelegatingIterableWithEquals() 97 private static List<String> newProxyWithSubHandler1(List<String> delegate) { in newProxyWithSubHandler1() 102 private static List<String> newProxyWithSubHandler2(List<String> delegate) { in newProxyWithSubHandler2() 115 final Object delegate; field in AbstractInvocationHandlerTest.DelegatingInvocationHandler 117 DelegatingInvocationHandler(Object delegate) { in DelegatingInvocationHandler() 134 DelegatingInvocationHandlerWithEquals(Object delegate) { in DelegatingInvocationHandlerWithEquals() 160 SubHandler1(Object delegate) { in SubHandler1() 166 SubHandler2(Object delegate) { in SubHandler2()
|
| D | InvokableTest.java | 81 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); in testConstructor_parameters() local 95 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); in testConstructor_call() local 102 Invokable<?, Prepender> delegate = in testConstructor_returning() local 110 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); in testConstructor_invalidReturning() local 119 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_returnType() local 124 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_exceptionTypes() local 129 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_typeParameters() local 136 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_parameters() local 150 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_call() local 158 Invokable<?, Iterable<String>> delegate = in testStaticMethod_returning() local [all …]
|
| /external/tensorflow/tensorflow/lite/g3doc/performance/ |
| D | implementing_delegate.md | 73 ### 1 - `SimpleDelegateInterface` 81 ### 2 - `SimpleDelegateKernelInterface` 95 ### Example 264 ### Choosing the best approach 277 ### Option 1: Leverage delegate registrar 418 ### Option 2: Leverage external delegate
|
| /external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/nnapi/ |
| D | NnApiDelegateTest.java | 37 try (NnApiDelegate delegate = new NnApiDelegate()) { in testBasic() 45 try (NnApiDelegate delegate = new NnApiDelegate(); in testInterpreterWithNnApi() 46 Interpreter interpreter = new Interpreter(MODEL_BUFFER, options.addDelegate(delegate))) { in testInterpreterWithNnApi() 64 try (NnApiDelegate delegate = new NnApiDelegate(); in testInterpreterWithNnApiAndXNNPack() 65 Interpreter interpreter = new Interpreter(MODEL_BUFFER, options.addDelegate(delegate))) { in testInterpreterWithNnApiAndXNNPack() 84 try (NnApiDelegate delegate = new NnApiDelegate(nnApiOptions); in testInterpreterWithNnApiAllowFp16() 85 Interpreter interpreter = new Interpreter(MODEL_BUFFER, options.addDelegate(delegate))) { in testInterpreterWithNnApiAllowFp16() 101 try (NnApiDelegate delegate = new NnApiDelegate(); in testGetNnApiErrnoReturnsZeroIfNoNnapiCallFailed() 102 Interpreter interpreter = new Interpreter(MODEL_BUFFER, options.addDelegate(delegate))) { in testGetNnApiErrnoReturnsZeroIfNoNnapiCallFailed() 117 NnApiDelegate delegate = new NnApiDelegate(); in testGetNnApiErrnoThrowsExceptionAfterClosingDelegate() local
|
| /external/guava/android/guava/src/com/google/common/base/ |
| D | Suppliers.java | 101 public static <T> Supplier<T> memoize(Supplier<T> delegate) { in memoize() 113 final Supplier<T> delegate; field in Suppliers.MemoizingSupplier 119 MemoizingSupplier(Supplier<T> delegate) { in MemoizingSupplier() 151 volatile Supplier<T> delegate; field in Suppliers.NonSerializableMemoizingSupplier 157 NonSerializableMemoizingSupplier(Supplier<T> delegate) { in NonSerializableMemoizingSupplier() 181 Supplier<T> delegate = this.delegate; in toString() local 211 Supplier<T> delegate, long duration, TimeUnit unit) { in memoizeWithExpiration() 218 final Supplier<T> delegate; field in Suppliers.ExpiringMemoizingSupplier 224 ExpiringMemoizingSupplier(Supplier<T> delegate, long duration, TimeUnit unit) { in ExpiringMemoizingSupplier() 309 public static <T> Supplier<T> synchronizedSupplier(Supplier<T> delegate) { in synchronizedSupplier() [all …]
|
| /external/guava/guava/src/com/google/common/base/ |
| D | Suppliers.java | 101 public static <T> Supplier<T> memoize(Supplier<T> delegate) { in memoize() 113 final Supplier<T> delegate; field in Suppliers.MemoizingSupplier 119 MemoizingSupplier(Supplier<T> delegate) { in MemoizingSupplier() 151 volatile Supplier<T> delegate; field in Suppliers.NonSerializableMemoizingSupplier 157 NonSerializableMemoizingSupplier(Supplier<T> delegate) { in NonSerializableMemoizingSupplier() 181 Supplier<T> delegate = this.delegate; in toString() local 211 Supplier<T> delegate, long duration, TimeUnit unit) { in memoizeWithExpiration() 218 final Supplier<T> delegate; field in Suppliers.ExpiringMemoizingSupplier 224 ExpiringMemoizingSupplier(Supplier<T> delegate, long duration, TimeUnit unit) { in ExpiringMemoizingSupplier() 309 public static <T> Supplier<T> synchronizedSupplier(Supplier<T> delegate) { in synchronizedSupplier() [all …]
|
| /external/grpc-grpc-java/core/src/main/java/io/grpc/ |
| D | ForwardingServerCallListener.java | 29 protected abstract ServerCall.Listener<ReqT> delegate(); in delegate() method in ForwardingServerCallListener 43 private final ServerCall.Listener<ReqT> delegate; field in ForwardingServerCallListener.SimpleForwardingServerCallListener 45 protected SimpleForwardingServerCallListener(ServerCall.Listener<ReqT> delegate) { in SimpleForwardingServerCallListener() 50 protected ServerCall.Listener<ReqT> delegate() { in delegate() method in ForwardingServerCallListener.SimpleForwardingServerCallListener
|
| D | ForwardingClientCallListener.java | 29 protected abstract ClientCall.Listener<RespT> delegate(); in delegate() method in ForwardingClientCallListener 43 private final ClientCall.Listener<RespT> delegate; field in ForwardingClientCallListener.SimpleForwardingClientCallListener 45 protected SimpleForwardingClientCallListener(ClientCall.Listener<RespT> delegate) { in SimpleForwardingClientCallListener() 50 protected ClientCall.Listener<RespT> delegate() { in delegate() method in ForwardingClientCallListener.SimpleForwardingClientCallListener
|
| D | ForwardingServerCall.java | 28 protected abstract ServerCall<ReqT, RespT> delegate(); in delegate() method in ForwardingServerCall 42 private final ServerCall<ReqT, RespT> delegate; field in ForwardingServerCall.SimpleForwardingServerCall 44 protected SimpleForwardingServerCall(ServerCall<ReqT, RespT> delegate) { in SimpleForwardingServerCall() 49 protected ServerCall<ReqT, RespT> delegate() { in delegate() method in ForwardingServerCall.SimpleForwardingServerCall
|
| D | ForwardingClientCall.java | 28 protected abstract ClientCall<ReqT, RespT> delegate(); in delegate() method in ForwardingClientCall 46 private final ClientCall<ReqT, RespT> delegate; field in ForwardingClientCall.SimpleForwardingClientCall 48 protected SimpleForwardingClientCall(ClientCall<ReqT, RespT> delegate) { in SimpleForwardingClientCall() 53 protected ClientCall<ReqT, RespT> delegate() { in delegate() method in ForwardingClientCall.SimpleForwardingClientCall
|
| /external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/gpu/ |
| D | GpuDelegateTest.java | 46 try (GpuDelegate delegate = new GpuDelegate()) { in testBasic() 54 try (GpuDelegate delegate = new GpuDelegate(); in testInterpreterWithGpu_FloatModel() 55 Interpreter interpreter = new Interpreter(MODEL_BUFFER, options.addDelegate(delegate))) { in testInterpreterWithGpu_FloatModel() 80 try (GpuDelegate delegate = new GpuDelegate(); in testInterpreterWithGpu_QuantModelRunWithDelegate() 82 new Interpreter(MOBILENET_QUANTIZED_MODEL_BUFFER, options.addDelegate(delegate))) { in testInterpreterWithGpu_QuantModelRunWithDelegate() 101 try (GpuDelegate delegate = in testInterpreterWithGpu_QuantModelRunOnCPU() 104 new Interpreter(MOBILENET_QUANTIZED_MODEL_BUFFER, options.addDelegate(delegate))) { in testInterpreterWithGpu_QuantModelRunOnCPU()
|
| /external/guava/android/guava/src/com/google/common/util/concurrent/ |
| D | ForwardingListenableFuture.java | 41 protected abstract ListenableFuture<? extends V> delegate(); in delegate() method in ForwardingListenableFuture 57 private final ListenableFuture<V> delegate; field in ForwardingListenableFuture.SimpleForwardingListenableFuture 59 protected SimpleForwardingListenableFuture(ListenableFuture<V> delegate) { in SimpleForwardingListenableFuture() 64 protected final ListenableFuture<V> delegate() { in delegate() method in ForwardingListenableFuture.SimpleForwardingListenableFuture
|
| D | ForwardingFuture.java | 43 protected abstract Future<? extends V> delegate(); in delegate() method in ForwardingFuture 79 private final Future<V> delegate; field in ForwardingFuture.SimpleForwardingFuture 81 protected SimpleForwardingFuture(Future<V> delegate) { in SimpleForwardingFuture() 86 protected final Future<V> delegate() { in delegate() method in ForwardingFuture.SimpleForwardingFuture
|
| /external/guava/guava/src/com/google/common/util/concurrent/ |
| D | ForwardingListenableFuture.java | 41 protected abstract ListenableFuture<? extends V> delegate(); in delegate() method in ForwardingListenableFuture 57 private final ListenableFuture<V> delegate; field in ForwardingListenableFuture.SimpleForwardingListenableFuture 59 protected SimpleForwardingListenableFuture(ListenableFuture<V> delegate) { in SimpleForwardingListenableFuture() 64 protected final ListenableFuture<V> delegate() { in delegate() method in ForwardingListenableFuture.SimpleForwardingListenableFuture
|
| D | ForwardingFuture.java | 43 protected abstract Future<? extends V> delegate(); in delegate() method in ForwardingFuture 79 private final Future<V> delegate; field in ForwardingFuture.SimpleForwardingFuture 81 protected SimpleForwardingFuture(Future<V> delegate) { in SimpleForwardingFuture() 86 protected final Future<V> delegate() { in delegate() method in ForwardingFuture.SimpleForwardingFuture
|
| /external/libchrome/base/files/ |
| D | file_path_watcher_unittest.cc | 58 void OnChange(TestDelegate* delegate) { in OnChange() 64 void Register(TestDelegate* delegate) { in Register() 81 void RecordChange(TestDelegate* delegate) { in RecordChange() 221 TestDelegateBase* delegate, in SetupWatch() 231 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() local 243 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() local 257 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() local 269 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() local 318 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() local 341 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() local [all …]
|
| /external/libchrome/base/ |
| D | run_loop.cc | 56 void RunLoop::RegisterDelegateForCurrentThread(Delegate* delegate) { in RegisterDelegateForCurrentThread() 179 Delegate* delegate = tls_delegate.Get().Get(); in IsRunningOnCurrentThread() local 185 Delegate* delegate = tls_delegate.Get().Get(); in IsNestedOnCurrentThread() local 191 Delegate* delegate = tls_delegate.Get().Get(); in AddNestingObserverOnCurrentThread() local 198 Delegate* delegate = tls_delegate.Get().Get(); in RemoveNestingObserverOnCurrentThread() local 206 Delegate* delegate = tls_delegate.Get().Get(); in QuitCurrentDeprecated() local 215 Delegate* delegate = tls_delegate.Get().Get(); in QuitCurrentWhenIdleDeprecated() local
|
| /external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
| D | CallCredentialsApplyingTransportFactory.java | 34 private final ClientTransportFactory delegate; field in CallCredentialsApplyingTransportFactory 38 ClientTransportFactory delegate, Executor appExecutor) { in CallCredentialsApplyingTransportFactory() 61 private final ConnectionClientTransport delegate; field in CallCredentialsApplyingTransportFactory.CallCredentialsApplyingTransport 64 CallCredentialsApplyingTransport(ConnectionClientTransport delegate, String authority) { in CallCredentialsApplyingTransport() 70 protected ConnectionClientTransport delegate() { in delegate() method in CallCredentialsApplyingTransportFactory.CallCredentialsApplyingTransport
|
| /external/desugar/java/com/google/devtools/common/options/testing/ |
| D | ConverterTesterMap.java | 30 private final ImmutableMap<Class<? extends Converter<?>>, ConverterTester> delegate; field in ConverterTesterMap 33 ImmutableMap<Class<? extends Converter<?>>, ConverterTester> delegate) { in ConverterTesterMap() 38 protected Map<Class<? extends Converter<?>>, ConverterTester> delegate() { in delegate() method in ConverterTesterMap 44 private final ImmutableMap.Builder<Class<? extends Converter<?>>, ConverterTester> delegate; field in ConverterTesterMap.Builder
|
| /external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
| D | ForwardingTimeout.java | 25 private Timeout delegate; field in ForwardingTimeout 27 public ForwardingTimeout(Timeout delegate) { in ForwardingTimeout() 33 public final Timeout delegate() { in delegate() method in ForwardingTimeout 37 public final ForwardingTimeout setDelegate(Timeout delegate) { in setDelegate()
|
| /external/okhttp/okio/okio/src/main/java/okio/ |
| D | ForwardingTimeout.java | 23 private Timeout delegate; field in ForwardingTimeout 25 public ForwardingTimeout(Timeout delegate) { in ForwardingTimeout() 31 public final Timeout delegate() { in delegate() method in ForwardingTimeout 35 public final ForwardingTimeout setDelegate(Timeout delegate) { in setDelegate()
|
| /external/guava/android/guava/src/com/google/common/cache/ |
| D | ForwardingLoadingCache.java | 41 protected abstract LoadingCache<K, V> delegate(); in delegate() method in ForwardingLoadingCache 76 private final LoadingCache<K, V> delegate; field in ForwardingLoadingCache.SimpleForwardingLoadingCache 78 protected SimpleForwardingLoadingCache(LoadingCache<K, V> delegate) { in SimpleForwardingLoadingCache() 83 protected final LoadingCache<K, V> delegate() { in delegate() method in ForwardingLoadingCache.SimpleForwardingLoadingCache
|
| /external/guava/guava/src/com/google/common/cache/ |
| D | ForwardingLoadingCache.java | 41 protected abstract LoadingCache<K, V> delegate(); in delegate() method in ForwardingLoadingCache 76 private final LoadingCache<K, V> delegate; field in ForwardingLoadingCache.SimpleForwardingLoadingCache 78 protected SimpleForwardingLoadingCache(LoadingCache<K, V> delegate) { in SimpleForwardingLoadingCache() 83 protected final LoadingCache<K, V> delegate() { in delegate() method in ForwardingLoadingCache.SimpleForwardingLoadingCache
|