/external/webrtc/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/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestInterpretedLexing.java | 84 Interpreter engine = new Interpreter(g, new ANTLRStringStream("a")); in testSimpleAltCharTest() local 85 engine = new Interpreter(g, new ANTLRStringStream("b")); in testSimpleAltCharTest() 86 Token result = engine.scan("A"); in testSimpleAltCharTest() 88 engine = new Interpreter(g, new ANTLRStringStream("c")); in testSimpleAltCharTest() 89 result = engine.scan("A"); in testSimpleAltCharTest() 99 Interpreter engine = new Interpreter(g, new ANTLRStringStream("abc")); // should ignore the x in testSingleRuleRef() local 100 Token result = engine.scan("A"); in testSingleRuleRef() 110 Interpreter engine = new Interpreter(g, new ANTLRStringStream("12x")); // should ignore the x in testSimpleLoop() local 111 Token result = engine.scan("INT"); in testSimpleLoop() 113 engine = new Interpreter(g, new ANTLRStringStream("1234")); in testSimpleLoop() [all …]
|
/external/webrtc/webrtc/libjingle/xmpp/ |
D | xmppengine_unittest.cc | 57 XmppEngine* engine() { return engine_.get(); } in engine() function in XmppEngineTest 86 EXPECT_EQ(XmppEngine::STATE_START, engine()->GetState()); in RunLogin() 87 engine()->Connect(); in RunLogin() 88 EXPECT_EQ(XmppEngine::STATE_OPENING, engine()->GetState()); in RunLogin() 100 engine()->HandleInput(input.c_str(), input.length()); in RunLogin() 112 engine()->HandleInput(input.c_str(), input.length()); in RunLogin() 120 engine()->HandleInput(input.c_str(), input.length()); in RunLogin() 132 engine()->HandleInput(input.c_str(), input.length()); in RunLogin() 141 engine()->HandleInput(input.c_str(), input.length()); in RunLogin() 154 engine()->HandleInput(input.c_str(), input.length()); in RunLogin() [all …]
|
D | rostermodule_unittest.cc | 242 static void RunLogin(RosterModuleTest* obj, XmppEngine* engine, in RunLogin() argument 261 rtc::scoped_ptr<XmppEngine> engine(XmppEngine::Create()); in TEST_F() local 262 XmppTestHandler handler(engine.get()); in TEST_F() 269 roster->RegisterEngine(engine.get()); in TEST_F() 272 engine->SetOutputHandler(&handler); in TEST_F() 273 engine->AddStanzaHandler(&handler); in TEST_F() 274 engine->SetSessionHandler(&handler); in TEST_F() 277 engine->SetUser(Jid("david@my-server")); in TEST_F() 281 RunLogin(this, engine.get(), &handler); in TEST_F() 384 rtc::scoped_ptr<XmppEngine> engine(XmppEngine::Create()); in TEST_F() local [all …]
|
D | xmppengineimpl.cc | 402 XmppEngineImpl::EnterExit::EnterExit(XmppEngineImpl* engine) in EnterExit() argument 403 : engine_(engine), in EnterExit() 404 state_(engine->state_) { in EnterExit() 405 engine->engine_entered_ += 1; in EnterExit() 409 XmppEngineImpl* engine = engine_; in ~EnterExit() local 411 engine->engine_entered_ -= 1; in ~EnterExit() 413 bool closing = (engine->state_ != state_ && in ~EnterExit() 414 engine->state_ == STATE_CLOSED); in ~EnterExit() 415 bool flushing = closing || (engine->engine_entered_ == 0); in ~EnterExit() 417 if (engine->output_handler_ && flushing) { in ~EnterExit() [all …]
|
D | chatroommodule_unittest.cc | 164 rtc::scoped_ptr<XmppEngine> engine(XmppEngine::Create()); in TestEnterExitChatroom() local 165 XmppTestHandler handler(engine.get()); in TestEnterExitChatroom() 171 chatroom->RegisterEngine(engine.get()); in TestEnterExitChatroom() 174 engine->SetOutputHandler(&handler); in TestEnterExitChatroom() 175 engine->AddStanzaHandler(&handler); in TestEnterExitChatroom() 176 engine->SetSessionHandler(&handler); in TestEnterExitChatroom() 179 engine->SetUser(Jid("david@my-server")); in TestEnterExitChatroom() 180 engine->SetPassword("david"); in TestEnterExitChatroom() 183 RunLogin(this, engine.get(), &handler); in TestEnterExitChatroom() 209 TEST_OK(engine->HandleInput(input.c_str(), input.length())); in TestEnterExitChatroom() [all …]
|
D | xmpplogintask_unittest.cc | 46 XmppEngine* engine() { return engine_.get(); } in engine() function in XmppLoginTaskTest 254 engine()->HandleInput(input.c_str(), input.length()); in TEST_F() 267 engine()->HandleInput(input.c_str(), input.length()); in TEST_F() 277 engine()->HandleInput(input.c_str(), input.length()); in TEST_F() 293 engine()->HandleInput(input.c_str(), input.length()); in TEST_F() 313 engine()->HandleInput(input.c_str(), input.length()); in TEST_F() 331 engine()->HandleInput(input.c_str(), input.length()); in TEST_F() 353 engine()->HandleInput(input.c_str(), input.length()); in TEST_F() 374 engine()->HandleInput(input.c_str(), input.length()); in TEST_F() 396 engine()->HandleInput(input.c_str(), input.length()); in TEST_F() [all …]
|
/external/boringssl/src/crypto/engine/ |
D | engine.c | 33 ENGINE *engine = OPENSSL_malloc(sizeof(ENGINE)); in ENGINE_new() local 34 if (engine == NULL) { in ENGINE_new() 38 memset(engine, 0, sizeof(ENGINE)); in ENGINE_new() 39 return engine; in ENGINE_new() 42 void ENGINE_free(ENGINE *engine) { in ENGINE_free() argument 44 OPENSSL_free(engine); in ENGINE_free() 63 int ENGINE_set_RSA_method(ENGINE *engine, const RSA_METHOD *method, in ENGINE_set_RSA_method() argument 65 return set_method((void **)&engine->rsa_method, method, method_size, in ENGINE_set_RSA_method() 69 RSA_METHOD *ENGINE_get_RSA_method(const ENGINE *engine) { in ENGINE_get_RSA_method() argument 70 return engine->rsa_method; in ENGINE_get_RSA_method() [all …]
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/fortress/ |
D | EngineTest.java | 49 Engine engine = new Engine("Service"); in testGetInstanceStringObject1() local 52 engine.getInstance("AlGOrItHM", null); in testGetInstanceStringObject1() 54 if (engine.provider != p) { in testGetInstanceStringObject1() 57 if (!(engine.spi instanceof SomeClass)) { in testGetInstanceStringObject1() 68 Engine engine = new Engine("Service"); in testGetInstanceStringObject2() local 70 engine.getInstance(null, null); in testGetInstanceStringObject2() 82 Engine engine = new Engine("Service"); in testGetInstanceStringProviderObject1() local 84 engine.getInstance("AlGOrItHM", p, null); in testGetInstanceStringProviderObject1() 86 if (engine.provider != p) { in testGetInstanceStringProviderObject1() 89 if (!(engine.spi instanceof SomeClass)) { in testGetInstanceStringProviderObject1() [all …]
|
/external/icu/icu4c/source/layout/ |
D | loengine.cpp | 31 le_close(le_engine *engine) in le_close() argument 33 LayoutEngine *le = (LayoutEngine *) engine; in le_close() 39 le_layoutChars(le_engine *engine, in le_layoutChars() argument 49 LayoutEngine *le = (LayoutEngine *) engine; in le_layoutChars() 60 le_getGlyphCount(le_engine *engine, in le_getGlyphCount() argument 63 LayoutEngine *le = (LayoutEngine *) engine; in le_getGlyphCount() 74 le_getGlyphs(le_engine *engine, in le_getGlyphs() argument 78 LayoutEngine *le = (LayoutEngine *) engine; in le_getGlyphs() 89 le_getCharIndices(le_engine *engine, in le_getCharIndices() argument 93 LayoutEngine *le = (LayoutEngine *) engine; in le_getCharIndices() [all …]
|
D | loengine.h | 68 le_close(le_engine *engine); 95 le_layoutChars(le_engine *engine, 118 le_getGlyphCount(le_engine *engine, 133 le_getGlyphs(le_engine *engine, 149 le_getCharIndices(le_engine *engine, 166 le_getCharIndicesWithBase(le_engine *engine, 184 le_getGlyphPositions(le_engine *engine, 204 le_getGlyphPosition(le_engine *engine, 221 le_reset(le_engine *engine,
|
/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/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
D | SSLEngineImplTest.java | 144 SSLEngine engine = getEngine(); in testSetGetNeedClientAuth() local 146 engine.setWantClientAuth(true); in testSetGetNeedClientAuth() 147 engine.setNeedClientAuth(false); in testSetGetNeedClientAuth() 149 engine.getNeedClientAuth()); in testSetGetNeedClientAuth() 151 engine.getWantClientAuth()); in testSetGetNeedClientAuth() 152 engine.setWantClientAuth(true); in testSetGetNeedClientAuth() 153 engine.setNeedClientAuth(true); in testSetGetNeedClientAuth() 155 engine.getNeedClientAuth()); in testSetGetNeedClientAuth() 157 engine.getWantClientAuth()); in testSetGetNeedClientAuth() 165 SSLEngine engine = getEngine(); in testSetGetWantClientAuth() local [all …]
|
/external/icu/icu4c/source/test/letest/ |
D | cletest.c | 43 le_engine *engine = le_create(font, arabScriptCode, -1, 0, &status); in ParamTest() local 57 glyphCount = le_getGlyphCount(engine, &status); in ParamTest() 66 le_getGlyphs(engine, NULL, &status); in ParamTest() 73 le_getGlyphs(engine, glyphs, &status); in ParamTest() 80 le_getCharIndices(engine, NULL, &status); in ParamTest() 87 le_getCharIndices(engine, indices, &status); in ParamTest() 94 le_getCharIndicesWithBase(engine, NULL, 1024, &status); in ParamTest() 101 le_getCharIndicesWithBase(engine, indices, 1024, &status); in ParamTest() 108 le_getGlyphPositions(engine, NULL, &status); in ParamTest() 115 le_getGlyphPositions(engine, positions, &status); in ParamTest() [all …]
|
D | letest.cpp | 58 LayoutEngine *engine = LayoutEngine::layoutEngineFactory(font, arabScriptCode, -1, status); in ParamTest() local 64 glyphCount = engine->getGlyphCount(); in ParamTest() 73 engine->getGlyphs(NULL, status); in ParamTest() 80 engine->getGlyphs(glyphs, status); in ParamTest() 87 engine->getGlyphs(NULL, 0xFF000000L, status); in ParamTest() 94 engine->getGlyphs(glyphs, 0xFF000000L, status); in ParamTest() 101 engine->getCharIndices(NULL, status); in ParamTest() 108 engine->getCharIndices(indices, status); in ParamTest() 115 engine->getCharIndices(NULL, 1024, status); in ParamTest() 122 engine->getCharIndices(indices, 1024, status); in ParamTest() [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Call.java | 43 HttpEngine engine; field in Call 122 if (engine != null) engine.disconnect(); in cancel() 175 responseCallback.onFailure(engine.getRequest(), e); in execute() 257 engine = new HttpEngine(client, request, false, false, forWebSocket, null, null, null, null); in getResponse() 262 engine.releaseConnection(); in getResponse() 267 engine.sendRequest(); in getResponse() 268 engine.readResponse(); in getResponse() 274 HttpEngine retryEngine = engine.recover(e); in getResponse() 276 engine = retryEngine; in getResponse() 283 HttpEngine retryEngine = engine.recover(e, null); in getResponse() [all …]
|
/external/svox/pico/compat/jni/ |
D | tts.h | 144 (void *engine, 151 (void *engine); 157 (void *engine); 172 (void *engine, 188 (void *engine, 204 (void *engine, 216 (void *engine, 232 (void *engine, 245 (void *engine, 261 (void *engine, [all …]
|
D | com_android_tts_compat_SynthProxy.cpp | 358 android_tts_engine_t *engine = (*get_TtsEngine)(); in com_android_tts_compat_SynthProxy_native_setup() local 359 if (engine) { in com_android_tts_compat_SynthProxy_native_setup() 361 engine->funcs->init(engine, __ttsSynthDoneCB, engConfigString); in com_android_tts_compat_SynthProxy_native_setup() 364 pSynthData->mEngine = engine; in com_android_tts_compat_SynthProxy_native_setup() 413 android_tts_engine_t *engine = pSynthData->mEngine; in com_android_tts_compat_SynthProxy_isLanguageAvailable() local 414 if (!engine) { in com_android_tts_compat_SynthProxy_isLanguageAvailable() 422 int result = engine->funcs->isLanguageAvailable(engine, langNativeString, in com_android_tts_compat_SynthProxy_isLanguageAvailable() 443 android_tts_engine_t *engine = pSynthData->mEngine; in com_android_tts_compat_SynthProxy_setLanguage() local 444 if (!engine) { in com_android_tts_compat_SynthProxy_setLanguage() 452 int result = engine->funcs->setLanguage(engine, langNativeString, in com_android_tts_compat_SynthProxy_setLanguage() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | BaseKeyGenerator.java | 21 protected CipherKeyGenerator engine; field in BaseKeyGenerator 28 CipherKeyGenerator engine) in BaseKeyGenerator() argument 32 this.engine = engine; in BaseKeyGenerator() 48 engine.init(new KeyGenerationParameters(random, defaultKeySize)); in engineInit() 63 engine.init(new KeyGenerationParameters(random, keySize)); in engineInit() 76 engine.init(new KeyGenerationParameters(new SecureRandom(), defaultKeySize)); in engineGenerateKey() 80 return new SecretKeySpec(engine.generateKey(), algName); in engineGenerateKey()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/ |
D | PKCS1Encoding.java | 38 private AsymmetricBlockCipher engine; field in PKCS1Encoding 52 this.engine = cipher; in PKCS1Encoding() 66 this.engine = cipher; in PKCS1Encoding() 84 this.engine = cipher; in PKCS1Encoding() 123 return engine; in getUnderlyingCipher() 148 engine.init(forEncryption, param); in init() 156 int baseBlockSize = engine.getInputBlockSize(); in getInputBlockSize() 170 int baseBlockSize = engine.getOutputBlockSize(); in getOutputBlockSize() 209 byte[] block = new byte[engine.getInputBlockSize()]; in encodeBlock() 242 return engine.processBlock(block, 0, block.length); in encodeBlock() [all …]
|
/external/svox/pico/lib/ |
D | picoapi.c | 109 sys->engine = NULL; in pico_initialize_priv() 173 picoctrl_disposeEngine(sys->common->mm, sys->rm, &sys->engine); in pico_terminate() 528 if (system->engine == NULL) { in pico_newEngine() 531 system->engine = (picoctrl_Engine) *outEngine; in pico_newEngine() 570 system->engine = NULL; in pico_disposeEngine() 595 pico_Engine engine, in pico_putTextUtf8() argument 602 if (!picoctrl_isValidEngineHandle((picoctrl_Engine) engine)) { in pico_putTextUtf8() 611 picoctrl_engResetExceptionManager((picoctrl_Engine) engine); in pico_putTextUtf8() 612 … status = picoctrl_engFeedText((picoctrl_Engine) engine, (picoos_char *)text, textSize, bytesPut); in pico_putTextUtf8() 631 pico_Engine engine, in pico_getData() argument [all …]
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_init.c | 192 if (gallivm->engine && gallivm->provider) in free_gallivm_state() 193 LLVMRemoveModuleProvider(gallivm->engine, gallivm->provider, in free_gallivm_state() 207 if (HAVE_LLVM >= 0x207 && gallivm->engine) { in free_gallivm_state() 209 LLVMDisposeExecutionEngine(gallivm->engine); in free_gallivm_state() 232 gallivm->engine = NULL; in free_gallivm_state() 259 ret = lp_build_create_mcjit_compiler_for_module(&gallivm->engine, in init_gallivm_engine() 264 ret = LLVMCreateJITCompiler(&gallivm->engine, gallivm->provider, in init_gallivm_engine() 274 lp_register_oprofile_jit_event_listener(gallivm->engine); in init_gallivm_engine() 278 LLVMAddModuleProvider(gallivm->engine, gallivm->provider);//new in init_gallivm_engine() 281 gallivm->target = LLVMGetExecutionEngineTargetData(gallivm->engine); in init_gallivm_engine() [all …]
|
/external/opencv3/platforms/android/service/engine/src/org/opencv/engine/manager/ |
D | ManagerActivity.java | 1 package org.opencv.engine.manager; 3 import org.opencv.engine.MarketConnector; 4 import org.opencv.engine.HardwareDetector; 5 import org.opencv.engine.OpenCVEngineInterface; 6 import org.opencv.engine.OpenCVEngineService; 7 import org.opencv.engine.R; 88 OpenCVEngineInterface engine = OpenCVEngineInterface.Stub in onServiceConnected() local 90 if (engine == null) { in onServiceConnected() 101 + engine.getLibraryList(piece); in onServiceConnected() 104 + engine.getLibPathByVersion(null) + res); in onServiceConnected()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
D | RFC3394WrapEngine.java | 23 private BlockCipher engine; field in RFC3394WrapEngine 37 public RFC3394WrapEngine(BlockCipher engine) in RFC3394WrapEngine() argument 39 this(engine, false); in RFC3394WrapEngine() 48 public RFC3394WrapEngine(BlockCipher engine, boolean useReverseDirection) in RFC3394WrapEngine() argument 50 this.engine = engine; in RFC3394WrapEngine() 82 return engine.getAlgorithmName(); in getAlgorithmName() 108 engine.init(wrapCipherMode, param); in wrap() 116 engine.processBlock(buf, 0, buf, 0); in wrap() 161 engine.init(!wrapCipherMode, param); in unwrap() 182 engine.processBlock(buf, 0, buf, 0); in unwrap()
|
D | DESedeWrapEngine.java | 34 private CBCBlockCipher engine; field in DESedeWrapEngine 71 this.engine = new CBCBlockCipher(new DESedeEngine()); in init() 162 int blockSize = engine.getBlockSize(); in wrap() 169 engine.init(true, paramPlusIV); in wrap() 175 engine.processBlock(WKCKS, currentBytePos, TEMP1, currentBytePos); in wrap() 192 this.engine.init(true, param2); in wrap() 196 engine.processBlock(TEMP3, currentBytePos, TEMP3, currentBytePos); in wrap() 224 final int blockSize = engine.getBlockSize(); in unwrap() 250 this.engine.init(false, param2); in unwrap() 256 engine.processBlock(in, inOff + currentBytePos, TEMP3, currentBytePos); in unwrap() [all …]
|