Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 4430) sorted by relevance

12345678910>>...178

/external/clang/test/Index/
Drecursive-member-access.c2 struct rdar8650865 *first; member
7 return ((((((s->first)->first) in test_rdar8650865()
8 ->first) in test_rdar8650865()
9 ->first) in test_rdar8650865()
10 ->first) in test_rdar8650865()
11 ->first) in test_rdar8650865()
12 ->first in test_rdar8650865()
13 ->first in test_rdar8650865()
14 ->first in test_rdar8650865()
15 ->first in test_rdar8650865()
[all …]
/external/libcxxabi/src/
Dcxa_demangle.cpp37 const char* parse_type(const char* first, const char* last, C& db);
39 const char* parse_encoding(const char* first, const char* last, C& db);
41 const char* parse_name(const char* first, const char* last, C& db,
44 const char* parse_expression(const char* first, const char* last, C& db);
46 const char* parse_template_args(const char* first, const char* last, C& db);
48 const char* parse_operator_name(const char* first, const char* last, C& db);
50 const char* parse_unqualified_name(const char* first, const char* last, C& db);
52 const char* parse_decltype(const char* first, const char* last, C& db);
61 fprintf(stderr, "{%s#%s}\n", s.first.c_str(), s.second.c_str()); in print_stack()
71 fprintf(stderr, "{%s#%s}", s.first.c_str(), s.second.c_str()); in print_stack()
[all …]
/external/libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/
Dinsert_rvalue.pass.cpp36 assert(r.first->first == 3.5); in main()
37 assert(r.first->second == 3); in main()
42 assert(r.first->first == 3.5); in main()
43 assert(r.first->second == 3); in main()
48 assert(r.first->first == 4.5); in main()
49 assert(r.first->second == 4); in main()
54 assert(r.first->first == 5.5); in main()
55 assert(r.first->second == 4); in main()
66 assert(r.first->first == 3); in main()
67 assert(r.first->second == 3); in main()
[all …]
Dinsert_const_lvalue.pass.cpp33 assert(r.first->first == 3.5); in main()
34 assert(r.first->second == 3); in main()
39 assert(r.first->first == 3.5); in main()
40 assert(r.first->second == 3); in main()
45 assert(r.first->first == 4.5); in main()
46 assert(r.first->second == 4); in main()
51 assert(r.first->first == 5.5); in main()
52 assert(r.first->second == 4); in main()
64 assert(r.first->first == 3.5); in main()
65 assert(r.first->second == 3); in main()
[all …]
/external/webrtc/webrtc/libjingle/xmllite/
Dxmlnsstack_unittest.cc29 EXPECT_EQ(std::string(NS_XML), stack.NsForPrefix("xml").first); in TEST()
30 EXPECT_EQ(std::string(NS_XMLNS), stack.NsForPrefix("xmlns").first); in TEST()
31 EXPECT_EQ("", stack.NsForPrefix("").first); in TEST()
33 EXPECT_EQ("xml", stack.PrefixForNs(NS_XML, false).first); in TEST()
34 EXPECT_EQ("xmlns", stack.PrefixForNs(NS_XMLNS, false).first); in TEST()
35 EXPECT_EQ("", stack.PrefixForNs("", false).first); in TEST()
36 EXPECT_EQ("", stack.PrefixForNs("", true).first); in TEST()
46 EXPECT_EQ("ns3", stack.NsForPrefix("pre1").first); in TEST()
48 EXPECT_EQ("ns2", stack.NsForPrefix("pre2").first); in TEST()
49 EXPECT_EQ("ns4", stack.NsForPrefix("").first); in TEST()
[all …]
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
Derase_key.pass.cpp59 assert(std::distance(eq.first, eq.second) == 2); in main()
60 C::const_iterator k = eq.first; in main()
61 assert(k->first == 1); in main()
64 assert(k->first == 1); in main()
67 assert(std::distance(eq.first, eq.second) == 2); in main()
68 k = eq.first; in main()
69 assert(k->first == 2); in main()
72 assert(k->first == 2); in main()
75 assert(std::distance(eq.first, eq.second) == 1); in main()
76 k = eq.first; in main()
[all …]
Derase_range.pass.cpp46 assert(std::distance(eq.first, eq.second) == 2); in main()
47 k = eq.first; in main()
48 assert(k->first == 1); in main()
51 assert(k->first == 1); in main()
54 assert(std::distance(eq.first, eq.second) == 2); in main()
55 k = eq.first; in main()
56 assert(k->first == 2); in main()
59 assert(k->first == 2); in main()
62 assert(std::distance(eq.first, eq.second) == 1); in main()
63 k = eq.first; in main()
[all …]
Dinsert_init.pass.cpp45 assert(std::distance(eq.first, eq.second) == 2); in main()
46 C::iterator k = eq.first; in main()
47 assert(k->first == 1); in main()
50 assert(k->first == 1); in main()
53 assert(std::distance(eq.first, eq.second) == 2); in main()
54 k = eq.first; in main()
55 assert(k->first == 2); in main()
58 assert(k->first == 2); in main()
61 assert(std::distance(eq.first, eq.second) == 1); in main()
62 k = eq.first; in main()
[all …]
/external/libcxx/test/std/containers/unord/unord.multimap/
Dequal_range_non_const.pass.cpp45 assert(std::distance(r.first, r.second) == 1); in main()
46 assert(r.first->first == 30); in main()
47 assert(r.first->second == "thirty"); in main()
49 assert(std::distance(r.first, r.second) == 0); in main()
51 assert(r.first->first == 50); in main()
52 assert(r.first->second == "fifty"); in main()
53 ++r.first; in main()
54 assert(r.first->first == 50); in main()
55 assert(r.first->second == "fiftyA"); in main()
56 ++r.first; in main()
[all …]
Dequal_range_const.pass.cpp45 assert(std::distance(r.first, r.second) == 1); in main()
46 assert(r.first->first == 30); in main()
47 assert(r.first->second == "thirty"); in main()
49 assert(std::distance(r.first, r.second) == 0); in main()
51 assert(r.first->first == 50); in main()
52 assert(r.first->second == "fifty"); in main()
53 ++r.first; in main()
54 assert(r.first->first == 50); in main()
55 assert(r.first->second == "fiftyA"); in main()
56 ++r.first; in main()
[all …]
/external/libcxx/test/std/containers/associative/map/map.modifiers/
Dinsert_cv.pass.cpp29 assert(r.first == m.begin()); in main()
31 assert(r.first->first == 2); in main()
32 assert(r.first->second == 2.5); in main()
36 assert(r.first == m.begin()); in main()
38 assert(r.first->first == 1); in main()
39 assert(r.first->second == 1.5); in main()
43 assert(r.first == prev(m.end())); in main()
45 assert(r.first->first == 3); in main()
46 assert(r.first->second == 3.5); in main()
50 assert(r.first == prev(m.end())); in main()
[all …]
Dinsert_rv.pass.cpp32 assert(r.first == m.begin()); in main()
34 assert(r.first->first == 2); in main()
35 assert(r.first->second == 2); in main()
39 assert(r.first == m.begin()); in main()
41 assert(r.first->first == 1); in main()
42 assert(r.first->second == 1); in main()
46 assert(r.first == prev(m.end())); in main()
48 assert(r.first->first == 3); in main()
49 assert(r.first->second == 3); in main()
53 assert(r.first == prev(m.end())); in main()
[all …]
Derase_key.pass.cpp43 assert(m.begin()->first == 1); in main()
45 assert(next(m.begin())->first == 2); in main()
47 assert(next(m.begin(), 2)->first == 3); in main()
49 assert(next(m.begin(), 3)->first == 4); in main()
51 assert(next(m.begin(), 4)->first == 5); in main()
53 assert(next(m.begin(), 5)->first == 6); in main()
55 assert(next(m.begin(), 6)->first == 7); in main()
57 assert(next(m.begin(), 7)->first == 8); in main()
63 assert(m.begin()->first == 1); in main()
65 assert(next(m.begin())->first == 2); in main()
[all …]
Derase_iter.pass.cpp51 assert(m.begin()->first == 1); in main()
53 assert(next(m.begin())->first == 2); in main()
55 assert(next(m.begin(), 2)->first == 3); in main()
57 assert(next(m.begin(), 3)->first == 5); in main()
59 assert(next(m.begin(), 4)->first == 6); in main()
61 assert(next(m.begin(), 5)->first == 7); in main()
63 assert(next(m.begin(), 6)->first == 8); in main()
69 assert(m.begin()->first == 2); in main()
71 assert(next(m.begin())->first == 3); in main()
73 assert(next(m.begin(), 2)->first == 5); in main()
[all …]
/external/libdivsufsort/lib/
Dtrsort.c79 tr_insertionsort(const saidx_t *ISAd, saidx_t *first, saidx_t *last) { in tr_insertionsort() argument
83 for(a = first + 1; a < last; ++a) { in tr_insertionsort()
85 do { *(b + 1) = *b; } while((first <= --b) && (*b < 0)); in tr_insertionsort()
86 if(b < first) { break; } in tr_insertionsort()
167 tr_pivot(const saidx_t *ISAd, saidx_t *first, saidx_t *last) { in tr_pivot() argument
171 t = last - first; in tr_pivot()
172 middle = first + t / 2; in tr_pivot()
176 return tr_median3(ISAd, first, middle, last - 1); in tr_pivot()
179 return tr_median5(ISAd, first, first + t, middle, last - 1 - t, last - 1); in tr_pivot()
183 first = tr_median3(ISAd, first, first + t, first + (t << 1)); in tr_pivot()
[all …]
Dsssort.c168 saidx_t *first, saidx_t *last, saidx_t depth) { in ss_insertionsort() argument
173 for(i = last - 2; first <= i; --i) { in ss_insertionsort()
263 ss_pivot(const sauchar_t *Td, const saidx_t *PA, saidx_t *first, saidx_t *last) { in ss_pivot() argument
267 t = last - first; in ss_pivot()
268 middle = first + t / 2; in ss_pivot()
272 return ss_median3(Td, PA, first, middle, last - 1); in ss_pivot()
275 return ss_median5(Td, PA, first, first + t, middle, last - 1 - t, last - 1); in ss_pivot()
279 first = ss_median3(Td, PA, first, first + t, first + (t << 1)); in ss_pivot()
282 return ss_median3(Td, PA, first, middle, last); in ss_pivot()
292 saidx_t *first, saidx_t *last, saidx_t depth) { in ss_partition() argument
[all …]
/external/clang/test/Sema/
Dloop-control.c5 int first = 1; in pr8880_1() local
6 for ( ; ({ if (first) { first = 0; continue; } 0; }); ) in pr8880_1()
11 void pr8880_2(int first) { in pr8880_2() argument
12 for ( ; ({ if (first) { first = 0; break; } 0; }); ) {} in pr8880_2()
15 void pr8880_3(int first) { in pr8880_3() argument
16 for ( ; ; (void)({ if (first) { first = 0; continue; } 0; })) {} in pr8880_3()
19 void pr8880_4(int first) { in pr8880_4() argument
20 for ( ; ; (void)({ if (first) { first = 0; break; } 0; })) {} in pr8880_4()
23 void pr8880_5 (int first) { in pr8880_5() argument
24 while(({ if (first) { first = 0; continue; } 0; })) {} in pr8880_5()
[all …]
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/
Dinit.pass.cpp50 assert(std::distance(eq.first, eq.second) == 2); in main()
51 C::const_iterator i = eq.first; in main()
52 assert(i->first == 1); in main()
55 assert(i->first == 1); in main()
58 assert(std::distance(eq.first, eq.second) == 2); in main()
59 i = eq.first; in main()
60 assert(i->first == 2); in main()
63 assert(i->first == 2); in main()
67 assert(std::distance(eq.first, eq.second) == 1); in main()
68 i = eq.first; in main()
[all …]
Dassign_move.pass.cpp65 assert(std::distance(eq.first, eq.second) == 2); in main()
66 C::const_iterator i = eq.first; in main()
67 assert(i->first == 1); in main()
70 assert(i->first == 1); in main()
73 assert(std::distance(eq.first, eq.second) == 2); in main()
74 i = eq.first; in main()
75 assert(i->first == 2); in main()
78 assert(i->first == 2); in main()
82 assert(std::distance(eq.first, eq.second) == 1); in main()
83 i = eq.first; in main()
[all …]
Drange.pass.cpp54 assert(std::distance(eq.first, eq.second) == 2); in main()
55 C::const_iterator i = eq.first; in main()
56 assert(i->first == 1); in main()
59 assert(i->first == 1); in main()
62 assert(std::distance(eq.first, eq.second) == 2); in main()
63 i = eq.first; in main()
64 assert(i->first == 2); in main()
67 assert(i->first == 2); in main()
71 assert(std::distance(eq.first, eq.second) == 1); in main()
72 i = eq.first; in main()
[all …]
/external/elfutils/lib/
Dlist.h33 #define CDBL_LIST_ADD_REAR(first, newp) \ argument
38 if (unlikely ((first) == NULL)) \
39 (first) = _newp->next = _newp->previous = _newp; \
42 _newp->next = (first); \
43 _newp->previous = (first)->previous; \
49 #define CDBL_LIST_DEL(first, elem) \ argument
53 assert (first != NULL && _elem != NULL \
54 && (first != elem \
55 || ({ __typeof (elem) _runp = first->next; \
56 while (_runp != first) \
[all …]
/external/webrtc/webrtc/system_wrappers/source/spreadsortlib/
Dspreadsort.hpp130 …spread_sort_rec(RandomAccessIter first, RandomAccessIter last, std::vector<RandomAccessIter> &bin_… in spread_sort_rec() argument
136 find_extremes(first, last, max, min); in spread_sort_rec()
141 …unsigned log_divisor = get_log_divisor(last - first, rough_log_2_size((size_t)(*max >> 0) - (*min … in spread_sort_rec()
149 for (RandomAccessIter current = first; current != last;) in spread_sort_rec()
152 bins[0] = first; in spread_sort_rec()
158 RandomAccessIter nextbinstart = first; in spread_sort_rec()
192 size_t max_count = get_max_count(log_divisor, last - first); in spread_sort_rec()
193 RandomAccessIter lastPos = first; in spread_sort_rec()
247 …spread_sort_rec(RandomAccessIter first, RandomAccessIter last, std::vector<RandomAccessIter> &bin_… in spread_sort_rec() argument
251 find_extremes(first, last, max, min, comp); in spread_sort_rec()
[all …]
/external/libcxx/test/std/containers/associative/multimap/multimap.modifiers/
Derase_iter.pass.cpp52 assert(m.begin()->first == 1); in main()
54 assert(next(m.begin())->first == 1); in main()
56 assert(next(m.begin(), 2)->first == 1); in main()
58 assert(next(m.begin(), 3)->first == 2); in main()
60 assert(next(m.begin(), 4)->first == 2); in main()
62 assert(next(m.begin(), 5)->first == 3); in main()
64 assert(next(m.begin(), 6)->first == 3); in main()
66 assert(next(m.begin(), 7)->first == 3); in main()
72 assert(next(m.begin(), 0)->first == 1); in main()
74 assert(next(m.begin(), 1)->first == 1); in main()
[all …]
/external/libcxx/test/std/containers/associative/set/
Dequal_range.pass.cpp43 assert(r.first == next(m.begin(), 0)); in main()
46 assert(r.first == next(m.begin(), 1)); in main()
49 assert(r.first == next(m.begin(), 2)); in main()
52 assert(r.first == next(m.begin(), 3)); in main()
55 assert(r.first == next(m.begin(), 4)); in main()
58 assert(r.first == next(m.begin(), 5)); in main()
61 assert(r.first == next(m.begin(), 6)); in main()
64 assert(r.first == next(m.begin(), 7)); in main()
67 assert(r.first == next(m.begin(), 0)); in main()
70 assert(r.first == next(m.begin(), 1)); in main()
[all …]
/external/libcxx/test/std/containers/associative/map/map.ops/
Dequal_range.pass.cpp44 assert(r.first == next(m.begin(), 0)); in main()
47 assert(r.first == next(m.begin(), 1)); in main()
50 assert(r.first == next(m.begin(), 2)); in main()
53 assert(r.first == next(m.begin(), 3)); in main()
56 assert(r.first == next(m.begin(), 4)); in main()
59 assert(r.first == next(m.begin(), 5)); in main()
62 assert(r.first == next(m.begin(), 6)); in main()
65 assert(r.first == next(m.begin(), 7)); in main()
68 assert(r.first == next(m.begin(), 0)); in main()
71 assert(r.first == next(m.begin(), 1)); in main()
[all …]

12345678910>>...178