Searched defs:last (Results 1 - 25 of 895) sorted by relevance

1234567891011>>

/external/libcxx/test/algorithms/alg.sorting/alg.binary.search/equal.range/
H A Dequal_range.pass.cpp16 // equal_range(Iter first, Iter last, const T& value);
26 test(Iter first, Iter last, const T& value) argument
28 std::pair<Iter, Iter> i = std::equal_range(first, last, value);
31 for (Iter j = i.first; j != last; ++j)
35 for (Iter j = i.second; j != last; ++j)
/external/libcxx/test/algorithms/alg.sorting/alg.binary.search/lower.bound/
H A Dlower_bound.pass.cpp15 // lower_bound(Iter first, Iter last, const T& value);
25 test(Iter first, Iter last, const T& value) argument
27 Iter i = std::lower_bound(first, last, value);
30 for (Iter j = i; j != last; ++j)
/external/libcxx/test/algorithms/alg.sorting/alg.binary.search/upper.bound/
H A Dupper_bound.pass.cpp15 // upper_bound(Iter first, Iter last, const T& value);
25 test(Iter first, Iter last, const T& value) argument
27 Iter i = std::upper_bound(first, last, value);
30 for (Iter j = i; j != last; ++j)
/external/chromium_org/chrome/browser/spellchecker/
H A Dword_trimmer.cc21 // A circular buffer of the last |keep + 1| words seen before position |start|
25 size_t last = std::string::npos; local
33 last = iter.pos();
41 last = iter.pos();
49 return text.substr(first, last - first);
/external/chromium_org/v8/test/mjsunit/
H A Dsubstr.js141 var last = x; variable
144 var z = last.substring(i);
145 last = z;
/external/libcxx/test/algorithms/alg.sorting/alg.min.max/
H A Dmax_element.pass.cpp15 // max_element(Iter first, Iter last);
24 test(Iter first, Iter last) argument
26 Iter i = std::max_element(first, last);
27 if (first != last)
29 for (Iter j = first; j != last; ++j)
33 assert(i == last);
H A Dmax_element_comp.pass.cpp15 // max_element(Iter first, Iter last, Compare comp);
25 test(Iter first, Iter last) argument
27 Iter i = std::max_element(first, last, std::greater<int>());
28 if (first != last)
30 for (Iter j = first; j != last; ++j)
34 assert(i == last);
H A Dmin_element.pass.cpp15 // min_element(Iter first, Iter last);
24 test(Iter first, Iter last) argument
26 Iter i = std::min_element(first, last);
27 if (first != last)
29 for (Iter j = first; j != last; ++j)
33 assert(i == last);
H A Dmin_element_comp.pass.cpp15 // min_element(Iter first, Iter last, Compare comp);
25 test(Iter first, Iter last) argument
27 Iter i = std::min_element(first, last, std::greater<int>());
28 if (first != last)
30 for (Iter j = first; j != last; ++j)
34 assert(i == last);
H A Dminmax_element.pass.cpp15 // minmax_element(Iter first, Iter last);
24 test(Iter first, Iter last) argument
26 std::pair<Iter, Iter> p = std::minmax_element(first, last);
27 if (first != last)
29 for (Iter j = first; j != last; ++j)
37 assert(p.first == last);
38 assert(p.second == last);
/external/libcxx/test/containers/sequences/vector/vector.cons/
H A Dconstruct_iter_iter.pass.cpp12 // 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));
/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));
H A Dconstruct_iter_iter_alloc.pass.cpp13 // template <class InputIter> vector(InputIter first, InputIter last,
24 test(Iterator first, Iterator last, const typename C::allocator_type& a) argument
26 C c(first, last, a);
28 assert(c.size() == std::distance(first, last));
/external/libcxx/test/iterators/iterator.primitives/iterator.operations/
H A Ddistance.pass.cpp14 // distance(Iter first, Iter last);
18 // distance(Iter first, Iter last);
27 test(It first, It last, typename std::iterator_traits<It>::difference_type x) argument
29 assert(std::distance(first, last) == x);
/external/libcxx/test/re/re.regex/re.regex.construct/
H A Diter_iter.pass.cpp15 // basic_regex(ForwardIterator first, ForwardIterator last);
24 test(Iter first, Iter last, unsigned mc) argument
26 std::basic_regex<typename std::iterator_traits<Iter>::value_type> r(first, last);
/external/libcxx/test/strings/basic.string/string.modifiers/string_append/
H A Diterator.pass.cpp13 // basic_string& append(InputIterator first, InputIterator last);
23 test(S s, It first, It last, S expected) argument
25 s.append(first, last);
/external/libcxx/test/strings/basic.string/string.modifiers/string_assign/
H A Diterator.pass.cpp13 // basic_string& assign(InputIterator first, InputIterator last);
23 test(S s, It first, It last, S expected) argument
25 s.assign(first, last);
/external/libexif/test/
H A Dtest-sorted.c33 ExifTag last = 0, current; local
34 num = exif_tag_table_count() - 1; /* last entry is a NULL terminator */
37 if (current < last) {
46 last = current;
/external/chromium_org/cc/base/
H A Dscoped_ptr_algorithm.h16 ForwardIterator last,
19 for (; first != last; ++first) {
13 remove_if( ScopedContainer* container, ForwardIterator first, ForwardIterator last, Predicate predicate) argument
/external/chromium_org/native_client_sdk/src/libraries/sdk_util/
H A Dstring_util.h23 size_t last = 0; local
27 std::string tmp(str, last, i - last);
32 last = i + 1;
/external/chromium_org/net/websockets/
H A Dwebsocket_net_log_params.cc18 size_t last = 0; local
25 std::string entry = headers->substr(last, pos - last);
27 last = pos;
/external/chromium_org/third_party/libaddressinput/src/cpp/src/util/
H A Dstring_split.cc21 size_t last = 0; local
25 std::string tmp(str, last, i - last);
31 last = i + 1;
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dir_function_can_inline.cpp30 * other than as the last instruction. We could potentially work
68 /* If the function is empty (no last instruction) or does not end with a
71 ir_instruction *last = (ir_instruction *)callee->body.get_tail(); local
72 if (last == NULL || !last->as_return())
/external/libcap-ng/libcap-ng-0.7/bindings/python/test/
H A Dcapng-test.py11 last = capng.CAP_LAST_CAP variable
26 if len < 80 and last > 30:
27 last = 30 variable
29 print("Doing advanced bit tests for %d capabilities...\n" % (last))
30 for i in range(last+1):
/external/libcap-ng/libcap-ng-0.7/src/test/
H A Dlib_test.c32 int rc, i, len, last = CAP_LAST_CAP; local
52 if (len < 80 && last > 30) // The kernel & headers are mismatched
53 last = 30;
60 printf("Doing advanced bit tests for %d capabilities...\n", last);
61 for (i=0; i<=last; i++) {

Completed in 634 milliseconds

1234567891011>>