/external/guava/guava-tests/test/com/google/common/collect/ |
D | ForwardingDequeTest.java | 28 private Deque<String> forward; field in ForwardingDequeTest 39 forward = new ForwardingDeque<String>() { in setUp() 47 forward.add("asdf"); in testAdd_T() 52 forward.addFirst("asdf"); in testAddFirst_T() 57 forward.addLast("asdf"); in testAddLast_T() 62 forward.addAll(Collections.singleton("asdf")); in testAddAll_Collection() 67 forward.clear(); in testClear() 72 forward.contains("asdf"); in testContains_T() 77 forward.containsAll(Collections.singleton("asdf")); in testContainsAll_Collection() 82 forward.descendingIterator(); in testDescendingIterator() [all …]
|
D | ForwardingTableTest.java | 26 private Table<String, Integer, Boolean> forward; field in ForwardingTableTest 38 forward = new ForwardingTable<String, Integer, Boolean>() { in setUp() 46 forward.hashCode(); in testHashCode() 51 forward.cellSet(); in testCellSet() 56 forward.clear(); in testClear() 61 forward.column(1); in testColumn() 66 forward.columnKeySet(); in testColumnKeySet() 71 forward.columnMap(); in testColumnMap() 76 forward.contains("blah", 1); in testContains() 81 forward.containsColumn(1); in testContainsColumn() [all …]
|
D | ForwardingMultimapTest.java | 29 Multimap<String, Boolean> forward; field in ForwardingMultimapTest 41 forward = new ForwardingMultimap<String, Boolean>() { in setUp() 49 forward.size(); in testSize() 54 forward.isEmpty(); in testIsEmpty() 59 forward.containsKey("asdf"); in testContainsKey_Object() 64 forward.containsValue("asdf"); in testContainsValue_Object() 69 forward.containsEntry("asdf", false); in testContainsEntry_Object_Object() 74 forward.put("asdf", true); in testPut_Key_Value() 79 forward.remove("asdf", false); in testRemove_Key_Value() 84 forward.remove("asfd", Collections.<Boolean>emptyList()); in testPutAll_Key_Iterable() [all …]
|
D | ForwardingListTest.java | 138 private List<String> forward; field in ForwardingListTest 175 forward = new ForwardingList<String>() { in setUp() 183 forward.add("asdf"); in testAdd_T() 188 forward.add(0, "asdf"); in testAdd_int_T() 193 forward.addAll(EMPTY_LIST); in testAddAll_Collection() 198 forward.addAll(0, Collections.singleton("asdf")); in testAddAll_int_Collection() 203 forward.clear(); in testClear() 208 forward.contains(null); in testContains_Object() 213 forward.containsAll(EMPTY_LIST); in testContainsAll_Collection() 218 forward.get(0); in testGet_int() [all …]
|
D | ForwardingBlockingDequeTest.java | 28 private BlockingDeque<String> forward; field in ForwardingBlockingDequeTest 39 forward = new ForwardingBlockingDeque<String>() { in setUp() 47 forward.remainingCapacity(); in testRemainingCapacity() 52 forward.putFirst("asf"); in testPutFirst_T() 57 forward.putFirst("asf"); in testPutLast_T() 62 forward.offerFirst("asf", 2L, TimeUnit.SECONDS); in testOfferFirst_T() 67 forward.offerLast("asf", 2L, TimeUnit.SECONDS); in testOfferLast_T() 72 forward.takeFirst(); in testTakeFirst() 77 forward.takeLast(); in testTakeLast() 82 forward.pollFirst(2L, TimeUnit.SECONDS); in testPollFirst() [all …]
|
D | ForwardingQueueTest.java | 106 private Queue<String> forward; field in ForwardingQueueTest 138 forward = new ForwardingQueue<String>() { in setUp() 146 forward.add("asdf"); in testAdd_T() 151 forward.addAll(Collections.singleton("asdf")); in testAddAll_Collection() 156 forward.clear(); in testClear() 161 forward.contains("asdf"); in testContains_T() 166 forward.containsAll(Collections.singleton("asdf")); in testContainsAll_Collection() 171 forward.element(); in testElement() 176 forward.iterator(); in testIterator() 181 forward.isEmpty(); in testIsEmpty() [all …]
|
D | ForwardingMultisetTest.java | 139 protected Multiset<String> forward; field in ForwardingMultisetTest 276 forward = new ForwardingMultiset<String>() { in setUp() 284 forward().add("asdf"); in testAdd_T() 289 forward().addAll(EMPTY_COLLECTION); in testAddAll_Collection() 294 forward().clear(); in testClear() 299 forward().contains(null); in testContains_Object() 304 forward().containsAll(EMPTY_COLLECTION); in testContainsAll_Collection() 309 forward().isEmpty(); in testIsEmpty() 314 forward().iterator(); in testIterator() 319 forward().remove(null); in testRemove_Object() [all …]
|
D | ForwardingListIteratorTest.java | 28 private ForwardingListIterator<String> forward; field in ForwardingListIteratorTest 39 forward = new ForwardingListIterator<String>() { in setUp() 47 forward.add("asdf"); in testAdd_T() 52 forward.hasNext(); in testHasNext() 57 forward.hasPrevious(); in testHasPrevious() 62 forward.next(); in testNext() 67 forward.nextIndex(); in testNextIndex() 72 forward.previous(); in testPrevious() 77 forward.previousIndex(); in testPreviousIndex() 82 forward.remove(); in testRemove() [all …]
|
D | ForwardingSetTest.java | 105 Set<String> forward; field in ForwardingSetTest 145 forward = new ForwardingSet<String>() { in setUp() 153 forward().add("asdf"); in testAdd_T() 158 forward().addAll(EMPTY_LIST); in testAddAll_Collection() 163 forward().clear(); in testClear() 168 forward().contains(null); in testContains_Object() 173 forward().containsAll(EMPTY_LIST); in testContainsAll_Collection() 178 forward().isEmpty(); in testIsEmpty() 183 forward().iterator(); in testIterator() 188 forward().remove(null); in testRemove_Object() [all …]
|
D | ForwardingCollectionTest.java | 97 private Collection<String> forward; field in ForwardingCollectionTest 138 forward = new ForwardingCollection<String>() { in setUp() 146 forward.add("asdf"); in testAdd_T() 151 forward.addAll(EMPTY_COLLECTION); in testAddAll_Collection() 156 forward.clear(); in testClear() 161 forward.contains(null); in testContains_Object() 166 forward.containsAll(EMPTY_COLLECTION); in testContainsAll_Collection() 171 forward.isEmpty(); in testIsEmpty() 176 forward.iterator(); in testIterator() 181 forward.remove(null); in testRemove_Object() [all …]
|
D | ForwardingNavigableMapTest.java | 266 forward = new ForwardingNavigableMap<String, Boolean>() { 289 forward().lowerEntry("key"); 294 forward().lowerKey("key"); 299 forward().floorEntry("key"); 304 forward().floorKey("key"); 309 forward().ceilingEntry("key"); 314 forward().ceilingKey("key"); 319 forward().higherEntry("key"); 324 forward().higherKey("key"); 329 forward().pollFirstEntry(); [all …]
|
D | ForwardingMapTest.java | 116 Map<String, Boolean> forward; 169 forward = new ForwardingMap<String, Boolean>() { 177 forward().size(); 182 forward().isEmpty(); 187 forward().remove(null); 192 forward().clear(); 197 forward().containsKey("asdf"); 202 forward().containsValue(false); 207 forward().get("asdf"); 212 forward().put("key", false); [all …]
|
D | ForwardingNavigableSetTest.java | 196 forward = new ForwardingNavigableSet<String>() { in setUp() 204 forward().lower("a"); in testLower() 209 forward().floor("a"); in testFloor() 214 forward().ceiling("a"); in testCeiling() 219 forward().higher("a"); in testHigher() 224 forward().pollFirst(); in testPollFirst() 229 forward().pollLast(); in testPollLast() 234 forward().descendingIterator(); in testDescendingIterator() 239 forward().headSet("key", false); in testHeadSet_K_Boolean() 244 forward().subSet("a", true, "b", false); in testSubSet_K_Boolean_K_Boolean() [all …]
|
D | ForwardingSortedMultisetTest.java | 215 forward = new ForwardingSortedMultiset<String>() { 224 forward().comparator(); 229 forward().firstEntry(); 234 forward().lastEntry(); 239 forward().pollFirstEntry(); 244 forward().pollLastEntry(); 249 forward().descendingMultiset(); 254 forward().headMultiset("abcd", CLOSED); 259 forward().subMultiset("abcd", CLOSED, "dcba", OPEN); 264 forward().tailMultiset("last", OPEN); [all …]
|
D | ForwardingObjectTest.java | 32 ForwardingObject forward = new ForwardingObject() { in testEqualsReflexive() local 37 assertTrue(forward.equals(forward)); in testEqualsReflexive() 42 ForwardingObject forward = new ForwardingObject() { in testEqualsSymmetric() local 47 assertEquals(forward.equals(delegate), delegate.equals(forward)); in testEqualsSymmetric()
|
/external/libcxx/test/support/ |
D | is_transparent.h | 20 noexcept(noexcept(std::forward<T>(t) < std::forward<U>(u))) 21 -> decltype (std::forward<T>(t) < std::forward<U>(u)) 22 { return std::forward<T>(t) < std::forward<U>(u); } 30 noexcept(noexcept(std::forward<T>(t) < std::forward<U>(u))) 31 -> decltype (std::forward<T>(t) < std::forward<U>(u)) 32 { return std::forward<T>(t) < std::forward<U>(u); } 41 noexcept(noexcept(std::forward<T>(t) < std::forward<U>(u))) 42 -> decltype (std::forward<T>(t) < std::forward<U>(u)) 43 { return std::forward<T>(t) < std::forward<U>(u); } 52 noexcept(noexcept(std::forward<T>(t) < std::forward<U>(u))) [all …]
|
/external/libcxx/test/std/utilities/utility/forward/ |
D | forward.pass.cpp | 43 static_assert(sizeof(test(std::forward<A&>(a))) == 1, ""); in main() 44 static_assert(sizeof(test(std::forward<A>(a))) == 4, ""); in main() 45 static_assert(sizeof(test(std::forward<A>(source()))) == 4, ""); in main() 47 static_assert(sizeof(test(std::forward<const A&>(a))) == 2, ""); in main() 49 static_assert(sizeof(test(std::forward<const A>(a))) == 8, ""); in main() 50 static_assert(sizeof(test(std::forward<const A>(source()))) == 8, ""); in main() 52 static_assert(sizeof(test(std::forward<const A&>(ca))) == 2, ""); in main() 54 static_assert(sizeof(test(std::forward<const A>(ca))) == 8, ""); in main() 55 static_assert(sizeof(test(std::forward<const A>(csource()))) == 8, ""); in main() 59 static_assert(sizeof(test(std::forward<A&>(a))) == 1, ""); in main() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | DescendingImmutableSortedSet.java | 29 private final ImmutableSortedSet<E> forward; field in DescendingImmutableSortedSet 31 DescendingImmutableSortedSet(ImmutableSortedSet<E> forward) { in DescendingImmutableSortedSet() argument 32 super(Ordering.from(forward.comparator()).reverse()); in DescendingImmutableSortedSet() 33 this.forward = forward; in DescendingImmutableSortedSet() 38 return forward.size(); in size() 43 return forward.descendingIterator(); in iterator() 48 return forward.tailSet(toElement, inclusive).descendingSet(); in headSetImpl() 54 return forward.subSet(toElement, toInclusive, fromElement, fromInclusive).descendingSet(); in subSetImpl() 59 return forward.headSet(fromElement, inclusive).descendingSet(); in tailSetImpl() 65 return forward; in descendingSet() [all …]
|
D | DescendingImmutableSortedMultiset.java | 26 private final transient ImmutableSortedMultiset<E> forward; field in DescendingImmutableSortedMultiset 28 DescendingImmutableSortedMultiset(ImmutableSortedMultiset<E> forward) { in DescendingImmutableSortedMultiset() argument 29 this.forward = forward; in DescendingImmutableSortedMultiset() 34 return forward.count(element); in count() 39 return forward.lastEntry(); in firstEntry() 44 return forward.firstEntry(); in lastEntry() 49 return forward.size(); in size() 54 return forward.elementSet().descendingSet(); in elementSet() 59 return forward.entrySet().asList().reverse().get(index); in getEntry() 64 return forward; in descendingMultiset() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/reader/ |
D | ReaderBomTest.java | 35 reader.forward(1); in testReader() 37 reader.forward(1); in testReader() 39 reader.forward(1); in testReader() 41 reader.forward(1); in testReader() 52 reader.forward(1); in testNoBom() 54 reader.forward(1); in testNoBom() 56 reader.forward(1); in testNoBom() 58 reader.forward(1); in testNoBom() 69 reader.forward(1); in testUtf8Bom() 71 reader.forward(1); in testUtf8Bom() [all …]
|
/external/libdrm/ |
D | xf86drmSL.c | 61 struct SLEntry *forward[1]; /* variable sized array */ member 79 + (max_level + 1) * sizeof(entry->forward[0])); in SLCreateEntry() 112 for (i = 0; i <= SL_MAX_LEVEL; i++) list->head->forward[i] = NULL; in drmSLCreate() 127 next = entry->forward[0]; in drmSLDestroy() 146 while (entry->forward[i] && entry->forward[i]->key < key) in SLLocate() 147 entry = entry->forward[i]; in SLLocate() 151 return entry->forward[0]; in SLLocate() 179 entry->forward[i] = update[i]->forward[i]; in drmSLInsert() 180 update[i]->forward[i] = entry; in drmSLInsert() 202 if (update[i]->forward[i] == entry) in drmSLDelete() [all …]
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | ForwardingLoadingCacheTest.java | 37 private LoadingCache<String, Boolean> forward; field in ForwardingLoadingCacheTest 49 forward = new ForwardingLoadingCache<String, Boolean>() { in setUp() 59 assertSame(Boolean.TRUE, forward.get("key")); in testGet() 66 assertSame(Boolean.TRUE, forward.getUnchecked("key")); in testGetUnchecked() 73 assertEquals(ImmutableMap.of("key", Boolean.TRUE), forward.getAll(ImmutableList.of("key"))); in testGetAll() 80 assertSame(Boolean.TRUE, forward.apply("key")); in testApply() 87 forward.invalidate("key"); in testInvalidate() 94 forward.refresh("key"); in testRefresh() 101 forward.invalidateAll(); in testInvalidateAll() 108 forward.size(); in testSize() [all …]
|
D | ForwardingCacheTest.java | 37 private Cache<String, Boolean> forward; field in ForwardingCacheTest 49 forward = new ForwardingCache<String, Boolean>() { in setUp() 59 assertSame(Boolean.TRUE, forward.getIfPresent("key")); in testGetIfPresent() 68 forward.getAllPresent(ImmutableList.of("key"))); in testGetAllPresent() 75 forward.invalidate("key"); in testInvalidate() 82 forward.invalidateAll(ImmutableList.of("key")); in testInvalidateAllIterable() 89 forward.invalidateAll(); in testInvalidateAll() 96 forward.size(); in testSize() 103 assertNull(forward.stats()); in testStats() 110 assertNull(forward.asMap()); in testAsMap() [all …]
|
/external/dnsmasq/src/ |
D | forward.c | 206 HEADER *header, size_t plen, time_t now, struct frec *forward) in forward_query() argument 218 forward = NULL; in forward_query() 219 else if (forward || (forward = lookup_frec_by_sender(ntohs(header->id), udpaddr, crc))) in forward_query() 222 domain = forward->sentto->domain; in forward_query() 223 forward->sentto->failed_queries++; in forward_query() 226 forward->forwardall = 1; in forward_query() 229 type = forward->sentto->flags & SERV_TYPE; in forward_query() 230 if (!(start = forward->sentto->next)) in forward_query() 232 header->id = htons(forward->new_id); in forward_query() 239 if (!flags && !(forward = get_new_frec(now, NULL))) in forward_query() [all …]
|
/external/chromium-trace/catapult/telemetry/third_party/altgraph/altgraph/ |
D | Graph.py | 383 def _topo_sort(self, forward=True): argument 396 if forward: 437 return self._topo_sort(forward=True) 446 return self._topo_sort(forward=False) 448 def _bfs_subgraph(self, start_id, forward=True): argument 455 if forward: 478 return self._bfs_subgraph(start_id, forward=True) 485 return self._bfs_subgraph(start_id, forward=False) 487 def iterdfs(self, start, end=None, forward=True): argument 496 if forward: [all …]
|