Searched refs:engine (Results 1 - 25 of 435) sorted by relevance

1234567891011>>

/external/pdfium/testing/libfuzzer/
H A Dpdf_psengine_fuzzer.cc10 CPDF_PSEngine engine; local
11 if (engine.Parse(reinterpret_cast<const char*>(data), size))
12 engine.Execute();
/external/pdfium/xfa/fde/
H A Dcfde_texteditengine_unittest.cpp50 CFDE_TextEditEngine* engine() const { return engine_.get(); } function in class:CFDE_TextEditEngineTest
58 EXPECT_STREQ(L"", engine()->GetText().c_str());
60 engine()->Insert(0, L"");
61 EXPECT_STREQ(L"", engine()->GetText().c_str());
62 EXPECT_EQ(0U, engine()->GetLength());
64 engine()->Insert(0, L"Hello");
65 EXPECT_STREQ(L"Hello", engine()->GetText().c_str());
66 EXPECT_EQ(5U, engine()->GetLength());
68 engine()->Insert(5, L" World");
69 EXPECT_STREQ(L"Hello World", engine()
[all...]
/external/webrtc/webrtc/modules/audio_processing/test/android/apmtest/jni/
H A Dmain.c44 struct engine { struct
63 static int engine_init_display(struct engine* engine) { argument
99 ANativeWindow_setBuffersGeometry(engine->app->window, 0, 0, format);
101 surface = eglCreateWindowSurface(display, config, engine->app->window, NULL);
112 engine->display = display;
113 engine->context = context;
114 engine->surface = surface;
115 engine->width = w;
116 engine
131 engine_draw_frame(struct engine* engine) argument
148 engine_term_display(struct engine* engine) argument
169 struct engine* engine = (struct engine*)app->userData; local
183 struct engine* engine = (struct engine*)app->userData; local
232 struct engine engine; local
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
H A DPoolable.java1 package com.bumptech.glide.load.engine.bitmap_recycle;
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/executor/
H A DPrioritized.java1 package com.bumptech.glide.load.engine.executor;
/external/webrtc/webrtc/libjingle/xmpp/
H A Dmoduleimpl.cc30 XmppModuleImpl::RegisterEngine(XmppEngine* engine) argument
32 if (NULL == engine || NULL != engine_)
35 engine->AddStanzaHandler(&stanza_handler_);
36 engine_ = engine;
42 XmppModuleImpl::engine() { function in class:buzz::XmppModuleImpl
H A Dmoduleimpl.h20 //! An engine is registered with the module and the module then hooks the
21 //! appropriate parts of the engine to implement that set of features. It is
22 //! important to unregister modules before destructing the engine.
28 //! Register the engine with the module. Only one engine can be associated
30 //! already an engine registered.
31 XmppReturnStatus RegisterEngine(XmppEngine* engine);
33 //! Gets the engine that this module is attached to.
34 XmppEngine* engine();
45 //! to hook into and get stanzas and events from the engine
[all...]
H A Dxmppengine_unittest.cc57 XmppEngine* engine() { return engine_.get(); } function in class:XmppEngineTest
86 EXPECT_EQ(XmppEngine::STATE_START, engine()->GetState());
87 engine()->Connect();
88 EXPECT_EQ(XmppEngine::STATE_OPENING, engine()->GetState());
100 engine()->HandleInput(input.c_str(), input.length());
112 engine()->HandleInput(input.c_str(), input.length());
120 engine()->HandleInput(input.c_str(), input.length());
132 engine()->HandleInput(input.c_str(), input.length());
141 engine()->HandleInput(input.c_str(), input.length());
154 engine()
[all...]
/external/boringssl/src/crypto/engine/
H A Dengine.c15 #include <openssl/engine.h>
35 ENGINE *engine = OPENSSL_malloc(sizeof(ENGINE)); local
36 if (engine == NULL) {
40 OPENSSL_memset(engine, 0, sizeof(ENGINE));
41 return engine;
44 void ENGINE_free(ENGINE *engine) { argument
46 OPENSSL_free(engine);
65 int ENGINE_set_RSA_method(ENGINE *engine, const RSA_METHOD *method, argument
67 return set_method((void **)&engine->rsa_method, method, method_size,
71 RSA_METHOD *ENGINE_get_RSA_method(const ENGINE *engine) { argument
75 ENGINE_set_ECDSA_method(ENGINE *engine, const ECDSA_METHOD *method, size_t method_size) argument
81 ENGINE_get_ECDSA_method(const ENGINE *engine) argument
[all...]
/external/conscrypt/benchmark-android/src/main/java/org/conscrypt/
H A DAndroidEngineFactory.java23 * Enumeration of various types of engines for use with engine-based benchmarks.
33 SSLEngine engine = initEngine(clientContext.createSSLEngine(), cipher, true);
35 Conscrypt.setApplicationProtocols(engine, new String[] {"h2"});
37 return engine;
42 SSLEngine engine = initEngine(serverContext.createSSLEngine(), cipher, false);
44 Conscrypt.setApplicationProtocols(engine, new String[] {"h2"});
46 return engine;
58 public void dispose(SSLEngine engine) {
59 engine.closeOutbound();
64 public void dispose(SSLEngine engine) {} argument
74 initEngine(SSLEngine engine, String cipher, boolean client) argument
[all...]
/external/tensorflow/tensorflow/python/keras/_impl/keras/engine/
H A D__init__.py21 from tensorflow.python.keras._impl.keras.engine.topology import get_source_inputs
22 from tensorflow.python.keras._impl.keras.engine.topology import Input
23 from tensorflow.python.keras._impl.keras.engine.topology import InputLayer
24 from tensorflow.python.keras._impl.keras.engine.topology import InputSpec
25 from tensorflow.python.keras._impl.keras.engine.topology import Layer
26 from tensorflow.python.keras._impl.keras.engine.training import Model
/external/pdfium/fxjs/
H A Dfxjs_v8_embeddertest.cpp24 int sts = engine()->Execute(script, &error);
28 v8::Local<v8::Object> This = engine()->GetThisObj();
29 v8::Local<v8::Value> fred = engine()->GetObjectProperty(This, L"fred");
31 EXPECT_EQ(expected, engine()->ToDouble(fred));
84 EXPECT_FALSE(engine()->ToBoolean(empty));
85 EXPECT_EQ(0, engine()->ToInt32(empty));
86 EXPECT_EQ(0.0, engine()->ToDouble(empty));
87 EXPECT_EQ(L"", engine()->ToWideString(empty));
88 EXPECT_TRUE(engine()->ToObject(empty).IsEmpty());
89 EXPECT_TRUE(engine()
[all...]
/external/boringssl/include/openssl/
H A Dengine.h43 // |engine| and frees |engine| itself.
44 OPENSSL_EXPORT void ENGINE_free(ENGINE *engine);
56 OPENSSL_EXPORT int ENGINE_set_RSA_method(ENGINE *engine,
59 OPENSSL_EXPORT RSA_METHOD *ENGINE_get_RSA_method(const ENGINE *engine);
61 OPENSSL_EXPORT int ENGINE_set_ECDSA_method(ENGINE *engine,
64 OPENSSL_EXPORT ECDSA_METHOD *ENGINE_get_ECDSA_method(const ENGINE *engine);
/external/boringssl/src/include/openssl/
H A Dengine.h43 // |engine| and frees |engine| itself.
44 OPENSSL_EXPORT void ENGINE_free(ENGINE *engine);
56 OPENSSL_EXPORT int ENGINE_set_RSA_method(ENGINE *engine,
59 OPENSSL_EXPORT RSA_METHOD *ENGINE_get_RSA_method(const ENGINE *engine);
61 OPENSSL_EXPORT int ENGINE_set_ECDSA_method(ENGINE *engine,
64 OPENSSL_EXPORT ECDSA_METHOD *ENGINE_get_ECDSA_method(const ENGINE *engine);
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DTestInterpretedLexing.java84 Interpreter engine = new Interpreter(g, new ANTLRStringStream("a"));
85 engine = new Interpreter(g, new ANTLRStringStream("b"));
86 Token result = engine.scan("A");
88 engine = new Interpreter(g, new ANTLRStringStream("c"));
89 result = engine.scan("A");
99 Interpreter engine = new Interpreter(g, new ANTLRStringStream("abc")); // should ignore the x
100 Token result = engine.scan("A");
110 Interpreter engine = new Interpreter(g, new ANTLRStringStream("12x")); // should ignore the x
111 Token result = engine.scan("INT");
113 engine
[all...]
/external/python/cpython2/Lib/idlelib/idle_test/
H A Dtest_searchengine.py40 engine = se.get(root)
41 self.assertIsInstance(engine, se.SearchEngine)
42 self.assertIs(root._searchengine, engine)
43 self.assertIs(se.get(root), engine)
108 self.engine = se.SearchEngine(root=None)
113 engine = self.engine
116 Equal(engine.getpat(), '')
117 engine.setpat('hello')
118 Equal(engine
[all...]
/external/python/cpython3/Lib/idlelib/idle_test/
H A Dtest_searchengine.py40 engine = se.get(root)
41 self.assertIsInstance(engine, se.SearchEngine)
42 self.assertIs(root._searchengine, engine)
43 self.assertIs(se.get(root), engine)
108 self.engine = se.SearchEngine(root=None)
113 engine = self.engine
116 Equal(engine.getpat(), '')
117 engine.setpat('hello')
118 Equal(engine
[all...]
/external/conscrypt/common/src/main/java/org/conscrypt/
H A DConscrypt.java353 public static boolean isConscrypt(SSLEngine engine) { argument
354 return engine instanceof AbstractConscryptEngine;
357 private static AbstractConscryptEngine toConscrypt(SSLEngine engine) { argument
358 if (!isConscrypt(engine)) {
360 "Not a conscrypt engine: " + engine.getClass().getName());
362 return (AbstractConscryptEngine) engine;
366 * Provides the given engine with the provided bufferAllocator.
369 public static void setBufferAllocator(SSLEngine engine, BufferAllocator bufferAllocator) { argument
370 toConscrypt(engine)
380 setHostname(SSLEngine engine, String hostname) argument
389 getHostname(SSLEngine engine) argument
396 maxSealOverhead(SSLEngine engine) argument
403 setHandshakeListener(SSLEngine engine, HandshakeListener handshakeListener) argument
417 setChannelIdEnabled(SSLEngine engine, boolean enabled) argument
431 getChannelId(SSLEngine engine) argument
448 setChannelIdPrivateKey(SSLEngine engine, PrivateKey privateKey) argument
461 unwrap(SSLEngine engine, final ByteBuffer[] srcs, final ByteBuffer[] dsts) argument
479 unwrap(SSLEngine engine, final ByteBuffer[] srcs, int srcsOffset, final int srcsLength, final ByteBuffer[] dsts, final int dstsOffset, final int dstsLength) argument
492 setUseSessionTickets(SSLEngine engine, boolean useSessionTickets) argument
505 setApplicationProtocols(SSLEngine engine, String[] protocols) argument
516 getApplicationProtocols(SSLEngine engine) argument
527 setApplicationProtocolSelector(SSLEngine engine, ApplicationProtocolSelector selector) argument
538 getApplicationProtocol(SSLEngine engine) argument
547 getTlsUnique(SSLEngine engine) argument
[all...]
H A DConscryptEngineSocket.java48 private final ConscryptEngine engine; field in class:ConscryptEngineSocket
61 engine = newEngine(sslParameters, this);
67 engine = newEngine(sslParameters, this);
73 engine = newEngine(sslParameters, this);
79 engine = newEngine(sslParameters, this);
85 engine = newEngine(sslParameters, this);
91 engine = newEngine(sslParameters, this);
96 ConscryptEngine engine = new ConscryptEngine(sslParameters, socket.peerInfoProvider());
99 engine.setHandshakeListener(new HandshakeListener() {
110 // Transition the engine stat
[all...]
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/tck/
H A DEngineModule.java30 V8Engine engine = new V8Engine();
31 injector.injectMembers(engine);
32 return engine;
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
H A DBufferType.java41 ByteBuffer newApplicationBuffer(SSLEngine engine) { argument
42 return newBuffer(engine.getSession().getApplicationBufferSize());
45 ByteBuffer newPacketBuffer(SSLEngine engine) { argument
46 return newBuffer(engine.getSession().getPacketBufferSize());
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
H A DResource.java1 package com.bumptech.glide.load.engine;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
H A DBaseKeyGenerator.java21 protected CipherKeyGenerator engine; field in class:BaseKeyGenerator
28 CipherKeyGenerator engine)
32 this.engine = engine;
48 engine.init(new KeyGenerationParameters(random, defaultKeySize));
63 engine.init(new KeyGenerationParameters(random, keySize));
76 engine.init(new KeyGenerationParameters(new SecureRandom(), defaultKeySize));
80 return new SecretKeySpec(engine.generateKey(), algName);
25 BaseKeyGenerator( String algName, int defaultKeySize, CipherKeyGenerator engine) argument
/external/curl/docs/cmdline-opts/
H A Dengine.d1 Long: engine
3 Help: Crypto engine to use
6 Select the OpenSSL crypto engine to use for cipher operations. Use --engine
/external/glide/library/src/main/java/com/bumptech/glide/
H A DGlideBuilder.java7 import com.bumptech.glide.load.engine.Engine;
8 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool;
9 import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPoolAdapter;
10 import com.bumptech.glide.load.engine.bitmap_recycle.LruBitmapPool;
11 import com.bumptech.glide.load.engine.cache.DiskCache;
12 import com.bumptech.glide.load.engine.cache.DiskCacheAdapter;
13 import com.bumptech.glide.load.engine.cache.DiskLruCacheWrapper;
14 import com.bumptech.glide.load.engine.cache.LruResourceCache;
15 import com.bumptech.glide.load.engine.cache.MemoryCache;
16 import com.bumptech.glide.load.engine
28 private Engine engine; field in class:GlideBuilder
140 setEngine(Engine engine) argument
[all...]

Completed in 959 milliseconds

1234567891011>>