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

1234

/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/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/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/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.cpp168 std::pair<CachedResultsTy::iterator, bool> Pair = local
170 if (!Pair.second)
171 return Pair.first->second;
H A DDependencyAnalysis.cpp217 std::pair<BasicBlock *, BasicBlock::iterator> Pair = local
219 BasicBlock *LocalStartBB = Pair.first;
220 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/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];
/external/llvm/include/llvm/ADT/
H A DDenseMapInfo.h135 typedef std::pair<T, U> Pair; typedef in struct:llvm::DenseMapInfo
139 static inline Pair getEmptyKey() {
143 static inline Pair getTombstoneKey() {
147 static unsigned getHashValue(const Pair& PairVal) {
160 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.h481 typedef PointerUnion<T, U> Pair; typedef in struct:llvm::DenseMapInfo
485 static inline Pair getEmptyKey() {
486 return Pair(FirstInfo::getEmptyKey());
488 static inline Pair getTombstoneKey() {
489 return Pair(FirstInfo::getTombstoneKey());
491 static unsigned getHashValue(const Pair &PairVal) {
495 static bool isEqual(const Pair &LHS, const Pair &RHS) {
/external/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];
/external/chromium_org/third_party/WebKit/Source/core/css/
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/third_party/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/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...]
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/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.h66 struct Pair { struct in class:SkPtrSet
75 SkTDArray<Pair> fList;
77 static bool Less(const Pair& a, const Pair& b);
/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/clang/lib/CodeGen/
H A DCGVTT.cpp166 std::pair<const CXXRecordDecl *, BaseSubobject> Pair = local
169 SecondaryVirtualPointerIndices.insert(std::make_pair(Pair, I->second));
/external/llvm/lib/Target/X86/
H A DX86AtomicExpandPass.cpp255 Value *Pair = Builder.CreateAtomicCmpXchg( local
258 Value *NewLoaded = Builder.CreateExtractValue(Pair, 0, "newloaded");
261 Value *Success = Builder.CreateExtractValue(Pair, 1, "success");
/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/stlport/test/unit/
H A Dalg_test.cpp335 typedef pair<int, string> Pair; typedef
338 public binary_function<const Pair&, const string&, bool>
340 bool operator () ( const Pair &p, const string& value ) const
/external/chromium_org/cc/layers/
H A Dpicture_layer_impl.h31 struct CC_EXPORT Pair { struct in class:cc::PictureLayerImpl
32 Pair();
33 Pair(PictureLayerImpl* active_layer, PictureLayerImpl* pending_layer);
34 ~Pair();
/external/llvm/lib/AsmParser/
H A DLLLexer.cpp79 uint64_t Pair[2]) {
80 Pair[0] = 0;
83 Pair[0] *= 16;
84 Pair[0] += hexDigitValue(*Buffer);
86 Pair[1] = 0;
88 Pair[1] *= 16;
89 Pair[1] += hexDigitValue(*Buffer);
98 uint64_t Pair[2]) {
99 Pair[1] = 0;
102 Pair[
78 HexToIntPair(const char *Buffer, const char *End, uint64_t Pair[2]) argument
97 FP80HexToIntPair(const char *Buffer, const char *End, uint64_t Pair[2]) argument
810 uint64_t Pair[2]; local
[all...]

Completed in 1119 milliseconds

1234