Home
last modified time | relevance | path

Searched refs:handlers (Results 1 – 25 of 225) sorted by relevance

123456789

/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/jetty/src/java/org/eclipse/jetty/server/handler/
DHandlerCollection.java77 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()
94 getServer().getContainer().update(this, old_handlers, handlers, "handler"); in setHandlers()
288 Handler[] handlers = getHandlers(); in removeHandler() local
290 if (handlers!=null && handlers.length>0 ) in removeHandler()
291 setHandlers((Handler[])LazyList.removeFromArray(handlers, handler)); in removeHandler()
298 Handler[] handlers = getHandlers(); in expandChildren() local
[all …]
DContextHandlerCollection.java76 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
184 if (handlers==null || handlers.length==0) in handle()
265 for (int i=0;i<handlers.length;i++) in handle()
[all …]
DHandlerList.java46 Handler[] handlers = getHandlers(); in handle() local
48 if (handlers!=null && isStarted()) in handle()
50 for (int i=0;i<handlers.length;i++) in handle()
52 handlers[i].handle(target,baseRequest, request, response); in handle()
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DCatchTable.java103 private final CatchHandlerList handlers; field in CatchTable.Entry
112 public Entry(int start, int end, CatchHandlerList handlers) { in Entry() argument
121 if (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()
189 return handlers; in getHandlers()
DStdCatchBuilder.java144 CatchHandlerList handlers = handlersFor(block, addresses); in build() local
150 currentHandlers = handlers; in build()
154 if (currentHandlers.equals(handlers) in build()
180 currentHandlers = handlers; in build()
275 BasicBlock end, CatchHandlerList handlers, in makeEntry() argument
287 endAddress.getAddress(), handlers); in makeEntry()
/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.java137 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()
168 java.util.logging.Handler[] handlers = rootLogger.getHandlers(); in removeHandlersForRootLogger() local
169 for (int i = 0; i < handlers.length; i++) { in removeHandlersForRootLogger()
170 rootLogger.removeHandler(handlers[i]); in removeHandlersForRootLogger()
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/test/fixtures/
Dsimple_api_parser_test.js101 …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/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/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 …]
/external/slf4j/slf4j-jdk14/src/test/java/org/slf4j/impl/
DJDK14AdapterLoggerNameTest.java64 Handler[] handlers = logger.getHandlers(); in removeHandlers() local
65 for (int i = 0; i < handlers.length; i++) { in removeHandlers()
66 logger.removeHandler(handlers[i]); in removeHandlers()
/external/v8/src/ic/
Dic-compiler.cc41 CodeHandleList handlers(1); in CompileMonomorphic() local
43 handlers.Add(handler); in CompileMonomorphic()
45 return CompilePolymorphic(&types, &handlers, name, stub_type, check); in CompileMonomorphic()
257 CodeHandleList handlers(receiver_maps->length()); in ComputeKeyedLoadPolymorphic() local
259 compiler.CompileElementHandlers(receiver_maps, &handlers); in ComputeKeyedLoadPolymorphic()
262 &types, &handlers, isolate->factory()->empty_string(), Code::NORMAL, in ComputeKeyedLoadPolymorphic()
273 Code::Kind kind, TypeHandleList* types, CodeHandleList* handlers, in ComputePolymorphic() argument
275 Handle<Code> handler = handlers->at(0); in ComputePolymorphic()
279 return ic_compiler.CompilePolymorphic(types, handlers, name, type, PROPERTY); in ComputePolymorphic()
375 CodeHandleList handlers(receiver_maps->length()); in CompileKeyedStorePolymorphic() local
[all …]
/external/clang/tools/scan-build/
Dsorttable.js383 var handlers = element.events[type];
384 if (!handlers) {
385 handlers = element.events[type] = {};
388 handlers[0] = element["on" + type];
392 handlers[handler.$$guid] = handler;
416 var handlers = this.events[event.type];
418 for (var i in handlers) {
419 this.$$handleEvent = handlers[i];
/external/jetty/src/resources/org/eclipse/jetty/server/handler/jmx/
DHandlerCollection-mbean.properties2 handlers: MObject:Wrapped handlers key
/external/mockftpserver/tags/1.2.1/src/site/apt/
Dstubftpserver-features.apt15 …* Easy to configure command handlers for individual FTP server commands to return success/failure …
19 * Easy to implement command handlers for other commands or replace existing command handlers.
/external/mockftpserver/tags/2.1/src/site/apt/
Dstubftpserver-features.apt15 …* Easy to configure command handlers for individual FTP server commands to return success/failure …
19 * Easy to implement command handlers for other commands or replace existing command handlers.
/external/mockftpserver/tags/2.0.2/src/site/apt/
Dstubftpserver-features.apt15 …* Easy to configure command handlers for individual FTP server commands to return success/failure …
19 * Easy to implement command handlers for other commands or replace existing command handlers.
/external/mockftpserver/tags/1.2.2/src/site/apt/
Dstubftpserver-features.apt15 …* Easy to configure command handlers for individual FTP server commands to return success/failure …
19 * Easy to implement command handlers for other commands or replace existing command handlers.
/external/mockftpserver/tags/1.2/src/site/apt/
Dstubftpserver-features.apt15 …* Easy to configure command handlers for individual FTP server commands to return success/failure …
19 * Easy to implement command handlers for other commands or replace existing command handlers.
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/site/apt/
Dstubftpserver-features.apt15 …* Easy to configure command handlers for individual FTP server commands to return success/failure …
19 * Easy to implement command handlers for other commands or replace existing command handlers.
/external/mockftpserver/tags/1.2.4/src/site/apt/
Dstubftpserver-features.apt15 …* Easy to configure command handlers for individual FTP server commands to return success/failure …
19 * Easy to implement command handlers for other commands or replace existing command handlers.
/external/mockftpserver/tags/2.0.1/src/site/apt/
Dstubftpserver-features.apt15 …* Easy to configure command handlers for individual FTP server commands to return success/failure …
19 * Easy to implement command handlers for other commands or replace existing command handlers.
/external/mockftpserver/tags/2.0/src/site/apt/
Dstubftpserver-features.apt15 …* Easy to configure command handlers for individual FTP server commands to return success/failure …
19 * Easy to implement command handlers for other commands or replace existing command handlers.

123456789