Home
last modified time | relevance | path

Searched refs:engine (Results 1 – 25 of 223) sorted by relevance

123456789

/external/webkit/JavaScriptCore/qt/api/
Dqscriptvalue_p.h79 inline QScriptValuePrivate(const QScriptEngine* engine, bool value);
80 inline QScriptValuePrivate(const QScriptEngine* engine, int value);
81 inline QScriptValuePrivate(const QScriptEngine* engine, uint value);
82 inline QScriptValuePrivate(const QScriptEngine* engine, qsreal value);
83 inline QScriptValuePrivate(const QScriptEngine* engine, const QString& value);
84 inline QScriptValuePrivate(const QScriptEngine* engine, QScriptValue::SpecialValue value);
86 inline QScriptValuePrivate(const QScriptEnginePrivate* engine, JSValueRef value);
87 …inline QScriptValuePrivate(const QScriptEnginePrivate* engine, JSValueRef value, JSObjectRef objec…
109 inline bool assignEngine(QScriptEnginePrivate* engine);
116 inline QScriptEnginePrivate* engine() const;
[all …]
Dqscriptvalue.cpp117 QScriptValue::QScriptValue(QScriptEngine* engine, bool value) in QScriptValue() argument
118 : d_ptr(new QScriptValuePrivate(engine, value)) in QScriptValue()
128 QScriptValue::QScriptValue(QScriptEngine* engine, int value) in QScriptValue() argument
129 : d_ptr(new QScriptValuePrivate(engine, value)) in QScriptValue()
139 QScriptValue::QScriptValue(QScriptEngine* engine, uint value) in QScriptValue() argument
140 : d_ptr(new QScriptValuePrivate(engine, value)) in QScriptValue()
150 QScriptValue::QScriptValue(QScriptEngine* engine, qsreal value) in QScriptValue() argument
151 : d_ptr(new QScriptValuePrivate(engine, value)) in QScriptValue()
161 QScriptValue::QScriptValue(QScriptEngine* engine, const QString& value) in QScriptValue() argument
162 : d_ptr(new QScriptValuePrivate(engine, value)) in QScriptValue()
[all …]
Dqscriptvalue.h51 QScriptValue(QScriptEngine* engine, bool value);
52 QScriptValue(QScriptEngine* engine, int value);
53 QScriptValue(QScriptEngine* engine, uint value);
54 QScriptValue(QScriptEngine* engine, qsreal value);
55 QScriptValue(QScriptEngine* engine, const QString& value);
56 QScriptValue(QScriptEngine* engine, const char* value);
57 QScriptValue(QScriptEngine* engine, SpecialValue value);
65 QScriptEngine* engine() const;
/external/icu4c/layout/
Dloengine.cpp31 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 …]
Dloengine.h67 le_close(le_engine *engine);
94 le_layoutChars(le_engine *engine,
117 le_getGlyphCount(le_engine *engine,
132 le_getGlyphs(le_engine *engine,
148 le_getCharIndices(le_engine *engine,
165 le_getCharIndicesWithBase(le_engine *engine,
183 le_getGlyphPositions(le_engine *engine,
203 le_getGlyphPosition(le_engine *engine,
220 le_reset(le_engine *engine,
/external/webkit/JavaScriptCore/qt/tests/qscriptvalue/
Dtst_qscriptvalue.cpp24 : engine(0) in tst_QScriptValue()
30 delete engine; in ~tst_QScriptValue()
64 QCOMPARE(v.engine(), (QScriptEngine*)0); in ctor()
71 QCOMPARE(v.engine(), &eng); in ctor()
78 QCOMPARE(v.engine(), &eng); in ctor()
87 QCOMPARE(v.engine(), &eng); in ctor()
95 QCOMPARE(v.engine(), &eng); in ctor()
108 QCOMPARE(v.engine(), &eng); in ctor()
121 QCOMPARE(v.engine(), &eng); in ctor()
134 QCOMPARE(v.engine(), &eng); in ctor()
[all …]
Dtst_qscriptvalue_generated.cpp27 if (engine) in initScriptValues()
28 delete engine; in initScriptValues()
29 engine = new QScriptEngine; in initScriptValues()
87 DEFINE_TEST_VALUE(QScriptValue(engine, QScriptValue::UndefinedValue)); in initScriptValues()
88 DEFINE_TEST_VALUE(QScriptValue(engine, QScriptValue::NullValue)); in initScriptValues()
89 DEFINE_TEST_VALUE(QScriptValue(engine, true)); in initScriptValues()
90 DEFINE_TEST_VALUE(QScriptValue(engine, false)); in initScriptValues()
91 DEFINE_TEST_VALUE(QScriptValue(engine, int(122))); in initScriptValues()
92 DEFINE_TEST_VALUE(QScriptValue(engine, uint(124))); in initScriptValues()
93 DEFINE_TEST_VALUE(QScriptValue(engine, 0)); in initScriptValues()
[all …]
/external/icu4c/test/letest/
Dcletest.c41 le_engine *engine = le_create(font, arabScriptCode, -1, 0, &status); in ParamTest() local
55 glyphCount = le_getGlyphCount(engine, &status); in ParamTest()
64 le_getGlyphs(engine, NULL, &status); in ParamTest()
71 le_getGlyphs(engine, glyphs, &status); in ParamTest()
78 le_getCharIndices(engine, NULL, &status); in ParamTest()
85 le_getCharIndices(engine, indices, &status); in ParamTest()
92 le_getCharIndicesWithBase(engine, NULL, 1024, &status); in ParamTest()
99 le_getCharIndicesWithBase(engine, indices, 1024, &status); in ParamTest()
106 le_getGlyphPositions(engine, NULL, &status); in ParamTest()
113 le_getGlyphPositions(engine, positions, &status); in ParamTest()
[all …]
Dletest.cpp58 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/chromium/third_party/icu/source/test/letest/
Dcletest.c41 le_engine *engine = le_create(font, arabScriptCode, -1, 0, &status); in ParamTest() local
55 glyphCount = le_getGlyphCount(engine, &status); in ParamTest()
64 le_getGlyphs(engine, NULL, &status); in ParamTest()
71 le_getGlyphs(engine, glyphs, &status); in ParamTest()
78 le_getCharIndices(engine, NULL, &status); in ParamTest()
85 le_getCharIndices(engine, indices, &status); in ParamTest()
92 le_getCharIndicesWithBase(engine, NULL, 1024, &status); in ParamTest()
99 le_getCharIndicesWithBase(engine, indices, 1024, &status); in ParamTest()
106 le_getGlyphPositions(engine, NULL, &status); in ParamTest()
113 le_getGlyphPositions(engine, positions, &status); in ParamTest()
[all …]
Dletest.cpp58 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/webkit/JavaScriptCore/qt/tests/qscriptengine/
Dtst_qscriptengine.cpp45 QScriptEngine engine; in evaluate() local
46 …QVERIFY2(engine.evaluate("1+1").isValid(), "the expression should be evaluated and an valid result… in evaluate()
47 …QVERIFY2(engine.evaluate("ping").isValid(), "Script throwing an unhandled exception should return … in evaluate()
53 QScriptEngine engine; in collectGarbage() local
54 QScriptValue foo = engine.evaluate("( function foo() {return 'pong';} )"); in collectGarbage()
56 engine.collectGarbage(); in collectGarbage()
62 QScriptEngine engine; in nullValue() local
63 QScriptValue value = engine.nullValue(); in nullValue()
70 QScriptEngine engine; in undefinedValue() local
71 QScriptValue value = engine.undefinedValue(); in undefinedValue()
/external/openssl/crypto/dh/
Ddh_lib.c91 if (dh->engine) in DH_set_method()
93 ENGINE_finish(dh->engine); in DH_set_method()
94 dh->engine = NULL; in DH_set_method()
107 DH *DH_new_method(ENGINE *engine) in DH_new_method() argument
120 if (engine) in DH_new_method()
122 if (!ENGINE_init(engine)) in DH_new_method()
128 ret->engine = engine; in DH_new_method()
131 ret->engine = ENGINE_get_default_DH(); in DH_new_method()
132 if(ret->engine) in DH_new_method()
134 ret->meth = ENGINE_get_DH(ret->engine); in DH_new_method()
[all …]
/external/openssl/crypto/ecdh/
Dech_lib.c113 if (ecdh->engine) in ECDH_set_method()
115 ENGINE_finish(ecdh->engine); in ECDH_set_method()
116 ecdh->engine = NULL; in ECDH_set_method()
127 static ECDH_DATA *ECDH_DATA_new_method(ENGINE *engine) in ECDH_DATA_new_method() argument
141 ret->engine = engine; in ECDH_DATA_new_method()
143 if (!ret->engine) in ECDH_DATA_new_method()
144 ret->engine = ENGINE_get_default_ECDH(); in ECDH_DATA_new_method()
145 if (ret->engine) in ECDH_DATA_new_method()
147 ret->meth = ENGINE_get_ECDH(ret->engine); in ECDH_DATA_new_method()
151 ENGINE_finish(ret->engine); in ECDH_DATA_new_method()
[all …]
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
DJCEKeyGenerator.java22 protected CipherKeyGenerator engine; field in JCEKeyGenerator
29 CipherKeyGenerator engine) in JCEKeyGenerator() argument
33 this.engine = engine; in JCEKeyGenerator()
49 engine.init(new KeyGenerationParameters(random, defaultKeySize)); in engineInit()
60 engine.init(new KeyGenerationParameters(random, keySize)); in engineInit()
73 engine.init(new KeyGenerationParameters(new SecureRandom(), defaultKeySize)); in engineGenerateKey()
77 return new SecretKeySpec(engine.generateKey(), algName); in engineGenerateKey()
125 engine.init(new KeyGenerationParameters(new SecureRandom(), defaultKeySize)); in engineGenerateKey()
135 byte[] k = engine.generateKey(); in engineGenerateKey()
143 return (SecretKey)(new SecretKeySpec(engine.generateKey(), algName)); in engineGenerateKey()
DJDKKeyPairGenerator.java75 RSAKeyPairGenerator engine; field in JDKKeyPairGenerator.RSA
81 engine = new RSAKeyPairGenerator(); in RSA()
84 engine.init(param); in RSA()
94 engine.init(param); in initialize()
112 engine.init(param); in initialize()
117 AsymmetricCipherKeyPair pair = engine.generateKeyPair(); in generateKeyPair()
132 DHBasicKeyPairGenerator engine = new DHBasicKeyPairGenerator(); field in JDKKeyPairGenerator.DH
164 engine.init(param); in initialize()
191 engine.init(param); in generateKeyPair()
196 AsymmetricCipherKeyPair pair = engine.generateKeyPair(); in generateKeyPair()
[all …]
/external/openssl/crypto/dsa/
Ddsa_lib.c102 if (dsa->engine) in DSA_set_method()
104 ENGINE_finish(dsa->engine); in DSA_set_method()
105 dsa->engine = NULL; in DSA_set_method()
113 DSA *DSA_new_method(ENGINE *engine) in DSA_new_method() argument
125 if (engine) in DSA_new_method()
127 if (!ENGINE_init(engine)) in DSA_new_method()
133 ret->engine = engine; in DSA_new_method()
136 ret->engine = ENGINE_get_default_DSA(); in DSA_new_method()
137 if(ret->engine) in DSA_new_method()
139 ret->meth = ENGINE_get_DSA(ret->engine); in DSA_new_method()
[all …]
/external/openssl/crypto/ecdsa/
Decs_lib.c96 if (ecdsa->engine) in ECDSA_set_method()
98 ENGINE_finish(ecdsa->engine); in ECDSA_set_method()
99 ecdsa->engine = NULL; in ECDSA_set_method()
107 static ECDSA_DATA *ECDSA_DATA_new_method(ENGINE *engine) in ECDSA_DATA_new_method() argument
121 ret->engine = engine; in ECDSA_DATA_new_method()
123 if (!ret->engine) in ECDSA_DATA_new_method()
124 ret->engine = ENGINE_get_default_ECDSA(); in ECDSA_DATA_new_method()
125 if (ret->engine) in ECDSA_DATA_new_method()
127 ret->meth = ENGINE_get_ECDSA(ret->engine); in ECDSA_DATA_new_method()
131 ENGINE_finish(ret->engine); in ECDSA_DATA_new_method()
[all …]
/external/svox/pico/lib/
Dpicoapi.c109 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/skia/src/animator/
DSkAnimatorScript.cpp100 SkAnimatorScript* engine = (SkAnimatorScript*) user; in Box() local
135 engine->track(displayable); in Box()
148 …SkAnimatorScript engine(host->fMaker, host->fWorking, SkScriptEngine::ToDisplayType(host->fReturnT… in Eval() local
153 success = engine.evaluateScript(&script, value); in Eval()
168 SkAnimatorScript* engine = (SkAnimatorScript*) user; in EvalID() local
169 SkTDict<SkDisplayable*>* ids = &engine->fMaker.fIDs; in EvalID()
173 displayable = engine->fWorking; in EvalID()
177 parent = engine->fParent; in EvalID()
184 if (displayable && EvalMember(token, len, displayable, engine, value)) in EvalID()
189 SkDisplayable* working = engine->fWorking; in EvalID()
[all …]
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/
DDESedeWrapEngine.java33 private CBCBlockCipher engine; field in DESedeWrapEngine
68 this.engine = new CBCBlockCipher(new DESedeEngine()); in init()
159 int blockSize = engine.getBlockSize(); in wrap()
166 engine.init(true, paramPlusIV); in wrap()
172 engine.processBlock(WKCKS, currentBytePos, TEMP1, currentBytePos); in wrap()
189 this.engine.init(true, param2); in wrap()
193 engine.processBlock(TEMP3, currentBytePos, TEMP3, currentBytePos); in wrap()
221 final int blockSize = engine.getBlockSize(); in unwrap()
247 this.engine.init(false, param2); in unwrap()
253 engine.processBlock(in, inOff + currentBytePos, TEMP3, currentBytePos); in unwrap()
[all …]
DRFC3394WrapEngine.java23 private BlockCipher engine; field in RFC3394WrapEngine
31 public RFC3394WrapEngine(BlockCipher engine) in RFC3394WrapEngine() argument
33 this.engine = engine; in RFC3394WrapEngine()
64 return engine.getAlgorithmName(); in getAlgorithmName()
90 engine.init(true, param); in wrap()
98 engine.processBlock(buf, 0, buf, 0); in wrap()
143 engine.init(false, param); in unwrap()
164 engine.processBlock(buf, 0, buf, 0); in unwrap()
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/encodings/
DPKCS1Encoding.java33 private AsymmetricBlockCipher engine; field in PKCS1Encoding
45 this.engine = cipher; in PKCS1Encoding()
68 return engine; in getUnderlyingCipher()
90 engine.init(forEncryption, param); in init()
98 int baseBlockSize = engine.getInputBlockSize(); in getInputBlockSize()
112 int baseBlockSize = engine.getOutputBlockSize(); in getOutputBlockSize()
151 byte[] block = new byte[engine.getInputBlockSize()]; in encodeBlock()
184 return engine.processBlock(block, 0, block.length); in encodeBlock()
196 byte[] block = engine.processBlock(in, inOff, inLen); in decodeBlock()
210 if (useStrictLength && block.length != engine.getOutputBlockSize()) in decodeBlock()
/external/openssl/crypto/rsa/
Drsa_lib.c117 if (rsa->engine) in RSA_set_method()
119 ENGINE_finish(rsa->engine); in RSA_set_method()
120 rsa->engine = NULL; in RSA_set_method()
128 RSA *RSA_new_method(ENGINE *engine) in RSA_new_method() argument
141 if (engine) in RSA_new_method()
143 if (!ENGINE_init(engine)) in RSA_new_method()
149 ret->engine = engine; in RSA_new_method()
152 ret->engine = ENGINE_get_default_RSA(); in RSA_new_method()
153 if(ret->engine) in RSA_new_method()
155 ret->meth = ENGINE_get_RSA(ret->engine); in RSA_new_method()
[all …]
/external/webkit/WebCore/platform/graphics/
DMediaPlayer.cpp176 MediaPlayerFactory* engine = 0; in chooseBestEngineForTypeAndCodecs() local
184 engine = engines[ndx]; in chooseBestEngineForTypeAndCodecs()
188 return engine; in chooseBestEngineForTypeAndCodecs()
241 MediaPlayerFactory* engine = 0; in load() local
243 engine = chooseBestEngineForTypeAndCodecs(type, codecs); in load()
246 if (!engine && !installedMediaEngines().isEmpty()) in load()
247 engine = installedMediaEngines()[0]; in load()
250 if (engine && m_currentMediaEngine != engine) { in load()
251 m_currentMediaEngine = engine; in load()
253 m_private.set(engine->constructor(this)); in load()
[all …]

123456789