Searched refs:first (Results 151 - 175 of 9193) sorted by relevance

1234567891011>>

/external/libcxx/test/algorithms/alg.sorting/alg.min.max/
H A Dminmax_element_comp.pass.cpp15 // minmax_element(Iter first, Iter last, Compare comp);
25 test(Iter first, Iter last) argument
29 std::pair<Iter, Iter> p = std::minmax_element(first, last, comp);
30 if (first != last)
32 for (Iter j = first; j != last; ++j)
34 assert(!comp(*j, *p.first));
40 assert(p.first == last);
76 assert(base(p.first) == a);
/external/libcxx/test/containers/associative/map/map.modifiers/
H A Demplace.pass.cpp35 assert(r.first == m.begin());
37 assert(m.begin()->first == 0);
43 assert(r.first == next(m.begin()));
45 assert(next(m.begin())->first == 1);
51 assert(r.first == next(m.begin()));
53 assert(next(m.begin())->first == 1);
65 assert(r.first == m.begin());
67 assert(m.begin()->first == 2);
72 assert(r.first == m.begin());
74 assert(m.begin()->first
[all...]
/external/libcxx/test/containers/unord/unord.multimap/unord.multimap.cnstr/
H A Dmove.pass.cpp94 assert(std::distance(eq.first, eq.second) == 2);
95 C::const_iterator i = eq.first;
96 assert(i->first == 1);
99 assert(i->first == 1);
102 assert(std::distance(eq.first, eq.second) == 2);
103 i = eq.first;
104 assert(i->first == 2);
107 assert(i->first == 2);
111 assert(std::distance(eq.first, eq.second) == 1);
112 i = eq.first;
[all...]
H A Dcopy_alloc.pass.cpp56 assert(i->first == 1);
59 assert(i->first == 1);
62 assert(i->first == 2);
65 assert(i->first == 2);
68 assert(i->first == 3);
71 assert(i->first == 4);
110 assert(i->first == 1);
113 assert(i->first == 1);
116 assert(i->first == 2);
119 assert(i->first
[all...]
/external/libcxx/test/containers/associative/set/
H A Dequal_range.pass.cpp43 assert(r.first == next(m.begin(), 0));
46 assert(r.first == next(m.begin(), 1));
49 assert(r.first == next(m.begin(), 2));
52 assert(r.first == next(m.begin(), 3));
55 assert(r.first == next(m.begin(), 4));
58 assert(r.first == next(m.begin(), 5));
61 assert(r.first == next(m.begin(), 6));
64 assert(r.first == next(m.begin(), 7));
67 assert(r.first == next(m.begin(), 0));
70 assert(r.first
[all...]
/external/mockito/src/org/mockito/
H A DAdditionalMatchers.java569 * @param first
570 * placeholder for the first argument matcher.
575 public static boolean and(boolean first, boolean second) { argument
584 * @param first
585 * placeholder for the first argument matcher.
590 public static byte and(byte first, byte second) { argument
599 * @param first
600 * placeholder for the first argument matcher.
605 public static char and(char first, char second) { argument
614 * @param first
620 and(double first, double second) argument
635 and(float first, float second) argument
650 and(int first, int second) argument
665 and(long first, long second) argument
680 and(short first, short second) argument
697 and(T first, T second) argument
712 or(boolean first, boolean second) argument
729 or(T first, T second) argument
744 or(short first, short second) argument
759 or(long first, long second) argument
774 or(int first, int second) argument
789 or(float first, float second) argument
804 or(double first, double second) argument
819 or(char first, char second) argument
834 or(byte first, byte second) argument
849 not(T first) argument
862 not(short first) argument
875 not(int first) argument
888 not(long first) argument
901 not(float first) argument
914 not(double first) argument
927 not(char first) argument
940 not(boolean first) argument
953 not(byte first) argument
[all...]
/external/chromium_org/components/policy/core/common/
H A Dschema_map.cc43 if (it->first.domain == POLICY_DOMAIN_CHROME)
46 const Schema* schema = GetSchema(it->first);
59 if (it->first.domain == POLICY_DOMAIN_EXTENSIONS &&
60 it->first.component_id == kLegacyBrowserSupportExtensionId) {
73 const std::string& policy_name = it_map->first;
85 << it->first.component_id
97 if (domain->first == POLICY_DOMAIN_CHROME)
120 PolicyNamespace ns(domain->first, comp->first);
/external/libcxx/test/re/re.alg/re.alg.match/
H A Degrep.pass.cpp14 // regex_match(BidirectionalIterator first, BidirectionalIterator last,
33 assert(m.prefix().first == s);
34 assert(m.prefix().second == m[0].first);
36 assert(m.suffix().first == m[0].second);
56 assert(m.prefix().first == s);
57 assert(m.prefix().second == m[0].first);
59 assert(m.suffix().first == m[0].second);
72 assert(m.prefix().first == s);
73 assert(m.prefix().second == m[0].first);
75 assert(m.suffix().first
[all...]
/external/oprofile/libpp/
H A Dsymbol_container.cpp32 symbol_entry * symbol = const_cast<symbol_entry*>(&*p.first);
36 return &*p.first;
53 for ( ; p_it.first != p_it.second; ++p_it.first)
54 result.push_back(*p_it.first);
70 it first = symbols_by_loc.lower_bound(&symbol); local
75 for ( ; first != last ; ++first)
76 result.push_back(*first);
/external/stlport/test/unit/
H A Dmismatch_test.cpp45 CPPUNIT_ASSERT(result.first ==(n1 + 5) && result.second ==(n2 + 5));
48 CPPUNIT_ASSERT(!(result.first ==(n1 + 5) && result.second ==(n3 + 5)));
49 CPPUNIT_ASSERT((result.first - n1)==3);
60 CPPUNIT_ASSERT(result.first == v1.end() && result.second == v2.end());
64 CPPUNIT_ASSERT(!(result.first == v1.end() && result.second == v2.end()));
65 CPPUNIT_ASSERT((result.first - v1.begin())==5);
76 CPPUNIT_ASSERT(result.first == n1 + size && result.second == n2 + size);
80 CPPUNIT_ASSERT(!(result.first == n2 + size && result.second == n2 + size));
81 CPPUNIT_ASSERT((result.first - n1)==2);
/external/chromium_org/third_party/icu/source/common/
H A Dfilterednormalizer2.cpp87 FilteredNormalizer2::normalizeSecondAndAppend(UnicodeString &first, argument
90 return normalizeSecondAndAppend(first, second, TRUE, errorCode);
94 FilteredNormalizer2::append(UnicodeString &first, argument
97 return normalizeSecondAndAppend(first, second, FALSE, errorCode);
101 FilteredNormalizer2::normalizeSecondAndAppend(UnicodeString &first, argument
105 uprv_checkCanGetBuffer(first, errorCode);
108 return first;
110 if(&first==&second) {
112 return first;
114 if(first
[all...]
/external/icu/icu4c/source/common/
H A Dfilterednormalizer2.cpp87 FilteredNormalizer2::normalizeSecondAndAppend(UnicodeString &first, argument
90 return normalizeSecondAndAppend(first, second, TRUE, errorCode);
94 FilteredNormalizer2::append(UnicodeString &first, argument
97 return normalizeSecondAndAppend(first, second, FALSE, errorCode);
101 FilteredNormalizer2::normalizeSecondAndAppend(UnicodeString &first, argument
105 uprv_checkCanGetBuffer(first, errorCode);
108 return first;
110 if(&first==&second) {
112 return first;
114 if(first
[all...]
/external/libcxx/test/containers/sequences/vector.bool/
H A Dconstruct_iter_iter.pass.cpp13 // template <class InputIter> vector(InputIter first, InputIter last);
23 test(Iterator first, Iterator last) argument
25 C c(first, last);
27 assert(c.size() == std::distance(first, last));
28 for (typename C::const_iterator i = c.cbegin(), e = c.cend(); i != e; ++i, ++first)
29 assert(*i == *first);
/external/libcxx/test/strings/basic.string/string.ops/string_find.first.not.of/
H A DAndroid.mk17 test_makefile := external/libcxx/test/strings/basic.string/string.ops/string_find.first.not.of/Android.mk
19 test_name := strings/basic.string/string.ops/string_find.first.not.of/string_size
23 test_name := strings/basic.string/string.ops/string_find.first.not.of/pointer_size
27 test_name := strings/basic.string/string.ops/string_find.first.not.of/pointer_size_size
31 test_name := strings/basic.string/string.ops/string_find.first.not.of/char_size
/external/libcxx/test/strings/basic.string/string.ops/string_find.first.of/
H A DAndroid.mk17 test_makefile := external/libcxx/test/strings/basic.string/string.ops/string_find.first.of/Android.mk
19 test_name := strings/basic.string/string.ops/string_find.first.of/string_size
23 test_name := strings/basic.string/string.ops/string_find.first.of/pointer_size
27 test_name := strings/basic.string/string.ops/string_find.first.of/pointer_size_size
31 test_name := strings/basic.string/string.ops/string_find.first.of/char_size
/external/oprofile/libregex/tests/
H A Dregex_test.cpp37 bool first = true; local
43 if (first) {
45 first = false;
48 first = true;
61 if (!first)
/external/mockito/cglib-and-asm/src/org/mockito/asm/util/
H A DASMifierClassVisitor.java434 boolean first = true;
437 first = false;
441 first = false;
445 first = false;
448 if (!first) {
452 first = false;
455 if (!first) {
459 first = false;
462 if (!first) {
470 first
[all...]
/external/chromium_org/net/tools/quic/test_tools/
H A Dmock_epoll_server.cc34 event_queue_.begin()->first <= NowInUsec() &&
36 (event_queue_.begin()->first < until_in_usec_))
38 int64 event_time_in_usec = event_queue_.begin()->first;
/external/chromium_org/third_party/boringssl/src/crypto/asn1/
H A Dt_bitst.c66 char first = 1; local
70 if(!first) BIO_puts(out, ", ");
72 first = 0;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
H A Dsp_quad_pipe.c37 quad->next = sp->quad.first;
38 sp->quad.first = quad;
53 sp->quad.first = sp->quad.blend;
/external/chromium_org/tools/perf/measurements/
H A Dloading_measurement_analyzer_unittest.py14 def assertIn(self, first, second, _=None):
15 self.assertTrue(first in second,
16 msg="'%s' not found in '%s'" % (first, second))
/external/chromium_org/v8/src/
H A Ddata-flow.cc15 bool first = true; local
19 if (!first) PrintF(",");
20 first = false;
/external/elfutils/0.153/libebl/
H A Deblmachineflagname.c74 int first = 1; local
80 if (! first)
104 first = 0;
/external/jsilver/src/com/google/clearsilver/jsilver/data/
H A DChainedData.java30 * Note: If you have elements foo.1, foo.2, foo.3 in first Data object and foo.4, foo.5, foo.6 in
31 * second Data object, then fetching children of foo will return only foo.1 foo.2 foo.3 from first
73 Data first = dataList[0];
74 if (first == null) {
77 return first;
84 Data first = dataList.get(0);
85 if (first == null) {
88 return first;
94 Data first = null;
99 // If not in debug mode just return the first matc
[all...]
/external/libcxx/test/algorithms/alg.nonmodifying/alg.find.first.of/
H A DAndroid.mk17 test_makefile := external/libcxx/test/algorithms/alg.nonmodifying/alg.find.first.of/Android.mk
19 test_name := algorithms/alg.nonmodifying/alg.find.first.of/find_first_of_pred
23 test_name := algorithms/alg.nonmodifying/alg.find.first.of/find_first_of

Completed in 891 milliseconds

1234567891011>>