/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
SerializableTestUtility.java | 76 public interface Handler 83 public static Handler getHandler(String className) 85 return (Handler) map.get(className); 88 private static class TimeZoneHandler implements Handler 279 private static class DateTimeRuleHandler implements Handler { 338 private static class AnnualTimeZoneRuleHandler implements Handler { 357 private static class InitialTimeZoneRuleHandler implements Handler { 372 private static class TimeArrayTimeZoneRuleHandler implements Handler { 409 private static class ULocaleHandler implements Handler 433 public static class DateIntervalHandler implements Handler 887 URLHandler handler = URLHandler.get(url); local [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
WinException.cpp | 487 /// handler lives in the x64 Microsoft C runtime and allows catching or cleaning 492 /// function is actually a cleanup handler with the same prototype. A catch-all 595 auto *Handler = UME.Handler.get<MachineBasicBlock *>(); 597 FilterOrFinally = create32bitRef(getMCSymbolForMBB(Asm, Handler)); 604 ExceptOrNull = create32bitRef(Handler->getSymbol()); 793 // void (*Handler)(); 811 getMCSymbolForMBB(Asm, HT.Handler.dyn_cast<MachineBasicBlock *>()); 822 AddComment("Handler"); [all...] |
/external/pdfium/third_party/lcms/include/ |
lcms2_plugin.h | 110 // I/O handler ---------------------------------------------------------------------------------- 221 // Memory handler. Each new plug-in type replaces current behaviour 378 // Tag type handler. Each type is free to return anything it wants, and it is up to the caller to 414 cmsTagTypeHandler Handler; 501 cmsTagTypeHandler Handler;
|
/external/python/cpython3/Lib/logging/ |
__init__.py | 31 'FATAL', 'FileHandler', 'Filter', 'Formatter', 'Handler', 'INFO', 208 #Handlers, and so might arbitrary user threads. Since Handler code updates the 691 Add the specified filter to this handler. 698 Remove the specified filter from this handler. 727 # Handler classes and functions 730 _handlers = weakref.WeakValueDictionary() #map of handler names to handlers 735 Remove a handler reference from the internal cleanup list. 750 def _addHandlerRef(handler): 752 Add a handler to the internal cleanup list using a weak reference. 756 _handlerList.append(weakref.ref(handler, _removeHandlerRef) [all...] |
/external/python/cpython3/Lib/test/ |
test_nntplib.py | 322 by a handler. The handler can push responses which can then be read 325 def __init__(self, handler): 331 self.handler = handler 332 self.handler.start(self.c2s.readline, self.push_data) 352 self.handler.process_pending() 357 self.handler.process_pending() 364 def make_mock_file(handler): 365 sio = _NNTPServerIO(handler) [all...] |
test_urllib2.py | 361 # useful for testing handler machinery 422 defines methods .http_error() and .ftp_open() on one handler, and 429 defines .http_error() on one handler (which simply returns None), and 430 .http_open() on another handler, which returns a Request object. 537 # naming conventions for handler methods 557 # handler returning non-None means no more handlers will be called 572 # In fact, second mock handler defining .http_open() returns self 578 handler, name, args, kwds = got 579 self.assertEqual((handler, name), expected) 637 handler, method_name, args = expecte [all...] |
/external/swiftshader/third_party/LLVM/lib/Support/ |
CommandLine.cpp | 230 /// CommaSeparateAndAddOccurence - A wrapper around Handler->addOccurence() that 232 static bool CommaSeparateAndAddOccurence(Option *Handler, unsigned pos, 238 if (Handler->getMiscFlags() & CommaSeparated) { 244 if (Handler->addOccurrence(pos, ArgName, Val.substr(0, Pos), MultiArg)) 256 if (Handler->addOccurrence(pos, ArgName, Value, MultiArg)) 265 static inline bool ProvideOption(Option *Handler, StringRef ArgName, 269 unsigned NumAdditionalVals = Handler->getNumAdditionalVals(); 272 switch (Handler->getValueExpectedFlag()) { 276 return Handler->error("requires a value!"); 283 return Handler->error("multi-valued option specified [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
ExpatSaxParserTest.java | 107 TestHandler handler = new TestHandler(); local 108 parse(SNIPPET, handler); 109 validate(handler); 112 handler = new TestHandler(); 113 parse(new StringReader(SNIPPET), handler); 114 validate(handler); 117 handler = new TestHandler(); 119 Encoding.UTF_8, handler); 120 validate(handler); 128 static void validate(TestHandler handler) { 177 NamespaceHandler handler = new NamespaceHandler(); local 363 TestDtdHandler handler = new TestDtdHandler(); local 372 TestDtdHandler handler = runDtdTest("<?xml version=\\"1.0\\"?><!DOCTYPE foo PUBLIC 'bar' 'tee'><a><\/a>"); local 380 TestDtdHandler handler = runDtdTest("<?xml version=\\"1.0\\"?><!DOCTYPE foo PUBLIC 'bar' 'tee' [ <!ENTITY ent SYSTEM 'blah' NDATA poop> ]><a><\/a>"); local 388 TestDtdHandler handler = runDtdTest("<?xml version=\\"1.0\\"?><!DOCTYPE foo PUBLIC 'bar' 'tee' [ <!ENTITY ent PUBLIC 'a' 'b' NDATA poop> ]><a><\/a>"); local 396 TestDtdHandler handler = runDtdTest("<?xml version=\\"1.0\\"?><!DOCTYPE foo PUBLIC 'bar' 'tee' [ <!NOTATION sn SYSTEM 'nf2'> ]><a><\/a>"); local 403 TestDtdHandler handler = runDtdTest("<?xml version=\\"1.0\\"?><!DOCTYPE foo PUBLIC 'bar' 'tee' [ <!NOTATION pn PUBLIC 'nf1'> ]><a><\/a>"); local 464 TestCdataHandler handler = new TestCdataHandler(); local 501 TestProcessingInstrutionHandler handler local 576 Handler handler = new Handler(); local 619 Handler handler = new Handler(); local [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ExecutionEngine/Orc/ |
RPCUtils.h | 289 // the handler ran. 327 // Traits class that strips the response function from the list of handler 363 // Function type of the handler. 366 // Return type of the handler. 369 // Call the given handler with the given arguments. 372 unpackAndRun(HandlerT &Handler, std::tuple<TArgTs...> &Args) { 373 return unpackAndRunHelper(Handler, Args, 377 // Call the given handler with the given arguments. 379 static Error unpackAndRunAsync(HandlerT &Handler, ResponderT &Responder, 381 return unpackAndRunAsyncHelper(Handler, Responder, Args [all...] |
/prebuilts/clang/host/darwin-x86/clang-4393122/include/llvm/ExecutionEngine/Orc/ |
RPCUtils.h | 124 /// This error is returned if the remote does not have a handler installed for 484 // the handler ran. 519 // Traits class that strips the response function from the list of handler 555 // Function type of the handler. 558 // Return type of the handler. 561 // Call the given handler with the given arguments. 564 unpackAndRun(HandlerT &Handler, std::tuple<TArgTs...> &Args) { 565 return unpackAndRunHelper(Handler, Args, 569 // Call the given handler with the given arguments. 571 static Error unpackAndRunAsync(HandlerT &Handler, ResponderT &Responder [all...] |
/prebuilts/clang/host/darwin-x86/clang-4479392/include/llvm/ExecutionEngine/Orc/ |
RPCUtils.h | 124 /// This error is returned if the remote does not have a handler installed for 484 // the handler ran. 519 // Traits class that strips the response function from the list of handler 555 // Function type of the handler. 558 // Return type of the handler. 561 // Call the given handler with the given arguments. 564 unpackAndRun(HandlerT &Handler, std::tuple<TArgTs...> &Args) { 565 return unpackAndRunHelper(Handler, Args, 569 // Call the given handler with the given arguments. 571 static Error unpackAndRunAsync(HandlerT &Handler, ResponderT &Responder [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/include/llvm/ExecutionEngine/Orc/ |
RPCUtils.h | 124 /// This error is returned if the remote does not have a handler installed for 484 // the handler ran. 519 // Traits class that strips the response function from the list of handler 569 // Function type of the handler. 572 // Return type of the handler. 575 // Call the given handler with the given arguments. 578 unpackAndRun(HandlerT &Handler, std::tuple<TArgTs...> &Args) { 579 return unpackAndRunHelper(Handler, Args, 583 // Call the given handler with the given arguments. 585 static Error unpackAndRunAsync(HandlerT &Handler, ResponderT &Responder [all...] |
/prebuilts/clang/host/darwin-x86/clang-4630689/include/llvm/ExecutionEngine/Orc/ |
RPCUtils.h | 124 /// This error is returned if the remote does not have a handler installed for 484 // the handler ran. 519 // Traits class that strips the response function from the list of handler 569 // Function type of the handler. 572 // Return type of the handler. 575 // Call the given handler with the given arguments. 578 unpackAndRun(HandlerT &Handler, std::tuple<TArgTs...> &Args) { 579 return unpackAndRunHelper(Handler, Args, 583 // Call the given handler with the given arguments. 585 static Error unpackAndRunAsync(HandlerT &Handler, ResponderT &Responder [all...] |
/prebuilts/clang/host/darwin-x86/clang-4639204/include/llvm/ExecutionEngine/Orc/ |
RPCUtils.h | 124 /// This error is returned if the remote does not have a handler installed for 484 // the handler ran. 519 // Traits class that strips the response function from the list of handler 569 // Function type of the handler. 572 // Return type of the handler. 575 // Call the given handler with the given arguments. 578 unpackAndRun(HandlerT &Handler, std::tuple<TArgTs...> &Args) { 579 return unpackAndRunHelper(Handler, Args, 583 // Call the given handler with the given arguments. 585 static Error unpackAndRunAsync(HandlerT &Handler, ResponderT &Responder [all...] |
/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/ExecutionEngine/Orc/ |
RPCUtils.h | 124 /// This error is returned if the remote does not have a handler installed for 484 // the handler ran. 519 // Traits class that strips the response function from the list of handler 569 // Function type of the handler. 572 // Return type of the handler. 575 // Call the given handler with the given arguments. 578 unpackAndRun(HandlerT &Handler, std::tuple<TArgTs...> &Args) { 579 return unpackAndRunHelper(Handler, Args, 583 // Call the given handler with the given arguments. 585 static Error unpackAndRunAsync(HandlerT &Handler, ResponderT &Responder [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ExecutionEngine/Orc/ |
RPCUtils.h | 289 // the handler ran. 327 // Traits class that strips the response function from the list of handler 363 // Function type of the handler. 366 // Return type of the handler. 369 // Call the given handler with the given arguments. 372 unpackAndRun(HandlerT &Handler, std::tuple<TArgTs...> &Args) { 373 return unpackAndRunHelper(Handler, Args, 377 // Call the given handler with the given arguments. 379 static Error unpackAndRunAsync(HandlerT &Handler, ResponderT &Responder, 381 return unpackAndRunAsyncHelper(Handler, Responder, Args [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/ExecutionEngine/Orc/ |
RPCUtils.h | 124 /// This error is returned if the remote does not have a handler installed for 484 // the handler ran. 519 // Traits class that strips the response function from the list of handler 555 // Function type of the handler. 558 // Return type of the handler. 561 // Call the given handler with the given arguments. 564 unpackAndRun(HandlerT &Handler, std::tuple<TArgTs...> &Args) { 565 return unpackAndRunHelper(Handler, Args, 569 // Call the given handler with the given arguments. 571 static Error unpackAndRunAsync(HandlerT &Handler, ResponderT &Responder [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/ExecutionEngine/Orc/ |
RPCUtils.h | 124 /// This error is returned if the remote does not have a handler installed for 484 // the handler ran. 519 // Traits class that strips the response function from the list of handler 555 // Function type of the handler. 558 // Return type of the handler. 561 // Call the given handler with the given arguments. 564 unpackAndRun(HandlerT &Handler, std::tuple<TArgTs...> &Args) { 565 return unpackAndRunHelper(Handler, Args, 569 // Call the given handler with the given arguments. 571 static Error unpackAndRunAsync(HandlerT &Handler, ResponderT &Responder [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/ExecutionEngine/Orc/ |
RPCUtils.h | 124 /// This error is returned if the remote does not have a handler installed for 484 // the handler ran. 519 // Traits class that strips the response function from the list of handler 569 // Function type of the handler. 572 // Return type of the handler. 575 // Call the given handler with the given arguments. 578 unpackAndRun(HandlerT &Handler, std::tuple<TArgTs...> &Args) { 579 return unpackAndRunHelper(Handler, Args, 583 // Call the given handler with the given arguments. 585 static Error unpackAndRunAsync(HandlerT &Handler, ResponderT &Responder [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/ExecutionEngine/Orc/ |
RPCUtils.h | 124 /// This error is returned if the remote does not have a handler installed for 484 // the handler ran. 519 // Traits class that strips the response function from the list of handler 569 // Function type of the handler. 572 // Return type of the handler. 575 // Call the given handler with the given arguments. 578 unpackAndRun(HandlerT &Handler, std::tuple<TArgTs...> &Args) { 579 return unpackAndRunHelper(Handler, Args, 583 // Call the given handler with the given arguments. 585 static Error unpackAndRunAsync(HandlerT &Handler, ResponderT &Responder [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/ExecutionEngine/Orc/ |
RPCUtils.h | 124 /// This error is returned if the remote does not have a handler installed for 484 // the handler ran. 519 // Traits class that strips the response function from the list of handler 569 // Function type of the handler. 572 // Return type of the handler. 575 // Call the given handler with the given arguments. 578 unpackAndRun(HandlerT &Handler, std::tuple<TArgTs...> &Args) { 579 return unpackAndRunHelper(Handler, Args, 583 // Call the given handler with the given arguments. 585 static Error unpackAndRunAsync(HandlerT &Handler, ResponderT &Responder [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/ExecutionEngine/Orc/ |
RPCUtils.h | 124 /// This error is returned if the remote does not have a handler installed for 484 // the handler ran. 519 // Traits class that strips the response function from the list of handler 569 // Function type of the handler. 572 // Return type of the handler. 575 // Call the given handler with the given arguments. 578 unpackAndRun(HandlerT &Handler, std::tuple<TArgTs...> &Args) { 579 return unpackAndRunHelper(Handler, Args, 583 // Call the given handler with the given arguments. 585 static Error unpackAndRunAsync(HandlerT &Handler, ResponderT &Responder [all...] |
/tools/loganalysis/src/com/android/loganalysis/util/config/ |
OptionSetter.java | 62 private static final HashMap<Class<?>, Handler> handlers = new HashMap<Class<?>, Handler>(); 87 private static Handler getHandler(Type type) throws ConfigurationException { 159 Handler existingFieldHandler = getHandler(getFirstField().getGenericType()); 160 Handler newFieldHandler = getHandler(field.getGenericType()); 251 Handler handler = getHandler(field.getGenericType()); local 252 Object value = handler.translate(valueText); 344 Handler handler = getHandler(field.getGenericType()) local [all...] |
/tools/tradefederation/core/src/com/android/tradefed/config/ |
OptionSetter.java | 68 private static final HashMap<Class<?>, Handler> handlers = new HashMap<Class<?>, Handler>(); 131 private static Handler getHandler(Type type) throws ConfigurationException { 200 private Handler getHandlerOrTimeVal(Field field, Object optionSource) 255 Handler existingFieldHandler = getHandler(getFirstField().getGenericType()); 256 Handler newFieldHandler = getHandler(field.getGenericType()); 375 // Retrieve an appropriate handler for this field's type 378 final Handler handler = getHandlerOrTimeVal(field, optionSource); local 381 Object value = handler.translate(valueText) [all...] |
/external/clang/lib/CodeGen/ |
CGException.cpp | 549 llvm::BasicBlock *Handler = createBasicBlock("catch"); 567 CatchScope->setHandler(I, TypeInfo, Handler); 570 CatchScope->setHandler(I, CGM.getCXXABI().getCatchAllTypeInfo(), Handler); 814 EHCatchScope::Handler handler = catchScope.getHandler(hi); local 815 assert(handler.Type.Flags == 0 && 816 "landingpads do not support catch handler flags"); 819 if (!handler.Type.RTTI) { 825 // Check whether we already have a handler for this type. 826 if (catchTypes.insert(handler.Type.RTTI).second [all...] |