Searched defs:pair (Results 76 - 100 of 204) sorted by relevance

123456789

/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/
H A Dp3-0x.cpp19 struct pair { struct in namespace:std
20 pair(const A&, const B&);
52 Map(std::initializer_list<std::pair<std::string,int>>) {}
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dmetafunctions.cpp17 template<typename T, typename U> struct pair { }; struct
271 int check0[is_same<replace_with_int<pair<tuple<float, double, short>,
272 pair<char, unsigned char>>>::type,
273 pair<tuple<int, int, int>, pair<int, int>>>::value? 1 : -1];
H A 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<shor
[all...]
/external/clang/test/CodeGenCXX/
H A Dconstructor-init.cpp224 struct pair : X { // Make the copy constructor non-trivial, so we actually generate it. struct in namespace:PR10720
230 pair(const pair&) = default;
233 void foo(const pair &x, const pair2 &x2) {
234 pair y(x);
H A Dpointers-to-data-members.cpp136 struct pair { struct in namespace:PR7139
141 typedef int pair::*ptr_to_member_type;
/external/clang/test/SemaTemplate/
H A Dtypename-specifier.cpp27 // expected-note{{add a pair of parentheses}} expected-warning 2{{'typename' occurs outside of a template}}
122 template <class T1, class T2> struct pair {}; // expected-note 7 {{template parameter is declared here}} struct in namespace:missing_typename
145 pair<ExampleItemSet::iterator, int> i;
146 pair<this->ExampleItemSet::iterator, int> i; // expected-error-re {{template argument for template type parameter must be a type{{$}}}}
147 pair<ExampleItemSet::operator[], int> i; // expected-error-re {{template argument for template type parameter must be a type{{$}}}}
154 pair<ExampleItemSet::iterator, int> elt;
165 pair<ExampleItemMap::iterator, int> i;
172 pair<ExampleItemMap::iterator, int> entry;
173 pair<bar, int> foobar; // expected-error {{template argument for template type parameter must be a type}}
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stackdepot.cc144 IdDescPair pair = {s->id, s}; local
145 map_.push_back(pair);
153 IdDescPair pair = {id, 0};
154 uptr idx = InternalBinarySearch(map_, 0, map_.size(), pair,
/external/fio/
H A Djson.c27 struct json_pair *pair = malloc(sizeof(struct json_pair)); local
28 if (pair) {
29 pair->name = strdup(name);
30 pair->value = value;
33 value->parent_pair = pair;
35 return pair;
128 static void json_free_pair(struct json_pair *pair);
151 static void json_free_pair(struct json_pair *pair) argument
153 json_free_value(pair->value);
154 free(pair
190 json_object_add_pair(struct json_object *obj, struct json_pair *pair) argument
207 struct json_pair *pair; local
281 json_pair_level(struct json_pair *pair) argument
323 json_print_pair(struct json_pair *pair) argument
[all...]
/external/fonttools/Lib/fontTools/
H A DafmLib.py260 def has_kernpair(self, pair):
261 return pair in self._kerning
366 pair = ('A', 'V') variable
367 if afm.has_kernpair(pair):
368 print(afm[pair]) # print kerning value for pair
/external/fonttools/Tools/fontTools/
H A DafmLib.py260 def has_kernpair(self, pair):
261 return pair in self._kerning
366 pair = ('A', 'V') variable
367 if afm.has_kernpair(pair):
368 print(afm[pair]) # print kerning value for pair
/external/icu/icu4c/source/i18n/
H A Dcollationfastlatin.cpp108 * Single mini CE or a pair.
445 * Single mini CE or a pair.
931 CollationFastLatin::getSecondaries(uint32_t variableTop, uint32_t pair) { argument
932 if(pair <= 0xffff) {
934 if(pair >= MIN_SHORT) {
935 pair = getSecondariesFromOneShortCE(pair);
936 } else if(pair > variableTop) {
937 pair = COMMON_SEC_PLUS_OFFSET;
938 } else if(pair >
957 getCases(uint32_t variableTop, UBool strengthIsPrimary, uint32_t pair) argument
998 getTertiaries(uint32_t variableTop, UBool withCaseBits, uint32_t pair) argument
1049 getQuaternaries(uint32_t variableTop, uint32_t pair) argument
[all...]
H A Dcollationfastlatin.h101 * Use INDEX_MASK to find the pair of CEs after the fixed table.
229 static inline uint32_t getPrimaries(uint32_t variableTop, uint32_t pair) { argument
230 uint32_t ce = pair & 0xffff;
231 if(ce >= MIN_SHORT) { return pair & TWO_SHORT_PRIMARIES_MASK; }
232 if(ce > variableTop) { return pair & TWO_LONG_PRIMARIES_MASK; }
234 return pair; // special mini CE
244 static uint32_t getSecondaries(uint32_t variableTop, uint32_t pair);
245 static uint32_t getCases(uint32_t variableTop, UBool strengthIsPrimary, uint32_t pair);
246 static uint32_t getTertiaries(uint32_t variableTop, UBool withCaseBits, uint32_t pair);
247 static uint32_t getQuaternaries(uint32_t variableTop, uint32_t pair);
[all...]
/external/ipsec-tools/src/racoon/
H A Dproposal.c1176 struct prop_pair **pair; local
1180 /* get proposal pair */
1181 pair = get_proppair(iph2->sa, IPSECDOI_TYPE_PH2);
1182 if (pair == NULL)
1190 if (pair[i] == NULL)
1196 pp_peer = aproppair2saprop(pair[i]);
1291 if (pair)
1292 free_proppair(pair);
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/
H A Dhist.c35 struct hist_entry *pair; local
40 list_for_each_entry(pair, &he->pairs.head, pairs.node) {
41 u64 period = get_field(pair);
42 u64 total = pair->hists->stats.total_period;
47 evsel = hists_to_evsel(pair->hists);
/external/lzma/CPP/7zip/UI/Common/
H A DEnumDirItems.cpp354 const NWildcard::CPair &pair = censor.Pairs[i]; local
355 int phyParent = pair.Prefix.IsEmpty() ? -1 : dirItems.AddPrefix(-1, -1, pair.Prefix);
356 RINOK(EnumerateDirItems(pair.Head, phyParent, -1, pair.Prefix, UStringVector(), dirItems, false,
/external/openfst/src/include/fst/extensions/pdt/
H A Dpdt.h58 PdtStack(const vector<pair<Label, Label> > &parens)
61 const pair<Label, Label> &p = parens[i];
132 size_t operator()(const pair<StackId, Label> &p) const { argument
139 vector<pair<Label, Label> > parens_;
142 unordered_map<pair<StackId, Label>,
H A Dreplace.h35 size_t operator()(const pair<size_t, S> &p) const { argument
51 void Replace(const vector<pair<typename Arc::Label,
54 vector<pair<typename Arc::Label,
81 vector< vector<pair<StateId, Weight> > > fst_final(ifst_array.size());
137 typedef unordered_map<pair<size_t, StateId >, size_t,
140 // Parenthesis pair ID per fst, state pair.
159 // Get parentheses. Ensures distinct parenthesis pair per
162 pair<size_t, StateId> paren_key(nfst_id, arc.nextstate);
183 pair<StateI
[all...]
/external/openfst/src/include/fst/
H A Dutil.h104 inline istream &ReadType(istream &strm, pair<S, T> *p) {
111 inline istream &ReadType(istream &strm, pair<const S, T> *p) {
205 inline ostream &WriteType(ostream &strm, const pair<S, T> &p) { argument
276 vector<pair<I, I> >* pairs,
316 const vector<pair<I, I> >& pairs) {
343 vector<pair<Label, Label> >* pairs,
350 vector<pair<Label, Label> >& pairs) {
/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/sfntly/cpp/src/sfntly/table/bitmap/
H A Dindex_sub_table_format4.cc316 CodeOffsetPairBuilder* pair = &(pair_list->at(location)); local
317 if (glyph_id < pair->glyph_code()) {
320 } else if (glyph_id > pair->glyph_code()) {
/external/skia/src/core/
H A DSkMetaData.cpp49 PtrPair* pair = (PtrPair*)rec->data(); local
50 if (pair->fProc && pair->fPtr) {
51 pair->fPtr = pair->fProc(pair->fPtr, false);
98 PtrPair pair = { ptr, proc }; local
99 (void)this->set(name, &pair, sizeof(PtrPair), kPtr_Type, 1);
134 PtrPair* pair = (PtrPair*)rec->data(); local
135 if (pair
189 const PtrPair* pair = (const PtrPair*)rec->data(); local
258 PtrPair* pair = (PtrPair*)rec->data(); local
[all...]
H A DSkRecordOpts.cpp268 Pair pair = { fIndex, push }; local
269 fPushStack.push(pair);
/external/chromium_org/android_webview/native/
H A Daw_contents_io_thread_client_impl.cc42 using std::pair;
59 typedef map<pair<int, int>, IoThreadClientData>
62 static pair<int, int> GetRenderFrameHostIdPair(RenderFrameHost* rfh) {
63 return pair<int, int>(rfh->GetProcess()->GetID(), rfh->GetRoutingID());
70 void Set(pair<int, int> rfh_id, const IoThreadClientData& client);
71 bool Get(pair<int, int> rfh_id, IoThreadClientData* client);
72 void Erase(pair<int, int> rfh_id);
89 void RfhToIoThreadClientMap::Set(pair<int, int> rfh_id,
96 pair<int, int> rfh_id, IoThreadClientData* client) {
107 void RfhToIoThreadClientMap::Erase(pair<in
95 Get( pair<int, int> rfh_id, IoThreadClientData* client) argument
[all...]
/external/chromium_org/base/i18n/
H A Dbuild_utf8_validator_tables.cc185 Pair pair = {Character(bytes, bytes + offset), StringSet()}; local
186 vector.push_back(pair);
/external/chromium_org/chrome/browser/chromeos/display/
H A Ddisplay_preferences.cc209 void StoreDisplayLayoutPref(const ash::DisplayIdPair& pair, argument
212 base::Int64ToString(pair.first) + "," + base::Int64ToString(pair.second);
233 ash::DisplayIdPair pair = GetDisplayManager()->GetCurrentDisplayIdPair(); local
235 GetDisplayManager()->layout_store()->GetRegisteredDisplayLayout(pair);
236 StoreDisplayLayoutPref(pair, display_layout);

Completed in 890 milliseconds

123456789