Home
last modified time | relevance | path

Searched refs:Pair (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium/base/
Dstl_util-inl.h347 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 { in operator()
365 template<typename Pair, typename UnaryOp>
366 UnaryOperateOnFirst<Pair, UnaryOp> UnaryOperate1st(const UnaryOp& f) { in UnaryOperate1st()
367 return UnaryOperateOnFirst<Pair, UnaryOp>(f); in UnaryOperate1st()
370 template<typename Pair, typename UnaryOp>
372 : public std::unary_function<Pair, typename UnaryOp::result_type> {
380 typename UnaryOp::result_type operator()(const Pair& p) const { in operator()
388 template<typename Pair, typename UnaryOp>
[all …]
/external/webkit/WebCore/css/
DPair.h34 class Pair : public RefCounted<Pair> {
36 static PassRefPtr<Pair> create() in create()
38 return adoptRef(new Pair); in create()
40 …static PassRefPtr<Pair> create(PassRefPtr<CSSPrimitiveValue> first, PassRefPtr<CSSPrimitiveValue> … in create()
42 return adoptRef(new Pair(first, second)); in create()
44 virtual ~Pair() { } in ~Pair()
53 Pair() : m_first(0), m_second(0) { } in Pair() function
54 Pair(PassRefPtr<CSSPrimitiveValue> first, PassRefPtr<CSSPrimitiveValue> second) in Pair() function
DCSSPrimitiveValue.h33 class Pair; variable
158 Pair* getPairValue(ExceptionCode&) const;
159 Pair* getPairValue() const { return m_type != CSS_PAIR ? 0 : m_value.pair; } in getPairValue()
196 void init(PassRefPtr<Pair>);
211 Pair* pair;
DCSSPrimitiveValue.cpp278 void CSSPrimitiveValue::init(PassRefPtr<Pair> p) in init()
655 Pair* CSSPrimitiveValue::getPairValue(ExceptionCode& ec) const in getPairValue()
DCSSParser.cpp1243 RefPtr<Pair> pair = Pair::create(parsedValue1.release(), parsedValue2.release()); in parseValue()
2439 return CSSPrimitiveValue::create(Pair::create(parsedValue1.release(), parsedValue2.release())); in parseFillSize()
4185 …addProperty(CSSPropertyBorderTopLeftRadius, CSSPrimitiveValue::create(Pair::create(radii[0][0].rel… in parseBorderRadius()
4186 …addProperty(CSSPropertyBorderTopRightRadius, CSSPrimitiveValue::create(Pair::create(radii[0][1].re… in parseBorderRadius()
4187 …addProperty(CSSPropertyBorderBottomRightRadius, CSSPrimitiveValue::create(Pair::create(radii[0][2]… in parseBorderRadius()
4188 …addProperty(CSSPropertyBorderBottomLeftRadius, CSSPrimitiveValue::create(Pair::create(radii[0][3].… in parseBorderRadius()
4217 list->append(CSSPrimitiveValue::create(Pair::create(counterName.release(), in parseCounter()
DCSSStyleSelector.cpp2951Pair* pair = static_cast<CSSPrimitiveValue*>(list->itemWithoutBoundsCheck(i))->getPairValue(); in applyCounterList()
4660 Pair* pair = primitiveValue->getPairValue(); in applyProperty()
5524 Pair* pair = primitiveValue->getPairValue(); in mapFillSize()
/external/skia/include/core/
DSkTDict.h54 Pair* pair = fArray.insert(~index); in set()
94 Pair* end = fArray.end(); in findKey()
95 for (Pair* pair = fArray.begin(); pair < end; pair++) { in findKey()
105 struct Pair { struct
109 friend int operator<(const Pair& a, const Pair& b) argument
113 friend int operator!=(const Pair& a, const Pair& b)
141 Pair* fIter;
142 Pair* fStop;
146 SkTDArray<Pair> fArray;
162 index = SkStrSearch(&fArray.begin()->fName, count, name, len, sizeof(Pair)); in find_index()
DSkPtrRecorder.h37 struct Pair { struct
41 SkTDArray<Pair> fList; argument
43 static int Cmp(const Pair& a, const Pair& b);
/external/skia/src/core/
DSkPtrRecorder.cpp5 Pair* p = fList.begin(); in reset()
6 Pair* stop = fList.end(); in reset()
14 int SkPtrRecorder::Cmp(const Pair& a, const Pair& b) { in Cmp()
24 Pair pair; in recordPtr()
27 int index = SkTSearch<Pair>(fList.begin(), count, pair, sizeof(pair), &Cmp); in recordPtr()
43 const Pair* p = fList.begin(); in getPtrs()
DSkPixelRef.cpp86 struct Pair { struct
92 static Pair gPairs[MAX_PAIR_COUNT]; argument
112 const Pair* pairs = gPairs; in NameToFactory()
122 const Pair* pairs = gPairs; in FactoryToName()
DSkFlattenable.cpp215 struct Pair { struct
221 static Pair gPairs[MAX_PAIR_COUNT]; argument
241 const Pair* pairs = gPairs; in NameToFactory()
251 const Pair* pairs = gPairs; in FactoryToName()
/external/v8/test/mjsunit/
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/srec/tools/thirdparty/OpenFst/fst/lib/
Dshortest-path.h171 typedef pair<StateId, Weight> Pair; typedef
173 ShortestPathCompare(const vector<Pair>& pairs, in ShortestPathCompare()
179 const Pair &px = pairs_[x]; in operator()
180 const Pair &py = pairs_[y]; in operator()
196 const vector<Pair> &pairs_;
233 typedef pair<StateId, Weight> Pair; in ShortestPath() typedef
273 vector<Pair> pairs; in ShortestPath()
289 pairs.push_back(Pair(kNoStateId, Weight::Zero())); in ShortestPath()
290 pairs[final] = Pair(rfst.Start(), Weight::One()); in ShortestPath()
296 Pair p = pairs[state]; in ShortestPath()
[all …]
/external/skia/src/effects/
DSkPorterDuff.cpp12 static const struct Pair { struct
36 const Pair* pairs = gPairs; in find_pdmode() argument
50 const Pair& pair = gPairs[mode]; in ToXfermodeMode()
56 const Pair& pair = gPairs[mode]; in CreateXfermode()
/external/stlport/test/eh/
DPrefix.h292 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; } in operator()
/external/stlport/test/unit/
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 in operator ()()
/external/skia/tests/
DBitmapCopyTest.cpp79 struct Pair { struct
85 static const Pair gPairs[] = { in TestBitmapCopy() argument
/external/webkit/WebKitTools/android/webkitmerge/
Dwebkitmerge.cpp268 struct Pair { struct
279 vector<Pair> m_classes; argument
280 vector<Pair> m_namespaces;
281 vector<Pair> m_preprocessorConditions;
365 Pair condition = { lineStart, m_braceLevel }; in ParseLine()
383 Pair space = { lineStart, m_braceLevel }; in ParseLine()
431 Pair _class = { lineStart, m_braceLevel }; in ParseLine()
/external/webkit/WebCore/rendering/style/
DRenderStyle.h109 class Pair; variable
/external/webkit/WebCore/
DWebCore.gypi1001 'css/Pair.h',
DGNUmakefile.am650 WebCore/css/Pair.h \
DChangeLog-2008-08-1015068 * css/Pair.h:
15069 (WebCore::Pair::create):
15070 (WebCore::Pair::Pair):
51173 * css/Pair.h:
51174 (WebCore::Pair::Pair):
73364 * css/Pair.h:
73577 * css/Pair.h:
DChangeLog-2006-12-3153936 * css/Pair.h: Added.
53937 (WebCore::Pair::~Pair):
DChangeLog-2007-10-144555 * css/Pair.h:
14940 - Return a CSSValueList instead of CSSValue (with a Pair type) for
64148 * css/Pair.h:
/external/webkit/WebCore/WebCore.xcodeproj/
Dproject.pbxproj2534 …A80E6CFB0A1989CA007FB8C5 /* Pair.h in Headers */ = {isa = PBXBuildFile; fileRef = A80E6CD10A1989CA…
7884 …E6CD10A1989CA007FB8C5 /* Pair.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType…
15528 A80E6CD10A1989CA007FB8C5 /* Pair.h */,
17837 A80E6CFB0A1989CA007FB8C5 /* Pair.h in Headers */,

12