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

1 2 3 4 5 6

  /external/guava/guava/src/com/google/common/collect/
BoundType.java 22 * ("open"). If a range is unbounded on a side, it is neither open nor closed on that side; the
33 OPEN,
44 return inclusive ? CLOSED : OPEN;
GeneralRange.java 20 import static com.google.common.collect.BoundType.OPEN;
47 BoundType lowerBoundType = range.hasLowerBound() ? range.lowerBoundType() : OPEN;
51 BoundType upperBoundType = range.hasUpperBound() ? range.upperBoundType() : OPEN;
60 return new GeneralRange<T>(comparator, false, null, OPEN, false, null, OPEN);
69 return new GeneralRange<T>(comparator, true, endpoint, boundType, false, null, OPEN);
78 return new GeneralRange<T>(comparator, false, null, OPEN, true, endpoint, boundType);
123 checkArgument(lowerBoundType != OPEN | upperBoundType != OPEN);
151 return cmp < 0 | (cmp == 0 & lowerBoundType == OPEN);
    [all...]
Ranges.java 34 * <dd>{@link #open}
86 public static <C extends Comparable<?>> Range<C> open(C lower, C upper) { method in class:Ranges
128 * (open).
138 Cut<C> lowerBound = (lowerType == BoundType.OPEN)
141 Cut<C> upperBound = (upperType == BoundType.OPEN)
165 * either inclusive (closed) or exclusive (open).
170 case OPEN:
197 * (closed) or exclusive (open), with no upper bound.
202 case OPEN:
Cut.java 244 return BoundType.OPEN;
250 case OPEN:
262 case OPEN:
299 return BoundType.OPEN;
306 case OPEN:
317 case OPEN:
  /external/guava/guava-tests/test/com/google/common/collect/
GeneralRangeTest.java 18 import static com.google.common.collect.BoundType.OPEN;
56 GeneralRange.range(ORDERING, i, OPEN, i, OPEN);
64 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, OPEN);
73 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, OPEN, i, CLOSED);
103 || (ORDERING.compare(i, 3) == 0 && lBoundType == OPEN), range.tooLow(i));
116 || (ORDERING.compare(i, 3) == 0 && lBoundType == OPEN), range.tooHigh(i));
135 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN);
136 assertEquals(GeneralRange.range(ORDERING, 2, OPEN, 4, OPEN),
    [all...]
RangesTest.java 20 import static com.google.common.collect.BoundType.OPEN;
75 Ranges.downTo(1, OPEN))
81 Ranges.upTo(7, OPEN))
83 Ranges.open(1, 7),
84 Ranges.range(1, OPEN, 7, OPEN))
87 Ranges.range(1, OPEN, 7, CLOSED))
93 Ranges.range(1, CLOSED, 7, OPEN))
RangeNonGwtTest.java 33 tester.setDefault(BoundType.class, BoundType.OPEN);
40 tester.testAllPublicInstanceMethods(Ranges.open(1, 3));
ContiguousSetTest.java 20 import static com.google.common.collect.BoundType.OPEN;
67 Ranges.open(0, 4).asSet(integers()),
71 Ranges.open(0, 4).asSet(NOT_EQUAL_TO_INTEGERS),
189 assertEquals(1, Ranges.open(0, 4).asSet(integers()).first().intValue());
195 assertEquals(3, Ranges.open(0, 4).asSet(integers()).last().intValue());
206 set = Ranges.open(0, 4).asSet(integers());
229 assertEquals(Ranges.closed(1, 3), Ranges.open(0, 4).asSet(integers()).range());
233 Ranges.closed(1, 3).asSet(integers()).range(OPEN, CLOSED));
235 Ranges.closedOpen(1, 4).asSet(integers()).range(OPEN, CLOSED));
236 assertEquals(Ranges.openClosed(0, 3), Ranges.open(0, 4).asSet(integers()).range(OPEN, CLOSED))
    [all...]
BstRangeOpsTest.java 18 import static com.google.common.collect.BoundType.OPEN;
66 if (type == BoundType.OPEN) {
94 if (i == j && lb == BoundType.OPEN && ub == BoundType.OPEN) {
100 if (lb == BoundType.OPEN) {
145 GeneralRange<Character> range2 = GeneralRange.downTo(Ordering.natural(), 'f', OPEN);
151 GeneralRange<Character> range4 = GeneralRange.downTo(Ordering.natural(), 'a', OPEN);
154 GeneralRange<Character> range5 = GeneralRange.downTo(Ordering.natural(), 'c', OPEN);
178 GeneralRange<Character> range2 = GeneralRange.upTo(Ordering.natural(), 'f', OPEN);
184 GeneralRange<Character> range4 = GeneralRange.upTo(Ordering.natural(), 'a', OPEN);
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
MultisetNavigationTester.java 18 import static com.google.common.collect.BoundType.OPEN;
146 assertNull(sortedMultiset.headMultiset(samples.e0, OPEN).lastEntry());
147 assertNull(sortedMultiset.tailMultiset(samples.e0, OPEN).lastEntry());
189 assertEquals(null, sortedMultiset.headMultiset(a.getElement(), OPEN).lastEntry());
190 assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry());
191 assertEquals(a, sortedMultiset.headMultiset(c.getElement(), OPEN).lastEntry());
214 assertEquals(c, sortedMultiset.tailMultiset(a.getElement(), OPEN).firstEntry());
215 assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), OPEN).firstEntry());
216 assertEquals(null, sortedMultiset.tailMultiset(c.getElement(), OPEN).firstEntry());
287 expectAddFailure(sortedMultiset.tailMultiset(a.getElement(), OPEN), a)
    [all...]
  /external/smack/src/org/jivesoftware/smackx/workgroup/agent/
