/libcore/luni/src/main/java/org/apache/xalan/processor/ |
ProcessorStylesheetElement.java | 46 * @param handler The calling StylesheetHandler/TemplatesBuilder. 60 StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) 64 super.startElement(handler, uri, localName, rawName, attributes); 67 int stylesheetType = handler.getStylesheetType(); 74 stylesheet = getStylesheetRoot(handler); 83 Stylesheet parent = handler.getStylesheet(); 101 stylesheet.setDOMBackPointer(handler.getOriginatingNode()); 102 stylesheet.setLocaterInfo(handler.getLocator()); 104 stylesheet.setPrefixes(handler.getNamespaceSupport()); 105 handler.pushStylesheet(stylesheet) [all...] |
ProcessorTemplate.java | 38 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 45 StylesheetHandler handler, ElemTemplateElement elem) 49 super.appendAndPush(handler, elem); 50 elem.setDOMBackPointer(handler.getOriginatingNode()); 51 handler.getStylesheet().setTemplate((ElemTemplate) elem);
|
ProcessorTemplateElem.java | 42 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 49 StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) 53 super.startElement(handler, uri, localName, rawName, attributes); 56 // ElemTemplateElement parent = handler.getElemTemplateElement(); 65 elem.setDOMBackPointer(handler.getOriginatingNode()); 66 elem.setLocaterInfo(handler.getLocator()); 67 elem.setPrefixes(handler.getNamespaceSupport()); 71 handler.error(XSLTErrorResources.ER_FAILED_CREATING_ELEMTMPL, null, ie);//"Failed creating ElemTemplateElement instance!", ie); 75 handler.error(XSLTErrorResources.ER_FAILED_CREATING_ELEMTMPL, null, iae);//"Failed creating ElemTemplateElement instance!", iae); 78 setPropertiesFromAttributes(handler, rawName, attributes, elem) [all...] |
ProcessorDecimalFormat.java | 42 * @param handler The calling StylesheetHandler/TemplatesBuilder. 61 StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) 65 DecimalFormatProperties dfp = new DecimalFormatProperties(handler.nextUid()); 67 dfp.setDOMBackPointer(handler.getOriginatingNode()); 68 dfp.setLocaterInfo(handler.getLocator()); 70 setPropertiesFromAttributes(handler, rawName, attributes, dfp); 71 handler.getStylesheet().setDecimalFormat(dfp); 73 handler.getStylesheet().appendChild(dfp);
|
ProcessorGlobalParamDecl.java | 40 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 47 StylesheetHandler handler, ElemTemplateElement elem) 52 handler.pushElemTemplateElement(elem); 61 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 67 StylesheetHandler handler, String uri, String localName, String rawName) 71 ElemParam v = (ElemParam) handler.getElemTemplateElement(); 73 handler.getStylesheet().appendChild(v); 74 handler.getStylesheet().setParam(v); 75 super.endElement(handler, uri, localName, rawName);
|
ProcessorGlobalVariableDecl.java | 40 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 47 StylesheetHandler handler, ElemTemplateElement elem) 52 handler.pushElemTemplateElement(elem); 61 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 67 StylesheetHandler handler, String uri, String localName, String rawName) 71 ElemVariable v = (ElemVariable) handler.getElemTemplateElement(); 73 handler.getStylesheet().appendChild(v); 74 handler.getStylesheet().setVariable(v); 75 super.endElement(handler, uri, localName, rawName);
|
ProcessorAttributeSet.java | 42 * @param handler The calling StylesheetHandler/TemplatesBuilder. 61 StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) 67 eat.setLocaterInfo(handler.getLocator()); 70 eat.setPrefixes(handler.getNamespaceSupport()); 77 eat.setDOMBackPointer(handler.getOriginatingNode()); 78 setPropertiesFromAttributes(handler, rawName, attributes, eat); 79 handler.getStylesheet().setAttributeSet(eat); 81 // handler.pushElemTemplateElement(eat); 82 ElemTemplateElement parent = handler.getElemTemplateElement(); 85 handler.pushElemTemplateElement(eat) [all...] |
ProcessorNamespaceAlias.java | 48 * @param handler The calling StylesheetHandler/TemplatesBuilder. 62 StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) 66 NamespaceAlias na = new NamespaceAlias(handler.nextUid()); 68 setPropertiesFromAttributes(handler, rawName, attributes, na); 75 String stylesheetNS = handler.getNamespaceForPrefix(prefix); 82 resultNS = handler.getNamespaceForPrefix(prefix); 84 handler.error(XSLTErrorResources.ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX_FOR_DEFAULT, null, null); 88 resultNS = handler.getNamespaceForPrefix(prefix); 90 handler.error(XSLTErrorResources.ER_INVALID_NAMESPACE_URI_VALUE_FOR_RESULT_PREFIX, new Object[] {prefix}, null); 94 handler.getStylesheet().setNamespaceAlias(na) [all...] |
ProcessorText.java | 40 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 47 StylesheetHandler handler, ElemTemplateElement elem) 53 (ProcessorCharacters) handler.getProcessorFor(null, "text()", "text"); 57 ElemTemplateElement parent = handler.getElemTemplateElement(); 60 elem.setDOMBackPointer(handler.getOriginatingNode()); 66 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 72 StylesheetHandler handler, String uri, String localName, String rawName) 77 = (ProcessorCharacters) handler.getProcessorFor(null, "text()", "text");
|
ProcessorInclude.java | 107 * @param handler The calling StylesheetHandler/TemplatesBuilder. 124 StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) 129 setPropertiesFromAttributes(handler, rawName, attributes, this); 135 Source sourceFromURIResolver = getSourceFromUriResolver(handler); 137 String hrefUrl = getBaseURIOfIncludedStylesheet(handler, sourceFromURIResolver); 139 if (handler.importStackContains(hrefUrl)) 148 handler.pushImportURL(hrefUrl); 149 handler.pushImportSource(sourceFromURIResolver); 151 int savedStylesheetType = handler.getStylesheetType(); 153 handler.setStylesheetType(this.getStylesheetType()) [all...] |
ProcessorCharacters.java | 45 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 47 public void startNonText(StylesheetHandler handler) throws org.xml.sax.SAXException 49 if (this == handler.getCurrentProcessor()) 51 handler.popProcessor(); 59 || handler.isSpacePreserve()) 64 elem.setLocaterInfo(handler.getLocator()); 67 elem.setPrefixes(handler.getNamespaceSupport()); 85 ElemTemplateElement parent = handler.getElemTemplateElement(); 100 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 110 StylesheetHandler handler, char ch[], int start, int length [all...] |
/libcore/luni/src/main/java/javax/xml/transform/sax/ |
SAXResult.java | 50 * @param handler Must be a non-null ContentHandler reference. 52 public SAXResult(ContentHandler handler) { 53 setHandler(handler); 59 * @param handler Must be a non-null ContentHandler reference. 61 public void setHandler(ContentHandler handler) { 62 this.handler = handler; 71 return handler; 78 * lexical handler is not set, an attempt should be made by the 82 * @param handler A non-null <code>LexicalHandler</code> fo 125 private ContentHandler handler; field in class:SAXResult [all...] |
/bionic/libc/unistd/ |
signal.c | 32 _signal(int signum, __sighandler_t handler, int flags) 39 sa.sa_handler = handler; 49 __sighandler_t bsd_signal(int signum, __sighandler_t handler) 51 return _signal(signum, handler, SA_RESTART); 54 __sighandler_t sysv_signal(int signum, __sighandler_t handler) 56 return _signal(signum, handler, SA_RESETHAND);
|
/frameworks/base/obex/javax/obex/ |
SessionNotifier.java | 53 * the handler to handle the requests from the client. No authenticator is 82 * @param handler the request handler that will respond to OBEX requests 85 * @throws NullPointerException if <code>handler</code> is <code>null</code> 87 ObexSession acceptAndOpen(ServerRequestHandler handler) throws IOException; 91 * the handler to handle the requests from the client and the 119 * @param handler the request handler that will respond to OBEX requests 125 * @throws NullPointerException if <code>handler</code> is <code>null</code> 127 ObexSession acceptAndOpen(ServerRequestHandler handler, Authenticator auth) throws IOException [all...] |
/libcore/luni/src/test/java/libcore/java/util/logging/ |
OldFileHandlerTest.java | 32 import java.util.logging.Handler; 46 FileHandler handler; field in class:OldFileHandlerTest 76 handler = new FileHandler(); 81 if (null != handler) { 82 handler.close(); 96 "iso-8859-1", handler.getEncoding()); 97 assertNotNull("Filter is null", handler.getFilter()); 98 assertNotNull("Formatter is null", handler.getFormatter()); 99 assertEquals("is non equal to actual value", Level.FINE, handler 101 assertNotNull("ErrorManager is null", handler.getErrorManager()) [all...] |
OldXMLFormatterTest.java | 21 import java.util.logging.Handler; 30 MockHandler handler = null; field in class:OldXMLFormatterTest 36 handler = new MockHandler(); 41 handler.setEncoding("UTF-8"); 43 String result = formatter.getHead(handler); 56 .getTail(handler).indexOf("/log>") > 0); 60 assertEquals("Tail string with null handler should be equal expected value", 63 formatter.getTail(handler).trim()); 64 handler.publish(lr); 66 "</log>", formatter.getTail(handler).trim()) [all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
AbstractCookieSpec.java | 53 * Stores attribute name -> attribute handler mappings 66 final String name, final CookieAttributeHandler handler) { 70 if (handler == null) { 71 throw new IllegalArgumentException("Attribute handler may not be null"); 73 this.attribHandlerMap.put(name, handler); 77 * Finds an attribute handler {@link CookieAttributeHandler} for the 78 * given attribute. Returns <tt>null</tt> if no attribute handler is 82 * @return an attribute handler or <tt>null</tt> 89 * Gets attribute handler {@link CookieAttributeHandler} for the 93 * @throws IllegalStateException if handler not found for th 97 CookieAttributeHandler handler = findAttribHandler(name); local [all...] |
/libcore/luni/src/main/java/org/apache/xml/dtm/ref/ |
IncrementalSAXSource.java | 43 /** Register a SAX-style content handler for us to output to 45 public void setContentHandler(ContentHandler handler); 47 /** Register a SAX-style lexical handler for us to output to 49 public void setLexicalHandler(org.xml.sax.ext.LexicalHandler handler); 51 /** Register a SAX-style DTD handler for us to output to 53 public void setDTDHandler(org.xml.sax.DTDHandler handler);
|
/libcore/luni/src/main/java/org/xml/sax/ |
Parser.java | 95 * Allow an application to register a DTD event handler. 97 * <p>If the application does not register a DTD handler, all DTD 103 * handler in the middle of a parse, and the SAX parser must 104 * begin using the new handler immediately.</p> 106 * @param handler The DTD handler. 110 public abstract void setDTDHandler (DTDHandler handler); 114 * Allow an application to register a document event handler. 116 * <p>If the application does not register a document handler, all 121 * <p>Applications may register a new or different handler in th [all...] |
/external/wpa_supplicant/ |
eloop.h | 89 * eloop_register_read_sock - Register handler for read events 91 * @handler: Callback function to be called when data is available for reading 96 * Register a read socket notifier for the given file descriptor. The handler 98 * socket. The handler function is responsible for clearing the event after 99 * having processed it in order to avoid eloop from calling the handler again 102 int eloop_register_read_sock(int sock, eloop_sock_handler handler, 106 * eloop_unregister_read_sock - Unregister handler for read events 115 * eloop_register_sock - Register handler for socket events 118 * @handler: Callback function to be called when the event is triggered 124 * handler function will be called whenever the that event is triggered for th [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/utils/ |
eloop.h | 89 * eloop_register_read_sock - Register handler for read events 91 * @handler: Callback function to be called when data is available for reading 96 * Register a read socket notifier for the given file descriptor. The handler 98 * socket. The handler function is responsible for clearing the event after 99 * having processed it in order to avoid eloop from calling the handler again 102 int eloop_register_read_sock(int sock, eloop_sock_handler handler, 106 * eloop_unregister_read_sock - Unregister handler for read events 115 * eloop_register_sock - Register handler for socket events 118 * @handler: Callback function to be called when the event is triggered 124 * handler function will be called whenever the that event is triggered for th [all...] |
/frameworks/base/core/java/android/webkit/ |
UrlInterceptRegistry.java | 73 * Register a new UrlInterceptHandler. This handler will be called 76 * @param handler The new UrlInterceptHandler object 77 * @return true if the handler was not previously registered. 84 UrlInterceptHandler handler) { 85 if (!getHandlers().contains(handler)) { 86 getHandlers().addFirst(handler); 96 * @param handler A previously registered UrlInterceptHandler. 97 * @return true if the handler was found and removed from the list. 104 UrlInterceptHandler handler) { 105 return getHandlers().remove(handler); 125 UrlInterceptHandler handler = (UrlInterceptHandler) iter.next(); local 152 UrlInterceptHandler handler = (UrlInterceptHandler) iter.next(); local [all...] |
/external/dropbear/ |
packet.h | 40 void (*handler)(); member in struct:PacketType
|
/external/easymock/src/org/easymock/internal/ |
JavaProxyFactory.java | 23 public T createProxy(Class<T> toMock, InvocationHandler handler) {
25 new Class[] { toMock }, handler);
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
DdmServer.java | 50 * Throws an exception if the type already has a handler registered. 52 public static void registerHandler(int type, ChunkHandler handler) { 53 if (handler == null) 61 mHandlerMap.put(type, handler); 66 * Unregister the existing handler for the specified type. 68 * Returns the old handler. 113 ChunkHandler handler = (ChunkHandler) iter.next(); local 116 handler.connected(); 119 handler.disconnected(); 141 ChunkHandler handler; local [all...] |