Searched defs:first (Results 51 - 75 of 1268) sorted by relevance

1234567891011>>

/external/libcxx/test/algorithms/alg.sorting/alg.binary.search/upper.bound/
H A Dupper_bound_comp.pass.cpp15 // upper_bound(Iter first, Iter last, const T& value, Compare comp);
26 test(Iter first, Iter last, const T& value) argument
28 Iter i = std::upper_bound(first, last, value, std::greater<int>());
29 for (Iter j = first; j != i; ++j)
/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/sequences/vector/vector.cons/
H A Dconstruct_iter_iter_alloc.pass.cpp12 // template <class InputIter> vector(InputIter first, InputIter last,
24 test(Iterator first, Iterator last, const A& a) argument
26 C c(first, last, a);
28 assert(c.size() == std::distance(first, last));
29 for (typename C::const_iterator i = c.cbegin(), e = c.cend(); i != e; ++i, ++first)
30 assert(*i == *first);
/external/libcxx/test/numerics/numeric.ops/accumulate/
H A Daccumulate.pass.cpp16 // accumulate(Iter first, Iter last, T init);
25 test(Iter first, Iter last, T init, T x) argument
27 assert(std::accumulate(first, last, init) == x);
H A Daccumulate_op.pass.cpp17 // accumulate(Iter first, Iter last, T init, BinaryOperation binary_op);
27 test(Iter first, Iter last, T init, T x) argument
29 assert(std::accumulate(first, last, init, std::multiplies<T>()) == x);
/external/libcxx/test/strings/basic.string/string.modifiers/string_erase/
H A Diter_iter.pass.cpp12 // iterator erase(const_iterator first, const_iterator last);
23 typename S::const_iterator first = s.cbegin() + pos; local
25 typename S::iterator i = s.erase(first, last);
/external/lldb/test/functionalities/data-formatter/rdar-9973865/
H A Dmain.cpp13 int first; member in struct:Summarize
27 printf ("Summarize: first: %d second: %d and address: 0x%p\n", mine.first, mine.second, mine_ptr); // Set break point at this line.
28 printf ("Global summarize: first: %d second: %d.\n", global_mine.first, global_mine.second);
/external/lldb/test/functionalities/data-formatter/rdar-9974002/
H A Dmain.cpp14 int first; member in struct:contained
/external/skia/experimental/PdfViewer/
H A DSkPdfUtils.cpp10 bool operator !=(const SkString& first, const char* second) { argument
11 return !first.equals(second);
/external/chromium_org/base/profiler/
H A Dtracked_time_unittest.cc39 Duration first = Duration::FromMilliseconds(kFirstMilliseconds); local
42 EXPECT_EQ(kFirstMilliseconds, first.InMilliseconds());
45 Duration sum = first + second;
/external/chromium_org/cc/resources/
H A Dresource_update_queue.cc41 ResourceUpdate first = full_entries_.front(); local
43 return first;
47 ResourceUpdate first = partial_entries_.front(); local
49 return first;
/external/chromium_org/chrome/browser/extensions/
H A Dblob_reader.cc62 int64 first = 0, last = 0, length = 0; local
64 source->GetResponseHeaders()->GetContentRange(&first, &last, &length);
/external/chromium_org/chrome/test/chromedriver/chrome/
H A Dchrome_finder_unittest.cc54 base::FilePath first = dir.AppendASCII("first"); local
57 existing_paths.push_back(first);
60 rel_paths.push_back(first.BaseName());
65 AssertFound(first, existing_paths, rel_paths, locations));
/external/chromium_org/components/password_manager/core/browser/
H A Dpassword_form_data.cc45 const std::vector<PasswordForm*>& first,
47 if (first.size() != second.size())
51 // if we use expectations(first.begin(), first.end()) to copy a vector
55 std::copy(first.begin(), first.end(), std::inserter(expectations,
78 std::vector<autofill::PasswordForm>& first,
81 for (unsigned int i = 0; i < first.size(); ++i) {
82 first_ptr.push_back(&first[i]);
44 ContainsSamePasswordFormsPtr( const std::vector<PasswordForm*>& first, const std::vector<PasswordForm*>& second) argument
77 ContainsSamePasswordForms( std::vector<autofill::PasswordForm>& first, std::vector<autofill::PasswordForm>& second) argument
/external/chromium_org/components/policy/core/common/
H A Dexternal_data_fetcher.cc28 bool ExternalDataFetcher::Equals(const ExternalDataFetcher* first, argument
30 if (!first && !second)
32 if (!first || !second)
34 return first->manager_.get() == second->manager_.get() &&
35 first->policy_ == second->policy_;
/external/chromium_org/mojo/public/java/system/src/org/chromium/mojo/system/
H A DPair.java11 * @param <F> Type of the first element.
16 public final F first; field in class:Pair
22 * @param first the first element of the pair.
25 public Pair(F first, S second) { argument
26 this.first = first;
46 return equals(first, p.first) && equals(second, p.second);
54 return (first
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSSelectorList.h47 const CSSSelector* first() const { return m_selectorArray; } function in class:blink::CSSSelectorList
/external/chromium_org/third_party/WebKit/Source/core/dom/shadow/
H A DContentDistribution.h45 PassRefPtrWillBeRawPtr<Node> first() const { return m_nodes.first(); } function in class:blink::FINAL
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DMergeIdenticalElementsCommand.cpp35 MergeIdenticalElementsCommand::MergeIdenticalElementsCommand(PassRefPtrWillBeRawPtr<Element> first, PassRefPtrWillBeRawPtr<Element> second) argument
36 : SimpleEditCommand(first->document())
37 , m_element1(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/libjingle/source/talk/media/base/
H A Dhybriddataengine.h44 HybridDataEngine(DataEngineInterface* first, argument
46 : first_(first),
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/
H A Ddraw_split_tmp.h30 unsigned first, incr; local
44 draw_pt_split_prim(prim, &first, &incr);
46 count = draw_pt_trim_count(count, first, incr);
47 if (count < first)
55 assert(max_count_simple >= first + incr &&
56 max_count_loop >= first + incr &&
57 max_count_fan >= first + incr);
64 const unsigned rollback = first - incr;
74 * remaining = count - seg_start = first + N'' * incr.
91 draw_pt_trim_count(MIN2(max_count_simple, count), first, inc
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/core/
H A Dqueue.cpp51 auto first = queued_events.begin(); local
57 std::for_each(first, last, [&](event_ptr &ev) { ev->fence(fence); });
59 queued_events.erase(first, last);
/external/chromium_org/third_party/mesa/src/src/glsl/
H A Dir_basic_block.cpp53 void (*callback)(ir_instruction *first,
52 call_for_basic_blocks(exec_list *instructions, void (*callback)(ir_instruction *first, ir_instruction *last, void *data), void *data) argument
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/
H A Dvbo_split.c61 GLboolean split_prim_inplace(GLenum mode, GLuint *first, GLuint *incr) argument
65 *first = 1;
69 *first = 2;
73 *first = 2;
77 *first = 3;
81 *first = 3;
85 *first = 4;
89 *first = 4;
93 *first = 0;

Completed in 5885 milliseconds

1234567891011>>