Home
last modified time | relevance | path

Searched refs:OPEN (Results 1 – 25 of 151) sorted by relevance

1234567

/external/guava/guava-tests/test/com/google/common/collect/
DGeneralRangeTest.java18 import static com.google.common.collect.BoundType.OPEN;
55 GeneralRange.range(ORDERING, i, OPEN, i, OPEN); in testCreateEmptyRangeOpenOpenFails()
63 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, OPEN); in testCreateEmptyRangeClosedOpenSucceeds()
72 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, OPEN, i, CLOSED); in testCreateEmptyRangeOpenClosedSucceeds()
102 || (ORDERING.compare(i, 3) == 0 && lBoundType == OPEN), range.tooLow(i)); in testLowerRange()
115 || (ORDERING.compare(i, 3) == 0 && lBoundType == OPEN), range.tooHigh(i));
134 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN);
135 assertEquals(GeneralRange.range(ORDERING, 2, OPEN, 4, OPEN),
136 range.intersect(GeneralRange.range(ORDERING, 2, OPEN, 4, CLOSED)));
140 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN);
[all …]
DContiguousSetTest.java20 import static com.google.common.collect.BoundType.OPEN;
264 ContiguousSet.create(Range.closed(1, 3), integers()).range(OPEN, CLOSED)); in testRange()
266 ContiguousSet.create(Range.closedOpen(1, 4), integers()).range(OPEN, CLOSED)); in testRange()
268 ContiguousSet.create(Range.open(0, 4), integers()).range(OPEN, CLOSED)); in testRange()
270 ContiguousSet.create(Range.openClosed(0, 3), integers()).range(OPEN, CLOSED)); in testRange()
273 ContiguousSet.create(Range.closed(1, 3), integers()).range(OPEN, OPEN)); in testRange()
275 ContiguousSet.create(Range.closedOpen(1, 4), integers()).range(OPEN, OPEN)); in testRange()
277 ContiguousSet.create(Range.open(0, 4), integers()).range(OPEN, OPEN)); in testRange()
279 ContiguousSet.create(Range.openClosed(0, 3), integers()).range(OPEN, OPEN)); in testRange()
282 ContiguousSet.create(Range.closed(1, 3), integers()).range(CLOSED, OPEN)); in testRange()
[all …]
DRangeTest.java20 import static com.google.common.collect.BoundType.OPEN;
49 assertEquals(OPEN, range.lowerBoundType()); in testOpen()
52 assertEquals(OPEN, range.upperBoundType()); in testOpen()
98 assertEquals(OPEN, range.lowerBoundType()); in testOpenClosed()
115 assertEquals(OPEN, range.upperBoundType()); in testClosedOpen()
164 assertEquals(OPEN, range.upperBoundType()); in testEmpty1()
177 assertEquals(OPEN, range.lowerBoundType()); in testEmpty2()
194 assertEquals(OPEN, range.upperBoundType()); in testLessThan()
207 assertEquals(OPEN, range.lowerBoundType()); in testGreaterThan()
527 Range.range(1, OPEN, 5, OPEN)) in testEquals()
[all …]
DForwardingSortedMultisetTest.java18 import static com.google.common.collect.BoundType.OPEN;
259 forward().subMultiset("abcd", CLOSED, "dcba", OPEN);
264 forward().tailMultiset("last", OPEN);
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DGeneralRangeTest.java18 import static com.google.common.collect.BoundType.OPEN;
53 GeneralRange.range(ORDERING, i, OPEN, i, OPEN); in testCreateEmptyRangeOpenOpenFails()
61 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, CLOSED, i, OPEN); in testCreateEmptyRangeClosedOpenSucceeds()
70 GeneralRange<Integer> range = GeneralRange.range(ORDERING, i, OPEN, i, CLOSED); in testCreateEmptyRangeOpenClosedSucceeds()
100 || (ORDERING.compare(i, 3) == 0 && lBoundType == OPEN), range.tooLow(i)); in testLowerRange()
113 || (ORDERING.compare(i, 3) == 0 && lBoundType == OPEN), range.tooHigh(i));
132 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN);
133 assertEquals(GeneralRange.range(ORDERING, 2, OPEN, 4, OPEN),
134 range.intersect(GeneralRange.range(ORDERING, 2, OPEN, 4, CLOSED)));
138 GeneralRange<Integer> range = GeneralRange.range(ORDERING, 2, CLOSED, 4, OPEN);
[all …]
DContiguousSetTest.java20 import static com.google.common.collect.BoundType.OPEN;
226 ContiguousSet.create(Range.closed(1, 3), integers()).range(OPEN, CLOSED)); in testRange()
228 ContiguousSet.create(Range.closedOpen(1, 4), integers()).range(OPEN, CLOSED)); in testRange()
230 ContiguousSet.create(Range.open(0, 4), integers()).range(OPEN, CLOSED)); in testRange()
232 ContiguousSet.create(Range.openClosed(0, 3), integers()).range(OPEN, CLOSED)); in testRange()
235 ContiguousSet.create(Range.closed(1, 3), integers()).range(OPEN, OPEN)); in testRange()
237 ContiguousSet.create(Range.closedOpen(1, 4), integers()).range(OPEN, OPEN)); in testRange()
239 ContiguousSet.create(Range.open(0, 4), integers()).range(OPEN, OPEN)); in testRange()
241 ContiguousSet.create(Range.openClosed(0, 3), integers()).range(OPEN, OPEN)); in testRange()
244 ContiguousSet.create(Range.closed(1, 3), integers()).range(CLOSED, OPEN)); in testRange()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultisetNavigationTester.java18 import static com.google.common.collect.BoundType.OPEN;
146 assertNull(sortedMultiset.headMultiset(samples.e0, OPEN).lastEntry()); in testSingletonMultisetNearby()
147 assertNull(sortedMultiset.tailMultiset(samples.e0, OPEN).lastEntry()); in testSingletonMultisetNearby()
189 assertEquals(null, sortedMultiset.headMultiset(a.getElement(), OPEN).lastEntry()); in testLower()
190 assertEquals(a, sortedMultiset.headMultiset(b.getElement(), OPEN).lastEntry()); in testLower()
191 assertEquals(a, sortedMultiset.headMultiset(c.getElement(), OPEN).lastEntry()); in testLower()
214 assertEquals(c, sortedMultiset.tailMultiset(a.getElement(), OPEN).firstEntry()); in testHigher()
215 assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), OPEN).firstEntry()); in testHigher()
216 assertEquals(null, sortedMultiset.tailMultiset(c.getElement(), OPEN).firstEntry()); in testHigher()
287 expectAddFailure(sortedMultiset.tailMultiset(a.getElement(), OPEN), a); in testAddOutOfTailBoundsOne() local
[all …]
/external/guava/guava/src/com/google/common/collect/
DGeneralRange.java20 import static com.google.common.collect.BoundType.OPEN;
47 BoundType lowerBoundType = range.hasLowerBound() ? range.lowerBoundType() : OPEN; in from()
51 BoundType upperBoundType = range.hasUpperBound() ? range.upperBoundType() : OPEN; in from()
60 return new GeneralRange<T>(comparator, false, null, OPEN, false, null, OPEN); in all()
69 return new GeneralRange<T>(comparator, true, endpoint, boundType, false, null, OPEN); in downTo()
78 return new GeneralRange<T>(comparator, false, null, OPEN, true, endpoint, boundType); in upTo()
123 checkArgument(lowerBoundType != OPEN | upperBoundType != OPEN); in GeneralRange()
151 return cmp < 0 | (cmp == 0 & getLowerBoundType() == OPEN); in tooLow()
160 return cmp > 0 | (cmp == 0 & getUpperBoundType() == OPEN); in tooHigh()
184 if (cmp < 0 || (cmp == 0 && other.getLowerBoundType() == OPEN)) { in intersect()
[all …]
DBoundType.java31 OPEN { enumConstant
43 return OPEN; in flip()
51 return inclusive ? CLOSED : OPEN; in forBoolean()
DSortedMultisets.java20 import static com.google.common.collect.BoundType.OPEN;
65 return multiset().subMultiset(fromElement, CLOSED, toElement, OPEN).elementSet(); in subSet()
69 return multiset().headMultiset(toElement, OPEN).elementSet(); in headSet()
96 return getElementOrNull(multiset().headMultiset(e, OPEN).lastEntry()); in lower()
111 return getElementOrNull(multiset().tailMultiset(e, OPEN).firstEntry()); in higher()
DCut.java250 return BoundType.OPEN; in typeAsUpperBound()
256 case OPEN: in withLowerBoundType()
268 case OPEN: in withUpperBoundType()
308 return BoundType.OPEN; in typeAsLowerBound()
315 case OPEN: in withLowerBoundType()
326 case OPEN: in withUpperBoundType()
/external/mksh/src/
Dtree.c988 #define OPEN(x) case x: name = #x; shf_puts(" {" #x ":", shf); /*}*/ in dumptree() macro
990 OPEN(TCOM) in dumptree()
1018 OPEN(TEXEC) in dumptree()
1025 OPEN(TPAREN) in dumptree()
1027 OPEN(TPIPE) in dumptree()
1036 OPEN(TLIST) in dumptree()
1038 OPEN(TOR) in dumptree()
1040 OPEN(TAND) in dumptree()
1042 OPEN(TBANG) in dumptree()
1044 OPEN(TDBRACKET) in dumptree()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DSortedMultisets.java20 import static com.google.common.collect.BoundType.OPEN;
62 return multiset().subMultiset(fromElement, CLOSED, toElement, OPEN).elementSet(); in subSet()
66 return multiset().headMultiset(toElement, OPEN).elementSet(); in headSet()
/external/curl/tests/data/
Dtest58618 [OPEN] counter: 1
19 [OPEN] counter: 2
Dtest59517 [OPEN] counter: 1
18 [OPEN] counter: 2
Dtest59617 [OPEN] counter: 1
18 [OPEN] counter: 2
/external/replicaisland/src/com/replica/replicaisland/
DDoorAnimationComponent.java26 public static final int OPEN = 1; field in DoorAnimationComponent.Animation
72 mSprite.playAnimation(Animation.OPEN); in open()
158 mSprite.playAnimation(Animation.OPEN); in update()
/external/icu/icu4c/source/i18n/
Dfuncrepl.cpp22 static const UChar OPEN[] = {40,32,0}; // "( " variable
105 rule.append(OPEN, 2); in toReplacerPattern()
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
DImageFactory.java29 OPEN = getImage("folder24.png"); in ImageFactory()
72 public ImageIcon OPEN ; field in ImageFactory
/external/ltp/testcases/kernel/syscalls/symlink/
Dsymlink01.c268 #define OPEN "open01" macro
431 OPEN, 0, 0, 24, creat_symlink, ck_symlink, {
435 OPEN, 0, 0, 25, creat_both, ck_both, {
437 OPEN, 1, EEXIST, 26, creat_symlink, ck_symlink, {
439 OPEN, 1, ENOENT, 27, creat_symlink, ck_symlink, {
441 OPEN, 1, ELOOP, 28, creat_symlink, ck_symlink, {
489 OPEN, "open", 5, &test_objects[39],
1005 else if (cktcsid(tc_ptr->tcid, OPEN)) in do_syscalltests()
1049 } else if (cktcsid(tc_ptr->tcid, OPEN)) { in do_EEXIST()
1129 } else if (cktcsid(tc_ptr->tcid, OPEN)) { in do_ENOENT()
[all …]
/external/slf4j/slf4j-api/src/main/java/org/slf4j/helpers/
DBasicMarker.java156 private static String OPEN = "[ "; field in BasicMarker
183 sb.append(' ').append(OPEN); in toString()
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/core/session/
DStubSession.groovy93 assert dataConnectionOpen, "The data connection must be OPEN"
101 assert dataConnectionOpen, "The data connection must be OPEN"
116 assert dataConnectionOpen, "The data connection must be OPEN"
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/core/session/
DStubSession.groovy93 assert dataConnectionOpen, "The data connection must be OPEN"
101 assert dataConnectionOpen, "The data connection must be OPEN"
116 assert dataConnectionOpen, "The data connection must be OPEN"
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/core/session/
DStubSession.groovy93 assert dataConnectionOpen, "The data connection must be OPEN"
101 assert dataConnectionOpen, "The data connection must be OPEN"
116 assert dataConnectionOpen, "The data connection must be OPEN"
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/core/session/
DStubSession.groovy93 assert dataConnectionOpen, "The data connection must be OPEN"
101 assert dataConnectionOpen, "The data connection must be OPEN"
116 assert dataConnectionOpen, "The data connection must be OPEN"

1234567