/external/libcxx/test/algorithms/alg.sorting/alg.binary.search/equal.range/ |
H A D | equal_range.pass.cpp | 16 // 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 D | lower_bound.pass.cpp | 15 // 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 D | upper_bound.pass.cpp | 15 // 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 D | word_trimmer.cc | 21 // 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 D | substr.js | 141 var last = x; variable 144 var z = last.substring(i); 145 last = z;
|
/external/libcxx/test/algorithms/alg.sorting/alg.min.max/ |
H A D | max_element.pass.cpp | 15 // 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 D | max_element_comp.pass.cpp | 15 // 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 D | min_element.pass.cpp | 15 // 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 D | min_element_comp.pass.cpp | 15 // 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 D | minmax_element.pass.cpp | 15 // 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 D | construct_iter_iter.pass.cpp | 12 // 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 D | construct_iter_iter.pass.cpp | 13 // 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 D | construct_iter_iter_alloc.pass.cpp | 13 // 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 D | distance.pass.cpp | 14 // 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 D | iter_iter.pass.cpp | 15 // 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 D | iterator.pass.cpp | 13 // 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 D | iterator.pass.cpp | 13 // 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 D | test-sorted.c | 33 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 D | scoped_ptr_algorithm.h | 16 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 D | string_util.h | 23 size_t last = 0; local 27 std::string tmp(str, last, i - last); 32 last = i + 1;
|
/external/chromium_org/net/websockets/ |
H A D | websocket_net_log_params.cc | 18 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 D | string_split.cc | 21 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 D | ir_function_can_inline.cpp | 30 * 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 D | capng-test.py | 11 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 D | lib_test.c | 32 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++) {
|