Home
last modified time | relevance | path

Searched refs:app (Results 1 – 25 of 933) sorted by relevance

12345678910>>...38

/external/chromium-trace/trace-viewer/third_party/webapp2/tests/
Dextras_jinja2_test.py16 app = webapp2.WSGIApplication(config={
30 app.set_globals(app=app, request=req)
31 j = jinja2.Jinja2(app)
38 app = webapp2.WSGIApplication(config={
46 app.set_globals(app=app, request=req)
47 j = jinja2.Jinja2(app)
54 app = webapp2.WSGIApplication(config={
62 app.set_globals(app=app, request=req)
63 j = jinja2.Jinja2(app)
70 app = webapp2.WSGIApplication(config={
[all …]
Dextras_auth_test.py25 app = webapp2.WSGIApplication(config={
32 req.app = app
33 s = auth.get_store(app=app)
68 req.app = app
101 app = webapp2.WSGIApplication(config={
107 req.app = app
108 s = auth.get_store(app=app)
142 app = webapp2.WSGIApplication()
144 req.app = app
145 s = auth.get_store(app=app)
[all …]
Dextras_mako_test.py15 app = webapp2.WSGIApplication(config={
21 app.set_globals(app=app, request=req)
22 m = mako.Mako(app)
29 app = webapp2.WSGIApplication()
30 self.assertEqual(len(app.registry), 0)
31 mako.set_mako(mako.Mako(app), app=app)
32 self.assertEqual(len(app.registry), 1)
33 j = mako.get_mako(app=app)
37 app = webapp2.WSGIApplication()
38 self.assertEqual(len(app.registry), 0)
[all …]
Dhandler_test.py130 app = webapp2.WSGIApplication([ variable
165 app.error_handlers = {}
168 rsp = app.get_response('/')
174 rsp = req.get_response(app)
180 rsp = req.get_response(app)
186 rsp = req.get_response(app)
191 rsp = req.get_response(app)
199 rsp = req.get_response(app)
204 rsp = req.get_response(app)
210 rsp = req.get_response(app)
[all …]
Dextras_sessions_test.py7 app = webapp2.WSGIApplication(config={ variable
18 app = webapp2.WSGIApplication()
20 req.app = app
24 app = webapp2.WSGIApplication()
26 req.app = app
41 req.app = app
60 req.app = app
77 req.app = app
93 req.app = app
108 req.app = app
[all …]
Dextras_appengine_sessions_ndb_test.py12 app = webapp2.WSGIApplication(config={ variable
31 req.app = app
50 req.app = app
67 req.app = app
84 req.app = app
98 req.app = app
113 req.app = app
134 req.app = app
152 req.app = app
Dextras_appengine_sessions_memcache_test.py9 app = webapp2.WSGIApplication(config={ variable
24 req.app = app
43 req.app = app
60 req.app = app
74 req.app = app
89 req.app = app
110 req.app = app
128 req.app = app
/external/chromium-trace/trace-viewer/third_party/Paste/tests/
Dtest_urlparser.py17 app = URLParser({}, path(name), name, index_names=['index', 'Main'])
18 testapp = TestApp(app)
22 app = make_app('find_file')
23 res = app.get('/')
26 res = app.get('/index')
29 res = app.get('/index.txt')
32 res = app.get('/test2.html')
35 res = app.get('/test 3.html')
38 res = app.get('/test%203.html')
41 res = app.get('/dir with spaces/test 4.html')
[all …]
Dtest_errordocument.py14 app = TestApp(simple_app)
15 res = app.get('')
31 app = TestApp(error_docs_app)
32 res = app.get('')
36 res = app.get('/error')
40 res = app.get('/not_found', status=404)
46 app = forward(error_docs_app, codes={404:'/error'})
47 app = TestApp(RecursiveMiddleware(app))
48 res = app.get('')
52 res = app.get('/error')
[all …]
Dtest_recursive.py18 def __init__(self, app, url='/error'): argument
19 self.app = app
24 def forward(app): argument
25 app = TestApp(RecursiveMiddleware(app))
26 res = app.get('')
30 res = app.get('/error')
34 res = app.get('/not_found')
39 res = app.get('/recurse')
50 return self.app(environ, start_response)
58 return self.app(environ, start_response)
[all …]
Dtest_fileapp.py30 harness.app.set_content(b"bingles")
35 app = DataApp(b"SomeContent")
36 app.cache_control(*args,**kwargs)
37 return TestApp(app).get("/")
59 app = DataApp(b"SomeContent")
60 app.content_disposition(*args,**kwargs)
61 return TestApp(app).get("/")
109 app = fileapp.FileApp(tempfile)
110 res = TestApp(app).get("/")
114 assert content == app.content # this is cashed
[all …]
Dtest_urlmap.py6 def app(environ, start_response): function
13 return app
17 app = TestApp(mapper)
23 res = app.get('/')
27 res = app.get('/blah')
31 res = app.get('/foo/and/more')
35 res = app.get('/foo/bar/baz')
39 res = app.get('/fffzzz')
42 res = app.get('/f/z/y')
49 app = TestApp(mapper, extra_environ={'HTTP_ACCEPT': 'text/html'})
[all …]
Dtest_request.py24 app = TestApp(simpleapp)
25 res = app.get('/')
29 res = app.get('/?name=george')
34 app = TestApp(simpleapp)
35 res = app.get('/')
38 res = app.get('/', headers={'Accept-Language':'da, en-gb;q=0.8, en;q=0.7'})
41 res = app.get('/', headers={'Accept-Language':'en-gb;q=0.8, da, en;q=0.7'})
45 app = TestApp(simpleapp)
46 res = app.get('/', headers={'Accept':'text/html'})
49 res = app.get('/', headers={'Accept':'application/xml'})
[all …]
Dtest_fixture.py5 app = TestApp(SimpleApplication())
6 res = app.get('/', params={'a': ['1', '2']})
9 res = app.put('/')
12 res = app.delete('/')
18 res = app.post('/params', params=FakeDict())
21 app.cookies['one'] = 'first';
22 app.cookies['two'] = 'second';
23 app.cookies['three'] = '';
24 res = app.get('/')
Dtest_session.py35 app = TestApp(wsgi_app)
36 res = app.get('/get1')
38 res = app.get('/get2')
41 res = app.get('/put1')
42 res = app.get('/get1')
44 res = app.get('/get2')
48 app = TestApp(wsgi_app)
50 res = app.get('/put2')
51 res = app.get('/get1')
53 res = app.get('/get2')
/external/pdfium/fpdfsdk/include/javascript/
Dapp.h106 class app : public CJS_EmbedObj
109 app(CJS_Object * pJSObject);
110 virtual ~app();
186 JS_STATIC_PROP(activeDocs, app);
187 JS_STATIC_PROP(calculate, app);
188 JS_STATIC_PROP(formsVersion, app);
189 JS_STATIC_PROP(fs, app);
190 JS_STATIC_PROP(fullscreen, app);
191 JS_STATIC_PROP(language, app);
192 JS_STATIC_PROP(media, app);
[all …]
/external/icu/icu4c/source/samples/layout/
Dgnomelayout.cpp87 GtkWidget *app = GTK_WIDGET(gtk_object_get_data(GTK_OBJECT(fileselection), "app")); in openOK() local
88 Context *context = (Context *) gtk_object_get_data(GTK_OBJECT(app), "context"); in openOK()
98 GtkWidget *area = GTK_WIDGET(gtk_object_get_data(GTK_OBJECT(app), "area")); in openOK()
105 gtk_window_set_title(GTK_WINDOW(app), title); in openOK()
119 GtkWidget *app = GTK_WIDGET(data); in openfile() local
127 gtk_object_set_data(GTK_OBJECT(fileselection), "app", app); in openfile()
151 GtkWidget *app = newSample("Sample.txt"); in newapp() local
153 gtk_widget_show_all(app); in newapp()
158 GtkWidget *app = GTK_WIDGET(data); in closeapp() local
160 closeSample(app); in closeapp()
[all …]
Dcgnomelayout.c79 GtkWidget *app = GTK_WIDGET(gtk_object_get_data(GTK_OBJECT(fileselection), "app")); in openOK() local
80 Context *context = (Context *) gtk_object_get_data(GTK_OBJECT(app), "context"); in openOK()
90 GtkWidget *area = GTK_WIDGET(gtk_object_get_data(GTK_OBJECT(app), "area")); in openOK()
97 gtk_window_set_title(GTK_WINDOW(app), title); in openOK()
111 GtkWidget *app = GTK_WIDGET(data); in openfile() local
119 gtk_object_set_data(GTK_OBJECT(fileselection), "app", app); in openfile()
143 GtkWidget *app = newSample("Sample.txt"); in newapp() local
145 gtk_widget_show_all(app); in newapp()
150 GtkWidget *app = GTK_WIDGET(data); in closeapp() local
152 closeSample(app); in closeapp()
[all …]
/external/jmonkeyengine/engine/src/test/jme3test/app/
DTestApplication.java33 package jme3test.app;
35 import com.jme3.app.Application;
47 Application app = new Application(); in main() local
49 app.start(); in main()
53 app.stop(); in main()
57 app = new Application(); in main()
61 app.setSettings(settings); in main()
62 app.start(); in main()
64 app.stop(); in main()
68 app = new Application(); in main()
[all …]
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/
Dmako.py63 def __init__(self, app, config=None): argument
64 self.config = config = app.config.load_config(self.config_key,
98 def get_mako(factory=Mako, key=_registry_key, app=None): argument
115 app = app or webapp2.get_app()
116 mako = app.registry.get(key)
118 mako = app.registry[key] = factory(app)
123 def set_mako(mako, key=_registry_key, app=None): argument
135 app = app or webapp2.get_app()
136 app.registry[key] = mako
Djinja2.py95 def __init__(self, app, config=None): argument
104 self.config = config = app.config.load_config(self.config_key,
113 use_compiled = not app.debug or config['force_compiled']
192 def get_jinja2(factory=Jinja2, key=_registry_key, app=None): argument
209 app = app or webapp2.get_app()
210 jinja2 = app.registry.get(key)
212 jinja2 = app.registry[key] = factory(app)
217 def set_jinja2(jinja2, key=_registry_key, app=None): argument
229 app = app or webapp2.get_app()
230 app.registry[key] = jinja2
/external/jmonkeyengine/engine/src/core/com/jme3/app/
DFlyCamAppState.java32 package com.jme3.app;
34 import com.jme3.app.state.AbstractAppState;
35 import com.jme3.app.state.AppStateManager;
46 private Application app; field in FlyCamAppState
64 public void initialize(AppStateManager stateManager, Application app) { in initialize() argument
65 super.initialize(stateManager, app); in initialize()
67 this.app = app; in initialize()
69 if (app.getInputManager() != null) { in initialize()
72 flyCam = new FlyByCamera(app.getCamera()); in initialize()
75 flyCam.registerWithInput(app.getInputManager()); in initialize()
/external/jmonkeyengine/engine/src/test/jme3test/awt/
DTestApplet.java35 import com.jme3.app.Application;
36 import com.jme3.app.SimpleApplication;
49 private static Application app; field in TestApplet
66 app = clazz.newInstance(); in createCanvas()
75 app.setSettings(settings); in createCanvas()
76 app.createCanvas(); in createCanvas()
78 context = (JmeCanvasContext) app.getContext(); in createCanvas()
85 app.startCanvas(); in startApp()
87 app.enqueue(new Callable<Void>(){ in startApp()
89 if (app instanceof SimpleApplication){ in startApp()
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.app_1.3.1.R36x_v20100803.jar ... eclipse/equinox/ org/eclipse/equinox/app/ org/eclipse/equinox/app/IApplication ...
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Durlmap.py31 app = loader.get_app(app_name, global_conf=global_conf)
32 urlmap[path] = app
103 for app_url, app in self.applications:
120 app = httpexceptions.HTTPNotFound(
123 return app(environ, start_response)
153 (domain, url), app = app_desc
163 def __setitem__(self, url, app): argument
164 if app is None:
173 self.applications.append((dom_url, app))
178 for app_url, app in self.applications:
[all …]

12345678910>>...38