/external/pdfium/xfa/fde/ |
cfde_texteditengine_unittest.cpp | 50 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()->GetText().c_str()) [all...] |
/external/webrtc/webrtc/modules/audio_processing/test/android/apmtest/jni/ |
main.c | 44 struct engine { struct 63 static int engine_init_display(struct engine* engine) { 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->height = h 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/pdfium/testing/libfuzzer/ |
pdf_psengine_fuzzer.cc | 10 CPDF_PSEngine engine; local 11 if (engine.Parse(reinterpret_cast<const char*>(data), size)) 12 engine.Execute();
|
/external/conscrypt/benchmark-android/src/main/java/org/conscrypt/ |
AndroidEngineFactory.java | 23 * Enumeration of various types of engines for use with engine-based benchmarks. 33 SSLEngine engine = initEngine(clientContext.createSSLEngine(), cipher, true); local 35 Conscrypt.setApplicationProtocols(engine, new String[] {"h2"}); 37 return engine; 42 SSLEngine engine = initEngine(serverContext.createSSLEngine(), cipher, false); local 44 Conscrypt.setApplicationProtocols(engine, new String[] {"h2"}); 46 return engine; 50 public void dispose(SSLEngine engine) { 51 engine.closeOutbound(); 62 SSLEngine engine = initEngine(clientContext.createSSLEngine(), cipher, true) local 71 SSLEngine engine = initEngine(serverContext.createSSLEngine(), cipher, false); local [all...] |
/external/conscrypt/repackaged/benchmark-android/src/main/java/com/android/org/conscrypt/ |
AndroidEngineFactory.java | 24 * Enumeration of various types of engines for use with engine-based benchmarks. 35 SSLEngine engine = initEngine(clientContext.createSSLEngine(), cipher, true); local 37 Conscrypt.setApplicationProtocols(engine, new String[] {"h2"}); 39 return engine; 44 SSLEngine engine = initEngine(serverContext.createSSLEngine(), cipher, false); local 46 Conscrypt.setApplicationProtocols(engine, new String[] {"h2"}); 48 return engine; 52 public void dispose(SSLEngine engine) { 53 engine.closeOutbound(); 64 SSLEngine engine = initEngine(clientContext.createSSLEngine(), cipher, true) local 73 SSLEngine engine = initEngine(serverContext.createSSLEngine(), cipher, false); local [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/ |
Poolable.java | 1 package com.bumptech.glide.load.engine.bitmap_recycle;
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/executor/ |
Prioritized.java | 1 package com.bumptech.glide.load.engine.executor;
|
/external/webrtc/webrtc/libjingle/xmpp/ |
moduleimpl.cc | 30 XmppModuleImpl::RegisterEngine(XmppEngine* engine) 32 if (NULL == engine || NULL != engine_) 35 engine->AddStanzaHandler(&stanza_handler_); 36 engine_ = engine; 42 XmppModuleImpl::engine() { function in class:buzz::XmppModuleImpl
|
module.h | 21 //! An engine is registered with the module and the module then hooks the 22 //! appropriate parts of the engine to implement that set of features. It is 23 //! 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 virtual XmppReturnStatus RegisterEngine(XmppEngine* engine) = 0;
|
/external/boringssl/src/crypto/engine/ |
engine.c | 15 #include <openssl/engine.h> 34 ENGINE *ENGINE_new(void) { 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) [all...] |
/frameworks/av/media/libaaudio/tests/ |
test_return_stop.cpp | 71 AudioEngine *engine = (struct AudioEngine *)userData; local 72 engine->callbackCount++; 73 if (engine->stopped) { 74 engine->callbackCountAfterStop++; 77 engine->framesRead = (int32_t)AAudioStream_getFramesRead(stream); 78 if (engine->startingFramesRead == 0) { 79 engine->startingFramesRead.store(engine->framesRead.load()); 81 engine->framesCalled += numFrames; 82 if (engine->framesCalled >= engine->stopAtFrame) 176 struct AudioEngine engine; local [all...] |
test_stop_hang.cpp | 72 AudioEngine *engine = (struct AudioEngine *)userData; local 73 std::lock_guard<std::mutex> lock(engine->doneLock); 74 engine->started = true; 76 engine->done = true; 87 static aaudio_result_t s_OpenAudioStream(struct AudioEngine *engine) { 89 aaudio_result_t result = AAudio_createStreamBuilder(&engine->builder); 97 AAudioStreamBuilder_setPerformanceMode(engine->builder, AAUDIO_PERFORMANCE_MODE_LOW_LATENCY); 98 AAudioStreamBuilder_setDataCallback(engine->builder, s_myDataCallbackProc, engine); 99 AAudioStreamBuilder_setErrorCallback(engine->builder, s_myErrorCallbackProc, engine) 115 struct AudioEngine engine; local [all...] |
/external/pdfium/fxjs/ |
fxjs_v8_embeddertest.cpp | 24 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()->ToArray(empty).IsEmpty()) [all...] |
/cts/tests/tests/media/libaudiojni/ |
sl-utils.cpp | 99 // create engine in thread-safe mode 100 SLObjectItf engine; local 101 SLresult result = slCreateEngine(&engine, 108 // realize the engine 109 result = (*engine)->Realize(engine, SL_BOOLEAN_FALSE /* async */); 112 (*engine)->Destroy(engine); 115 return engine; 131 void CloseSLEngine(SLObjectItf engine) { [all...] |
/external/boringssl/src/include/openssl/ |
engine.h | 30 // Methods are reference counted but |ENGINE|s are not. When creating a method, 32 // you wish before setting it on an |ENGINE|. Any functions pointers that 38 // ENGINE_new returns an empty ENGINE that uses the default method for all 40 OPENSSL_EXPORT ENGINE *ENGINE_new(void); 43 // |engine| and frees |engine| itself. 44 OPENSSL_EXPORT void ENGINE_free(ENGINE *engine); 56 OPENSSL_EXPORT int ENGINE_set_RSA_method(ENGINE *engine, [all...] |
/external/conscrypt/publicapi/src/main/java/android/net/ssl/ |
SSLEngines.java | 32 * Returns whether the given engine can be used with the methods in this class. In general, 35 public static boolean isSupportedEngine(@NonNull SSLEngine engine) { 36 return Conscrypt.isConscrypt(engine); 41 throw new IllegalArgumentException("Engine is not a supported engine."); 50 * @param engine the engine 52 * @throws IllegalArgumentException if the given engine is not a platform engine 54 public static void setUseSessionTickets(@NonNull SSLEngine engine, boolean useSessionTickets) [all...] |
/external/antlr/tool/src/test/java/org/antlr/test/ |
TestInterpretedLexing.java | 86 Interpreter engine = new Interpreter(g, new ANTLRStringStream("a")); local 87 engine = new Interpreter(g, new ANTLRStringStream("b")); 88 Token result = engine.scan("A"); 90 engine = new Interpreter(g, new ANTLRStringStream("c")); 91 result = engine.scan("A"); 101 Interpreter engine = new Interpreter(g, new ANTLRStringStream("abc")); // should ignore the x local 102 Token result = engine.scan("A"); 112 Interpreter engine = new Interpreter(g, new ANTLRStringStream("12x")); // should ignore the x local 113 Token result = engine.scan("INT"); 115 engine = new Interpreter(g, new ANTLRStringStream("1234")) 125 Interpreter engine = new Interpreter(g, new ANTLRStringStream("a")); local 153 Interpreter engine = new Interpreter(g, input); local [all...] |
/external/python/cpython2/Lib/idlelib/idle_test/ |
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' [all...] |
/external/python/cpython3/Lib/idlelib/idle_test/ |
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' [all...] |
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/tck/ |
EngineModule.java | 21 import org.atinject.tck.auto.Engine; 27 Engine provideEngine(MembersInjector<V8Engine> injector) { 30 V8Engine engine = new V8Engine(); local 31 injector.injectMembers(engine); 32 return engine;
|
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/ |
BufferType.java | 41 ByteBuffer newApplicationBuffer(SSLEngine engine) { 42 return newBuffer(engine.getSession().getApplicationBufferSize()); 45 ByteBuffer newPacketBuffer(SSLEngine engine) { 46 return newBuffer(engine.getSession().getPacketBufferSize());
|
/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/ |
BufferType.java | 43 ByteBuffer newApplicationBuffer(SSLEngine engine) { 44 return newBuffer(engine.getSession().getApplicationBufferSize()); 47 ByteBuffer newPacketBuffer(SSLEngine engine) { 48 return newBuffer(engine.getSession().getPacketBufferSize());
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
Resource.java | 1 package com.bumptech.glide.load.engine;
|
/external/grpc-grpc/src/core/ext/transport/cronet/client/secure/ |
cronet_channel_create.cc | 36 void* engine; member in struct:cronet_transport 43 void* engine, const char* target, const grpc_channel_args* args, 46 "grpc_create_cronet_transport: stream_engine = %p, target=%s", engine, 50 grpc_create_cronet_transport(engine, target, args, reserved);
|
/external/grpc-grpc/src/core/ext/transport/cronet/transport/ |
cronet_transport.h | 26 grpc_transport* grpc_create_cronet_transport(void* engine, const char* target,
|