HomeSort by relevance Sort by last modified time
    Searched defs:Pair (Results 1 - 25 of 108) sorted by null

1 2 3 4 5

  /external/v8/test/mjsunit/
indexed-accessors.js 44 function Pair(x, y) {
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/smali/dexlib/src/main/java/org/jf/dexlib/Util/
Pair.java 31 public class Pair<A, B> {
35 public Pair(A first, B second) {
  /external/webkit/Source/WebCore/css/
Pair.h 30 // A primitive value representing a pair. This is useful for properties like border-radius, background-size/position,
34 class Pair : public RefCounted<Pair> {
36 static PassRefPtr<Pair> create()
38 return adoptRef(new Pair);
40 static PassRefPtr<Pair> create(PassRefPtr<CSSPrimitiveValue> first, PassRefPtr<CSSPrimitiveValue> second)
42 return adoptRef(new Pair(first, second));
44 virtual ~Pair() { }
53 Pair() : m_first(0), m_second(0) { }
54 Pair(PassRefPtr<CSSPrimitiveValue> first, PassRefPtr<CSSPrimitiveValue> second
    [all...]
  /frameworks/base/core/java/android/util/
Pair.java 26 public class Pair<F, S> {
31 * Constructor for a Pair.
33 * @param first the first object in the Pair
34 * @param second the second object in the pair
36 public Pair(F first, S second) {
45 * @param o the {@link Pair} to which this one is to be checked for equality
46 * @return true if the underlying objects of the Pair are both considered
51 if (!(o instanceof Pair)) {
54 Pair<?, ?> p = (Pair<?, ?>) o
    [all...]
  /external/llvm/include/llvm/ADT/
DenseMapInfo.h 134 struct DenseMapInfo<std::pair<T, U> > {
135 typedef std::pair<T, U> Pair;
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) {
  /external/skia/include/core/
SkPtrRecorder.h 63 struct Pair {
72 SkTDArray<Pair> fList;
74 static int Cmp(const Pair& a, const Pair& b);
SkTDict.h 47 Pair* pair = fArray.insert(~index); local
51 pair->fName = copy;
52 pair->fValue = value;
87 Pair* end = fArray.end();
88 for (Pair* pair = fArray.begin(); pair < end; pair++) {
89 if (pair->fValue != value
    [all...]
  /external/skia/src/effects/
SkPorterDuff.cpp 21 static const struct Pair {
48 const Pair* pairs = gPairs;
62 const Pair& pair = gPairs[mode]; local
63 SkASSERT(pair.fPD == mode);
64 return pair.fXF;
68 const Pair& pair = gPairs[mode]; local
69 SkASSERT(pair.fPD == mode);
70 return SkXfermode::Create(pair.fXF)
    [all...]
  /frameworks/wilhelm/src/ut/
OpenSLESUT.c 34 } Pair;
43 static Pair pairs[] = {
105 Pair *p;
106 const Pair *end = &pairs[sizeof(pairs)/sizeof(pairs[0])];
  /sdk/common/src/com/android/utils/
Pair.java 20 * A Pair class is simply a 2-tuple for use in this package. We might want to
23 * classes using this Pair by a more dedicated data structure (so we don't have
30 public class Pair<S,T> {
34 // Use {@link Pair#of} factory instead since it infers generic types
35 private Pair(S first, T second) {
41 * Return the first item in the pair
43 * @return the first item in the pair
50 * Return the second item in the pair
52 * @return the second item in the pair
59 * Constructs a new pair of the given two objects, inferring generic types
    [all...]
  /sdk/layoutlib_api/src/com/android/util/
Pair.java 20 * A Pair class is simply a 2-tuple for use in this package. We might want to
23 * classes using this Pair by a more dedicated data structure (so we don't have
30 * To use Pair outside of layoutlib, use com.android.utils.Pair, found in common.jar instead.
36 * @Deprecated This is used for backward compatibility with layoutlib_api. Use com.android.utils.Pair instead
39 public class Pair<S,T> {
43 // Use {@link Pair#of} factory instead since it infers generic types
44 private Pair(S first, T second) {
50 * Return the first item in the pair
52 * @return the first item in the pair
    [all...]
  /bionic/libc/bionic/
strerror_r.cpp 10 struct Pair {
15 static const char* __code_string_lookup(const Pair* strings, int code) {
24 static const Pair _sys_error_strings[] = {
34 static const Pair _sys_signal_strings[] = {
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/
Pair.java 16 * Pair of two objects.
21 public final class Pair<L, R> {
30 public Pair(L left, R right) {
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/
Pair.java 24 public class Pair extends ASTree {
27 public Pair(ASTree _left, ASTree _right) {
36 sbuf.append("(<Pair> ");
  /external/clang/lib/CodeGen/
CGVTT.cpp 181 std::pair<const CXXRecordDecl *, BaseSubobject> Pair =
184 SecondaryVirtualPointerIndices.insert(std::make_pair(Pair, I->second));
  /external/clang/test/Index/
index-templates.cpp 76 struct Pair {
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<T, U>:76:8 [access=public isVirtual=false] Extent=[101:36 - 101:46
    [all...]
load-stmts.cpp 73 struct Pair {
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]
  /frameworks/compile/mclinker/include/mcld/Target/
ELFDynamic.h 59 typedef llvm::ELF::Elf32_Dyn Pair;
73 { return sizeof(Pair); }
89 Pair m_Pair;
  /libcore/luni/src/main/java/java/util/concurrent/atomic/
AtomicMarkableReference.java 23 private static class Pair<T> {
26 private Pair(T reference, boolean mark) {
30 static <T> Pair<T> of(T reference, boolean mark) {
31 return new Pair<T>(reference, mark);
35 private volatile Pair<V> pair; field in class:AtomicMarkableReference
45 pair = Pair.of(initialRef, initialMark);
54 return pair.reference;
63 return pair.mark
75 Pair<V> pair = this.pair; local
    [all...]
AtomicStampedReference.java 23 private static class Pair<T> {
26 private Pair(T reference, int stamp) {
30 static <T> Pair<T> of(T reference, int stamp) {
31 return new Pair<T>(reference, stamp);
35 private volatile Pair<V> pair; field in class:AtomicStampedReference
45 pair = Pair.of(initialRef, initialStamp);
54 return pair.reference;
63 return pair.stamp
75 Pair<V> pair = this.pair; local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/
ManifestContentAssist.java 29 import com.android.utils.Pair;
60 List<Pair<String, String>> choices = new ArrayList<Pair<String, String>>();
70 choices.add(Pair.of(version.getCodename(), version.getCodename()));
72 choices.add(Pair.of(Integer.toString(apiLevel), target.getFullName()));
78 choices.add(Pair.of(Integer.toString(api), name));
  /sdk/layoutlib_api/src/com/android/ide/common/rendering/api/
StyleResourceValue.java 22 import com.android.util.Pair;
33 private HashMap<Pair<String, Boolean>, ResourceValue> mItems = new HashMap<Pair<String, Boolean>, ResourceValue>();
61 return mItems.get(Pair.of(name, isFramework()));
69 return mItems.get(Pair.of(name, isFrameworkAttr));
73 mItems.put(Pair.of(value.getName(), isFrameworkAttr), value);
  /external/javassist/src/main/javassist/bytecode/annotation/
Annotation.java 48 static class Pair {
181 Pair p = new Pair();
194 Pair p = new Pair();
203 private void addMemberValue(Pair pair) {
204 String name = pool.getUtf8Info(pair.name);
208 members.put(name, pair);
272 Pair p = (Pair)members.get(name)
315 Pair pair = (Pair)it.next(); local
    [all...]
  /external/skia/src/core/
SkPixelRef.cpp 160 struct Pair {
166 static Pair gPairs[MAX_PAIR_COUNT];
199 const Pair* pairs = gPairs;
212 const Pair* pairs = gPairs;
  /external/stlport/test/unit/
alg_test.cpp 335 typedef pair<int, string> Pair;
338 public binary_function<const Pair&, const string&, bool>
340 bool operator () ( const Pair &p, const string& value ) const

Completed in 797 milliseconds

1 2 3 4 5