/external/skia/include/core/ |
SkPtrRecorder.h | 37 struct Pair { 41 SkTDArray<Pair> fList; 43 static int Cmp(const Pair& a, const Pair& b);
|
SkTDict.h | 54 Pair* pair = fArray.insert(~index); local 58 pair->fName = copy; 59 pair->fValue = value; 94 Pair* end = fArray.end(); 95 for (Pair* pair = fArray.begin(); pair < end; pair++) { 96 if (pair->fValue != value [all...] |
/external/webkit/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...] |
CSSPrimitiveValue.h | 33 class Pair; 158 Pair* getPairValue(ExceptionCode&) const; 159 Pair* getPairValue() const { return m_type != CSS_PAIR ? 0 : m_value.pair; } 196 void init(PassRefPtr<Pair>); 211 Pair* pair; member in union:WebCore::CSSPrimitiveValue::__anon8180
|
/frameworks/base/core/java/android/util/ |
Pair.java | 24 public class Pair<F, S> { 29 * Constructor for a Pair. If either are null then equals() and hashCode() will throw 31 * @param first the first object in the Pair 32 * @param second the second object in the pair 34 public Pair(F first, S second) { 41 * @param o the Pair to which this one is to be checked for equality 42 * @return true if the underlying objects of the Pair are both considered equals() 46 if (!(o instanceof Pair)) return false; 47 final Pair<F, S> other; 49 other = (Pair<F, S>) o [all...] |
/external/skia/src/core/ |
SkPtrRecorder.cpp | 5 Pair* p = fList.begin(); 6 Pair* stop = fList.end(); 14 int SkPtrRecorder::Cmp(const Pair& a, const Pair& b) { 24 Pair pair; local 25 pair.fPtr = ptr; 27 int index = SkTSearch<Pair>(fList.begin(), count, pair, sizeof(pair), &Cmp) [all...] |
SkPixelRef.cpp | 86 struct Pair { 92 static Pair gPairs[MAX_PAIR_COUNT]; 112 const Pair* pairs = gPairs; 122 const Pair* pairs = gPairs;
|
SkFlattenable.cpp | 215 struct Pair { 221 static Pair gPairs[MAX_PAIR_COUNT]; 241 const Pair* pairs = gPairs; 251 const Pair* pairs = gPairs;
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
Pair.java | 20 * A pair of objects. Mostly auto-generated by Eclipse. 22 public class Pair<S, T> { 26 public Pair(S first, T second) { 31 public static <S, T> Pair<S, T> create(S first, T second) { 32 return new Pair<S, T>(first, second); 56 final Pair<S, T> other = (Pair) obj;
|
/external/chromium/base/ |
stl_util-inl.h | 334 // function that "projects" one of the members of a pair. 336 // map a pair to its first and second, respectively, members, the 339 // * UnaryOperate1st<pair>(f) returns the function x -> f(p1(x)) 340 // * UnaryOperate2nd<pair>(f) returns the function x -> f(p2(x)) 341 // * BinaryOperate1st<pair>(f) returns the function (x,y) -> f(p1(x),p1(y)) 342 // * BinaryOperate2nd<pair>(f) returns the function (x,y) -> f(p2(x),p2(y)) 347 template<typename Pair, typename UnaryOp> 349 : public std::unary_function<Pair, typename UnaryOp::result_type> { 357 typename UnaryOp::result_type operator()(const Pair& p) const { 365 template<typename Pair, typename UnaryOp [all...] |
/sdk/ninepatch/src/com/android/ninepatch/ |
NinePatch.java | 52 private Pair<Integer> mHorizontalPadding; 53 private Pair<Integer> mVerticalPadding; 336 Pair<List<Pair<Integer>>> left = getPatches(column, result); 340 Pair<List<Pair<Integer>>> top = getPatches(row, result); 371 private List<Rectangle> getVerticalRectangles(List<Pair<Integer>> topPairs) { 373 for (Pair<Integer> top : topPairs) { 382 private List<Rectangle> getHorizontalRectangles(List<Pair<Integer>> leftPairs) { 384 for (Pair<Integer> left : leftPairs) [all...] |
/external/skia/src/effects/ |
SkPorterDuff.cpp | 12 static const struct Pair { 36 const Pair* pairs = gPairs; 50 const Pair& pair = gPairs[mode]; local 51 SkASSERT(pair.fPD == mode); 52 return pair.fXF; 56 const Pair& pair = gPairs[mode]; local 57 SkASSERT(pair.fPD == mode); 58 return SkXfermode::Create(pair.fXF) [all...] |
/frameworks/base/core/java/com/android/internal/content/ |
NativeLibraryHelper.java | 9 import android.util.Pair; 76 String cpuAbi, List<Pair<ZipEntry, String>> libEntries) throws IOException, 142 libEntries.add(Pair.create(entry, libFileName)); 162 List<Pair<ZipEntry, String>> nativeFiles) throws IOException, ZipException { 184 nativeFiles.add(Pair.create(entry, installGdbServerPath)); 201 List<Pair<ZipEntry, String>> nativeFiles) throws ZipException, IOException { 250 List<Pair<ZipEntry, String>> nativeFiles = new LinkedList<Pair<ZipEntry, String>>(); 257 final Pair<ZipEntry, String> entry = nativeFiles.get(i);
|
/system/media/opensles/libopensles/ |
OpenSLESUT.c | 34 } Pair; 43 static Pair pairs[] = { 105 Pair *p; 106 const Pair *end = &pairs[sizeof(pairs)/sizeof(pairs[0])];
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
RetryManager.java | 20 import android.util.Pair; 35 * separated by a comma. There are two name value pair parameters plus a series 128 Pair<Boolean, Integer> value; 178 Pair<Boolean, Integer> value; 198 Log.e(LOG_TAG, "Unrecognized configuration name value pair: " 342 * @return Pair.first == true if stringValue an integer >= 0 344 private Pair<Boolean, Integer> parseNonNegativeInt(String name, String stringValue) { 346 Pair<Boolean, Integer> retVal; 349 retVal = new Pair<Boolean, Integer>(validateNonNegativeInt(name, value), value); 352 retVal = new Pair<Boolean, Integer>(false, 0) [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
OldGenericReflectionCornerCases.java | 39 static class Pair<T, S> {} 42 void wildcardEquality(Pair<? extends T, ? extends T> param) {} 62 Method method = clazz.getDeclaredMethod("wildcardEquality", Pair.class); 99 void wildcardUnEquality(Pair<? extends T, ? super T> param) {} 119 Method method = clazz.getDeclaredMethod("wildcardUnEquality", Pair.class); 155 void multipleBoundedWildcardUnEquality(Pair<? extends T, ? super T> param) {} 176 // new WildcardEquality<Object>().wildcardEquality(new Pair<String, 179 Method method = clazz.getDeclaredMethod("multipleBoundedWildcardUnEquality", Pair.class); 225 void multipleBoundedWildcardEquality(Pair<? extends T, ? extends T> param) {} 246 Method method = clazz.getDeclaredMethod("multipleBoundedWildcardEquality", Pair.class) [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
shortest-path.h | 171 typedef pair<StateId, Weight> Pair; 173 ShortestPathCompare(const vector<Pair>& pairs, 179 const Pair &px = pairs_[x]; 180 const Pair &py = pairs_[y]; 196 const vector<Pair> &pairs_; 233 typedef pair<StateId, Weight> Pair; 270 // characterized by a pair (s,w). The vector 'pairs' maps each 271 // state in 'ofst' to the corresponding pair maps states in OFST t [all...] |
/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);
|
/sdk/draw9patch/src/com/android/draw9patch/ui/ |
ImageEditorPanel.java | 93 private Pair<Integer> horizontalPadding; 94 private Pair<Integer> verticalPadding; [all...] |
/frameworks/base/core/java/android/content/ |
SyncQueue.java | 22 import android.util.Pair; 130 public Pair<SyncOperation, Long> nextOperation() { 137 Pair<Long, Long> backoff = mSyncStorageEngine.getBackoff(op.account, op.authority); 166 return Pair.create(best, bestRunTime); 175 public Pair<SyncOperation, Long> nextReadyToRun(long now) { 176 Pair<SyncOperation, Long> nextOpAndRunTime = nextOperation();
|
/frameworks/base/core/java/android/provider/ |
SyncStateContract.java | 27 import android.util.Pair; 122 public static Pair<Uri, byte[]> getWithUri(ContentProviderClient provider, Uri uri, 130 return Pair.create(ContentUris.withAppendedId(uri, rowId), blob);
|
/external/stlport/test/eh/ |
Prefix.h | 292 template <class Pair, class U> 294 struct eh_select1st_hint : public unary_function<Pair, U> { 295 const U& operator () (const Pair& x) const { return x.first; }
|
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/ |
DefaultContainerService.java | 42 import android.util.Pair; 222 List<Pair<ZipEntry, String>> nativeFiles; 226 nativeFiles = new LinkedList<Pair<ZipEntry, String>>(); 232 final Pair<ZipEntry, String> entry = nativeFiles.get(i); 271 final Pair<ZipEntry, String> entry = nativeFiles.get(i);
|
/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
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothAdapter.java | 29 import android.util.Pair; [all...] |