Searched refs:pair (Results 1 - 25 of 2373) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/cython/src/Cython/Includes/libcpp/
H A Dpair.pxd1 from utility cimport pair namespace
/external/clang/test/CodeGen/
H A Dtbaa-thread-sanitizer.cpp7 struct pair { struct
9 pair(const iterator &a) : first(a) {} function in struct:pair
13 (void)pair(iterator());
/external/libcxx/test/algorithms/alg.sorting/alg.min.max/
H A Dminmax_init_list.pass.cpp13 // pair<T, T>
22 assert((std::minmax({1, 2, 3}) == std::pair<int, int>(1, 3)));
23 assert((std::minmax({1, 3, 2}) == std::pair<int, int>(1, 3)));
24 assert((std::minmax({2, 1, 3}) == std::pair<int, int>(1, 3)));
25 assert((std::minmax({2, 3, 1}) == std::pair<int, int>(1, 3)));
26 assert((std::minmax({3, 1, 2}) == std::pair<int, int>(1, 3)));
27 assert((std::minmax({3, 2, 1}) == std::pair<int, int>(1, 3)));
30 static_assert((std::minmax({1, 2, 3}) == std::pair<int, int>(1, 3)), "");
31 static_assert((std::minmax({1, 3, 2}) == std::pair<int, int>(1, 3)), "");
32 static_assert((std::minmax({2, 1, 3}) == std::pair<in
[all...]
H A Dminmax_init_list_comp.pass.cpp13 // pair<T, T>
23 assert((std::minmax({1, 2, 3}, std::greater<int>()) == std::pair<int, int>(3, 1)));
24 assert((std::minmax({1, 3, 2}, std::greater<int>()) == std::pair<int, int>(3, 1)));
25 assert((std::minmax({2, 1, 3}, std::greater<int>()) == std::pair<int, int>(3, 1)));
26 assert((std::minmax({2, 3, 1}, std::greater<int>()) == std::pair<int, int>(3, 1)));
27 assert((std::minmax({3, 1, 2}, std::greater<int>()) == std::pair<int, int>(3, 1)));
28 assert((std::minmax({3, 2, 1}, std::greater<int>()) == std::pair<int, int>(3, 1)));
31 static_assert((std::minmax({1, 2, 3}, std::greater<int>()) == std::pair<int, int>(3, 1)), "");
32 static_assert((std::minmax({1, 3, 2}, std::greater<int>()) == std::pair<int, int>(3, 1)), "");
33 static_assert((std::minmax({2, 1, 3}, std::greater<int>()) == std::pair<in
[all...]
/external/clang/test/PCH/
H A Dcrash-12631281.cpp15 template <class _T1, class _T2> struct pair { struct
19 pair(_U1&& , _U2&& ); // expected-note {{candidate}}
23 pair<_ForwardIterator, _ForwardIterator> __equal_range(_ForwardIterator) {
24 return pair<_ForwardIterator, _ForwardIterator>(0, 0); // expected-error {{no matching constructor}}
28 pair<_ForwardIterator, _ForwardIterator> equal_range( _ForwardIterator a) {
33 pair<int, int> range() {
/external/valgrind/main/none/tests/
H A Dallexec_prepare_prereq11 pair() function
31 pair x86 amd64
32 pair ppc32 ppc64
33 pair s390x_unexisting_in_32bits s390x
34 pair arm arm64
35 pair mips32 mips64
/external/lzma/CPP/7zip/UI/Common/
H A DUpdateProduce.cpp19 const CUpdatePair &pair = updatePairs[i]; local
23 up2.DirIndex = pair.DirIndex;
24 up2.ArcIndex = pair.ArcIndex;
27 switch(actionSet.StateActions[pair.State])
31 if (pair.State != NPairState::kOnlyOnDisk)
32 IgnoreArchiveItem(m_ArchiveItems[pair.ArcIndex]);
36 callback->ShowDeleteFile(pair.ArcIndex);
40 if (pair.State == NPairState::kOnlyOnDisk)
46 if (pair.State == NPairState::kOnlyInArchive ||
47 pair
[all...]
/external/libcxx/test/utilities/utility/pairs/pair.astuple/
H A Dtuple_size.pass.cpp12 // template <class T1, class T2> struct pair
14 // tuple_size<pair<T1, T2> >::value
21 typedef std::pair<int, short> P1;
/external/libcxx/test/utilities/utility/pairs/pairs.pair/
H A Dconst_pair_U_V.pass.cpp12 // template <class T1, class T2> struct pair
14 // template <class U, class V> pair(const pair<U, V>& p);
22 typedef std::pair<int, short> P1;
23 typedef std::pair<double, long> P2;
32 typedef std::pair<int, short> P1;
33 typedef std::pair<double, long> P2;
H A Dcopy_ctor.pass.cpp12 // template <class T1, class T2> struct pair
14 // pair(const pair&) = default;
22 typedef std::pair<int, short> P1;
29 static_assert((std::is_trivially_copy_constructible<std::pair<int, int> >::value), "");
33 typedef std::pair<int, short> P1;
H A Dpiecewise.pass.cpp12 // template <class T1, class T2> struct pair
15 // pair(piecewise_construct_t, tuple<Args1...> first_args,
26 typedef std::pair<int, int*> P1;
27 typedef std::pair<int*, int> P2;
28 typedef std::pair<P1, P2> P3;
/external/chromium_org/base/containers/
H A Dhash_tables_unittest.cc17 Type pair(value1, value2); \
19 map[pair] = 1; \
25 typedef std::pair<int16, int16> Int16Int16Pair;
26 typedef std::pair<int16, int32> Int16Int32Pair;
27 typedef std::pair<int16, int64> Int16Int64Pair;
34 typedef std::pair<int32, int16> Int32Int16Pair;
35 typedef std::pair<int32, int32> Int32Int32Pair;
36 typedef std::pair<int32, int64> Int32Int64Pair;
43 typedef std::pair<int64, int16> Int64Int16Pair;
44 typedef std::pair<int6
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkPtrRecorder.cpp31 Pair pair; local
32 pair.fPtr = ptr;
34 int index = SkTSearch<Pair, Less>(fList.begin(), count, pair, sizeof(pair));
47 Pair pair; local
48 pair.fPtr = ptr;
50 int index = SkTSearch<Pair, Less>(fList.begin(), count, pair, sizeof(pair));
54 pair.fIndex = count + 1;
55 *fList.insert(index) = pair;
[all...]
/external/skia/src/core/
H A DSkPtrRecorder.cpp31 Pair pair; local
32 pair.fPtr = ptr;
34 int index = SkTSearch<Pair, Less>(fList.begin(), count, pair, sizeof(pair));
47 Pair pair; local
48 pair.fPtr = ptr;
50 int index = SkTSearch<Pair, Less>(fList.begin(), count, pair, sizeof(pair));
54 pair.fIndex = count + 1;
55 *fList.insert(index) = pair;
[all...]
/external/chromium_org/ash/display/
H A Ddisplay_layout_store.cc53 const DisplayIdPair& pair) {
55 paired_layouts_.find(pair);
57 iter != paired_layouts_.end() ? iter->second : CreateDisplayLayout(pair);
61 const DisplayIdPair& pair) {
62 DisplayLayout layout = GetRegisteredDisplayLayout(pair);
67 pair.first == layout.primary_id) ? layout : layout.Invert();
70 void DisplayLayoutStore::UpdateMirrorStatus(const DisplayIdPair& pair, argument
72 if (paired_layouts_.find(pair) == paired_layouts_.end())
73 CreateDisplayLayout(pair);
74 paired_layouts_[pair]
52 GetRegisteredDisplayLayout( const DisplayIdPair& pair) argument
60 ComputeDisplayLayoutForDisplayIdPair( const DisplayIdPair& pair) argument
77 UpdatePrimaryDisplayId(const DisplayIdPair& pair, int64 display_id) argument
84 CreateDisplayLayout( const DisplayIdPair& pair) argument
[all...]
/external/ppp/pppd/plugins/radius/
H A Davpair.c26 * Purpose: add an attribute-value pair to the given list.
28 * Returns: pointer to added a/v pair upon success, NULL pointer upon failure.
30 * Remarks: Always appends the new pair to the end of the list.
53 * Purpose: assign the given value to an attribute-value pair.
104 * Purpose: make a new attribute-value pair with given parameters.
106 * Returns: pointer to generated a/v pair when successful, NULL when failure.
163 VALUE_PAIR *pair; local
207 if ((pair =
215 strcpy (pair->name, attr->name);
216 pair
270 VALUE_PAIR *pair; local
455 rc_avpair_free(VALUE_PAIR *pair) argument
529 VALUE_PAIR *pair; local
692 rc_avpair_tostr(VALUE_PAIR *pair, char *name, int ln, char *value, int lv) argument
[all...]
/external/smack/src/org/jivesoftware/smack/util/collections/
H A DDefaultMapEntry.java48 * @param pair the pair to copy, must not be null
51 public DefaultMapEntry(final KeyValue<K, V> pair) { argument
52 super(pair.getKey(), pair.getValue());
/external/chromium_org/third_party/ots/src/
H A Dglyf.h8 #include <utility> // std::pair
16 std::vector<std::pair<const uint8_t*, size_t> > iov;
/external/llvm/lib/DebugInfo/
H A DDWARFRelocMap.h17 typedef DenseMap<uint64_t, std::pair<uint8_t, int64_t> > RelocAddrMap;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
H A Dradeon_program_pair.c38 int rc_pair_alloc_source(struct rc_pair_instruction *pair, argument
53 if (rgb && pair->RGB.Src[RC_PAIR_PRESUB_SRC].Used
54 && index != pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index) {
58 if (alpha && pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Used
59 && index != pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) {
67 if (pair->RGB.Src[i].Used) {
68 if (pair->RGB.Src[i].File != file ||
69 pair->RGB.Src[i].Index != index) {
77 if (pair->Alpha.Src[i].Used) {
78 if (pair
131 pair_foreach_source_callback( struct rc_pair_instruction * pair, void * data, rc_pair_foreach_src_fn cb, unsigned int swz, unsigned int src) argument
169 rc_pair_foreach_source_that_alpha_reads( struct rc_pair_instruction * pair, void * data, rc_pair_foreach_src_fn cb) argument
184 rc_pair_foreach_source_that_rgb_reads( struct rc_pair_instruction * pair, void * data, rc_pair_foreach_src_fn cb) argument
[all...]
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_program_pair.c38 int rc_pair_alloc_source(struct rc_pair_instruction *pair, argument
53 if (rgb && pair->RGB.Src[RC_PAIR_PRESUB_SRC].Used
54 && index != pair->RGB.Src[RC_PAIR_PRESUB_SRC].Index) {
58 if (alpha && pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Used
59 && index != pair->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) {
67 if (pair->RGB.Src[i].Used) {
68 if (pair->RGB.Src[i].File != file ||
69 pair->RGB.Src[i].Index != index) {
77 if (pair->Alpha.Src[i].Used) {
78 if (pair
131 pair_foreach_source_callback( struct rc_pair_instruction * pair, void * data, rc_pair_foreach_src_fn cb, unsigned int swz, unsigned int src) argument
169 rc_pair_foreach_source_that_alpha_reads( struct rc_pair_instruction * pair, void * data, rc_pair_foreach_src_fn cb) argument
184 rc_pair_foreach_source_that_rgb_reads( struct rc_pair_instruction * pair, void * data, rc_pair_foreach_src_fn cb) argument
[all...]
/external/libcxx/test/containers/associative/map/
H A Dtypes.pass.cpp13 // class Allocator = allocator<pair<const Key, T>>>
20 // typedef pair<const key_type, mapped_type> value_type;
42 static_assert((std::is_same<std::map<int, double>::value_type, std::pair<const int, double> >::value), "");
44 static_assert((std::is_same<std::map<int, double>::allocator_type, std::allocator<std::pair<const int, double> > >::value), "");
45 static_assert((std::is_same<std::map<int, double>::reference, std::pair<const int, double>&>::value), "");
46 static_assert((std::is_same<std::map<int, double>::const_reference, const std::pair<const int, double>&>::value), "");
47 static_assert((std::is_same<std::map<int, double>::pointer, std::pair<const int, double>*>::value), "");
48 static_assert((std::is_same<std::map<int, double>::const_pointer, const std::pair<const int, double>*>::value), "");
54 static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::key_type, int>::value), "");
55 static_assert((std::is_same<std::map<int, double, std::less<int>, min_allocator<std::pair<cons
[all...]
/external/libcxx/test/containers/associative/multimap/
H A Dtypes.pass.cpp13 // class Allocator = allocator<pair<const Key, T>>>
20 // typedef pair<const key_type, mapped_type> value_type;
42 static_assert((std::is_same<std::multimap<int, double>::value_type, std::pair<const int, double> >::value), "");
44 static_assert((std::is_same<std::multimap<int, double>::allocator_type, std::allocator<std::pair<const int, double> > >::value), "");
45 static_assert((std::is_same<std::multimap<int, double>::reference, std::pair<const int, double>&>::value), "");
46 static_assert((std::is_same<std::multimap<int, double>::const_reference, const std::pair<const int, double>&>::value), "");
47 static_assert((std::is_same<std::multimap<int, double>::pointer, std::pair<const int, double>*>::value), "");
48 static_assert((std::is_same<std::multimap<int, double>::const_pointer, const std::pair<const int, double>*>::value), "");
54 static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<const int, double>>>::key_type, int>::value), "");
55 static_assert((std::is_same<std::multimap<int, double, std::less<int>, min_allocator<std::pair<cons
[all...]
/external/stlport/stlport/stl/
H A D_pair.h51 struct pair { struct
58 pair() {} function in struct:pair
60 pair() : first(_T1()), second(_T2()) {} function in struct:pair
62 pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} function in struct:pair
66 pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) {} argument
68 pair(const pair<_T1,_T2>& __o) : first(__o.first), second(__o.second) {} argument
72 pair(__move_source<pair<_T function in struct:pair
81 operator ==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
85 operator <(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
92 operator !=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
96 operator >(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
100 operator <=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
104 operator >=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) argument
[all...]
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/
H A Darrow.pass.cpp22 const std::shared_ptr<std::pair<int, int> > p(new std::pair<int, int>(3, 4));

Completed in 742 milliseconds

1234567891011>>