Searched refs:begin (Results 1 - 25 of 89) sorted by relevance

1234

/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
H A Dulist.h37 inline iterator begin (void) { return (vector<T>::begin()); } function in class:ustl::list
38 inline const_iterator begin (void) const { return (vector<T>::begin()); } function in class:ustl::list
41 inline void push_front (const T& v) { insert (begin(), v); }
42 inline void pop_front (void) { erase (begin()); }
43 inline const_reference front (void) const { return (*begin()); }
44 inline reference front (void) { return (*begin()); }
57 iterator me = merge (begin(), end(), l.begin(),
[all...]
H A Ductralgo.h33 return (copy (ctr.begin(), ctr.end(), result));
43 return (copy_if (ctr.begin(), ctr.end(), result, pred));
55 return (for_each (ctr.begin(), ctr.end(), f));
67 return (for_each (ctr.begin(), ctr.end(), f));
77 return (find (ctr.begin(), ctr.end(), value));
82 return (find (ctr.begin(), ctr.end(), value));
92 return (find_if (ctr.begin(), ctr.end(), pred));
97 return (find_if (ctr.begin(), ctr.end(), pred));
108 return (count (ctr.begin(), ctr.end(), value));
119 return (count_if (ctr.begin(), ct
[all...]
H A Dubitset.h30 /// If you were using begin() and end() functions in STL's bitset, you would
64 inline const_iterator begin (void) const { return (m_Bits); }
65 inline iterator begin (void) { return (m_Bits); }
71 inline void flip (void) { transform (begin(), end(), begin(), bitwise_not<value_type>()); }
111 { return (s_nWords == 1 ? (m_Bits[0] == v.m_Bits[0]) : equal (begin(), end(), v.begin())); }
113 { bitset<Size> result; transform (begin(), end(), v.begin(), result.begin(), bitwise_an
[all...]
H A Dubitset.cpp18 for (size_t i = 0; i < n && stri > buf.begin(); ++ i)
19 for (bitset_value_type b = 1; b && stri > buf.begin(); b <<= 1)
29 if (stri == buf.begin() || *--stri == '0')
H A Dmemlink.h33 /// assert (b.begin() + 34 == a.begin + 34);
53 inline iterator begin (void) { return (iterator (data())); } function in class:ustl::memlink
54 inline iterator iat (size_type i) { assert (i <= size()); return (begin() + i); }
56 inline const_iterator begin (void) const { return (cmemlink::begin()); } function in class:ustl::memlink
72 inline void copy (const cmemlink& l) { copy (begin(), l.cdata(), l.size()); }
73 inline void copy (const void* p, size_type n) { copy (begin(), p, n); }
87 assert (cmemlink::begin() || !n);
88 assert (start >= begin()
[all...]
H A Duvector.h61 inline iterator begin (void) { return (iterator (m_Data.begin())); } function in class:ustl::vector
62 inline const_iterator begin (void) const { return (const_iterator (m_Data.begin())); } function in class:ustl::vector
67 inline reverse_iterator rend (void) { return (reverse_iterator (begin())); }
68 inline const_reverse_iterator rend (void) const { return (const_reverse_iterator (begin())); }
69 inline iterator iat (size_type i) { assert (i <= size()); return (begin() + i); }
70 inline const_iterator iat (size_type i) const { assert (i <= size()); return (begin() + i); }
71 inline reference at (size_type i) { assert (i < size()); return (begin()[i]); }
72 inline const_reference at (size_type i) const { assert (i < size()); return (begin()[
[all...]
H A Dumultiset.h46 inline iterator begin (void) { return (base_class::begin()); } function in class:ustl::multiset
47 inline const_iterator begin (void) const { return (base_class::begin()); } function in class:ustl::multiset
73 const pair<const_iterator,const_iterator> fr = equal_range (begin(), end(), v);
81 iterator ip = upper_bound (begin(), end(), v);
99 pair<iterator,iterator> epr = equal_range (begin(), end(), v);
H A Dustring.h72 inline const_iterator begin (void) const { return (const_iterator (memblock::begin())); } function in class:ustl::string
73 inline iterator begin (void) { return (iterator (memblock::begin())); } function in class:ustl::string
78 inline const_reverse_iterator rend (void) const { return (const_reverse_iterator (begin())); }
79 inline reverse_iterator rend (void) { return (reverse_iterator (begin())); }
80 inline utf8_iterator utf8_begin (void) const { return (utf8_iterator (begin())); }
82 inline const_reference at (uoff_t pos) const { assert (pos <= size() && begin()); return (begin()[pos]); }
83 inline reference at (uoff_t pos) { assert (pos <= size() && begin()); retur
[all...]
H A Duset.h46 inline iterator begin (void) { return (base_class::begin()); } function in class:ustl::set
47 inline const_iterator begin (void) const { return (base_class::begin()); } function in class:ustl::set
52 inline const_iterator find (const_reference v) const { return (binary_search (begin(), end(), v)); }
66 iterator ip = lower_bound (begin(), end(), v);
H A Dmemlink.cpp43 assert (start >= begin() && start + n <= end());
58 assert (start >= begin() && start + elSize * elCount <= end());
H A Dulaalgo.h22 fill_n (m.begin(), NX * NY, 0);
23 for (typename matrix<NX,NY,T>::iterator i = m.begin(); i < m.end(); i += NX + 1)
132 _sse_load_matrix (m.begin());
134 _sse_transform_to_vector (result.begin());
142 _sse_load_matrix (m2.begin());
H A Dumatrix.h40 inline matrix (void) { fill_n (matrix::begin(), NX*NY, T()); }
43 inline const_iterator at (size_type i) const { return (matrix::begin() + i * NX); }
44 inline iterator at (size_type i) { return (matrix::begin() + i * NX); }
70 const_iterator src (matrix::begin() + c);
71 iterator dest (result.begin());
H A Dcmemlink.h62 inline void link (const cmemlink& l) { link (l.begin(), l.size()); }
74 inline iterator begin (void) const { return (iterator (cdata())); } function in class:ustl::cmemlink
75 inline iterator iat (size_type i) const { assert (i <= size()); return (begin() + i); }
/frameworks/base/media/libdrm/mobile2/src/rights/
H A DRight.cpp31 for (it = mOpList.begin(); it != mOpList.end(); it++)
54 for (vector<OperationPermission*>::iterator it = mOpList.begin();
69 for (vector<OperationPermission*>::iterator it = mOpList.begin();
H A DRoManager.cpp46 for (vector<Ro*>::iterator it = mRoList.begin();
75 for (vector<Ro*>::iterator it = mRoList.begin();
78 for (vector<Asset*>::iterator ita = (*it)->mAssetList.begin();
94 for (vector<Ro*>::iterator it = mRoList.begin();
/frameworks/base/opengl/java/android/opengl/
H A DEGLLogWrapper.java49 begin("eglChooseConfig");
66 begin("eglCopyBuffers");
80 begin("eglCreateContext");
96 begin("eglCreatePbufferSurface");
111 begin("eglCreatePixmapSurface");
127 begin("eglCreateWindowSurface");
142 begin("eglDestroyContext");
154 begin("eglDestroySurface");
167 begin("eglGetConfigAttrib");
182 begin("eglGetConfig
382 private void begin(String name) { method in class:EGLLogWrapper
[all...]
H A DGLLogWrapper.java69 private void begin(String name) { method in class:GLLogWrapper
1178 begin("glActiveTexture");
1186 begin("glAlphaFunc");
1195 begin("glAlphaFuncx");
1204 begin("glBindTexture");
1213 begin("glBlendFunc");
1223 begin("glClear");
1232 begin("glClearColor");
1244 begin("glClearColor");
1256 begin("glClearDepth
[all...]
/frameworks/base/libs/ui/
H A DKeyLayoutMap.cpp30 const char* begin = *p; local
41 return String8(begin, end-begin);
44 begin++;
46 } while (*begin != '\0' && *begin != '\n');
55 return String8(begin, end-begin);
57 begin++;
/frameworks/base/include/utils/
H A Dmisc.h87 void strreverse(char* begin, char* end);
H A DList.h168 insert(begin(), src.begin(), src.end());
185 return size_t(distance(begin(), end()));
193 inline iterator begin() { function in class:android::List
196 inline const_iterator begin() const { function in class:android::List
207 void push_front(const T& val) { insert(begin(), val); }
317 iterator firstDst = begin();
319 const_iterator firstSrc = right.begin();
/frameworks/base/libs/surfaceflinger/
H A DMessageQueue.h41 inline LIST::iterator begin() { return mList.begin(); } function in class:android::MessageList
42 inline LIST::const_iterator begin() const { return mList.begin(); } function in class:android::MessageList
/frameworks/base/media/libmedia/
H A DMetadata.cpp98 const size_t begin = mData->dataPosition(); local
107 mData->setDataPosition(begin);
118 const size_t begin = mData->dataPosition(); local
127 mData->setDataPosition(begin);
/frameworks/base/libs/utils/
H A DString16.cpp320 String16::String16(const String16& o, size_t len, size_t begin) argument
323 setTo(o, len, begin);
383 status_t String16::setTo(const String16& other, size_t len, size_t begin) argument
386 if (begin >= N) {
391 if ((begin+len) > N) len = N-begin;
392 if (begin == 0 && len == N) {
401 return setTo(other.string()+begin, len);
593 status_t String16::remove(size_t len, size_t begin) argument
596 if (begin >
[all...]
/frameworks/base/tools/localize/
H A DValuesFile_test.cpp18 for (set<StringResource>::const_iterator it=strings.begin();
/frameworks/base/media/libstagefright/
H A DDataSource.cpp61 for (List<SnifferFunc>::iterator it = gSniffers.begin();
80 for (List<SnifferFunc>::iterator it = gSniffers.begin();

Completed in 3357 milliseconds

1234