Home
last modified time | relevance | path

Searched full:handlers (Results 1 – 25 of 806) sorted by relevance

12345678910>>...33

/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/lib/simple_api/
Dsimple_api_parser.js19 var SimpleApiParser = module.exports = function (handlers, options) {
21 this.handlers = { property
22 doctype: this._wrapHandler(handlers.doctype),
23 startTag: this._wrapHandler(handlers.startTag),
24 endTag: this._wrapHandler(handlers.endTag),
25 text: this._wrapHandler(handlers.text),
26 comment: this._wrapHandler(handlers.comment)
83 this.handlers.startTag(token.tagName, token.attrs, token.selfClosing);
86 this.handlers.endTag(token.tagName);
89 this.handlers.comment(token.data);
[all …]
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DCatchTable.java102 /** {@code non-null;} list of catch handlers */
103 private final CatchHandlerList handlers; field in CatchTable.Entry
110 * @param handlers {@code non-null;} list of catch handlers
112 public Entry(int start, int end, CatchHandlerList handlers) { in Entry() argument
121 if (handlers.isMutable()) { in Entry()
122 throw new IllegalArgumentException("handlers.isMutable()"); in Entry()
127 this.handlers = handlers; in Entry()
134 hash = (hash * 31) + handlers.hashCode(); in hashCode()
162 return handlers.compareTo(other.handlers); in compareTo()
184 * Gets the handlers.
[all …]
DStdCatchBuilder.java144 CatchHandlerList handlers = handlersFor(block, addresses); in build() local
150 currentHandlers = handlers; in build()
154 if (currentHandlers.equals(handlers) in build()
157 * The block we are looking at now has the same handlers in build()
167 * The block we are looking at now has incompatible handlers, in build()
169 * one. Note: We only emit an entry if it has associated handlers. in build()
180 currentHandlers = handlers; in build()
267 * handlers.
271 * @param handlers {@code non-null;} the handlers for the range
275 BasicBlock end, CatchHandlerList handlers, in makeEntry() argument
[all …]
/external/jetty/src/java/org/eclipse/jetty/server/handler/
DHandlerCollection.java35 /** A collection of handlers.
37 * The default implementations calls all handlers in list order,
40 * handlers.
65 * @return Returns the handlers.
75 * @param handlers The handlers to set.
77 public void setHandlers(Handler[] handlers) in setHandlers() argument
83 _handlers = handlers; in setHandlers()
87 for (int i=0;handlers!=null && i<handlers.length;i++) in setHandlers()
89 if (handlers[i].getServer()!=server) in setHandlers()
90 handlers[i].setServer(server); in setHandlers()
[all …]
DContextHandlerCollection.java42 * {@link org.eclipse.jetty.http.PathMap} to it's contained handlers based
44 * The contexts do not need to be directly contained, only children of the contained handlers.
76 Handler[] handlers=null; in mapContexts() local
80 handlers = new Handler[]{ branches[b] }; in mapContexts()
84handlers = ((HandlerContainer)branches[b]).getChildHandlersByClass(ContextHandler.class); in mapContexts()
89 for (int i=0;i<handlers.length;i++) in mapContexts()
91 ContextHandler handler=(ContextHandler)handlers[i]; in mapContexts()
159 public void setHandlers(Handler[] handlers) in setHandlers() argument
162 super.setHandlers(handlers); in setHandlers()
183 Handler[] handlers = getHandlers(); in handle() local
[all …]
/external/chromium-trace/trace-viewer/third_party/webapp2/docs/guide/
Dapp.rst40 (r'/', 'handlers.HelloWorldHandler'),
60 handlers. The router:
62 - Stores registered "routes", which map URIs to the application handlers
77 app.router.add((r'/', 'handlers.HelloWorldHandler'))
80 handlers are adapted or dispatched without even requiring subclassing. For an
82 :ref:`Request handlers: returned values <guide.handlers.returned_values>`.
105 (r'/', 'handlers.MyHandler'),
154 Error handlers
157 to register error handlers as the :attr:`webapp2.WSGIApplication.error_handlers`
159 by handlers. It is a good idea to set at least error handlers for 404 and 500
[all …]
Drouting.rst25 corresponding handler. Here, for example, we define three handlers and
26 register three routes that point to those handlers::
58 The `handler` part is a callable as explained in :ref:`guide.handlers`, and
60 (see explanation below in :ref:`Lazy Handlers <guide.routing.lazy-handlers>`).
78 - **Keyword arguments:** handlers can receive keyword arguments from the
99 argument is the :ref:`request handler <guide.handlers>` to be used, and the
143 .. _guide.routing.lazy-handlers:
145 Lazy handlers
151 can define handlers in different modules without needing to import all of them
157 strings instead of handler classes and splitting our handlers in two files,
[all …]
Dhandlers.rst1 .. _guide.handlers:
3 Request handlers
11 Handlers 101
84 In some Python frameworks, handlers are called `view functions` or simply
86 handle a request. Our examples use mostly classes, but webapp2 handlers can
90 hooks to adapt how handlers are called, and two default adapters are used
107 implement new interfaces to define how handlers are called: this is done
111 that handlers don't benefit that much from the power and flexibility provided
125 .. _guide.handlers.returned_values:
184 .. _guide.handlers.a.micro.framework.based.on.webapp2:
[all …]
/external/chromium-trace/trace-viewer/tracing/tracing/base/
Devent_target.html51 var handlers = this.listeners_[type];
52 if (handlers.indexOf(handler) < 0)
53 handlers.push(handler);
67 var handlers = this.listeners_[type];
68 var index = handlers.indexOf(handler);
71 if (handlers.length == 1)
74 handlers.splice(index, 1);
106 var handlers = this.listeners_[type].concat();
107 for (var i = 0, handler; handler = handlers[i]; i++) {
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DCatchStructs.java31 * List of exception handlers (tuples of covered range, catch type,
59 * length of the handlers header (encoded size), if known; used for
135 "too many catch handlers"); in encode()
140 // Write out the handlers "header" consisting of its size in entries. in encode()
222 * Helper method to annotate or simply print the exception handlers.
248 CatchHandlerList handlers = entry.getHandlers(); in annotateEntries() local
251 String s2 = handlers.toHuman(subPrefix, ""); in annotateEntries()
267 annotateTo.annotate(0, prefix + "handlers:"); in annotateEntries()
297 * @param handlers {@code non-null;} handlers to annotate
299 * @param size {@code >= 1;} the number of bytes the handlers consume
[all …]
/external/vogar/src/vogar/
DOptionParser.java144 private static final HashMap<Class<?>, Handler> handlers = new HashMap<Class<?>, Handler>(); field in OptionParser
146 handlers.put(boolean.class, new BooleanHandler()); in handlers.put()
147 handlers.put(Boolean.class, new BooleanHandler()); in handlers.put()
149 handlers.put(byte.class, new ByteHandler()); in handlers.put()
150 handlers.put(Byte.class, new ByteHandler()); in handlers.put()
151 handlers.put(short.class, new ShortHandler()); in handlers.put()
152 handlers.put(Short.class, new ShortHandler()); in handlers.put()
153 handlers.put(int.class, new IntegerHandler()); in handlers.put()
154 handlers.put(Integer.class, new IntegerHandler()); in handlers.put()
155 handlers.put(long.class, new LongHandler()); in handlers.put()
[all …]
/external/slf4j/jul-to-slf4j/src/main/java/org/slf4j/bridge/
DSLF4JBridgeHandler.java57 * // Optionally remove existing handlers attached to j.u.l root logger
66 * handlers = org.slf4j.bridge.SLF4JBridgeHandler</pre>
137 Handler[] handlers = rootLogger.getHandlers(); in uninstall() local
138 for (int i = 0; i < handlers.length; i++) { in uninstall()
139 if (handlers[i] instanceof SLF4JBridgeHandler) { in uninstall()
140 rootLogger.removeHandler(handlers[i]); in uninstall()
153 Handler[] handlers = rootLogger.getHandlers(); in isInstalled() local
154 for (int i = 0; i < handlers.length; i++) { in isInstalled()
155 if (handlers[i] instanceof SLF4JBridgeHandler) { in isInstalled()
163 …* Invoking this method removes/unregisters/detaches all handlers currently attached to the root lo…
[all …]
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/test/fixtures/
Dsimple_api_parser_test.js20 //NOTE: the idea of the test is to serialize back given HTML using SimpleApiParser handlers
100 //So here we just check that SimpleApiParser provides this info in the handlers.
101 …var handlers = ['doctype', 'startTag', 'endTag', 'text', 'comment'].reduce(function (handlers, key… argument
102 handlers[key] = function () { function
108 return handlers;
110 parser = new SimpleApiParser(handlers, {locationInfo: true});
/external/jetty/src/resources/org/eclipse/jetty/server/jmx/
DHandlerContainer-mbean.properties1 HandlerContainer: Handler of multiple Handlers
2 handlers: MObject:RO:Handlers in this container key
3 childHandlers: MObject:RO:All contained handlers
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/events/
DCombinedEventsManager.java30 /** This class manages several {@link EventHandler event handlers} during integration.
76 /** Get all the events handlers that have been added to the manager.
77 * @return an unmodifiable collection of the added event handlers
90 /** Remove all the events handlers that have been added to the manager.
98 /** Get all the events state wrapping the handlers that have been added to the manager.
106 /** Check if the manager does not manage any event handlers.
114 * event handlers.
192 /** Inform the event handlers that the step has been accepted
225 /** Let the event handlers reset the state if they want.
/external/javassist/src/main/javassist/bytecode/stackmap/
DLiveness.java78 BasicBlock.Catch handlers = tb.toCatch; in computeLiveness1() local
79 while (handlers != null) { in computeLiveness1()
80 TypedBlock h = (TypedBlock)handlers.body; in computeLiveness1()
86 handlers = handlers.next; in computeLiveness1()
171 BasicBlock.Catch handlers = tb.toCatch; in computeLiveness2except() local
173 while (handlers != null) { in computeLiveness2except()
174 TypedBlock h = (TypedBlock)handlers.body; in computeLiveness2except()
186 handlers = handlers.next; in computeLiveness2except()
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java29 * the main FTP commands by defining handlers for each of the corresponding low-level FTP
30 * server commands (e.g. RETR, DELE, LIST). These handlers implement the {@link CommandHandler}
33 * <b>StubFtpServer</b> works out of the box with default command handlers that return
38 * failure scenarios. The command handlers can also be interrogated to verify command
51 * <h4>Retrieving Command Handlers</h4>
59 * <h4>Replacing Command Handlers</h4>
68 …* You can also replace multiple command handlers at once by using the {@link #setCommandHandlers(M…
85 * Create a new instance. Initialize the default command handlers and
/external/jetty/src/java/org/eclipse/jetty/server/
DHandlerContainer.java24 * A Handler that contains other Handlers.
26 …* The contained handlers may be one (see @{link {@link org.eclipse.jetty.server.handler.HandlerWra…
34 * @return array of handlers directly contained by this handler.
40 * @return array of all handlers contained by this handler and it's children
47 * @return array of all handlers contained by this handler and it's children of the passed type.
54 …* @return first handler of all handlers contained by this handler and it's children of the passed …
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java29 * the main FTP commands by defining handlers for each of the corresponding low-level FTP
30 * server commands (e.g. RETR, DELE, LIST). These handlers implement the {@link CommandHandler}
33 * <b>StubFtpServer</b> works out of the box with default command handlers that return
38 * failure scenarios. The command handlers can also be interrogated to verify command
56 * <h4>Retrieving Command Handlers</h4>
64 * <h4>Replacing Command Handlers</h4>
73 …* You can also replace multiple command handlers at once by using the {@link #setCommandHandlers(j…
90 * Create a new instance. Initialize the default command handlers and
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java29 * the main FTP commands by defining handlers for each of the corresponding low-level FTP
30 * server commands (e.g. RETR, DELE, LIST). These handlers implement the {@link CommandHandler}
33 * <b>StubFtpServer</b> works out of the box with default command handlers that return
38 * failure scenarios. The command handlers can also be interrogated to verify command
56 * <h4>Retrieving Command Handlers</h4>
64 * <h4>Replacing Command Handlers</h4>
73 …* You can also replace multiple command handlers at once by using the {@link #setCommandHandlers(j…
90 * Create a new instance. Initialize the default command handlers and
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java29 * the main FTP commands by defining handlers for each of the corresponding low-level FTP
30 * server commands (e.g. RETR, DELE, LIST). These handlers implement the {@link CommandHandler}
33 * <b>StubFtpServer</b> works out of the box with default command handlers that return
38 * failure scenarios. The command handlers can also be interrogated to verify command
56 * <h4>Retrieving Command Handlers</h4>
64 * <h4>Replacing Command Handlers</h4>
73 …* You can also replace multiple command handlers at once by using the {@link #setCommandHandlers(j…
90 * Create a new instance. Initialize the default command handlers and
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java29 * the main FTP commands by defining handlers for each of the corresponding low-level FTP
30 * server commands (e.g. RETR, DELE, LIST). These handlers implement the {@link CommandHandler}
33 * <b>StubFtpServer</b> works out of the box with default command handlers that return
38 * failure scenarios. The command handlers can also be interrogated to verify command
56 * <h4>Retrieving Command Handlers</h4>
64 * <h4>Replacing Command Handlers</h4>
73 …* You can also replace multiple command handlers at once by using the {@link #setCommandHandlers(j…
90 * Create a new instance. Initialize the default command handlers and
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java29 * the main FTP commands by defining handlers for each of the corresponding low-level FTP
30 * server commands (e.g. RETR, DELE, LIST). These handlers implement the {@link CommandHandler}
33 * <b>StubFtpServer</b> works out of the box with default command handlers that return
38 * failure scenarios. The command handlers can also be interrogated to verify command
56 * <h4>Retrieving Command Handlers</h4>
64 * <h4>Replacing Command Handlers</h4>
73 …* You can also replace multiple command handlers at once by using the {@link #setCommandHandlers(j…
90 * Create a new instance. Initialize the default command handlers and
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java29 * the main FTP commands by defining handlers for each of the corresponding low-level FTP
30 * server commands (e.g. RETR, DELE, LIST). These handlers implement the {@link CommandHandler}
33 * <b>StubFtpServer</b> works out of the box with default command handlers that return
38 * failure scenarios. The command handlers can also be interrogated to verify command
56 * <h4>Retrieving Command Handlers</h4>
64 * <h4>Replacing Command Handlers</h4>
73 …* You can also replace multiple command handlers at once by using the {@link #setCommandHandlers(j…
90 * Create a new instance. Initialize the default command handlers and
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/stub/
DStubFtpServer.java29 * the main FTP commands by defining handlers for each of the corresponding low-level FTP
30 * server commands (e.g. RETR, DELE, LIST). These handlers implement the {@link CommandHandler}
33 * <b>StubFtpServer</b> works out of the box with default command handlers that return
38 * failure scenarios. The command handlers can also be interrogated to verify command
56 * <h4>Retrieving Command Handlers</h4>
64 * <h4>Replacing Command Handlers</h4>
73 …* You can also replace multiple command handlers at once by using the {@link #setCommandHandlers(j…
90 * Create a new instance. Initialize the default command handlers and

12345678910>>...33