HomeSort by relevance Sort by last modified time
    Searched refs:Selector (Results 1 - 25 of 135) sorted by null

1 2 3 4 5 6

  /system/core/include/cutils/
selector.h 18 * Framework for multiplexing I/O. A selector manages a set of file
35 typedef struct Selector Selector;
38 * A selectable descriptor. Contains callbacks which the selector can invoke
44 * selector by setting the 'remove' flag. The selector will remove the
47 * SelectableFd fields should only be modified from the selector loop.
59 * Set this flag when you no longer wish to be selected. The selector
65 * Invoked by the selector before calling select. You can set up other
71 * Invoked by the selector when the descriptor has data available. Set t
97 Selector* selector; member in struct:SelectableFd
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/x509/
X509StoreSpi.java 3 import org.bouncycastle.util.Selector;
11 public abstract Collection engineGetMatches(Selector selector);
X509Store.java 3 import org.bouncycastle.util.Selector;
75 public Collection getMatches(Selector selector)
77 return _spi.engineGetMatches(selector);
  /external/bouncycastle/src/main/java/org/bouncycastle/util/
Selector.java 3 public interface Selector
Store.java 7 Collection getMatches(Selector selector)
  /external/clang/include/clang/AST/
NSAPI.h 47 Selector getNSStringSelector(NSStringMethodKind MK) const;
64 Selector getNSArraySelector(NSArrayMethodKind MK) const;
66 /// \brief Return NSArrayMethodKind if \arg Sel is such a selector.
67 llvm::Optional<NSArrayMethodKind> getNSArrayMethodKind(Selector Sel);
85 Selector getNSDictionarySelector(NSDictionaryMethodKind MK) const;
87 /// \brief Return NSDictionaryMethodKind if \arg Sel is such a selector.
89 getNSDictionaryMethodKind(Selector Sel);
112 /// \param Instance if true it will return the selector for the init* method
113 /// otherwise it will return the selector for the number* method.
114 Selector getNSNumberLiteralSelector(NSNumberLiteralMethodKind MK
    [all...]
SelectorLocationsKind.h 1 //===--- SelectorLocationsKind.h - Kind of selector locations ---*- C++ -*-===//
10 // Describes whether the identifier locations for a selector are "standard"
21 class Selector;
26 /// \brief Whether all locations of the selector identifiers are in a
46 SelectorLocationsKind hasStandardSelectorLocs(Selector Sel,
51 /// \brief Get the "standard" location of a selector identifier, e.g:
58 Selector Sel,
64 SelectorLocationsKind hasStandardSelectorLocs(Selector Sel,
69 /// \brief Get the "standard" location of a selector identifier, e.g:
76 Selector Sel
    [all...]
  /libcore/luni/src/main/java/java/nio/channels/
Selector.java 25 * Selectable channels can be registered with a selector and get a
27 * added to the selector's key set. Selection keys can be canceled so that the
28 * corresponding channel is no longer registered with the selector.
33 * selector are checked to see whether they are ready for operation according to
36 public abstract class Selector {
39 * Returns a selector returned by {@link SelectorProvider#provider}'s
45 public static Selector open() throws IOException {
50 * Constructs a new {@code Selector}.
52 protected Selector() {
56 * Closes this selector. Ongoing calls to the {@code select} methods of thi
    [all...]
SelectableChannel.java 24 * A channel that can be used with a {@link Selector}. The channel must be
25 * registered with a selector by calling one of the {@code register} methods,
27 * from a selector, its selection key must be canceled. This can be done
29 * done implicitly when the channel or the selector is closed.
32 * once for any given selector.
67 * registered with at least one selector.
83 * Indicates whether this channel is registered with at least one selector.
91 * Gets this channel's selection key for the specified selector.
94 * the selector with which this channel has been registered.
98 public abstract SelectionKey keyFor(Selector sel)
    [all...]
SelectionKey.java 21 * selector for which the channel is registered.
97 * another ongoing call to a method of this selector has finished. The
98 * reason is that it is synchronizing on the key set of the selector. After
101 * selector.
213 * Gets the selector for which this key's channel is registered.
215 * @return the related selector.
217 public abstract Selector selector(); method in class:SelectionKey
  /external/apache-harmony/nio/src/test/java/unix/org/apache/harmony/nio/tests/java/nio/channels/
UnixSelectorTest.java 23 import java.nio.channels.Selector;
74 Selector sel0 = Selector.open();
75 Selector sel1 = Selector.open();
92 Selector sel2 = Selector.open();
109 Selector sel3 = Selector.open();
114 // even the channel is not connected, the selector could be writabl
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/channels/
SelectorTest.java 23 import java.nio.channels.Selector;
36 Selector selector = Selector.open(); local
45 SelectionKey key = sc.register(selector, SelectionKey.OP_CONNECT);
46 assertEquals(1, selector.select());
50 selector.close();
57 Selector selector = Selector.open() local
79 Selector selector = Selector.open(); local
95 Selector selector = Selector.open(); local
106 final Selector selector = Selector.open(); local
141 Selector selector = Selector.open(); local
    [all...]
  /external/clang/include/clang/Basic/
IdentifierTable.h 10 // This file defines the IdentifierInfo, IdentifierTable, and Selector
37 class MultiKeywordSelector; // private class used by Selector
528 /// beyond their selector name; for example, a method called '_init'
539 // additional CamelCase "words" in their first selector chunk
548 // selector with the given name.
568 /// Selector - This smart pointer class efficiently represents Objective-C
573 class Selector {
584 Selector(IdentifierInfo *II, unsigned nArgs) {
590 Selector(MultiKeywordSelector *SI) {
604 static ObjCMethodFamily getMethodFamilyImpl(Selector sel)
    [all...]
  /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
SelectableChannelTest.java 23 import java.nio.channels.Selector;
33 * @tests SelectableChannel#register(Selector, int)
37 // Verify that calling register(Selector, int) leads to the method
38 // register(Selector, int, Object) being called with a null value
40 msc.register(Selector.open(), SelectionKey.OP_ACCEPT);
65 public SelectionKey keyFor(Selector sel) {
73 public SelectionKey register(Selector sel, int ops, Object att)
  /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/spi/
AbstractSelectorTest.java 22 import java.nio.channels.Selector;
37 Selector mockSelector = new MockAbstractSelector(SelectorProvider
104 Selector acceptSelector = SelectorProvider.provider().openSelector();
111 * @tests AbstractSelector#register(Selector,int)
114 Selector acceptSelector = SelectorProvider.provider().openSelector();
127 * @tests AbstractSelector#register(Selector,int)
130 Selector acceptSelector = SelectorProvider.provider().openSelector();
144 acceptSelector = Selector.open();
AbstractSelectionKeyTest.java 21 import java.nio.channels.Selector;
29 * @tests AbstractSelectionKey#isValid() without selector
45 // expected: no selector available
60 public Selector selector() { method in class:AbstractSelectionKeyTest.MockSelectionKey
AbstractSelectableChannelTest.java 25 import java.nio.channels.Selector;
105 * @tests AbstractSelectableChannel#register(Selector, int, Object)
109 Selector acceptSelector1 = SelectorProvider.provider().openSelector();
110 Selector acceptSelector2 = new MockAbstractSelector(SelectorProvider
120 //test that sc.register invokes Selector.register()
124 // Regression test to ensure acceptance of a selector with empty
128 Selector selector = Selector.open(); local
129 channel.register(selector, 0)
    [all...]
MockAbstractSelector.java 21 import java.nio.channels.Selector;
85 public Selector wakeup() {
  /external/clang/lib/AST/
SelectorLocationsKind.cpp 1 //===--- SelectorLocationsKind.cpp - Kind of selector locations -*- C++ -*-===//
10 // Describes whether the identifier locations for a selector are "standard"
21 Selector Sel,
39 unsigned Len = /* selector id */ (II ? II->getLength() : 0) + /* ':' */ 1;
70 SelectorLocationsKind hasStandardSelLocs(Selector Sel,
74 // Are selector locations in standard position with no space between args ?
84 // Are selector locations in standard position with space between args ?
97 clang::hasStandardSelectorLocs(Selector Sel,
105 Selector Sel,
114 clang::hasStandardSelectorLocs(Selector Sel
    [all...]
ExternalASTSource.cpp 29 Selector ExternalASTSource::GetExternalSelector(uint32_t ID) {
30 return Selector();
NSAPI.cpp 36 Selector NSAPI::getNSStringSelector(NSStringMethodKind MK) const {
38 Selector Sel;
53 Selector NSAPI::getNSArraySelector(NSArrayMethodKind MK) const {
55 Selector Sel;
102 NSAPI::getNSArrayMethodKind(Selector Sel) {
112 Selector NSAPI::getNSDictionarySelector(
115 Selector Sel;
180 NSAPI::getNSDictionaryMethodKind(Selector Sel) {
190 Selector NSAPI::getNSNumberLiteralSelector(NSNumberLiteralMethodKind MK,
227 Selector *Sels
    [all...]
  /system/core/libcutils/
selector.c 17 #define LOG_TAG "selector"
28 #include <cutils/selector.h>
32 struct Selector {
58 static void setInSelect(Selector* selector, bool inSelect) {
59 pthread_mutex_lock(&selector->inSelectLock);
60 selector->inSelect = inSelect;
61 pthread_mutex_unlock(&selector->inSelectLock);
64 static bool isInSelect(Selector* selector) {
88 Selector* selector = calloc(1, sizeof(Selector)); local
    [all...]
  /external/clang/include/clang/Serialization/
ASTDeserializationListener.h 46 /// \brief A selector was read from the AST file.
47 virtual void SelectorRead(serialization::SelectorID iD, Selector Sel) { }
  /external/clang/include/clang/Frontend/
ChainedIncludesSource.h 43 virtual Selector GetExternalSelector(uint32_t ID);
69 virtual void ReadMethodPool(Selector Sel);
  /external/clang/include/clang/Sema/
ExternalSemaSource.h 61 /// selector.
62 virtual void ReadMethodPool(Selector Sel);
144 SmallVectorImpl<std::pair<Selector, SourceLocation> > &Sels) {}

Completed in 539 milliseconds

1 2 3 4 5 6