| /external/pdfium/xfa/fde/ |
| D | cfde_texteditengine_unittest.cpp | 56 CFDE_TextEditEngine* engine() const { return engine_.get(); } in engine() function in CFDE_TextEditEngineTest 64 EXPECT_STREQ(L"", engine()->GetText().c_str()); in TEST_F() 66 engine()->Insert(0, L""); in TEST_F() 67 EXPECT_STREQ(L"", engine()->GetText().c_str()); in TEST_F() 68 EXPECT_EQ(0U, engine()->GetLength()); in TEST_F() 70 engine()->Insert(0, L"Hello"); in TEST_F() 71 EXPECT_STREQ(L"Hello", engine()->GetText().c_str()); in TEST_F() 72 EXPECT_EQ(5U, engine()->GetLength()); in TEST_F() 74 engine()->Insert(5, L" World"); in TEST_F() 75 EXPECT_STREQ(L"Hello World", engine()->GetText().c_str()); in TEST_F() [all …]
|
| /external/pdfium/core/fpdfapi/page/ |
| D | cpdf_psengine_unittest.cpp | 14 float DoOperator0(CPDF_PSEngine* engine, PDF_PSOP op) { in DoOperator0() argument 15 EXPECT_EQ(0u, engine->GetStackSize()); in DoOperator0() 16 engine->DoOperator(op); in DoOperator0() 17 float ret = engine->Pop(); in DoOperator0() 18 EXPECT_EQ(0u, engine->GetStackSize()); in DoOperator0() 22 float DoOperator1(CPDF_PSEngine* engine, float v1, PDF_PSOP op) { in DoOperator1() argument 23 EXPECT_EQ(0u, engine->GetStackSize()); in DoOperator1() 24 engine->Push(v1); in DoOperator1() 25 engine->DoOperator(op); in DoOperator1() 26 float ret = engine->Pop(); in DoOperator1() [all …]
|
| /external/webrtc/modules/audio_processing/test/android/apmtest/jni/ |
| D | main.c | 44 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/webrtc/third_party/abseil-cpp/absl/random/ |
| D | benchmarks.cc | 60 // 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/openscreen/third_party/abseil/src/absl/random/ |
| D | benchmarks.cc | 60 // 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/angle/third_party/abseil-cpp/absl/random/ |
| D | benchmarks.cc | 60 // 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/ |
| D | benchmarks.cc | 60 // 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/ |
| D | benchmarks.cc | 60 // 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/cronet/third_party/abseil-cpp/absl/random/ |
| D | benchmarks.cc | 60 // 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/tensorflow/third_party/absl/abseil-cpp/absl/random/ |
| D | benchmarks.cc | 60 // 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/ |
| D | benchmarks.cc | 60 // 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/python/cpython2/Lib/idlelib/idle_test/ |
| D | test_searchengine.py | 40 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/python/cpython3/Lib/idlelib/idle_test/ |
| D | test_searchengine.py | 41 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/deqp-deps/amber/src/ |
| D | executor_test.cc | 23 #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/python/cryptography/src/_cffi_src/openssl/ |
| D | engine.py | 8 #include <openssl/engine.h> 12 typedef ... ENGINE; 19 ENGINE *ENGINE_by_id(const char *); 20 int ENGINE_init(ENGINE *); 21 int ENGINE_finish(ENGINE *); 22 ENGINE *ENGINE_get_default_RAND(void); 23 int ENGINE_set_default_RAND(ENGINE *); 24 void ENGINE_unregister_RAND(ENGINE *); 25 int ENGINE_ctrl_cmd(ENGINE *, const char *, long, void *, void (*)(void), int); 26 int ENGINE_free(ENGINE *); [all …]
|
| /external/llvm/unittests/ExecutionEngine/ |
| D | ExecutionEngineTest.cpp | 33 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 __anon550f4ab60111::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/boringssl/src/crypto/engine/ |
| D | engine.c | 15 #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/cronet/third_party/boringssl/src/crypto/engine/ |
| D | engine.c | 15 #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/ |
| D | engine.c | 15 #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/ |
| D | engines.md | 4 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/capstone/docs/ |
| D | README | 3 * 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/glide/library/src/main/java/com/bumptech/glide/ |
| D | GlideBuilder.java | 7 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/benchmark-android/src/main/java/org/conscrypt/ |
| D | AndroidEngineFactory.java | 23 * 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/ |
| D | jni_bridge.cpp | 24 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 …]
|
| /external/conscrypt/repackaged/benchmark-android/src/main/java/com/android/org/conscrypt/ |
| D | AndroidEngineFactory.java | 24 * 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 …]
|