Home
last modified time | relevance | path

Searched refs:pair (Results 1 – 25 of 1332) sorted by relevance

12345678910>>...54

/external/ppp/pppd/plugins/radius/
Davpair.c163 VALUE_PAIR *pair; in rc_avpair_gen() local
207 if ((pair = in rc_avpair_gen()
215 strcpy (pair->name, attr->name); in rc_avpair_gen()
216 pair->attribute = attr->value; in rc_avpair_gen()
217 pair->vendorcode = VENDOR_NONE; in rc_avpair_gen()
218 pair->type = attr->type; in rc_avpair_gen()
219 pair->next = (VALUE_PAIR *) NULL; in rc_avpair_gen()
225 memcpy (pair->strvalue, (char *) ptr, (size_t) attrlen); in rc_avpair_gen()
226 pair->strvalue[attrlen] = '\0'; in rc_avpair_gen()
227 pair->lvalue = attrlen; in rc_avpair_gen()
[all …]
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dmulti-level-substitution.cpp5 template<typename T, typename U> struct pair { }; struct
38 struct Inner<tuple<pair<Types, YTypes>...> > {
43 int check0[X<short, int, long>::Inner<tuple<pair<short, unsigned short>,
44 pair<int, unsigned int>,
45 pair<long, unsigned long>>
48 int check1[X<short, int>::Inner<tuple<pair<short, unsigned short>,
49 pair<int, unsigned int>,
50 pair<long, unsigned long>>
61 struct Inner<tuple<pair<Types, YTypes>...>,
67 int check2[X1<short, int, long>::Inner<tuple<pair<short, unsigned short>,
[all …]
Dp5.cpp3 template<typename T, typename U> struct pair;
14 typedef pair<Types..., int> expand_with_pacs; // okay
15 …typedef pair<Types, int...> expand_no_packs; // expected-error{{pack expansion does not contain a…
16 …typedef pair<pair<Types..., int>..., int> expand_with_expanded_nested; // expected-error{{pack exp…
25 …typedef tuple<pair<Types, OtherTypes>...> type; // expected-error{{pack expansion contains paramet…
31 tuple<pair<int, unsigned int>, pair<long, unsigned long> >*il_pairs_2 = il_pairs;
114 …typedef pair<Types, int> template_specialization; // expected-error{{declaration type contains une…
362 template<typename T, typename U> struct pair;
368 …typedef pair<OuterTypes, InnerTypes>* types; // expected-error{{declaration type contains unexpand…
372 …typedef pair<pair<VeryInnerTypes, OuterTypes>, pair<InnerTypes, OuterTypes> > types; // expected-e…
Dfixed-expansion.cpp3 template<typename T, typename U> struct pair { }; struct
19 typename V = pair<T, U>,
30 X0<int, int, pair<int, int>, pair<int, int>*>>::value,
45 typename V = pair<T, U>,
56 X0<char, int, pair<char, int>, pair<char, int>*>>::value,
/external/stlport/stlport/stl/
D_pair.h51 struct pair { struct
58 pair() {} in pair() argument
60 pair() : first(_T1()), second(_T2()) {} in pair() argument
62 pair(const _T1& __a, const _T2& __b) : first(__a), second(__b) {} in pair() function
66 pair(const pair<_U1, _U2>& __p) : first(__p.first), second(__p.second) {} in pair() argument
68 pair(const pair<_T1,_T2>& __o) : first(__o.first), second(__o.second) {} in pair() argument
72 pair(__move_source<pair<_T1, _T2> > src) : first(_STLP_PRIV _AsMoveSource(src.get().first)), in pair() argument
77 __TRIVIAL_DESTRUCTOR(pair)
81 inline bool _STLP_CALL operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
85 inline bool _STLP_CALL operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y) {
[all …]
/external/webkit/Source/WebCore/loader/mac/
DDocumentLoaderMac.cpp39 static void scheduleAll(const ResourceLoaderSet& loaders, SchedulePair* pair) in scheduleAll() argument
45 handle->schedule(pair); in scheduleAll()
48 static void unscheduleAll(const ResourceLoaderSet& loaders, SchedulePair* pair) in unscheduleAll() argument
54 handle->unschedule(pair); in unscheduleAll()
58 void DocumentLoader::schedule(SchedulePair* pair) in schedule() argument
62 m_mainResourceLoader->handle()->schedule(pair); in schedule()
63 scheduleAll(m_subresourceLoaders, pair); in schedule()
64 scheduleAll(m_plugInStreamLoaders, pair); in schedule()
65 scheduleAll(m_multipartSubresourceLoaders, pair); in schedule()
67 UNUSED_PARAM(pair); in schedule()
[all …]
/external/llvm/test/CodeGen/X86/
D2009-04-scale.ll5 …pl, [256 x %struct.pair], [256 x %struct.pair], [256 x %struct.pair], [256 x %struct.pair], [256 x…
7 %struct.pair = type { i64, i64 }
14 %3 = getelementptr %struct.array* null, i32 0, i32 3 ; <[256 x %struct.pair]*> [#uses=1]
15 %4 = getelementptr [256 x %struct.pair]* %3, i32 0, i32 %2 ; <%struct.pair*> [#uses=1]
16 %5 = getelementptr %struct.pair* %4, i32 0, i32 1 ; <i64*> [#uses=1]
/external/llvm/test/Transforms/GlobalOpt/
D2007-06-04-PackedStruct.ll6 %"struct.__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const int, int> > >" = type <{ i8 }>
7pair<const int, int>,std::_Select1st<std::pair<const int, int> >,std::less<int>,std::allocator<std…
8pair<const int, int>,std::_Select1st<std::pair<const int, int> >,std::less<int>,std::allocator<std…
10pair<const int, int> > >" = type { %"struct.std::_Rb_tree<int,std::pair<const int, int>,std::_Sele…
11 …,std::allocator<std::pair<const int, int> > >" zeroinitializer ; <%"struct.std::map<int,int,std::…
31 …store i8 0, i8* getelementptr (%"struct.std::map<int,int,std::less<int>,std::allocator<std::pair<c…
/external/qemu/android/utils/
Dini.c65 iniPair_init( IniPair* pair, const char* key, int keyLen, in iniPair_init() argument
68 AARRAY_NEW(pair->key, keyLen + valueLen + 2); in iniPair_init()
69 memcpy(pair->key, key, keyLen); in iniPair_init()
70 pair->key[keyLen] = 0; in iniPair_init()
72 pair->value = pair->key + keyLen + 1; in iniPair_init()
73 memcpy(pair->value, value, valueLen); in iniPair_init()
74 pair->value[valueLen] = 0; in iniPair_init()
78 iniPair_replaceValue( IniPair* pair, const char* value ) in iniPair_replaceValue() argument
80 char* key = pair->key; in iniPair_replaceValue()
84 iniPair_init(pair, key, keyLen, value, valueLen); in iniPair_replaceValue()
[all …]
/external/clang/test/SemaCXX/
DMicrosoftCompatibility.cpp72 struct pair { struct
73 pair(int v) { } in pair() function
74 void operator=(pair&& rhs) { } in operator =() argument
77 pair p0(3); in f()
78 pair p = p0; in f()
83 struct pair { struct
84 pair(int v) { } in pair() argument
85 pair(pair&& rhs) { } in pair() function
88 pair p0(3); in f()
89 pair p(4); in f()
/external/skia/src/core/
DSkPtrRecorder.cpp31 Pair pair; in find() local
32 pair.fPtr = ptr; in find()
34 int index = SkTSearch<Pair>(fList.begin(), count, pair, sizeof(pair), &Cmp); in find()
47 Pair pair; in add() local
48 pair.fPtr = ptr; in add()
50 int index = SkTSearch<Pair>(fList.begin(), count, pair, sizeof(pair), &Cmp); in add()
54 pair.fIndex = count + 1; in add()
55 *fList.insert(index) = pair; in add()
DSkMetaData.cpp49 PtrPair* pair = (PtrPair*)rec->data(); in reset() local
50 if (pair->fProc && pair->fPtr) { in reset()
51 pair->fPtr = pair->fProc(pair->fPtr, false); in reset()
98 PtrPair pair = { ptr, proc }; in setPtr() local
99 (void)this->set(name, &pair, sizeof(PtrPair), kPtr_Type, 1); in setPtr()
134 PtrPair* pair = (PtrPair*)rec->data(); in set() local
135 if (pair->fProc && pair->fPtr) { in set()
136 pair->fPtr = pair->fProc(pair->fPtr, true); in set()
189 const PtrPair* pair = (const PtrPair*)rec->data(); in findPtr() local
191 *ptr = pair->fPtr; in findPtr()
[all …]
/external/chromium/net/spdy/
Dspdy_session_unittest.cc130 HostPortProxyPair pair(test_host_port_pair, ProxyServer::Direct()); in TEST_F() local
133 EXPECT_FALSE(spdy_session_pool->HasSession(pair)); in TEST_F()
135 spdy_session_pool->Get(pair, BoundNetLog()); in TEST_F()
136 EXPECT_TRUE(spdy_session_pool->HasSession(pair)); in TEST_F()
155 EXPECT_FALSE(spdy_session_pool->HasSession(pair)); in TEST_F()
158 spdy_session_pool->Get(pair, BoundNetLog()); in TEST_F()
201 HostPortProxyPair pair(test_host_port_pair, ProxyServer::Direct()); in TEST_F() local
204 EXPECT_FALSE(spdy_session_pool->HasSession(pair)); in TEST_F()
206 spdy_session_pool->Get(pair, BoundNetLog()); in TEST_F()
207 EXPECT_TRUE(spdy_session_pool->HasSession(pair)); in TEST_F()
[all …]
/external/chromium/net/base/
Dx509_cert_types_mac.cc217 KeyValuePair *pair; in ParseDistinguishedName() local
219 NULL != (pair = name[rdn].pairs_list[0][pair_index].pairs); in ParseDistinguishedName()
221 switch (pair->value_type) { in ParseDistinguishedName()
225 AddTypeValuePair(pair->key, DataToString(pair->value), values); in ParseDistinguishedName()
228 AddTypeValuePair(pair->key, in ParseDistinguishedName()
229 Latin1DataToUTF8String(pair->value), in ParseDistinguishedName()
234 UTF16BigEndianToUTF8(reinterpret_cast<char16*>(pair->value.Data), in ParseDistinguishedName()
235 pair->value.Length / sizeof(char16), in ParseDistinguishedName()
237 AddTypeValuePair(pair->key, value, values); in ParseDistinguishedName()
242 UTF32BigEndianToUTF8(reinterpret_cast<char32*>(pair->value.Data), in ParseDistinguishedName()
[all …]
/external/openfst/src/include/fst/extensions/pdt/
Dpdtscript.h23 using std::pair; using std::make_pair;
49 const vector<pair<int64, int64> >&,
60 vector<pair<typename Arc::Label, typename Arc::Label> > parens( in PdtCompose()
77 const vector<pair<int64, int64> > &parens,
95 const vector<pair<int64, int64> >&,
103 vector<pair<typename Arc::Label, typename Arc::Label> > parens( in PdtExpand()
116 const vector<pair<int64, int64> > &parens,
120 const vector<pair<int64, int64> > &parens,
125 typedef args::Package<const vector<pair<int64, const FstClass*> > &,
127 vector<pair<int64, int64> > *,
[all …]
/external/webkit/Source/WebCore/page/mac/
DPageMac.cpp40 RefPtr<SchedulePair> pair = prpPair; in addSchedulePair() local
44 m_scheduledRunLoopPairs->add(pair); in addSchedulePair()
49 documentLoader->schedule(pair.get()); in addSchedulePair()
51 documentLoader->schedule(pair.get()); in addSchedulePair()
64 RefPtr<SchedulePair> pair = prpPair; in removeSchedulePair() local
65 m_scheduledRunLoopPairs->remove(pair); in removeSchedulePair()
70 documentLoader->unschedule(pair.get()); in removeSchedulePair()
72 documentLoader->unschedule(pair.get()); in removeSchedulePair()
/external/stlport/src/
Dlocale_catalog.cpp99 typedef hash_map<string, pair<void*, size_t>, hash<string>, equal_to<string> > Category_Map;
146 pair<Category_iterator, bool> result; in __acquire_category()
149pair<_Ht_iterator<_Slist_iterator<pair<const string,pair<void *,unsigned int> >,_Nonconst_traits<p… in __acquire_category()
151pair<_DBG_iter<_NonDbg_hashtable<pair<const string,pair<void *,unsigned int> >,string,hash<string>… in __acquire_category()
171 Category_Map::value_type __e(name, pair<void*,size_t>((void*)0,size_t(0))); in __acquire_category()
/external/linux-tools-perf/
Dbuiltin-test.c123 struct symbol *pair, *first_pair; in test__vmlinux_matches_kallsyms() local
132 pair = first_pair; in test__vmlinux_matches_kallsyms()
134 if (pair && pair->start == sym->start) { in test__vmlinux_matches_kallsyms()
136 if (strcmp(sym->name, pair->name) == 0) { in test__vmlinux_matches_kallsyms()
146 s64 skew = sym->end - pair->end; in test__vmlinux_matches_kallsyms()
151 sym->start, sym->name, sym->end, pair->end); in test__vmlinux_matches_kallsyms()
155 nnd = backwards ? rb_prev(&pair->rb_node) : in test__vmlinux_matches_kallsyms()
156 rb_next(&pair->rb_node); in test__vmlinux_matches_kallsyms()
161 pair = next; in test__vmlinux_matches_kallsyms()
168 pair = first_pair; in test__vmlinux_matches_kallsyms()
[all …]
/external/webkit/Tools/QueueStatusServer/model/
Dactiveworkitems.py56 def _append_item_time_pair(self, pair): argument
57 self.item_ids.append(pair[0])
58 self.item_dates.append(pair[1])
61 nonexpired_pairs = [pair for pair in self._item_time_pairs() if pair[0] != item_id]
83 nonexpired_pairs = [pair for pair in self._item_time_pairs() if pair[1] > one_hour_ago]
/external/dexmaker/src/dx/java/com/android/dx/rop/annotation/
DAnnotation.java142 for (NameValuePair pair : elements.values()) { in toHuman()
148 sb.append(pair.getName().toHuman()); in toHuman()
150 sb.append(pair.getValue().toHuman()); in toHuman()
182 public void put(NameValuePair pair) { in put() argument
185 if (pair == null) { in put()
189 elements.put(pair.getName(), pair); in put() local
199 public void add(NameValuePair pair) { in add() argument
202 if (pair == null) { in add()
206 CstString name = pair.getName(); in add()
212 elements.put(name, pair); in add()
/external/llvm/test/Transforms/GVN/
D2009-03-10-PREOnVoid.ll13pair<void* const, std::vector<ShadowInfo, std::allocator<ShadowInfo> > >,std::_Select1st<std::pair
14pair<void* const, std::vector<ShadowInfo, std::allocator<ShadowInfo> > >,std::_Select1st<std::pair
15 …%"struct.std::_Rb_tree_iterator<std::pair<void* const, std::vector<ShadowInfo, std::allocator<Shad…
17pair<std::_Rb_tree_iterator<std::pair<void* const, std::vector<ShadowInfo, std::allocator<ShadowIn…
18 %"struct.std::pair<void* const,void*>" = type { i8*, i8* }
37pair<std::_Rb_tree_iterator<std::pair<void* const, std::vector<ShadowInfo, std::allocator<ShadowIn…
/external/openfst/src/extensions/pdt/
Dpdtscript.cc26 using std::pair; using std::make_pair;
42 const vector<pair<int64, int64> > &parens, in PdtCompose()
55 const vector<pair<int64, int64> > &parens, in PdtExpand()
63 const vector<pair<int64, int64> > &parens, in PdtExpand()
68 void PdtReplace(const vector<pair<int64, const FstClass*> > &fst_tuples, in PdtReplace()
70 vector<pair<int64, int64> > *parens, in PdtReplace()
85 const vector<pair<int64, int64> > &parens, in PdtReverse()
93 const vector<pair<int64, int64> > &parens, in PdtShortestPath()
103 const vector<pair<int64, int64> > &parens) { in PrintPdtInfo()
/external/bluetooth/glib/glib/
Dgkeyfile.c145 static void g_key_file_key_value_pair_free (GKeyFileKeyValuePair *pair);
779 GKeyFileKeyValuePair *pair; in g_key_file_parse_comment() local
786 pair = g_slice_new (GKeyFileKeyValuePair); in g_key_file_parse_comment()
787 pair->key = NULL; in g_key_file_parse_comment()
788 pair->value = g_strndup (line, length); in g_key_file_parse_comment()
791 g_list_prepend (key_file->current_group->key_value_pairs, pair); in g_key_file_parse_comment()
1057 GKeyFileKeyValuePair *pair; in g_key_file_to_data() local
1059 pair = (GKeyFileKeyValuePair *) key_file_node->data; in g_key_file_to_data()
1061 if (pair->key != NULL) in g_key_file_to_data()
1062 g_string_append_printf (data_string, "%s=%s\n", pair->key, pair->value); in g_key_file_to_data()
[all …]
/external/openssl/android.testssl/
Dtestssl85 echo test sslv2 via BIO pair
88 echo test sslv2 with server authentication via BIO pair
92 echo test sslv2 with client authentication via BIO pair
95 echo test sslv2 with both client and server authentication via BIO pair
99 echo test sslv3 via BIO pair
102 echo test sslv3 with server authentication via BIO pair
105 echo test sslv3 with client authentication via BIO pair
108 echo test sslv3 with both client and server authentication via BIO pair
111 echo test sslv2/sslv3 via BIO pair
119 echo test sslv2/sslv3 with 1024bit DHE via BIO pair
[all …]
/external/srec/shared/src/
DSessionTypeImpl.c125 ESR_SessionPair* pair; in ESR_SessionTypeGetPropertyImpl() local
128 CHK(rc, HashMapGet(data->value, name, (void **)&pair)); in ESR_SessionTypeGetPropertyImpl()
129 if ( ( pair->type != type) && ( ( ( pair->type != TYPES_INT ) && ( type != TYPES_SIZE_T ) ) || in ESR_SessionTypeGetPropertyImpl()
130 ( ( type != TYPES_INT ) && ( pair->type != TYPES_SIZE_T ) ) ) ) in ESR_SessionTypeGetPropertyImpl()
132 PLogError(L("ESR_INVALID_RESULT_TYPE: [got=%d, expected=%d]"), type, pair->type); in ESR_SessionTypeGetPropertyImpl()
135 *value = pair->value; in ESR_SessionTypeGetPropertyImpl()
146 ESR_SessionPair* pair; in ESR_SessionTypeGetIntImpl() local
149 CHK(rc, HashMapGet(data->value, name, (void **)&pair)); in ESR_SessionTypeGetIntImpl()
150 if ( ( pair->type != TYPES_INT ) && ( pair->type != TYPES_SIZE_T ) ) in ESR_SessionTypeGetIntImpl()
152 PLogError(L("ESR_INVALID_RESULT_TYPE: [got=%d, expected=%d]"), TYPES_INT, pair->type); in ESR_SessionTypeGetIntImpl()
[all …]

12345678910>>...54