HomeSort by relevance Sort by last modified time
    Searched refs:Selector (Results 1 - 25 of 146) 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/bcprov/src/main/java/org/bouncycastle/x509/
X509StoreSpi.java 3 import org.bouncycastle.util.Selector;
11 public abstract Collection engineGetMatches(Selector selector);
  /external/clang/include/clang/Analysis/DomainSpecific/
ObjCNoReturn.h 26 /// Cached "raise" selector.
27 Selector RaiseSel;
35 Selector NSExceptionInstanceRaiseSelectors[NUM_RAISE_SELECTORS];
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
Selector.java 3 public interface Selector
Store.java 7 Collection getMatches(Selector selector)
CollectionStore.java 28 * Return the matches in the collection for the passed in selector.
30 * @param selector the selector to match against.
33 public Collection getMatches(Selector selector)
35 if (selector == null)
48 if (selector.match(obj))
  /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/clang/include/clang/AST/
NSAPI.h 52 Selector getNSStringSelector(NSStringMethodKind MK) const;
54 /// \brief Return NSStringMethodKind if \param Sel is such a selector.
55 Optional<NSStringMethodKind> getNSStringMethodKind(Selector Sel) const;
84 Selector getNSArraySelector(NSArrayMethodKind MK) const;
86 /// \brief Return NSArrayMethodKind if \p Sel is such a selector.
87 Optional<NSArrayMethodKind> getNSArrayMethodKind(Selector Sel);
106 Selector getNSDictionarySelector(NSDictionaryMethodKind MK) const;
108 /// \brief Return NSDictionaryMethodKind if \p Sel is such a selector.
109 Optional<NSDictionaryMethodKind> getNSDictionaryMethodKind(Selector Sel);
111 /// \brief Returns selector for "objectForKeyedSubscript:"
    [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...]
  /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
78 Selector selector = Selector.open(); local
94 Selector selector = Selector.open(); local
105 final Selector selector = Selector.open(); local
140 Selector selector = Selector.open(); local
    [all...]
  /external/clang/lib/AST/
ExternalASTSource.cpp 29 Selector ExternalASTSource::GetExternalSelector(uint32_t ID) {
30 return Selector();
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...]
  /external/clang/include/clang/Basic/
IdentifierTable.h 12 /// clang::Selector interfaces.
37 class MultiKeywordSelector; // private class used by Selector
543 /// beyond their selector name; for example, a method called '_init'
554 // additional CamelCase "words" in their first selector chunk
563 // selector with the given name.
590 class Selector {
594 // Empty selector = 0.
602 Selector(IdentifierInfo *II, unsigned nArgs) {
608 Selector(MultiKeywordSelector *SI) {
627 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() {
  /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/lib/StaticAnalyzer/Checkers/
ObjCMissingSuperCallChecker.cpp 45 explicit FindSuperCallVisitor(Selector S) : DoesCallSuper(false), Sel(S) {}
59 Selector Sel;
80 mutable llvm::StringMap<llvm::SmallSet<Selector, 16> > SelectorsForClass;
106 llvm::SmallSet<Selector, 16> &ClassSelectors = SelectorsForClass[ClassName];
113 // Get the selector.
116 Selector Sel = Ctx.Selectors.getSelector(Descriptor.ArgumentCount, &II);
173 // We need to initialize the selector table once.
187 Selector S = (*I)->getSelector();
188 // Find out whether this is a selector that we want to check.
  /external/clang/include/clang/Serialization/
ASTDeserializationListener.h 49 /// \brief A selector was read from the AST file.
50 virtual void SelectorRead(serialization::SelectorID iD, Selector Sel) { }
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
SignerId.java 6 import org.bouncycastle.cert.selector.X509CertificateHolderSelector;
7 import org.bouncycastle.util.Selector;
13 implements Selector

Completed in 1154 milliseconds

1 2 3 4 5 6