HomeSort by relevance Sort by last modified time
    Searched refs:Selector (Results 1 - 25 of 129) 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/clang/include/clang/Index/
SelectorMap.h 36 typedef std::multimap<Selector, ObjCMethodDecl *> SelMethMapTy;
37 typedef std::multimap<Selector, ASTLocation> SelRefMapTy;
42 method_iterator methods_begin(Selector Sel) const;
43 method_iterator methods_end(Selector Sel) const;
45 astlocation_iterator refs_begin(Selector Sel) const;
46 astlocation_iterator refs_end(Selector Sel) const;
GlobalSelector.h 22 class Selector;
36 /// \brief Get the ASTContext-specific selector.
37 Selector getSelector(ASTContext &AST) const;
45 /// \brief Get a GlobalSelector for the ASTContext-specific selector.
46 static GlobalSelector get(Selector Sel, Program &Prog);
  /external/bouncycastle/src/main/java/org/bouncycastle/x509/
X509StoreSpi.java 3 import org.bouncycastle.util.Selector;
11 public abstract Collection engineGetMatches(Selector selector);
  /external/bouncycastle/src/main/java/org/bouncycastle/util/
Selector.java 3 public interface Selector
Store.java 7 Collection getMatches(Selector selector)
  /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/lib/Index/
GlobalSelector.cpp 21 /// \brief Get the ASTContext-specific selector.
22 Selector GlobalSelector::getSelector(ASTContext &AST) const {
24 return Selector();
26 Selector GlobSel = Selector(reinterpret_cast<uintptr_t>(Val));
44 Selector GlobSel = Selector(reinterpret_cast<uintptr_t>(Val));
48 /// \brief Get a GlobalSelector for the ASTContext-specific selector.
49 GlobalSelector GlobalSelector::get(Selector Sel, Program &Prog) {
63 Selector GlobSel = ProgImpl.getSelectors().getSelector(Sel.getNumArgs()
    [all...]
SelectorMap.cpp 67 SelectorMap::methods_begin(Selector Sel) const {
72 SelectorMap::methods_end(Selector Sel) const {
77 SelectorMap::refs_begin(Selector Sel) const {
82 SelectorMap::refs_end(Selector Sel) const {
  /external/clang/include/clang/AST/
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/test/java/libcore/java/nio/channels/
SelectorTest.java 23 import java.nio.channels.Selector;
34 Selector selector = Selector.open(); local
43 SelectionKey key = sc.register(selector, SelectionKey.OP_CONNECT);
44 assertEquals(1, selector.select());
48 selector.close();
55 Selector selector = Selector.open() local
74 Selector selector = Selector.open(); local
85 final Selector selector = Selector.open(); local
120 Selector selector = Selector.open(); local
    [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...]
  /external/clang/include/clang/Analysis/DomainSpecific/
CocoaConventions.h 30 NamingConvention deriveNamingConvention(Selector S, const ObjCMethodDecl *MD);
32 static inline bool followsFundamentalRule(Selector S,
  /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 10 // This file defines the IdentifierInfo, IdentifierTable, and Selector
39 class MultiKeywordSelector; // private class used by Selector
482 /// beyond their selector name; for example, a method called '_init'
493 // additional CamelCase "words" in their first selector chunk
502 // selector with the given name.
522 /// Selector - This smart pointer class efficiently represents Objective-C
527 class Selector {
538 Selector(IdentifierInfo *II, unsigned nArgs) {
544 Selector(MultiKeywordSelector *SI) {
558 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/include/clang/Serialization/
ASTDeserializationListener.h 45 /// \brief A selector was read from the AST file.
46 virtual void SelectorRead(serialization::SelectorID iD, Selector Sel) { }
  /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...]

Completed in 1497 milliseconds

1 2 3 4 5 6