Searched refs:begin (Results 226 - 250 of 8525) sorted by relevance

1234567891011>>

/external/chromium_org/content/common/android/
H A Daddress_parser.cc53 if (FindAddress(text.begin(), text.end(), &start, &end)) {
61 bool FindAddress(const base::string16::const_iterator& begin, argument
75 for (base::string16::const_iterator it = begin; it != end; ) {
118 DCHECK_GT(std::distance(current_word.begin, current_word.end), 0);
120 current_word.begin, current_word.end);
127 if (house_number_parser.Parse(current_word.begin, current_word.end,
173 if (previous_word.end - previous_word.begin == 2 &&
174 LowerCaseEqualsASCII(previous_word.begin, previous_word.end,
176 LowerCaseEqualsASCII(current_word.begin, current_word.end,
197 *start_pos = words[0].begin
[all...]
/external/lldb/source/Symbol/
H A DVariableList.cpp57 std::copy(variable_list->m_variables.begin(), // source begin
85 m_variables.erase (m_variables.begin() + idx);
94 for (pos = m_variables.begin(); pos != end; ++pos)
97 return std::distance (m_variables.begin(), pos);
107 for (pos = m_variables.begin(); pos != end; ++pos)
123 for (pos = m_variables.begin(); pos != end; ++pos)
144 for (pos = m_variables.begin(); pos != end; ++pos)
163 const iterator begin = m_variables.begin(); local
[all...]
/external/stlport/test/unit/
H A Dmvctor_test.cpp58 v_v_ints.erase(v_v_ints.begin() + 1);
90 vec_strs.erase(vec_strs.begin() + 1);
118 unsigned int *punit = v_v_bits.front().begin()._M_iterator._M_p;
120 unsigned int *punit = v_v_bits.front().begin()._M_p;
132 CPPUNIT_ASSERT( punit == v_v_bits.front().begin()._M_iterator._M_p );
134 CPPUNIT_ASSERT( punit == v_v_bits.front().begin()._M_p );
190 vect_deque.insert(vect_deque.begin() + pos, vect_vect.begin(), vect_vect.end());
191 bufs.insert(bufs.begin() + pos, &vect_deque[pos].front());
192 bufs.insert(bufs.begin()
[all...]
H A Duninitialized_test.cpp94 uninitialized_copy(src.begin(), src.end(), dst.begin());
95 vector<NotTrivialCopyStruct>::const_iterator it(dst.begin()), end(dst.end());
132 list<NotTrivialCopyStruct>::iterator it(dst.begin()), end(dst.end());
137 uninitialized_copy(src.begin(), src.end(), dst.begin());
139 for (it = dst.begin(); it != end; ++it) {
148 vector<NotTrivialCopyStruct>::iterator it(dst.begin()), end(dst.end());
153 uninitialized_copy(src.begin(), src.end(), dst.begin());
[all...]
/external/chromium_org/chrome/browser/safe_browsing/
H A Dsafe_browsing_store.cc38 typename AddsT::iterator add_out = adds->begin();
39 typename SubsT::iterator sub_out = subs->begin();
46 typename AddsT::iterator add_iter = adds->begin();
47 typename SubsT::iterator sub_iter = subs->begin();
80 typename ItemsT::iterator end_iter = items->begin();
105 DCHECK(sorted(add_prefixes->begin(), add_prefixes->end(),
107 DCHECK(sorted(sub_prefixes->begin(), sub_prefixes->end(),
109 DCHECK(sorted(add_full_hashes->begin(), add_full_hashes->end(),
111 DCHECK(sorted(sub_full_hashes->begin(), sub_full_hashes->end(),
/external/chromium_org/gpu/config/
H A Dgpu_info_collector_android.cc25 size_t begin = version_string.find_first_of("0123456789"); local
26 if (begin == std::string::npos)
28 size_t end = version_string.find_first_not_of("01234567890.", begin);
31 begin = version_string.find_first_of("0123456789", end);
32 if (begin == std::string::npos)
34 end = version_string.find_first_not_of("01234567890.", begin);
37 sub_string = version_string.substr(begin, end - begin);
39 sub_string = version_string.substr(begin);
/external/chromium_org/v8/test/cctest/
H A Dtest-gc-tracer.cc43 CHECK(ring_buffer.begin() == ring_buffer.end());
50 CHECK(ring_buffer.begin() != ring_buffer.end());
54 for (Iter iter = ring_buffer.begin(); iter != ring_buffer.end(); ++iter) {
65 if (iter == ring_buffer.begin()) break;
83 CHECK(ring_buffer.begin() != ring_buffer.end());
87 for (Iter iter = ring_buffer.begin(); iter != ring_buffer.end(); ++iter) {
98 if (iter == ring_buffer.begin()) break;
116 CHECK(ring_buffer.begin() != ring_buffer.end());
120 for (Iter iter = ring_buffer.begin(); iter != ring_buffer.end(); ++iter) {
/external/libcxx/test/containers/sequences/forwardlist/forwardlist.cons/
H A Dcopy_alloc.pass.cpp28 C c0(std::begin(t), std::end(t), A(10));
31 for (C::const_iterator i = c.begin(), e = c.end(); i != e; ++i, ++n)
33 assert(n == std::end(t) - std::begin(t));
42 C c0(std::begin(t), std::end(t), A(10));
45 for (C::const_iterator i = c.begin(), e = c.end(); i != e; ++i, ++n)
47 assert(n == std::end(t) - std::begin(t));
57 C c0(std::begin(t), std::end(t), A());
60 for (C::const_iterator i = c.begin(), e = c.end(); i != e; ++i, ++n)
62 assert(n == std::end(t) - std::begin(t));
H A Dmove.pass.cpp31 C c0(I(std::begin(t)), I(std::end(t)), A(10));
34 for (C::const_iterator i = c.begin(), e = c.end(); i != e; ++i, ++n)
36 assert(n == std::end(t) - std::begin(t));
46 C c0(I(std::begin(t)), I(std::end(t)), A(10));
49 for (C::const_iterator i = c.begin(), e = c.end(); i != e; ++i, ++n)
51 assert(n == std::end(t) - std::begin(t));
62 C c0(I(std::begin(t)), I(std::end(t)), A());
65 for (C::const_iterator i = c.begin(), e = c.end(); i != e; ++i, ++n)
67 assert(n == std::end(t) - std::begin(t));
H A Dmove_alloc.pass.cpp31 C c0(I(std::begin(t)), I(std::end(t)), A(10));
34 for (C::const_iterator i = c.begin(), e = c.end(); i != e; ++i, ++n)
36 assert(n == std::end(t) - std::begin(t));
46 C c0(I(std::begin(t)), I(std::end(t)), A(10));
49 for (C::const_iterator i = c.begin(), e = c.end(); i != e; ++i, ++n)
51 assert(n == std::end(t) - std::begin(t));
62 C c0(I(std::begin(t)), I(std::end(t)), A());
65 for (C::const_iterator i = c.begin(), e = c.end(); i != e; ++i, ++n)
67 assert(n == std::end(t) - std::begin(t));
H A Dassign_copy.pass.cpp29 C c0(std::begin(t0), std::end(t0), A(10));
30 C c1(std::begin(t1), std::end(t1), A(10));
41 C c0(std::begin(t0), std::end(t0), A(10));
42 C c1(std::begin(t1), std::end(t1), A(11));
53 C c0(std::begin(t0), std::end(t0), A(10));
54 C c1(std::begin(t1), std::end(t1), A(10));
65 C c0(std::begin(t0), std::end(t0), A(10));
66 C c1(std::begin(t1), std::end(t1), A(11));
78 C c0(std::begin(t0), std::end(t0), A(10));
79 C c1(std::begin(t
[all...]
/external/chromium_org/components/enhanced_bookmarks/
H A Denhanced_bookmark_utils_unittest.cc50 CHECK(std::find(result.begin(), result.end(), node1) != result.end());
51 CHECK(std::find(result.begin(), result.end(), node2) != result.end());
52 CHECK(std::find(result.begin(), result.end(), node4) != result.end());
54 CHECK(std::find(result.begin(), result.end(), node3) == result.end());
55 CHECK(std::find(result.begin(), result.end(), node5) == result.end());
/external/chromium_org/content/renderer/android/
H A Daddress_detector.cc42 std::replace(address_16.begin(), address_16.end(),
48 const base::string16::const_iterator& begin,
53 if (address_parser::FindAddress(begin, end, start_pos, end_pos)) {
55 GetContentText(base::string16(begin + *start_pos, begin + *end_pos)));
47 FindContent( const base::string16::const_iterator& begin, const base::string16::const_iterator& end, size_t* start_pos, size_t* end_pos, std::string* content_text) argument
/external/chromium_org/net/http/
H A Dhttp_log_util.cc40 std::string::const_iterator redact_begin = value.begin();
41 std::string::const_iterator redact_end = value.begin();
54 redact_begin = value.begin();
60 HttpAuthChallengeTokenizer challenge(value.begin(), value.end());
71 return std::string(value.begin(), redact_begin) +
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DSegmentedFontData.cpp43 for (Vector<FontDataRange>::const_iterator it = m_ranges.begin(); it != end; ++it) {
53 for (Vector<FontDataRange>::const_iterator it = m_ranges.begin(); it != end; ++it) {
69 for (Vector<FontDataRange>::const_iterator it = m_ranges.begin(); it != end; ++it) {
80 for (Vector<FontDataRange>::const_iterator it = m_ranges.begin(); it != end; ++it) {
95 for (Vector<FontDataRange>::const_iterator it = m_ranges.begin(); it != end; ++it) {
/external/chromium_org/url/third_party/mozilla/
H A Durl_parse.cc77 while (colon_offset < user.len && spec[user.begin + colon_offset] != ':')
82 *username = Component(user.begin, colon_offset);
83 *password = MakeRange(user.begin + colon_offset + 1,
84 user.begin + user.len);
110 int ipv6_terminator = spec[serverinfo.begin] == '[' ? serverinfo.end() : -1;
114 for (int i = serverinfo.begin; i < serverinfo.end(); i++) {
127 *hostname = MakeRange(serverinfo.begin, colon);
160 int i = auth.begin + auth.len - 1;
161 while (i > auth.begin && spec[i] != '@')
166 ParseUserInfo(spec, Component(auth.begin,
251 int begin = 0; local
322 int begin = 0; local
353 int begin = 0; local
519 int begin = 0; local
802 const int begin = CountCharactersBefore(USERNAME, false); local
[all...]
/external/chromium_org/url/
H A Durl_parse_internal.h25 // Given an already-initialized begin index and length, this shrinks the range
27 // indicate the length of untrimmed data from |*begin|, but rather the position
28 // in the input string (so the string starts at character |*begin| in the spec,
31 inline void TrimURL(const CHAR* spec, int* begin, int* len, argument
34 while (*begin < *len && ShouldTrimFromURL(spec[*begin]))
35 (*begin)++;
41 while (*len > *begin && ShouldTrimFromURL(spec[*len - 1]))
/external/clang/test/SemaCXX/
H A Dfor-range-dereference.cpp4 Data *begin();
13 Data *begin();
19 int* begin(DeletedADLBegin) = delete; //expected-note {{candidate function has been explicitly deleted}} \
23 Data *begin();
30 Data * begin(ADLNoEnd); // expected-note 6 {{candidate function not viable: no known conversion}}
48 for (auto i : NB) { }// expected-error{{range type 'NoBegin' has 'end' member but no 'begin' member}}
50 for (auto i : pNB) { }// expected-error{{invalid range expression of type 'NoBegin *'; no viable 'begin' function available}}
52 for (auto i : ppNB) { }// expected-error{{invalid range expression of type 'NoBegin **'; no viable 'begin' function available}}
54 for (auto i : pppppNB) { }// expected-error{{invalid range expression of type 'NoBegin *****'; no viable 'begin' function available}}
59 for (auto i : pANE) { } // expected-error{{invalid range expression of type 'ADLNoEnd *'; no viable 'begin' functio
[all...]
/external/libcxx/test/algorithms/alg.sorting/alg.sort/sort/
H A Dsort_comp.pass.cpp40 std::sort(v.begin(), v.end(), std::greater<int>());
41 std::reverse(v.begin(), v.end());
42 assert(std::is_sorted(v.begin(), v.end()));
50 std::sort(v.begin(), v.end(), indirect_less());
51 assert(std::is_sorted(v.begin(), v.end(), indirect_less()));
/external/llvm/include/llvm/ADT/
H A DPriorityQueue.h36 PriorityQueue(Iterator begin, Iterator end, argument
39 : std::priority_queue<T, Sequence, Compare>(begin, end, compare, sequence)
50 std::find(this->c.begin(), this->c.end(), t) - this->c.begin();
72 std::make_heap(this->c.begin(), this->c.end(), this->comp);
/external/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITTestAPICommon.h53 if (std::find(SupportedArchs.begin(), SupportedArchs.end(), Host.getArch())
58 if (std::find(HasSubArchs.begin(), HasSubArchs.end(), Host.getArch())
63 SmallVectorImpl<std::string>::const_iterator I = SupportedSubArchs.begin();
75 if (std::find(UnsupportedEnvironments.begin(), UnsupportedEnvironments.end(),
79 if (std::find(UnsupportedOSs.begin(), UnsupportedOSs.end(), Host.getOS())
/external/llvm/utils/
H A DlldbDataFormatters.py23 begin = self.begin.GetValueAsUnsigned(0)
25 return (end - begin)/self.type_size
41 return self.begin.CreateChildAtOffset('['+str(index)+']',
45 self.begin = self.valobj.GetChildMemberWithName('BeginX')
/external/deqp/framework/delibs/decpp/
H A DdePoolArray.cpp282 for (PoolArray<int>::ConstIterator iter = cRef.begin(); iter != cRef.end(); iter++, ndx++)
289 for (PoolArray<int>::ConstIterator iter = arr.begin(); iter != arr.end(); iter++, ndx++)
296 DE_TEST_ASSERT(arr.end()-arr.begin() == 128);
297 DE_TEST_ASSERT(*(arr.begin()+3) == 3);
298 DE_TEST_ASSERT(arr.begin()[4] == 4);
301 DE_TEST_ASSERT(arr.begin() != arr.begin()+1);
302 DE_TEST_ASSERT(arr.begin() == arr.begin());
303 DE_TEST_ASSERT(arr.begin() !
[all...]
/external/libcxx/test/iterators/iterator.range/
H A Dbegin-end.pass.cpp11 // template <class C> auto begin(C& c) -> decltype(c.begin());
12 // template <class C> auto begin(const C& c) -> decltype(c.begin());
30 assert ( std::begin(c) == c.begin());
31 assert (*std::begin(c) == val );
32 assert ( std::begin(c) != c.end());
49 assert ( std::begin(c) == c.begin());
[all...]
/external/arduino/libraries/Wire/
H A DWire.h46 void begin();
47 void begin(uint8_t);
48 void begin(int);

Completed in 3818 milliseconds

1234567891011>>