WorkgroupQueue.java 162 * <li>WorkgroupQueue.Status.OPEN -- the queue is active and accepting new chat requests.
174 public static final Status OPEN = new Status("open");
190 * that can be converted to a status are: "open", "active", and "closed".
200 if (OPEN.toString().equals(type)) {
201 return OPEN;
  /external/chromium_org/third_party/WebKit/Source/core/page/
EventSource.idl 46 const unsigned short OPEN = 1;
  /external/mksh/src/
tree.c 960 #define OPEN(x) case x: name = #x; shf_puts(" {" #x ":", shf); /*}*/
962 OPEN(TCOM)
990 OPEN(TEXEC)
997 OPEN(TPAREN)
999 OPEN(TPIPE)
1008 OPEN(TLIST)
1010 OPEN(TOR)
1012 OPEN(TAND)
1014 OPEN(TBANG)
1016 OPEN(TDBRACKET
    [all...]
  /hardware/qcom/display/msm8960/liboverlay/pipes/
overlayGenPipe.h 69 /* is open */
93 /* Pipe open or closed */
96 OPEN
  /hardware/qcom/display/msm8974/liboverlay/pipes/
overlayGenPipe.h 68 /* is open */
91 /* Pipe open or closed */
94 OPEN
overlayGenPipe.cpp 123 pipeState = ret ? OPEN : CLOSED;
167 return (pipeState == OPEN);
  /hardware/qcom/display/msm8x26/liboverlay/pipes/
overlayGenPipe.h 69 /* is open */
93 /* Pipe open or closed */
96 OPEN
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
ImageFactory.java 29 OPEN = getImage("folder24.png");
72 public ImageIcon OPEN ;
  /external/chromium_org/third_party/icu/source/i18n/
funcrepl.cpp 20 static const UChar OPEN[] = {40,32,0}; // "( "
100 rule.append(OPEN);
  /external/icu4c/i18n/
funcrepl.cpp 20 static const UChar OPEN[] = {40,32,0}; // "( "
103 rule.append(OPEN, 2);
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
WifiAssociationTest.java 2 * Copyright (C) 2013, The Android Open Source Project
41 * -e security-type [OPEN|WEP64|WEP128|WPA_TKIP|WPA2_AES] -e frequency-band [2.4|5.0|auto]
54 OPEN, WEP64, WEP128, WPA_TKIP, WPA2_AES
132 case OPEN:
139 config.allowedAuthAlgorithms.set(AuthAlgorithm.OPEN);
157 config.allowedAuthAlgorithms.set(AuthAlgorithm.OPEN);
173 config.allowedAuthAlgorithms.set(AuthAlgorithm.OPEN);
186 config.allowedAuthAlgorithms.set(AuthAlgorithm.OPEN);
  /external/replicaisland/src/com/replica/replicaisland/
DoorAnimationComponent.java 2 * Copyright (C) 2010 The Android Open Source Project
26 public static final int OPEN = 1;
64 private void open(float timeSinceTriggered, GameObject parentObject) { method in class:DoorAnimationComponent
71 // snap open.
72 mSprite.playAnimation(Animation.OPEN);
110 // snap open.
146 open(delta, (GameObject)parent); method
158 mSprite.playAnimation(Animation.OPEN);
  /external/chromium_org/third_party/WebKit/Source/modules/websockets/
WebSocket.idl 46 const unsigned short OPEN = 1;
  /frameworks/base/core/java/android/os/
FileObserver.java 2 * Copyright (C) 2006 The Android Open Source Project
52 /** Event type: Someone had a file or directory open for writing, and closed it */
54 /** Event type: Someone had a file or directory open read-only, and closed it */
57 public static final int OPEN = 0x00000020;
73 | CLOSE_NOWRITE | OPEN | MOVED_FROM | MOVED_TO | DELETE | CREATE
  /external/chromium_org/chrome/test/chromedriver/net/
websocket.cc 56 if (state_ != OPEN)
156 else if (state_ == OPEN)
188 state_ = OPEN;
219 if (state_ == OPEN)

Completed in 2548 milliseconds

1 2 3 4 5 6