Searched defs:Pair (Results 1 - 25 of 91) sorted by relevance

1234

/external/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/icu/android_icu4j/src/main/java/android/icu/impl/
H A DPair.java17 public class Pair<F, S> { class
21 protected Pair(F first, S second) { method in class:Pair
32 public static <F, S> Pair<F, S> of(F first, S second) {
34 throw new IllegalArgumentException("Pair.of requires non null values.");
36 return new Pair<F, S>(first, second);
44 if (!(other instanceof Pair)) {
47 Pair<?, ?> rhs = (Pair<?, ?>) other;
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/broadphase/
H A DPair.java31 public class Pair implements Comparable<Pair> { class in inherits:Comparable
35 public int compareTo(Pair pair2) {
/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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DPair.java15 public class Pair<F, S> { class
19 protected Pair(F first, S second) { method in class:Pair
30 public static <F, S> Pair<F, S> of(F first, S second) {
32 throw new IllegalArgumentException("Pair.of requires non null values.");
34 return new Pair<F, S>(first, second);
42 if (!(other instanceof Pair)) {
45 Pair<?, ?> rhs = (Pair<?, ?>) other;
/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/llvm/lib/Transforms/ObjCARC/
H A DProvenanceAnalysis.cpp169 std::pair<CachedResultsTy::iterator, bool> Pair = local
171 if (!Pair.second)
172 return Pair.first->second;
H A DBlotMapVector.h50 std::pair<typename MapTy::iterator, bool> Pair = local
52 if (Pair.second) {
54 Pair.first->second = Num;
58 return Vector[Pair.first->second].second;
62 std::pair<typename MapTy::iterator, bool> Pair = local
64 if (Pair.second) {
66 Pair.first->second = Num;
70 return std::make_pair(Vector.begin() + Pair.first->second, false);
H A DDependencyAnalysis.cpp234 std::pair<BasicBlock *, BasicBlock::iterator> Pair = local
236 BasicBlock *LocalStartBB = Pair.first;
237 BasicBlock::iterator LocalStartPos = Pair.second;
/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/testng/src/main/java/org/testng/internal/collections/
H A DPair.java9 public class Pair<A, B> { class
13 public Pair(A first, B second) { method in class:Pair
46 final Pair other = (Pair) obj;
66 public static <A, B> Pair<A, B> create(A first, B second) {
70 public static <A, B> Pair<A, B> of(A a, B b) {
71 return new Pair<>(a, b);
/external/llvm/include/llvm/ADT/
H A DDenseMapInfo.h138 typedef std::pair<T, U> Pair; typedef in struct:llvm::DenseMapInfo
142 static inline Pair getEmptyKey() {
146 static inline Pair getTombstoneKey() {
150 static unsigned getHashValue(const Pair& PairVal) {
163 static bool isEqual(const Pair &LHS, const Pair &RHS) {
H A DMapVector.h76 std::pair<KeyT, unsigned> Pair = std::make_pair(Key, 0); local
77 std::pair<typename MapType::iterator, bool> Result = Map.insert(Pair);
92 std::pair<KeyT, unsigned> Pair = std::make_pair(KV.first, 0); local
93 std::pair<typename MapType::iterator, bool> Result = Map.insert(Pair);
H A DPointerUnion.h487 typedef PointerUnion<T, U> Pair; typedef in struct:llvm::DenseMapInfo
491 static inline Pair getEmptyKey() {
492 return Pair(FirstInfo::getEmptyKey());
494 static inline Pair getTombstoneKey() {
495 return Pair(FirstInfo::getTombstoneKey());
497 static unsigned getHashValue(const Pair &PairVal) {
501 static bool isEqual(const Pair &LHS, const Pair &RHS) {
/external/javassist/src/main/javassist/bytecode/annotation/
H A DAnnotation.java48 static class Pair { class in class:Annotation
181 Pair p = new Pair();
194 Pair p = new Pair();
203 private void addMemberValue(Pair pair) {
272 Pair p = (Pair)members.get(name);
315 Pair pair = (Pair)i
[all...]
/external/skia/src/core/
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/clang/lib/CodeGen/
H A DCGVTT.cpp168 std::pair<const CXXRecordDecl *, BaseSubobject> Pair = local
171 SecondaryVirtualPointerIndices.insert(std::make_pair(Pair, I->second));
/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> { };
192 // 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]
193 // CHECK-LOAD: index-templates.cpp:101:36: C++ base class specifier=Pair<
[all...]
H A Dload-stmts.cpp73 struct Pair { struct
74 Pair(int, int);
80 new (mem) Pair(i, j);
200 // CHECK: load-stmts.cpp:80:13: TypeRef=struct Pair:73:8 Extent=[80:13 - 80:17]
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/
H A DCheckedProviderMethodsModuleTest.java51 private final TypeLiteral<RpcProvider<Pair<Double, String>>> rpcProviderOfPair
52 = new TypeLiteral<RpcProvider<Pair<Double, String>>>() { };
97 Pair<Double, String> getSomePair(Double input) {
98 return new Pair<Double, String>(input * 2, "foo");
156 RpcProvider<Pair<Double, String>> provider = injector
158 Pair<Double, String> pair = provider.get();
186 private static class Pair<A, B> { class in class:CheckedProviderMethodsModuleTest
190 Pair(A a, B b) { method in class:CheckedProviderMethodsModuleTest.Pair
/external/skia/include/private/
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/llvm/lib/AsmParser/
H A DLLLexer.cpp79 uint64_t Pair[2]) {
80 Pair[0] = 0;
84 Pair[0] *= 16;
85 Pair[0] += hexDigitValue(*Buffer);
88 Pair[1] = 0;
90 Pair[1] *= 16;
91 Pair[1] += hexDigitValue(*Buffer);
100 uint64_t Pair[2]) {
101 Pair[1] = 0;
104 Pair[
78 HexToIntPair(const char *Buffer, const char *End, uint64_t Pair[2]) argument
99 FP80HexToIntPair(const char *Buffer, const char *End, uint64_t Pair[2]) argument
858 uint64_t Pair[2]; local
[all...]
/external/llvm/lib/CodeGen/
H A DStackSlotColoring.cpp187 typedef std::iterator_traits<LiveStacks::iterator>::value_type Pair; typedef
188 SmallVector<Pair *, 16> Intervals;
193 [](Pair *LHS, Pair *RHS) { return LHS->first < RHS->first; });
/external/llvm/lib/Target/Sparc/
H A DSparcISelDAGToDAG.cpp268 SDValue Pair = SDValue( local
285 Chain = CurDAG->getCopyToReg(T1, dl, GPVR, Pair, T1.getValue(1));
/external/llvm/tools/llvm-mc/
H A Dllvm-mc.cpp325 auto Pair = StringRef(I).split('='); local
326 if(Pair.second.empty()){
331 if(Pair.second.getAsInteger(0, Value)){
332 errs() << "error: Value is not an integer: " << Pair.second;
336 auto Symbol = Context.getOrCreateSymbol(Pair.first);

Completed in 1939 milliseconds

1234