Home
last modified time | relevance | path

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

12345678910>>...45

/third_party/python/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)
114 engine = self.engine
117 Equal(engine.getpat(), '')
118 engine.setpat('hello')
119 Equal(engine.getpat(), 'hello')
121 Equal(engine.isre(), False)
[all …]
Dtest_replace.py24 cls.engine = se.SearchEngine(cls.root)
25 cls.dialog = ReplaceDialog(cls.root, cls.engine)
36 del cls.text, cls.dialog, cls.engine
44 self.engine.patvar.set('')
46 self.engine.wordvar.set(False)
47 self.engine.casevar.set(False)
48 self.engine.revar.set(False)
49 self.engine.wrapvar.set(True)
50 self.engine.backvar.set(False)
64 pv = self.engine.patvar
[all …]
Dtest_search.py28 self.engine = searchengine.SearchEngine(self.root)
29 self.dialog = search.SearchDialog(self.root, self.engine)
38 self.engine.setpat('')
42 self.engine.setpat('Hello')
45 self.engine.setpat('Goodbye')
48 self.engine.setpat('World!')
51 self.engine.setpat('Hello World!')
55 self.engine.revar = BooleanVar(self.root, True)
56 self.engine.setpat('W[aeiouy]r')
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Dpcg_engine_test.cc47 engine_type engine; in TYPED_TEST() local
54 engine.seed(seq1); in TYPED_TEST()
57 std::generate(std::begin(a), std::end(a), std::ref(engine)); in TYPED_TEST()
62 engine.seed(seq2); in TYPED_TEST()
65 std::generate(std::begin(b), std::end(b), std::ref(engine)); in TYPED_TEST()
134 engine_type engine; in TYPED_TEST() local
136 EXPECT_EQ(&(os << engine), &os); in TYPED_TEST()
137 EXPECT_EQ(&(is >> engine), &is); in TYPED_TEST()
145 engine_type engine(seed_sequence); in TYPED_TEST() local
146 engine.discard(discard); in TYPED_TEST()
[all …]
Dranden_engine_test.cc49 randen engine; in TYPED_TEST() local
56 engine.seed(seq1); in TYPED_TEST()
59 std::generate(std::begin(a), std::end(a), std::ref(engine)); in TYPED_TEST()
64 engine.seed(seq2); in TYPED_TEST()
67 std::generate(std::begin(b), std::end(b), std::ref(engine)); in TYPED_TEST()
135 randen engine; in TYPED_TEST() local
137 EXPECT_EQ(&(os << engine), &os); in TYPED_TEST()
138 EXPECT_EQ(&(is >> engine), &is); in TYPED_TEST()
146 randen engine(seed_sequence); in TYPED_TEST() local
147 engine.discard(discard); in TYPED_TEST()
[all …]
/third_party/skia/third_party/externals/oboe/samples/hello-oboe/src/main/cpp/
Djni_bridge.cpp34 HelloOboeEngine *engine = new(std::nothrow) HelloOboeEngine(); in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1createEngine() local
35 return reinterpret_cast<jlong>(engine); in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1createEngine()
54 HelloOboeEngine *engine = reinterpret_cast<HelloOboeEngine *>(engineHandle); in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1setToneOn() local
55 if (engine == nullptr) { in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1setToneOn()
59 engine->tap(isToneOn); in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1setToneOn()
69 HelloOboeEngine *engine = reinterpret_cast<HelloOboeEngine*>(engineHandle); in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1setAudioApi() local
70 if (engine == nullptr) { in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1setAudioApi()
76 engine->setAudioApi(api); in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1setAudioApi()
86 HelloOboeEngine *engine = reinterpret_cast<HelloOboeEngine*>(engineHandle); in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1setAudioDeviceId() local
87 if (engine == nullptr) { in Java_com_google_oboe_samples_hellooboe_PlaybackEngine_native_1setAudioDeviceId()
[all …]
/third_party/vk-gl-cts/external/amber/src/src/
Dexecutor_test.cc217 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
223 return static_cast<EngineStub*>(engine); in ToStub()
240 auto engine = MakeAndInitializeEngine(script->GetRequiredFeatures(), in TEST_F() local
247 ex.Execute(engine.get(), script.get(), ShaderMap(), &options, nullptr); in TEST_F()
250 const auto& features = ToStub(engine.get())->GetFeatures(); in TEST_F()
255 const auto& extensions = ToStub(engine.get())->GetDeviceExtensions(); in TEST_F()
270 auto engine = MakeAndInitializeEngine(script->GetRequiredFeatures(), in TEST_F() local
[all …]
Dexecutor.cc57 Result Executor::Execute(Engine* engine, in Execute() argument
62 engine->SetEngineData(script->GetEngineData()); in Execute()
86 r = engine->CreatePipeline(pipeline.get()); in Execute()
109 engine->GetDebugger(script->GetVirtualFiles()); in Execute()
119 Result r = ExecuteCommand(engine, cmd.get()); in Execute()
133 Result Executor::ExecuteCommand(Engine* engine, Command* cmd) { in ExecuteCommand() argument
153 return engine->DoClear(cmd->AsClear()); in ExecuteCommand()
155 return engine->DoClearColor(cmd->AsClearColor()); in ExecuteCommand()
157 return engine->DoClearDepth(cmd->AsClearDepth()); in ExecuteCommand()
159 return engine->DoClearStencil(cmd->AsClearStencil()); in ExecuteCommand()
[all …]
/third_party/skia/third_party/externals/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 delete engine; in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_delete()
42 engine = nullptr; in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_delete()
48 if (engine == nullptr) { in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_setEffectOn()
55 return engine->setEffectOn(isEffectOn) ? JNI_TRUE : JNI_FALSE; in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_setEffectOn()
61 if (engine == nullptr) { in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_setRecordingDeviceId()
68 engine->setRecordingDeviceId(deviceId); in Java_com_google_oboe_samples_liveEffect_LiveEffectEngine_setRecordingDeviceId()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dadaptive_demux_engine.c27 GstAdaptiveDemuxTestEngine engine; member
34 #define GST_TEST_GET_LOCK(d) (&(((GstAdaptiveDemuxTestEnginePrivate*)(d))->engine.lock))
60 for (i = 0; i < priv->engine.output_streams->len; ++i) { in getTestOutputDataByAppsink()
62 state = g_ptr_array_index (priv->engine.output_streams, i); in getTestOutputDataByAppsink()
78 for (i = 0; i < priv->engine.output_streams->len; ++i) { in getTestOutputDataByPad()
80 stream = g_ptr_array_index (priv->engine.output_streams, i); in getTestOutputDataByPad()
97 for (i = 0; i < priv->engine.output_streams->len; ++i) { in getTestOutputDataByName()
99 stream = g_ptr_array_index (priv->engine.output_streams, i); in getTestOutputDataByName()
117 GstAdaptiveDemuxTestEngine *engine; in on_appSinkNewSample() local
125 engine = &priv->engine; in on_appSinkNewSample()
[all …]
Dadaptive_demux_engine.h61 void (*pre_test) (GstAdaptiveDemuxTestEngine *engine, gpointer user_data);
68 void (*post_test) (GstAdaptiveDemuxTestEngine *engine, gpointer user_data);
81 gboolean (*appsink_received_data) (GstAdaptiveDemuxTestEngine *engine,
94 void (*appsink_eos) (GstAdaptiveDemuxTestEngine *engine,
106 void (*appsink_event) (GstAdaptiveDemuxTestEngine *engine,
116 void (*demux_pad_added) (GstAdaptiveDemuxTestEngine * engine,
126 void (*demux_pad_removed) (GstAdaptiveDemuxTestEngine * engine,
136 gboolean (*demux_sent_data) (GstAdaptiveDemuxTestEngine *engine,
147 gboolean (*demux_sent_event) (GstAdaptiveDemuxTestEngine *engine,
160 void (*bus_error_message)(GstAdaptiveDemuxTestEngine *engine,
/third_party/openssl/providers/common/
Dprovider_util.c30 ENGINE_finish(pc->engine); in ossl_prov_cipher_reset()
32 pc->engine = NULL; in ossl_prov_cipher_reset()
40 if (src->engine != NULL && !ENGINE_init(src->engine)) { in ossl_prov_cipher_copy()
45 dst->engine = src->engine; in ossl_prov_cipher_copy()
52 ENGINE **engine) in load_common() argument
65 ENGINE_finish(*engine); in load_common()
67 *engine = NULL; in load_common()
75 *engine = ENGINE_by_id(p->data); in load_common()
76 if (*engine == NULL) in load_common()
79 if (!ENGINE_init(*engine)) { in load_common()
[all …]
/third_party/node/deps/openssl/openssl/providers/common/
Dprovider_util.c30 ENGINE_finish(pc->engine); in ossl_prov_cipher_reset()
32 pc->engine = NULL; in ossl_prov_cipher_reset()
40 if (src->engine != NULL && !ENGINE_init(src->engine)) { in ossl_prov_cipher_copy()
45 dst->engine = src->engine; in ossl_prov_cipher_copy()
52 ENGINE **engine) in load_common() argument
65 ENGINE_finish(*engine); in load_common()
67 *engine = NULL; in load_common()
75 *engine = ENGINE_by_id(p->data); in load_common()
76 if (*engine == NULL) in load_common()
79 if (!ENGINE_init(*engine)) { in load_common()
[all …]
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/
Djni-bridge.cpp30 NativeAudioContext engine; variable
132 return (jint) engine.getCurrentActivity()->open(nativeApi, in Java_com_google_sample_oboe_manualtest_OboeAudioStream_openNative()
151 return (jint) engine.getCurrentActivity()->start(); in Java_com_google_sample_oboe_manualtest_TestAudioActivity_startNative()
156 return (jint) engine.getCurrentActivity()->pause(); in Java_com_google_sample_oboe_manualtest_TestAudioActivity_pauseNative()
161 return (jint) engine.getCurrentActivity()->stop(); in Java_com_google_sample_oboe_manualtest_TestAudioActivity_stopNative()
166 return (jint) engine.getCurrentActivity()->getFramesPerCallback(); in Java_com_google_sample_oboe_manualtest_TestAudioActivity_getFramesPerCallback()
171 return (jint) engine.getCurrentActivity()->startPlayback(); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_startPlaybackNative()
176 engine.getCurrentActivity()->close(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_close()
182 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_setBufferSizeInFrames()
196 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferSizeInFrames()
[all …]
/third_party/icu/icu4c/source/test/letest/
Dcletest.c45 le_engine *engine = le_create(font, arabScriptCode, -1, 0, &status); in ParamTest() local
59 glyphCount = le_getGlyphCount(engine, &status); in ParamTest()
68 le_getGlyphs(engine, NULL, &status); in ParamTest()
75 le_getGlyphs(engine, glyphs, &status); in ParamTest()
82 le_getCharIndices(engine, NULL, &status); in ParamTest()
89 le_getCharIndices(engine, indices, &status); in ParamTest()
96 le_getCharIndicesWithBase(engine, NULL, 1024, &status); in ParamTest()
103 le_getCharIndicesWithBase(engine, indices, 1024, &status); in ParamTest()
110 le_getGlyphPositions(engine, NULL, &status); in ParamTest()
117 le_getGlyphPositions(engine, positions, &status); in ParamTest()
[all …]
Dletest.cpp60 LayoutEngine *engine = LayoutEngine::layoutEngineFactory(font, arabScriptCode, -1, status); in ParamTest() local
66 glyphCount = engine->getGlyphCount(); in ParamTest()
75 engine->getGlyphs(NULL, status); in ParamTest()
82 engine->getGlyphs(glyphs, status); in ParamTest()
89 engine->getGlyphs(NULL, 0xFF000000L, status); in ParamTest()
96 engine->getGlyphs(glyphs, 0xFF000000L, status); in ParamTest()
103 engine->getCharIndices(NULL, status); in ParamTest()
110 engine->getCharIndices(indices, status); in ParamTest()
117 engine->getCharIndices(NULL, 1024, status); in ParamTest()
124 engine->getCharIndices(indices, 1024, status); in ParamTest()
[all …]
/third_party/node/test/addons/openssl-key-engine/
Dtestkeyengine.cc13 # error did not get engine.h
29 int EngineInit(ENGINE* engine) { in EngineInit() argument
33 int EngineFinish(ENGINE* engine) { in EngineFinish() argument
37 int EngineDestroy(ENGINE* engine) { in EngineDestroy() argument
47 static EVP_PKEY* EngineLoadPrivkey(ENGINE* engine, const char* name, in EngineLoadPrivkey() argument
63 int bind_fn(ENGINE* engine, const char* id) { in bind_fn() argument
64 ENGINE_set_id(engine, TEST_ENGINE_ID); in bind_fn()
65 ENGINE_set_name(engine, TEST_ENGINE_NAME); in bind_fn()
66 ENGINE_set_init_function(engine, EngineInit); in bind_fn()
67 ENGINE_set_finish_function(engine, EngineFinish); in bind_fn()
[all …]
/third_party/node/test/addons/openssl-test-engine/
Dtestsetengine.cc4 # error did not get engine.h
18 int EngineInit(ENGINE* engine) { in EngineInit() argument
22 int EngineFinish(ENGINE* engine) { in EngineFinish() argument
26 int EngineDestroy(ENGINE* engine) { in EngineDestroy() argument
30 int bind_fn(ENGINE* engine, const char* id) { in bind_fn() argument
31 ENGINE_set_id(engine, TEST_ENGINE_ID); in bind_fn()
32 ENGINE_set_name(engine, TEST_ENGINE_NAME); in bind_fn()
33 ENGINE_set_init_function(engine, EngineInit); in bind_fn()
34 ENGINE_set_finish_function(engine, EngineFinish); in bind_fn()
35 ENGINE_set_destroy_function(engine, EngineDestroy); in bind_fn()
/third_party/node/test/addons/openssl-client-cert-engine/
Dtestengine.cc13 # error did not get engine.h
30 int EngineInit(ENGINE* engine) { in EngineInit() argument
34 int EngineFinish(ENGINE* engine) { in EngineFinish() argument
38 int EngineDestroy(ENGINE* engine) { in EngineDestroy() argument
49 int EngineLoadSSLClientCert(ENGINE* engine, in EngineLoadSSLClientCert() argument
90 int bind_fn(ENGINE* engine, const char* id) { in bind_fn() argument
91 ENGINE_set_id(engine, TEST_ENGINE_ID); in bind_fn()
92 ENGINE_set_name(engine, TEST_ENGINE_NAME); in bind_fn()
93 ENGINE_set_init_function(engine, EngineInit); in bind_fn()
94 ENGINE_set_finish_function(engine, EngineFinish); in bind_fn()
[all …]
/third_party/vk-gl-cts/external/amber/src/docs/
Dengines.md4 engine layer. The parsing/executing side of Amber (which we'll call the
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.
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.
90 script. This can request the engine to run compute pipelines, graphics pipelines
98 When the script is finished the engine destructor will be executed and must
[all …]
/third_party/node/deps/icu-small/source/common/
Dbrkeng.cpp169 const LanguageBreakEngine *engine = nullptr; in loadEngineFor() local
174 engine = CreateLSTMBreakEngine(code, data, status); in loadEngineFor()
175 if (U_SUCCESS(status) && engine != nullptr) { in loadEngineFor()
176 return engine; in loadEngineFor()
178 if (engine != nullptr) { in loadEngineFor()
179 delete engine; in loadEngineFor()
180 engine = nullptr; in loadEngineFor()
191 engine = new ThaiBreakEngine(m, status); in loadEngineFor()
194 engine = new LaoBreakEngine(m, status); in loadEngineFor()
197 engine = new BurmeseBreakEngine(m, status); in loadEngineFor()
[all …]
/third_party/icu/icu4c/source/common/
Dbrkeng.cpp169 const LanguageBreakEngine *engine = nullptr; in loadEngineFor() local
174 engine = CreateLSTMBreakEngine(code, data, status); in loadEngineFor()
175 if (U_SUCCESS(status) && engine != nullptr) { in loadEngineFor()
176 return engine; in loadEngineFor()
178 if (engine != nullptr) { in loadEngineFor()
179 delete engine; in loadEngineFor()
180 engine = nullptr; in loadEngineFor()
191 engine = new ThaiBreakEngine(m, status); in loadEngineFor()
194 engine = new LaoBreakEngine(m, status); in loadEngineFor()
197 engine = new BurmeseBreakEngine(m, status); in loadEngineFor()
[all …]
/third_party/openssl/doc/man1/
Dopenssl-engine.pod.in6 openssl-engine - load and query engines
10 B<openssl engine>
21 [I<engine> ...]
28 of the specified I<engine>s.
42 Provides information about each specified engine. The first flag lists
49 Lists the capabilities of each engine.
53 Tests if each specified engine is available, and displays the answer.
57 Displays an error trace for any unavailable engine.
64 The B<-pre> command is given to the engine before it is loaded and
65 the B<-post> command is given after the engine is loaded.
[all …]
/third_party/python/Lib/idlelib/
Dsearch.py22 engine = searchengine.get(root)
23 if not hasattr(engine, "_searchdialog"):
24 engine._searchdialog = SearchDialog(root, engine)
25 return engine._searchdialog
73 if not self.engine.getprog():
93 if not self.engine.getpat():
96 if not self.engine.getprog():
98 res = self.engine.search_text(text)
114 text.mark_set("insert", self.engine.isback() and first or last)
131 self.engine.setcookedpat(pat)
/third_party/skia/third_party/externals/oboe/samples/MegaDrone/src/main/cpp/
Dnative-lib.cpp50 MegaDroneEngine *engine = new MegaDroneEngine(std::move(cpuIds)); in Java_com_google_oboe_samples_megadrone_MainActivity_startEngine() local
52 return reinterpret_cast<jlong>(engine); in Java_com_google_oboe_samples_megadrone_MainActivity_startEngine()
58 auto engine = reinterpret_cast<MegaDroneEngine*>(jEngineHandle); in Java_com_google_oboe_samples_megadrone_MainActivity_stopEngine() local
59 if (engine) { in Java_com_google_oboe_samples_megadrone_MainActivity_stopEngine()
60 delete engine; in Java_com_google_oboe_samples_megadrone_MainActivity_stopEngine()
71 auto *engine = reinterpret_cast<MegaDroneEngine*>(jEngineHandle); in Java_com_google_oboe_samples_megadrone_MainActivity_tap() local
72 if (engine) { in Java_com_google_oboe_samples_megadrone_MainActivity_tap()
73 engine->tap(isDown); in Java_com_google_oboe_samples_megadrone_MainActivity_tap()

12345678910>>...45