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

1 2 3 4 5

  /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:
SortedMultisets.java 52 BoundType.OPEN).elementSet();
56 return multiset().headMultiset(toElement, BoundType.OPEN).elementSet();
  /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/webkit/Source/WebCore/page/
EventSource.idl 48 const unsigned short OPEN = 1;
EventSource.h 65 OPEN = 1,
71 DEFINE_ATTRIBUTE_EVENT_LISTENER(open);
  /external/mksh/src/
tree.c 849 #define OPEN(x) case x: name = #x; shf_puts(" {" #x ":", shf); /*}*/
851 OPEN(TCOM)
879 OPEN(TEXEC)
886 OPEN(TPAREN)
888 OPEN(TPIPE)
897 OPEN(TLIST)
899 OPEN(TOR)
901 OPEN(TAND)
903 OPEN(TBANG)
905 OPEN(TDBRACKET
    [all...]
  /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/icu4c/i18n/
funcrepl.cpp 20 static const UChar OPEN[] = {40,32,0}; // "( "
100 rule.append(OPEN);
name2uni.cpp 29 static const UChar OPEN[] = {92,78,126,123,126,0}; // "\N~{~"
30 static const UChar OPEN_DELIM = 92; // '\\' first char of OPEN
127 UnicodeString openPat(TRUE, OPEN, -1);
134 // 0 - looking for open delimiter
135 // 1 - after open delimiter
137 int32_t openPos = -1; // open delim candidate pos
144 case 0: // looking for open delimiter
158 case 1: // after open delimiter
247 // open delimiter candidate.
  /external/webkit/Source/WebCore/websockets/
WebSocket.idl 47 const unsigned short OPEN = 1;
WebSocket.cpp 198 if (m_state == OPEN)
253 m_state = OPEN;
260 if (m_state != OPEN)
271 if (m_state != OPEN)
WebSocket.h 60 OPEN = 1,
75 DEFINE_ATTRIBUTE_EVENT_LISTENER(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);
  /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/net/http/
disk_cache_based_ssl_host_info.h 43 OPEN,
  /external/chromium/net/websockets/
websocket_job.h 38 OPEN = 1,
  /external/stlport/src/details/
fstream_unistd.cpp 31 // open/close/read/write
63 # define OPEN open
69 # define OPEN open64
193 file_no = OPEN(name, flags, permission);
225 // open file. Mode is set to be consistent with the way that the file

Completed in 1020 milliseconds

1 2 3 4 5