Home
last modified time | relevance | path

Searched full:engine (Results 1 – 25 of 3788) sorted by relevance

12345678910>>...152

/external/pdfium/xfa/fde/
Dcfde_texteditengine_unittest.cpp52 CFDE_TextEditEngine* engine() const { return engine_.get(); } in engine() function in CFDE_TextEditEngineTest
60 EXPECT_STREQ(L"", engine()->GetText().c_str()); in TEST_F()
62 engine()->Insert(0, L""); in TEST_F()
63 EXPECT_STREQ(L"", engine()->GetText().c_str()); in TEST_F()
64 EXPECT_EQ(0U, engine()->GetLength()); in TEST_F()
66 engine()->Insert(0, L"Hello"); in TEST_F()
67 EXPECT_STREQ(L"Hello", engine()->GetText().c_str()); in TEST_F()
68 EXPECT_EQ(5U, engine()->GetLength()); in TEST_F()
70 engine()->Insert(5, L" World"); in TEST_F()
71 EXPECT_STREQ(L"Hello World", engine()->GetText().c_str()); in TEST_F()
[all …]
/external/python/cryptography/src/_cffi_src/openssl/
Dengine.py8 #include <openssl/engine.h>
12 typedef ... ENGINE;
22 typedef int (*ENGINE_GEN_INT_FUNC_PTR)(ENGINE *);
42 ENGINE *ENGINE_get_first(void);
43 ENGINE *ENGINE_get_last(void);
44 ENGINE *ENGINE_get_next(ENGINE *);
45 ENGINE *ENGINE_get_prev(ENGINE *);
46 int ENGINE_add(ENGINE *);
47 int ENGINE_remove(ENGINE *);
48 ENGINE *ENGINE_by_id(const char *);
[all …]
/external/webrtc/modules/audio_processing/test/android/apmtest/jni/
Dmain.c44 struct engine { struct
63 static int engine_init_display(struct engine* engine) { in engine_init_display() argument
99 ANativeWindow_setBuffersGeometry(engine->app->window, 0, 0, format); in engine_init_display()
101 surface = eglCreateWindowSurface(display, config, engine->app->window, NULL); in engine_init_display()
112 engine->display = display; in engine_init_display()
113 engine->context = context; in engine_init_display()
114 engine->surface = surface; in engine_init_display()
115 engine->width = w; in engine_init_display()
116 engine->height = h; in engine_init_display()
117 engine->state.angle = 0; in engine_init_display()
[all …]
/external/openscreen/third_party/abseil/src/absl/random/
Dbenchmarks.cc60 // random engine to speed initialization in the benchmarks.
92 // use_default_initialization<T> indicates whether the random engine
102 template <typename Engine, typename SSeq = PrecompiledSeedSeq>
103 typename absl::enable_if_t<!use_default_initialization<Engine>::value, Engine>
105 // Initialize the random engine using the seed sequence SSeq, which in make_engine()
108 return Engine(seq); in make_engine()
111 template <typename Engine, typename SSeq = PrecompiledSeedSeq>
112 typename absl::enable_if_t<use_default_initialization<Engine>::value, Engine>
114 // Initialize the random engine using the default constructor. in make_engine()
115 return Engine(); in make_engine()
[all …]
/external/abseil-cpp/absl/random/
Dbenchmarks.cc60 // random engine to speed initialization in the benchmarks.
92 // use_default_initialization<T> indicates whether the random engine
102 template <typename Engine, typename SSeq = PrecompiledSeedSeq>
103 typename absl::enable_if_t<!use_default_initialization<Engine>::value, Engine>
105 // Initialize the random engine using the seed sequence SSeq, which in make_engine()
108 return Engine(seq); in make_engine()
111 template <typename Engine, typename SSeq = PrecompiledSeedSeq>
112 typename absl::enable_if_t<use_default_initialization<Engine>::value, Engine>
114 // Initialize the random engine using the default constructor. in make_engine()
115 return Engine(); in make_engine()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/
Dbenchmarks.cc60 // random engine to speed initialization in the benchmarks.
92 // use_default_initialization<T> indicates whether the random engine
102 template <typename Engine, typename SSeq = PrecompiledSeedSeq>
103 typename absl::enable_if_t<!use_default_initialization<Engine>::value, Engine>
105 // Initialize the random engine using the seed sequence SSeq, which in make_engine()
108 return Engine(seq); in make_engine()
111 template <typename Engine, typename SSeq = PrecompiledSeedSeq>
112 typename absl::enable_if_t<use_default_initialization<Engine>::value, Engine>
114 // Initialize the random engine using the default constructor. in make_engine()
115 return Engine(); in make_engine()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/random/
Dbenchmarks.cc60 // random engine to speed initialization in the benchmarks.
92 // use_default_initialization<T> indicates whether the random engine
102 template <typename Engine, typename SSeq = PrecompiledSeedSeq>
103 typename absl::enable_if_t<!use_default_initialization<Engine>::value, Engine>
105 // Initialize the random engine using the seed sequence SSeq, which in make_engine()
108 return Engine(seq); in make_engine()
111 template <typename Engine, typename SSeq = PrecompiledSeedSeq>
112 typename absl::enable_if_t<use_default_initialization<Engine>::value, Engine>
114 // Initialize the random engine using the default constructor. in make_engine()
115 return Engine(); in make_engine()
[all …]
/external/libtextclassifier/abseil-cpp/absl/random/
Dbenchmarks.cc60 // random engine to speed initialization in the benchmarks.
92 // use_default_initialization<T> indicates whether the random engine
102 template <typename Engine, typename SSeq = PrecompiledSeedSeq>
103 typename absl::enable_if_t<!use_default_initialization<Engine>::value, Engine>
105 // Initialize the random engine using the seed sequence SSeq, which in make_engine()
108 return Engine(seq); in make_engine()
111 template <typename Engine, typename SSeq = PrecompiledSeedSeq>
112 typename absl::enable_if_t<use_default_initialization<Engine>::value, Engine>
114 // Initialize the random engine using the default constructor. in make_engine()
115 return Engine(); in make_engine()
[all …]
/external/pdfium/core/fpdfapi/page/
Dcpdf_psengine_unittest.cpp12 float DoOperator1(CPDF_PSEngine* engine, float v1, PDF_PSOP op) { in DoOperator1() argument
13 EXPECT_EQ(0u, engine->GetStackSize()); in DoOperator1()
14 engine->Push(v1); in DoOperator1()
15 engine->DoOperator(op); in DoOperator1()
16 float ret = engine->Pop(); in DoOperator1()
17 EXPECT_EQ(0u, engine->GetStackSize()); in DoOperator1()
21 float DoOperator2(CPDF_PSEngine* engine, float v1, float v2, PDF_PSOP op) { in DoOperator2() argument
22 EXPECT_EQ(0u, engine->GetStackSize()); in DoOperator2()
23 engine->Push(v1); in DoOperator2()
24 engine->Push(v2); in DoOperator2()
[all …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_searchengine.py41 engine = se.get(root)
42 self.assertIsInstance(engine, se.SearchEngine)
43 self.assertIs(root._searchengine, engine)
44 self.assertIs(se.get(root), engine)
109 self.engine = se.SearchEngine(root=None)
110 # Engine.root is only used to create error message boxes.
114 engine = self.engine
117 Equal(engine.getpat(), '')
118 engine.setpat('hello')
119 Equal(engine.getpat(), 'hello')
[all …]
/external/python/cpython2/Lib/idlelib/idle_test/
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)
109 # Engine.root is only used to create error message boxes.
113 engine = self.engine
116 Equal(engine.getpat(), '')
117 engine.setpat('hello')
118 Equal(engine.getpat(), 'hello')
[all …]
/external/oboe/samples/hello-oboe/src/main/cpp/
Djni_bridge.cpp25 * Creates the audio engine
27 * @return a pointer to the audio engine. This should be passed to other methods
33 // We use std::nothrow so `new` returns a nullptr if the engine creation fails in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1createEngine()
34 HelloOboeEngine *engine = new(std::nothrow) HelloOboeEngine(); in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1createEngine() local
35 if (engine == nullptr) { in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1createEngine()
39 auto result = engine->start(); in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1createEngine()
42 engine->stop(); in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1createEngine()
43 delete engine; in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1createEngine()
46 return reinterpret_cast<jlong>(engine); in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1createEngine()
55 HelloOboeEngine *engine = reinterpret_cast<HelloOboeEngine *>(engineHandle); in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1deleteEngine() local
[all …]
/external/deqp-deps/amber/src/
Dexecutor_test.cc23 #include "src/engine.h"
31 class EngineStub : public Engine {
33 EngineStub() : Engine() {} in EngineStub()
36 // Engine
212 std::unique_ptr<Engine> MakeEngine() { return MakeUnique<EngineStub>(); } in MakeEngine()
213 std::unique_ptr<Engine> MakeAndInitializeEngine( in MakeAndInitializeEngine()
217 std::unique_ptr<Engine> engine = MakeUnique<EngineStub>(); in MakeAndInitializeEngine() local
218 engine->Initialize(nullptr, nullptr, features, instance_extensions, in MakeAndInitializeEngine()
220 return engine; in MakeAndInitializeEngine()
222 EngineStub* ToStub(Engine* engine) { in ToStub() argument
[all …]
/external/llvm/unittests/ExecutionEngine/
DExecutionEngineTest.cpp33 Engine.reset(EngineBuilder(std::move(Owner)).setErrorStr(&Error).create()); in ExecutionEngineTest()
37 ASSERT_TRUE(Engine.get() != nullptr) << "EngineBuilder returned error: '" in SetUp()
49 std::unique_ptr<ExecutionEngine> Engine; member in __anonc8cc0cd10111::ExecutionEngineTest
55 Engine->addGlobalMapping(G1, &Mem1); in TEST_F()
56 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
57 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable("Global1")); in TEST_F()
59 Engine->updateGlobalMapping(G1, &Mem2); in TEST_F()
60 EXPECT_EQ(&Mem2, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
61 Engine->updateGlobalMapping(G1, nullptr); in TEST_F()
62 EXPECT_EQ(nullptr, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
[all …]
/external/llvm-project/llvm/unittests/ExecutionEngine/
DExecutionEngineTest.cpp32 Engine.reset(EngineBuilder(std::move(Owner)).setErrorStr(&Error).create()); in ExecutionEngineTest()
36 ASSERT_TRUE(Engine.get() != nullptr) << "EngineBuilder returned error: '" in SetUp()
48 std::unique_ptr<ExecutionEngine> Engine; member in __anon1d53949f0111::ExecutionEngineTest
54 Engine->addGlobalMapping(G1, &Mem1); in TEST_F()
55 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
56 EXPECT_EQ(&Mem1, Engine->getPointerToGlobalIfAvailable("Global1")); in TEST_F()
58 Engine->updateGlobalMapping(G1, &Mem2); in TEST_F()
59 EXPECT_EQ(&Mem2, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
60 Engine->updateGlobalMapping(G1, nullptr); in TEST_F()
61 EXPECT_EQ(nullptr, Engine->getPointerToGlobalIfAvailable(G1)); in TEST_F()
[all …]
/external/boringssl/src/crypto/engine/
Dengine.c15 #include <openssl/engine.h>
34 ENGINE *ENGINE_new(void) { in ENGINE_new()
35 ENGINE *engine = OPENSSL_malloc(sizeof(ENGINE)); in ENGINE_new() local
36 if (engine == NULL) { in ENGINE_new()
40 OPENSSL_memset(engine, 0, sizeof(ENGINE)); in ENGINE_new()
41 return engine; in ENGINE_new()
44 int ENGINE_free(ENGINE *engine) { in ENGINE_free() argument
46 OPENSSL_free(engine); in ENGINE_free()
66 int ENGINE_set_RSA_method(ENGINE *engine, const RSA_METHOD *method, in ENGINE_set_RSA_method() argument
68 return set_method((void **)&engine->rsa_method, method, method_size, in ENGINE_set_RSA_method()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/crypto/engine/
Dengine.c15 #include <openssl/engine.h>
34 ENGINE *ENGINE_new(void) { in ENGINE_new()
35 ENGINE *engine = OPENSSL_malloc(sizeof(ENGINE)); in ENGINE_new() local
36 if (engine == NULL) { in ENGINE_new()
40 OPENSSL_memset(engine, 0, sizeof(ENGINE)); in ENGINE_new()
41 return engine; in ENGINE_new()
44 int ENGINE_free(ENGINE *engine) { in ENGINE_free() argument
46 OPENSSL_free(engine); in ENGINE_free()
66 int ENGINE_set_RSA_method(ENGINE *engine, const RSA_METHOD *method, in ENGINE_set_RSA_method() argument
68 return set_method((void **)&engine->rsa_method, method, method_size, in ENGINE_set_RSA_method()
[all …]
/external/deqp-deps/amber/docs/
Dengines.md4 engine layer. The parsing/executing side of Amber (which we'll call the
9 ## Engine Lifecycle
10 The engine will go through several states as the script executes. First the
11 engine will be created. The creation should not configure the backing graphics
12 API. The creation just sets up the basic engine structure.
15 Engine
50 Once created, the engine will be initialized. This initialization will receive
51 the configured graphics API from the embedder. The engine can then setup any
55 With the engine initialized all of the pipelines will be created through a
72 The engine should go through and create all the needed pipeline resources.
[all …]
/external/tensorflow/tensorflow/core/util/
Dmkl_types.h30 #define CPU_STREAM(engine) stream(engine) argument
31 #define DATA_WITH_ENGINE(data, engine) data, engine argument
33 #define ENGINE_CPU engine::kind::cpu
34 #define GET_CHECK_REORDER_MEM_ARGS(md, tensor, net, net_args, engine) \ argument
35 md, tensor, net, net_args, engine
36 #define GET_CHECK_REORDER_TO_OP_MEM_ARGS(md, tensor, net, net_args, engine) \ argument
37 md, tensor, net, net_args, engine
46 #define GET_MEMORY_SIZE_FROM_MD(md, engine) md.get_size() argument
67 #define MEMORY_CONSTRUCTOR(mem_desc, engine, data) \ argument
68 memory(mem_desc, engine, data)
[all …]
/external/capstone/docs/
DREADME3 * Switching to 2.1 engine.
5 http://capstone-engine.org/version_2.1_API.html
9 http://capstone-engine.org/documentation.html
13 http://capstone-engine.org/lang_c.html
17 http://capstone-engine.org/lang_python.html
21 http://capstone-engine.org/lang_java.html
25 http://capstone-engine.org/mnemonic.html
29 http://capstone-engine.org/op_access.html
31 * Build compact engine with only selected architectures.
33 http://capstone-engine.org/compile.html
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptEngineSocket.java56 private final ConscryptEngine engine; field in ConscryptEngineSocket
73 engine = newEngine(sslParameters, this); in ConscryptEngineSocket()
79 engine = newEngine(sslParameters, this); in ConscryptEngineSocket()
85 engine = newEngine(sslParameters, this); in ConscryptEngineSocket()
91 engine = newEngine(sslParameters, this); in ConscryptEngineSocket()
97 engine = newEngine(sslParameters, this); in ConscryptEngineSocket()
103 engine = newEngine(sslParameters, this); in ConscryptEngineSocket()
115 ConscryptEngine engine = in newEngine() local
119 engine.setHandshakeListener(new HandshakeListener() { in newEngine()
130 // Transition the engine state to MODE_SET in newEngine()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/
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.cache.MemorySizeCalculator;
[all …]
/external/conscrypt/repackaged/benchmark-android/src/main/java/com/android/org/conscrypt/
DAndroidEngineFactory.java24 * Enumeration of various types of engines for use with engine-based benchmarks.
35 SSLEngine engine = initEngine(clientContext.createSSLEngine(), cipher, true); in newClientEngine() local
37 Conscrypt.setApplicationProtocols(engine, new String[] {"h2"}); in newClientEngine()
39 return engine; in newClientEngine()
44 SSLEngine engine = initEngine(serverContext.createSSLEngine(), cipher, false); in newServerEngine() local
46 Conscrypt.setApplicationProtocols(engine, new String[] {"h2"}); in newServerEngine()
48 return engine; in newServerEngine()
52 public void dispose(SSLEngine engine) { in dispose() argument
53 engine.closeOutbound(); in dispose()
64 SSLEngine engine = initEngine(clientContext.createSSLEngine(), cipher, true); in newClientEngine() local
[all …]
/external/conscrypt/benchmark-android/src/main/java/org/conscrypt/
DAndroidEngineFactory.java23 * Enumeration of various types of engines for use with engine-based benchmarks.
33 SSLEngine engine = initEngine(clientContext.createSSLEngine(), cipher, true); in newClientEngine() local
35 Conscrypt.setApplicationProtocols(engine, new String[] {"h2"}); in newClientEngine()
37 return engine; in newClientEngine()
42 SSLEngine engine = initEngine(serverContext.createSSLEngine(), cipher, false); in newServerEngine() local
44 Conscrypt.setApplicationProtocols(engine, new String[] {"h2"}); in newServerEngine()
46 return engine; in newServerEngine()
50 public void dispose(SSLEngine engine) { in dispose() argument
51 engine.closeOutbound(); in dispose()
62 SSLEngine engine = initEngine(clientContext.createSSLEngine(), cipher, true); in newClientEngine() local
[all …]
/external/oboe/samples/LiveEffect/src/main/cpp/
Djni_bridge.cpp24 static LiveEffectEngine *engine = nullptr; variable
31 if (engine == nullptr) { in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_create()
32 engine = new LiveEffectEngine(); in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_create()
35 return (engine != nullptr) ? JNI_TRUE : JNI_FALSE; in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_create()
41 if (engine) { in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_delete()
42 engine->setEffectOn(false); in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_delete()
43 delete engine; in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_delete()
44 engine = nullptr; in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_delete()
51 if (engine == nullptr) { in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_setEffectOn()
53 "Engine is null, you must call createEngine before calling this " in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_setEffectOn()
[all …]

12345678910>>...152