Home
last modified time | relevance | path

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

12345678910>>...221

/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/swiftshader/third_party/llvm-subzero/lib/Demangle/
DItaniumDemangle.cpp40 static const char *parse_type(const char *first, const char *last, C &db);
42 static const char *parse_encoding(const char *first, const char *last, C &db);
44 static const char *parse_name(const char *first, const char *last, C &db,
47 static const char *parse_expression(const char *first, const char *last, C &db);
49 static const char *parse_template_args(const char *first, const char *last,
52 static const char *parse_operator_name(const char *first, const char *last,
55 static const char *parse_unqualified_name(const char *first, const char *last,
58 static const char *parse_decltype(const char *first, const char *last, C &db);
62 static const char *parse_number(const char *first, const char *last) { in parse_number() argument
63 if (first != last) { in parse_number()
[all …]
/external/libcxxabi/src/
Dcxa_demangle.cpp46 const char* parse_type(const char* first, const char* last, C& db);
48 const char* parse_encoding(const char* first, const char* last, C& db);
50 const char* parse_name(const char* first, const char* last, C& db,
53 const char* parse_expression(const char* first, const char* last, C& db);
55 const char* parse_template_args(const char* first, const char* last, C& db);
57 const char* parse_operator_name(const char* first, const char* last, C& db);
59 const char* parse_unqualified_name(const char* first, const char* last, C& db);
61 const char* parse_decltype(const char* first, const char* last, C& db);
70 fprintf(stderr, "{%s#%s}\n", s.first.c_str(), s.second.c_str()); in print_stack()
80 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.cpp38 assert(r.first->first == 3.5); in main()
39 assert(r.first->second == 3); in main()
44 assert(r.first->first == 3.5); in main()
45 assert(r.first->second == 3); in main()
50 assert(r.first->first == 4.5); in main()
51 assert(r.first->second == 4); in main()
56 assert(r.first->first == 5.5); in main()
57 assert(r.first->second == 4); in main()
67 assert(r.first->first == 3); in main()
68 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/
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 …]
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 …]
/external/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.modifiers/
Derase_key.pass.cpp60 assert(std::distance(eq.first, eq.second) == 2); in main()
61 C::const_iterator k = eq.first; in main()
62 assert(k->first == 1); in main()
65 assert(k->first == 1); in main()
68 assert(std::distance(eq.first, eq.second) == 2); in main()
69 k = eq.first; in main()
70 assert(k->first == 2); in main()
73 assert(k->first == 2); in main()
76 assert(std::distance(eq.first, eq.second) == 1); in main()
77 k = eq.first; in main()
[all …]
Derase_range.pass.cpp47 assert(std::distance(eq.first, eq.second) == 2); in main()
48 k = eq.first; in main()
49 assert(k->first == 1); in main()
52 assert(k->first == 1); in main()
55 assert(std::distance(eq.first, eq.second) == 2); in main()
56 k = eq.first; in main()
57 assert(k->first == 2); in main()
60 assert(k->first == 2); in main()
63 assert(std::distance(eq.first, eq.second) == 1); in main()
64 k = eq.first; 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 …]
/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/associative/map/map.modifiers/
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 …]
Dinsert_rv.pass.cpp36 assert(r.first == m.begin()); in do_insert_rv_test()
38 assert(r.first->first == 2); in do_insert_rv_test()
39 assert(r.first->second == 2); in do_insert_rv_test()
43 assert(r.first == m.begin()); in do_insert_rv_test()
45 assert(r.first->first == 1); in do_insert_rv_test()
46 assert(r.first->second == 1); in do_insert_rv_test()
50 assert(r.first == prev(m.end())); in do_insert_rv_test()
52 assert(r.first->first == 3); in do_insert_rv_test()
53 assert(r.first->second == 3); in do_insert_rv_test()
57 assert(r.first == prev(m.end())); in do_insert_rv_test()
[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/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/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/
Dinit.pass.cpp52 assert(std::distance(eq.first, eq.second) == 2); in main()
53 C::const_iterator i = eq.first; in main()
54 assert(i->first == 1); in main()
57 assert(i->first == 1); in main()
60 assert(std::distance(eq.first, eq.second) == 2); in main()
61 i = eq.first; in main()
62 assert(i->first == 2); in main()
65 assert(i->first == 2); in main()
69 assert(std::distance(eq.first, eq.second) == 1); in main()
70 i = eq.first; in main()
[all …]
Dassign_move.pass.cpp67 assert(std::distance(eq.first, eq.second) == 2); in main()
68 C::const_iterator i = eq.first; in main()
69 assert(i->first == 1); in main()
72 assert(i->first == 1); in main()
75 assert(std::distance(eq.first, eq.second) == 2); in main()
76 i = eq.first; in main()
77 assert(i->first == 2); in main()
80 assert(i->first == 2); in main()
84 assert(std::distance(eq.first, eq.second) == 1); in main()
85 i = eq.first; in main()
[all …]
Drange.pass.cpp56 assert(std::distance(eq.first, eq.second) == 2); in main()
57 C::const_iterator i = eq.first; in main()
58 assert(i->first == 1); in main()
61 assert(i->first == 1); in main()
64 assert(std::distance(eq.first, eq.second) == 2); in main()
65 i = eq.first; in main()
66 assert(i->first == 2); in main()
69 assert(i->first == 2); in main()
73 assert(std::distance(eq.first, eq.second) == 1); in main()
74 i = eq.first; in main()
[all …]
Dmove_alloc.pass.cpp64 assert(std::distance(eq.first, eq.second) == 2); in main()
65 C::const_iterator i = eq.first; in main()
66 assert(i->first == 1); in main()
69 assert(i->first == 1); in main()
72 assert(std::distance(eq.first, eq.second) == 2); in main()
73 i = eq.first; in main()
74 assert(i->first == 2); in main()
77 assert(i->first == 2); in main()
81 assert(std::distance(eq.first, eq.second) == 1); in main()
82 i = eq.first; in main()
[all …]
/external/curl/lib/
Dstrcase.c108 int Curl_strcasecompare(const char *first, const char *second) in Curl_strcasecompare() argument
110 while(*first && *second) { in Curl_strcasecompare()
111 if(Curl_raw_toupper(*first) != Curl_raw_toupper(*second)) in Curl_strcasecompare()
114 first++; in Curl_strcasecompare()
120 return (Curl_raw_toupper(*first) == Curl_raw_toupper(*second)); in Curl_strcasecompare()
123 int Curl_safe_strcasecompare(const char *first, const char *second) in Curl_safe_strcasecompare() argument
125 if(first && second) in Curl_safe_strcasecompare()
127 return Curl_strcasecompare(first, second); in Curl_safe_strcasecompare()
130 return (NULL == first && NULL == second); in Curl_safe_strcasecompare()
136 int Curl_strncasecompare(const char *first, const char *second, size_t max) in Curl_strncasecompare() argument
[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.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 …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_util.c38 void draw_pt_split_prim(unsigned prim, unsigned *first, unsigned *incr) in draw_pt_split_prim() argument
42 *first = 1; in draw_pt_split_prim()
46 *first = 2; in draw_pt_split_prim()
51 *first = 2; in draw_pt_split_prim()
55 *first = 4; in draw_pt_split_prim()
59 *first = 4; in draw_pt_split_prim()
63 *first = 3; in draw_pt_split_prim()
67 *first = 6; in draw_pt_split_prim()
73 *first = 3; in draw_pt_split_prim()
77 *first = 6; in draw_pt_split_prim()
[all …]
/external/libcxx/test/std/containers/associative/map/map.ops/
Dequal_range.pass.cpp45 assert(r.first == next(m.begin(), 0)); in main()
48 assert(r.first == next(m.begin(), 1)); in main()
51 assert(r.first == next(m.begin(), 2)); in main()
54 assert(r.first == next(m.begin(), 3)); in main()
57 assert(r.first == next(m.begin(), 4)); in main()
60 assert(r.first == next(m.begin(), 5)); in main()
63 assert(r.first == next(m.begin(), 6)); in main()
66 assert(r.first == next(m.begin(), 7)); in main()
69 assert(r.first == next(m.begin(), 0)); in main()
72 assert(r.first == next(m.begin(), 1)); in main()
[all …]

12345678910>>...221