Searched refs:Pair (Results 1 - 25 of 184) sorted by relevance

12345678

/external/llvm/unittests/ADT/
H A DPointerIntPairTest.cpp22 PointerIntPair<PointerIntPairTest *, 2> Pair(this, 1U);
23 EXPECT_EQ(this, Pair.getPointer());
24 EXPECT_EQ(1U, Pair.getInt());
26 Pair.setInt(2);
27 EXPECT_EQ(this, Pair.getPointer());
28 EXPECT_EQ(2U, Pair.getInt());
30 Pair.setPointer(nullptr);
31 EXPECT_EQ(nullptr, Pair.getPointer());
32 EXPECT_EQ(2U, Pair.getInt());
34 Pair
40 PointerIntPair<PointerIntPairTest *, 2> Pair; local
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowPair.java7 import android.util.Pair;
12 * Shadow of {@code Pair}
15 @Implements(Pair.class)
17 @RealObject private Pair realPair;
24 public static <F, S> Pair<F, S> create(F f, S s) {
25 return new Pair<F, S>(f, s);
36 if (!(o instanceof Pair)) return false;
37 final Pair other = (Pair) o;
41 private static void setFields(Pair
[all...]
/external/chromium_org/mojo/public/java/system/src/org/chromium/mojo/system/
H A DPair.java14 public class Pair<F, S> { class
25 public Pair(F first, S second) { method in class:Pair
42 if (!(o instanceof Pair)) {
45 Pair<?, ?> p = (Pair<?, ?>) o;
64 public static <A, B> Pair<A, B> create(A a, B b) {
65 return new Pair<A, B>(a, b);
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DPair.cpp6 #include "core/css/Pair.h"
10 void Pair::trace(Visitor* visitor)
H A DPair.h35 class Pair FINAL : public RefCountedWillBeGarbageCollected<Pair> {
39 static PassRefPtrWillBeRawPtr<Pair> create(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> first, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> second,
42 return adoptRefWillBeNoop(new Pair(first, second, identicalValuesPolicy));
58 bool equals(const Pair& other) const
68 Pair() function in class:blink::FINAL
73 Pair(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> first, PassRefPtrWillBeRawPtr<CSSPrimitiveValue> second, IdenticalValuesPolicy identicalValuesPolicy) function in class:blink::FINAL
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/
H A DCommonResources.java7 import android.util.Pair;
18 public static List<Pair<String, String>> getTextHtmlHeaders(boolean disableCache) {
23 public static List<Pair<String, String>> getTextJavascriptHeaders(boolean disableCache) {
28 public static List<Pair<String, String>> getImagePngHeaders(boolean disableCache) {
32 public static List<Pair<String, String>> getContentTypeAndCacheHeaders(
34 List<Pair<String, String>> headers = new ArrayList<Pair<String, String>>();
35 headers.add(Pair.create("Content-Type", contentType));
36 if (disableCache) headers.add(Pair.create("Cache-Control", "no-store"));
H A DVideoTestWebServer.java8 import android.util.Pair;
38 List<Pair<String, String>> headers = getWebmHeaders(true);
60 private static List<Pair<String, String>> getWebmHeaders(boolean disableCache) {
64 private static List<Pair<String, String>> getHTMLHeaders(boolean disableCache) {
/external/chromium_org/third_party/skia/src/core/
H A DSkPtrRecorder.cpp12 Pair* p = fList.begin();
13 Pair* stop = fList.end();
21 bool SkPtrSet::Less(const Pair& a, const Pair& b) {
31 Pair pair;
34 int index = SkTSearch<Pair, Less>(fList.begin(), count, pair, sizeof(pair));
47 Pair pair;
50 int index = SkTSearch<Pair, Less>(fList.begin(), count, pair, sizeof(pair));
66 const Pair* p = fList.begin();
H A DSkPtrRecorder.h87 struct Pair { struct in class:SkPtrSet
96 SkTDArray<Pair> fList;
98 static bool Less(const Pair& a, const Pair& b);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DPairTest.java10 import android.util.Pair;
17 Pair<String, Integer> pair = new Pair<String, Integer>("a", 1);
24 Pair<String, String> p = Pair.create("Foo", "Bar");
31 assertThat(Pair.create("1", 2), equalTo(Pair.create("1", 2)));
36 assertThat(Pair.create("1", 2).hashCode(), equalTo(Pair.create("1", 2).hashCode()));
/external/skia/src/core/
H A DSkPtrRecorder.cpp12 Pair* p = fList.begin();
13 Pair* stop = fList.end();
21 bool SkPtrSet::Less(const Pair& a, const Pair& b) {
31 Pair pair;
34 int index = SkTSearch<Pair, Less>(fList.begin(), count, pair, sizeof(pair));
47 Pair pair;
50 int index = SkTSearch<Pair, Less>(fList.begin(), count, pair, sizeof(pair));
66 const Pair* p = fList.begin();
H A DSkPtrRecorder.h66 struct Pair { struct in class:SkPtrSet
75 SkTDArray<Pair> fList;
77 static bool Less(const Pair& a, const Pair& b);
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/
H A DPair.java16 * Pair of two objects.
21 public final class Pair<L, R> { class
30 public Pair(L left, R right) { method in class:Pair
45 if (!(o instanceof Pair<?, ?>)) {
48 Pair<?, ?> other = (Pair<?, ?>) o;
78 public static <L, R> Pair<L, R> create(L left, R right) {
79 return new Pair<L, R>(left, right);
/external/clang/test/Index/
H A Dindex-templates.cpp76 struct Pair { struct
85 Pair<T, U> p = { t, second_type(u) };
92 typename Comparison = compare<Pair<Key, Value> >,
93 typename Allocator = allocator<Pair<Key, Value> > >
96 void f(map<Z4, Pair<int, Z4> >);
98 template class Pair<int, int>;
101 struct SuperPair : Pair<int, int>, Pair<T, U> { };
179 // CHECK-LOAD: index-templates.cpp:101:20: C++ base class specifier=Pair<int, int>:98:16 [access=public isVirtual=false] Extent=[101:20 - 101:34]
180 // CHECK-LOAD: index-templates.cpp:101:36: C++ base class specifier=Pair<
[all...]
/external/chromium_org/net/spdy/
H A Dhpack_decoder_test.cc67 using testing::Pair;
128 Pair(":method", "GET"),
129 Pair(":path", "/index.html"),
130 Pair("cookie", "foobar=baz")));
165 Pair("cookie", " part 1; part 2 ; part3; fin!"),
166 Pair("empty", ""),
167 Pair("empty-joined", string("\0foo\0\0", 6)),
168 Pair("joineD", string("value 1\0value 2", 15)),
169 Pair("joined", "not joined"),
170 Pair("passe
[all...]
/external/chromium_org/third_party/skia/include/core/
H A DSkTDict.h39 Pair* pair = fArray.insert(~index);
74 const Pair* end = fArray.end();
75 for (const Pair* pair = fArray.begin(); pair < end; pair++) {
86 struct Pair { struct in class:SkTDict
90 friend int operator<(const Pair& a, const Pair& b) {
94 friend int operator!=(const Pair& a, const Pair& b) {
120 const Pair* fIter;
121 const Pair* fSto
[all...]
/external/skia/include/core/
H A DSkTDict.h39 Pair* pair = fArray.insert(~index);
74 const Pair* end = fArray.end();
75 for (const Pair* pair = fArray.begin(); pair < end; pair++) {
86 struct Pair { struct in class:SkTDict
90 friend int operator<(const Pair& a, const Pair& b) {
94 friend int operator!=(const Pair& a, const Pair& b) {
120 const Pair* fIter;
121 const Pair* fSto
[all...]
/external/chromium_org/v8/test/mjsunit/
H A Dindexed-accessors.js44 function Pair(x, y) { class
48 Pair.prototype.__defineGetter__('0', function() { return this.x; });
49 Pair.prototype.__defineGetter__('1', function() { return this.y; });
50 Pair.prototype.__defineSetter__('0', function(x) { this.x = x; });
51 Pair.prototype.__defineSetter__('1', function(y) { this.y = y; });
53 var p = new Pair(2, 3);
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/bindings/
H A DBindingsTestUtils.java10 import org.chromium.mojo.system.Pair;
45 public final List<Pair<Message, MessageReceiver>> messagesWithReceivers =
46 new ArrayList<Pair<Message, MessageReceiver>>();
53 messagesWithReceivers.add(Pair.create(message, responder));
/external/chromium_org/cc/resources/
H A Deviction_tile_priority_queue.h21 PairedPictureLayerQueue(const PictureLayerImpl::Pair& layer_pair,
41 void Build(const std::vector<PictureLayerImpl::Pair>& paired_layers,
H A Draster_tile_priority_queue.h22 PairedPictureLayerQueue(const PictureLayerImpl::Pair& layer_pair,
43 void Build(const std::vector<PictureLayerImpl::Pair>& paired_layers,
/external/javassist/src/main/javassist/compiler/ast/
H A DPair.java24 public class Pair extends ASTree { class in inherits:ASTree
27 public Pair(ASTree _left, ASTree _right) { method in class:Pair
36 sbuf.append("(<Pair> ");
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
H A DAwContentsClientAutoLoginTest.java8 import android.util.Pair;
34 List<Pair<String, String>> headers = new ArrayList<Pair<String, String>>();
35 headers.add(Pair.create("x-auto-login", xAutoLoginHeader));
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
H A DInterfaceWithClient.java9 import org.chromium.mojo.system.Pair;
93 * Constructs a new |InterfaceRequest| for the interface. This method returns a Pair where
99 public final Pair<P, InterfaceRequest<I>> getInterfaceRequest(Core core, CI client) {
100 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(null);
102 return Pair.create(proxy, new InterfaceRequest<I>(handles.second));
/external/chromium_org/third_party/skia/src/effects/
H A DSkPorterDuff.cpp21 static const struct Pair { struct
48 const Pair* pairs = gPairs;
62 const Pair& pair = gPairs[mode];
68 const Pair& pair = gPairs[mode];

Completed in 721 milliseconds

12345678