Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 1054) sorted by relevance

12345678910>>...43

/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
DMemoryHandlerTest.java58 MemoryHandler handler; field in MemoryHandlerTest
71 handler = new MemoryHandler(); in setUp()
102 Filter filter = handler.getFilter(); in testClose()
103 Formatter formatter = handler.getFormatter(); in testClose()
105 handler.close(); in testClose()
107 assertEquals(handler.getFilter(), filter); in testClose()
108 assertEquals(handler.getFormatter(), formatter); in testClose()
109 assertNull(handler.getEncoding()); in testClose()
110 assertNotNull(handler.getErrorManager()); in testClose()
111 assertEquals(handler.getLevel(), Level.OFF); in testClose()
[all …]
DFileHandlerTest.java59 FileHandler handler; field in FileHandlerTest
73 handler = new FileHandler(); in setUp()
97 if (null != handler) { in tearDown()
98 handler.close(); in tearDown()
169 assertEquals(handler.getEncoding(), "iso-8859-1"); in testFileHandler()
170 assertTrue(handler.getFilter() instanceof MockFilter); in testFileHandler()
171 assertTrue(handler.getFormatter() instanceof MockFormatter); in testFileHandler()
172 assertEquals(handler.getLevel(), Level.FINE); in testFileHandler()
173 assertNotNull(handler.getErrorManager()); in testFileHandler()
174 handler.publish(r); in testFileHandler()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DProcessorInclude.java124 … StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) in startElement() argument
129 setPropertiesFromAttributes(handler, rawName, attributes, this); in startElement()
135 Source sourceFromURIResolver = getSourceFromUriResolver(handler); in startElement()
137 String hrefUrl = getBaseURIOfIncludedStylesheet(handler, sourceFromURIResolver); in startElement()
139 if (handler.importStackContains(hrefUrl)) in startElement()
148 handler.pushImportURL(hrefUrl); in startElement()
149 handler.pushImportSource(sourceFromURIResolver); in startElement()
151 int savedStylesheetType = handler.getStylesheetType(); in startElement()
153 handler.setStylesheetType(this.getStylesheetType()); in startElement()
154 handler.pushNewNamespaceSupport(); in startElement()
[all …]
DProcessorStylesheetElement.java60 … StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) in startElement() argument
64 super.startElement(handler, uri, localName, rawName, attributes); in startElement()
67 int stylesheetType = handler.getStylesheetType(); in startElement()
74 stylesheet = getStylesheetRoot(handler); in startElement()
83 Stylesheet parent = handler.getStylesheet(); in startElement()
101 stylesheet.setDOMBackPointer(handler.getOriginatingNode()); in startElement()
102 stylesheet.setLocaterInfo(handler.getLocator()); in startElement()
104 stylesheet.setPrefixes(handler.getNamespaceSupport()); in startElement()
105 handler.pushStylesheet(stylesheet); in startElement()
106 setPropertiesFromAttributes(handler, rawName, attributes, in startElement()
[all …]
DXSLTAttributeDef.java513 StylesheetHandler handler, String uri, String name, String rawName, String value, in processAVT() argument
520 AVT avt = new AVT(handler, uri, name, rawName, value, owner); in processAVT()
544 Object processCDATA(StylesheetHandler handler, String uri, String name, in processCDATA() argument
551 AVT avt = new AVT(handler, uri, name, rawName, value, owner); in processCDATA()
578 …StylesheetHandler handler, String uri, String name, String rawName, String value, ElemTemplateElem… in processCHAR() argument
584 AVT avt = new AVT(handler, uri, name, rawName, value, owner); in processCHAR()
588 handleError(handler, XSLTErrorResources.INVALID_TCHAR, new Object[] {name, value},null); in processCHAR()
600 handleError(handler, XSLTErrorResources.INVALID_TCHAR, new Object[] {name, value},null); in processCHAR()
622 Object processENUM(StylesheetHandler handler, String uri, String name, in processENUM() argument
631 avt = new AVT(handler, uri, name, rawName, value, owner); in processENUM()
[all …]
DProcessorTemplateElem.java49 … StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) in startElement() argument
53 super.startElement(handler, uri, localName, rawName, attributes); in startElement()
65 elem.setDOMBackPointer(handler.getOriginatingNode()); in startElement()
66 elem.setLocaterInfo(handler.getLocator()); in startElement()
67 elem.setPrefixes(handler.getNamespaceSupport()); in startElement()
71handler.error(XSLTErrorResources.ER_FAILED_CREATING_ELEMTMPL, null, ie);//"Failed creating ElemTem… in startElement()
75handler.error(XSLTErrorResources.ER_FAILED_CREATING_ELEMTMPL, null, iae);//"Failed creating ElemTe… in startElement()
78 setPropertiesFromAttributes(handler, rawName, attributes, elem); in startElement()
79 appendAndPush(handler, elem); in startElement()
99 StylesheetHandler handler, ElemTemplateElement elem) in appendAndPush() argument
[all …]
DProcessorLRE.java69 … StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) in startElement() argument
75 ElemTemplateElement p = handler.getElemTemplateElement(); in startElement()
83 XSLTElementProcessor lreProcessor = handler.popProcessor(); in startElement()
85handler.getProcessorFor(Constants.S_XSLNAMESPACEURL, "stylesheet", in startElement()
88 handler.pushProcessor(lreProcessor); in startElement()
93 stylesheet = getStylesheetRoot(handler); in startElement()
103 Locator locator = handler.getLocator(); in startElement()
112 stylesheet.setPrefixes(handler.getNamespaceSupport()); in startElement()
113 handler.pushStylesheet(stylesheet); in startElement()
154 stylesheetProcessor.setPropertiesFromAttributes(handler, "stylesheet", in startElement()
[all …]
DProcessorCharacters.java47 public void startNonText(StylesheetHandler handler) throws org.xml.sax.SAXException in startNonText() argument
49 if (this == handler.getCurrentProcessor()) in startNonText()
51 handler.popProcessor(); in startNonText()
59 || handler.isSpacePreserve()) in startNonText()
64 elem.setLocaterInfo(handler.getLocator()); in startNonText()
67 elem.setPrefixes(handler.getNamespaceSupport()); in startNonText()
85 ElemTemplateElement parent = handler.getElemTemplateElement(); in startNonText()
110 StylesheetHandler handler, char ch[], int start, int length) in characters() argument
117 m_firstBackPointer = handler.getOriginatingNode(); in characters()
120 if (this != handler.getCurrentProcessor()) in characters()
[all …]
DXSLTElementProcessor.java92 StylesheetHandler handler, String publicId, String systemId) in resolveEntity() argument
109 public void notationDecl(StylesheetHandler handler, String name, in notationDecl() argument
128 public void unparsedEntityDecl(StylesheetHandler handler, String name, in unparsedEntityDecl() argument
142 public void startNonText(StylesheetHandler handler) throws org.xml.sax.SAXException in startNonText() argument
158 … StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) in startElement() argument
177 StylesheetHandler handler, String uri, String localName, String rawName) in endElement() argument
184handler.error(XSLTErrorResources.ER_REQUIRED_ELEM_NOT_FOUND, new Object[]{getElemDef().getRequired… in endElement()
198 StylesheetHandler handler, char ch[], int start, int length) in characters() argument
201handler.error(XSLTErrorResources.ER_CHARS_NOT_ALLOWED, null, null);//"Characters are not allowed a… in characters()
216 StylesheetHandler handler, char ch[], int start, int length) in ignorableWhitespace() argument
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DHandlerTest.java94 Handler handler = new Handler(callback); in shouldCallProvidedHandlerCallback() local
95 handler.sendMessage(new Message()); in shouldCallProvidedHandlerCallback()
122 Handler handler = new Handler(); in testRemoveCallbacks() local
123 ShadowLooper shadowLooper = shadowOf(handler.getLooper()); in testRemoveCallbacks()
125 handler.post(scratchRunnable); in testRemoveCallbacks()
126 handler.removeCallbacks(scratchRunnable); in testRemoveCallbacks()
202 Handler handler = new Handler(); in testSendMessageAtFrontOfQueueThenRunMainLooperOneMsgAtATime_shouldRunFrontOfQueueMsgFirst() local
207 handler.obtainMessage(123).sendToTarget(); in testSendMessageAtFrontOfQueueThenRunMainLooperOneMsgAtATime_shouldRunFrontOfQueueMsgFirst()
208 Message frontMsg = handler.obtainMessage(345); in testSendMessageAtFrontOfQueueThenRunMainLooperOneMsgAtATime_shouldRunFrontOfQueueMsgFirst()
209 boolean result = handler.sendMessageAtFrontOfQueue(frontMsg); in testSendMessageAtFrontOfQueueThenRunMainLooperOneMsgAtATime_shouldRunFrontOfQueueMsgFirst()
[all …]
/external/expat/lib/
Dxmlrole.c94 ((state)->handler = ((state)->documentEntity \
98 #define setTopLevel(state) ((state)->handler = internalSubset)
136 state->handler = prolog1; in prolog0()
139 state->handler = prolog1; in prolog0()
142 state->handler = prolog1; in prolog0()
145 state->handler = prolog1; in prolog0()
155 state->handler = doctype0; in prolog0()
158 state->handler = error; in prolog0()
186 state->handler = doctype0; in prolog1()
189 state->handler = error; in prolog1()
[all …]
/external/google-breakpad/src/common/dwarf/
Ddwarf2reader_cfi_unittest.cc154 EXPECT_CALL(handler, UndefinedRule(_, _)).Times(0); in CFIFixture()
155 EXPECT_CALL(handler, SameValueRule(_, _)).Times(0); in CFIFixture()
156 EXPECT_CALL(handler, OffsetRule(_, _, _, _)).Times(0); in CFIFixture()
157 EXPECT_CALL(handler, ValOffsetRule(_, _, _, _)).Times(0); in CFIFixture()
158 EXPECT_CALL(handler, RegisterRule(_, _, _)).Times(0); in CFIFixture()
159 EXPECT_CALL(handler, ExpressionRule(_, _, _)).Times(0); in CFIFixture()
160 EXPECT_CALL(handler, ValExpressionRule(_, _, _)).Times(0); in CFIFixture()
161 EXPECT_CALL(handler, PersonalityRoutine(_, _)).Times(0); in CFIFixture()
162 EXPECT_CALL(handler, LanguageSpecificDataArea(_, _)).Times(0); in CFIFixture()
163 EXPECT_CALL(handler, SignalHandler()).Times(0); in CFIFixture()
[all …]
/external/libvncserver/libvncserver/
Dauth.c49 rfbRegisterSecurityHandler(rfbSecurityHandler* handler) in rfbRegisterSecurityHandler() argument
53 if(handler == NULL) in rfbRegisterSecurityHandler()
56 next = handler->next; in rfbRegisterSecurityHandler()
59 if(head == handler) { in rfbRegisterSecurityHandler()
67 handler->next = securityHandlers; in rfbRegisterSecurityHandler()
68 securityHandlers = handler; in rfbRegisterSecurityHandler()
79 rfbUnregisterSecurityHandler(rfbSecurityHandler* handler) in rfbUnregisterSecurityHandler() argument
83 if(handler == NULL) in rfbUnregisterSecurityHandler()
86 if(securityHandlers == handler) { in rfbUnregisterSecurityHandler()
88 rfbUnregisterSecurityHandler(handler->next); in rfbUnregisterSecurityHandler()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/builder/
DBuilderExceptionHandler.java41 @Nonnull protected final Label handler; field in BuilderExceptionHandler
43 private BuilderExceptionHandler(@Nonnull Label handler) { in BuilderExceptionHandler() argument
44 this.handler = handler; in BuilderExceptionHandler()
49 return handler; in getHandler()
53 @Nonnull Label handler) { in newExceptionHandler() argument
55 return newExceptionHandler(handler); in newExceptionHandler()
57 return new BuilderExceptionHandler(handler) { in newExceptionHandler()
63 return handler.getCodeAddress(); in newExceptionHandler()
72 static BuilderExceptionHandler newExceptionHandler(@Nonnull Label handler) {
73 return new BuilderExceptionHandler(handler) {
[all …]
/external/smali/util/src/test/java/org/jf/util/
DClassFileNameHandlerTest.java122 ClassFileNameHandler handler = new ClassFileNameHandler(tempDir, ".smali"); in testMultipleLongNames() local
126 …File file1 = handler.getUniqueFilenameForClass("La/a/" + filenameFragment + "1" + filenameFragmen… in testMultipleLongNames()
129 …File file2 = handler.getUniqueFilenameForClass("La/a/" + filenameFragment + "2" + filenameFragment… in testMultipleLongNames()
138 ClassFileNameHandler handler = new ClassFileNameHandler(tempDir, ".smali"); in testBasicFunctionality() local
140 File file = handler.getUniqueFilenameForClass("La/b/c/d;"); in testBasicFunctionality()
143 file = handler.getUniqueFilenameForClass("La/b/c/e;"); in testBasicFunctionality()
146 file = handler.getUniqueFilenameForClass("La/b/d/d;"); in testBasicFunctionality()
149 file = handler.getUniqueFilenameForClass("La/b;"); in testBasicFunctionality()
152 file = handler.getUniqueFilenameForClass("Lb;"); in testBasicFunctionality()
159 ClassFileNameHandler handler = new ClassFileNameHandler(tempDir, ".smali", false, false); in testCaseInsensitiveFilesystem() local
[all …]
/external/deqp/framework/qphelper/
DqpCrashHandler.c251 qpCrashHandler* handler = (qpCrashHandler*)deCalloc(sizeof(qpCrashHandler)); in qpCrashHandler_create() local
253 if (!handler) in qpCrashHandler_create()
254 return handler; in qpCrashHandler_create()
258 handler->crashHandlerFunc = handlerFunc ? handlerFunc : defaultCrashHandler; in qpCrashHandler_create()
259 handler->handlerUserPointer = userPointer; in qpCrashHandler_create()
265 handler->crashHandlerLock = deMutex_create(&attr); in qpCrashHandler_create()
267 if (!handler->crashHandlerLock) in qpCrashHandler_create()
269 deFree(handler); in qpCrashHandler_create()
274 qpCrashInfo_init(&handler->crashInfo); in qpCrashHandler_create()
275 handler->crashAddress = 0; in qpCrashHandler_create()
[all …]
/external/google-breakpad/src/common/
Ddwarf_cfi_to_module_unittest.cc61 handler(&module, register_names, &reporter) { in DwarfCFIToModuleFixture()
82 DwarfCFIToModule handler; member
89 ASSERT_TRUE(handler.Entry(0x3b8961b8, 0xa21069698096fc98ULL, in TEST_F()
91 ASSERT_TRUE(handler.End()); in TEST_F()
101 ASSERT_TRUE(handler.Entry(0xeb60e0fc, 0x75b8806bb09eab78ULL, in TEST_F()
103 ASSERT_TRUE(handler.End()); in TEST_F()
119 ASSERT_TRUE(handler.Entry(0x4445c05c, entry_address, entry_size, in StartEntry()
137 ASSERT_TRUE(handler.UndefinedRule(entry_address, 7)); in TEST_F()
138 ASSERT_TRUE(handler.End()); in TEST_F()
148 ASSERT_TRUE(handler.UndefinedRule(entry_address, 10)); in TEST_F()
[all …]
/external/v8/test/mjsunit/harmony/
Dproxies.js48 function TestGetOwnProperty(handler) { argument
49 TestWithProxies(TestGetOwnProperty2, handler)
52 function TestGetOwnProperty2(create, handler) { argument
53 var p = create(handler)
91 function TestGetOwnPropertyThrow(handler) { argument
92 TestWithProxies(TestGetOwnPropertyThrow2, handler)
95 function TestGetOwnPropertyThrow2(create, handler) { argument
96 var p = create(handler)
130 function TestGet(handler) { argument
131 TestWithProxies(TestGet2, handler)
[all …]
/external/libxml2/
Dencoding.c1312 xmlCharEncodingHandlerPtr handler; in xmlNewCharEncodingHandler() local
1347 handler = (xmlCharEncodingHandlerPtr) in xmlNewCharEncodingHandler()
1349 if (handler == NULL) { in xmlNewCharEncodingHandler()
1354 memset(handler, 0, sizeof(xmlCharEncodingHandler)); in xmlNewCharEncodingHandler()
1355 handler->input = input; in xmlNewCharEncodingHandler()
1356 handler->output = output; in xmlNewCharEncodingHandler()
1357 handler->name = up; in xmlNewCharEncodingHandler()
1360 handler->iconv_in = NULL; in xmlNewCharEncodingHandler()
1361 handler->iconv_out = NULL; in xmlNewCharEncodingHandler()
1364 handler->uconv_in = NULL; in xmlNewCharEncodingHandler()
[all …]
/external/wpa_supplicant_8/src/utils/
Deloop_win.c21 eloop_sock_handler handler; member
28 eloop_event_handler handler; member
37 eloop_timeout_handler handler; member
43 eloop_signal_handler handler; member
113 int eloop_register_read_sock(int sock, eloop_sock_handler handler, in eloop_register_read_sock() argument
144 tmp[eloop.reader_count].handler = handler; in eloop_register_read_sock()
184 eloop_event_handler handler, in eloop_register_event() argument
203 tmp[eloop.event_count].handler = handler; in eloop_register_event()
238 eloop_timeout_handler handler, in eloop_register_timeout() argument
270 timeout->handler = handler; in eloop_register_timeout()
[all …]
Deloop.h90 int eloop_register_read_sock(int sock, eloop_sock_handler handler,
118 eloop_sock_handler handler,
154 eloop_event_handler handler,
180 eloop_timeout_handler handler,
194 int eloop_cancel_timeout(eloop_timeout_handler handler,
208 int eloop_cancel_timeout_one(eloop_timeout_handler handler,
222 int eloop_is_timeout_registered(eloop_timeout_handler handler,
239 eloop_timeout_handler handler, void *eloop_data,
256 eloop_timeout_handler handler, void *eloop_data,
272 int eloop_register_signal(int sig, eloop_signal_handler handler,
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/serialize/
DSerializerUtils.java54 public static void addAttribute(SerializationHandler handler, int attr) in addAttribute() argument
59 (TransformerImpl) handler.getTransformer(); in addAttribute()
62 if (SerializerUtils.isDefinedNSDecl(handler, attr, dtm)) in addAttribute()
73 handler.addAttribute( in addAttribute()
93 public static void addAttributes(SerializationHandler handler, int src) in addAttributes() argument
98 (TransformerImpl) handler.getTransformer(); in addAttributes()
105 addAttribute(handler, node); in addAttributes()
119 SerializationHandler handler, in outputResultTreeFragment() argument
134 handler.flushPending(); in outputResultTreeFragment()
140 handler.startPrefixMapping("", ""); in outputResultTreeFragment()
[all …]
/external/v8/src/heap/
Dgc-idle-time-handler-unittest.cc20 GCIdleTimeHandler* handler() { return &handler_; } in handler() function in v8::internal::__anonad69e4cf0111::GCIdleTimeHandlerTest
154 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); in TEST_F()
165 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); in TEST_F()
175 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); in TEST_F()
184 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); in TEST_F()
197 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); in TEST_F()
211 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); in TEST_F()
223 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); in TEST_F()
225 handler()->NotifyIdleMarkCompact(); in TEST_F()
227 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); in TEST_F()
[all …]
/external/linux-tools-perf/src/tools/perf/util/scripting-engines/
Dtrace-event-python.c77 PyObject *handler, *t, *retval; in define_value() local
95 handler = PyDict_GetItemString(main_dict, handler_name); in define_value()
96 if (handler && PyCallable_Check(handler)) { in define_value()
97 retval = PyObject_CallObject(handler, t); in define_value()
123 PyObject *handler, *t, *retval; in define_field() local
141 handler = PyDict_GetItemString(main_dict, handler_name); in define_field()
142 if (handler && PyCallable_Check(handler)) { in define_field()
143 retval = PyObject_CallObject(handler, t); in define_field()
242 PyObject *handler, *retval, *context, *t, *obj, *dict = NULL; in python_process_tracepoint() local
267 handler = PyDict_GetItemString(main_dict, handler_name); in python_process_tracepoint()
[all …]
/external/jetty/src/java/org/eclipse/jetty/server/handler/
DAbstractHandlerContainer.java19 package org.eclipse.jetty.server.handler;
73 protected Object expandHandler(Handler handler, Object list, Class<Handler> byClass) in expandHandler() argument
75 if (handler==null) in expandHandler()
78 if (byClass==null || byClass.isAssignableFrom(handler.getClass())) in expandHandler()
79 list=LazyList.add(list, handler); in expandHandler()
81 if (handler instanceof AbstractHandlerContainer) in expandHandler()
82 list=((AbstractHandlerContainer)handler).expandChildren(list, byClass); in expandHandler()
83 else if (handler instanceof HandlerContainer) in expandHandler()
85 HandlerContainer container = (HandlerContainer)handler; in expandHandler()
94 …<T extends HandlerContainer> T findContainerOf(HandlerContainer root,Class<T>type, Handler handler) in findContainerOf() argument
[all …]

12345678910>>...43