Searched refs:size_type (Results 1 - 25 of 338) sorted by relevance

1234567891011>>

/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/
H A Dp1-retmem.cpp8 typedef int size_type; typedef in struct:X0
11 size_type f0() const;
17 typename X0<T>::size_type X0<T>::f0() const {
H A Dp1.cpp5 typedef int size_type; typedef in class:X0
14 void f1(size_type) const;
15 void f2(size_type) const;
16 void f3(size_type) const;
38 void X0<X, Y>::f2(size_type) const { }
41 void X0<X, Y>::f3(size_type) const {
/external/google-breakpad/src/processor/
H A Dpathname_stripper.cc42 string::size_type slash = path.rfind('/');
43 string::size_type backslash = path.rfind('\\');
45 string::size_type file_start = 0;
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/
H A Dsize_type.pass.cpp15 // typedef Alloc::size_type | size_t size_type;
26 typedef unsigned short size_type; typedef in struct:A
58 static_assert((std::is_same<std::allocator_traits<A<char> >::size_type, unsigned short>::value), "");
59 static_assert((std::is_same<std::allocator_traits<B<char> >::size_type,
61 static_assert((std::is_same<std::allocator_traits<C<char> >::size_type,
/external/libweave/third_party/chromium/base/strings/
H A Dstring_piece.h91 typedef size_t size_type; typedef in class:base::BasicStringPiece
100 static const size_type npos;
112 BasicStringPiece(const value_type* offset, size_type len)
128 size_type size() const { return length_; }
129 size_type length() const { return length_; }
136 void set(const value_type* data, size_type len) {
145 value_type operator[](size_type i) const { return ptr_[i]; }
147 void remove_prefix(size_type n) {
152 void remove_suffix(size_type n) {
180 size_type max_siz
[all...]
/external/sfntly/cpp/src/test/tinyxml/
H A Dtinystr.cpp30 const TiXmlString::size_type TiXmlString::npos = static_cast< TiXmlString::size_type >(-1);
37 void TiXmlString::reserve (size_type cap)
49 TiXmlString& TiXmlString::assign(const char* str, size_type len)
51 size_type cap = capacity();
68 TiXmlString& TiXmlString::append(const char* str, size_type len)
70 size_type newsize = length() + len;
93 TiXmlString::size_type b_len = static_cast<TiXmlString::size_type>( strlen(b) );
103 TiXmlString::size_type a_le
[all...]
H A Dtinystr.h59 typedef size_t size_type; typedef in class:TiXmlString
62 static const size_type npos; // = -1;
80 init( static_cast<size_type>( strlen(copy) ));
85 TIXML_EXPLICIT TiXmlString ( const char * str, size_type len) : rep_(0)
99 return assign( copy, (size_type)strlen(copy));
111 return append(suffix, static_cast<size_type>( strlen(suffix) ));
134 size_type length () const { return rep_->size; }
137 size_type size () const { return rep_->size; }
143 size_type capacity () const { return rep_->capacity; }
147 const char& at (size_type inde
[all...]
/external/tinyxml/
H A Dtinystr.cpp35 const TiXmlString::size_type TiXmlString::npos = static_cast< size_type >(-1);
41 void TiXmlString::reserve (size_type cap)
53 TiXmlString& TiXmlString::assign(const char* str, size_type len)
55 size_type cap = capacity();
72 TiXmlString& TiXmlString::append(const char* str, size_type len)
74 size_type newsize = length() + len;
97 TiXmlString::size_type b_len = static_cast<TiXmlString::size_type>( strlen(b) );
107 TiXmlString::size_type a_le
[all...]
H A Dtinystr.h56 typedef unsigned int size_type; typedef in class:TiXmlString
59 static const size_type npos; // = -1;
77 init( static_cast<size_type>( strlen(copy) ));
82 TiXmlString (const char * str, size_type len)
97 return assign( copy, (size_type)strlen(copy));
110 return append(suffix, static_cast<size_type>( strlen(suffix) ));
133 size_type length () const { return rep_->size; }
136 size_type size () const { return rep_->size; }
142 size_type capacity () const { return rep_->capacity; }
146 const char& at (size_type inde
[all...]
/external/regex-re2/util/
H A Dstringpiece.cc36 int StringPiece::copy(char* buf, size_type n, size_type pos) const {
42 int StringPiece::find(const StringPiece& s, size_type pos) const {
43 if (length_ < 0 || pos > static_cast<size_type>(length_))
48 const size_type xpos = result - ptr_;
52 int StringPiece::find(char c, size_type pos) const {
53 if (length_ <= 0 || pos >= static_cast<size_type>(length_)) {
60 int StringPiece::rfind(const StringPiece& s, size_type pos) const {
70 int StringPiece::rfind(char c, size_type pos) const {
72 for (int i = min(pos, static_cast<size_type>(length
[all...]
/external/ceres-solver/include/ceres/internal/
H A Dfixed_array.h89 typedef size_t size_type; typedef in class:ceres::internal::FixedArray
98 explicit FixedArray(size_type n);
104 inline size_type size() const { return size_; }
115 inline T& operator[](size_type i) {
122 inline const T& operator[](size_type i) const {
148 static const size_type S1 = ((inline_elements < 0)
150 static const size_type S2 = (S1 <= 0) ? 1 : S1;
151 static const size_type kInlineElements = S2;
153 size_type const size_;
164 inline FixedArray<T, S>::FixedArray(typename FixedArray<T, S>::size_type
[all...]
/external/eigen/Eigen/src/StlSupport/
H A DStdVector.h32 typedef vector_base::size_type size_type; \
38 explicit vector(size_type num, const value_type& val = value_type()) : vector_base(num, val) {} \
53 typedef typename vector_base::size_type size_type; \
61 explicit vector(size_type num, const value_type& val = value_type()) : vector_base(num, val) {} \
77 void resize(size_type new_size)
82 void resize(size_type new_size, const value_type& x)
94 void insert(const_iterator position, size_type new_size, const value_type& x)
97 /* Note that before gcc-4.1 we already have: std::vector::resize(size_type,cons
[all...]
H A DStdDeque.h40 typedef typename deque_base::size_type size_type; \
46 explicit deque(size_type num, const value_type& val = value_type()) : deque_base(num, val) {} \
56 #if !(defined(_GLIBCXX_DEQUE) && (!EIGEN_GNUC_AT_LEAST(4,1))) /* Note that before gcc-4.1 we already have: std::deque::resize(size_type,const T&). */
64 typedef typename deque_base::size_type size_type; \
72 explicit deque(size_type num, const value_type& val = value_type()) : deque_base(num, val) {} \
88 void resize(size_type new_size)
93 void resize(size_type new_size, const value_type& x)
107 void insert(const_iterator position, size_type new_siz
[all...]
H A DStdList.h39 typedef typename list_base::size_type size_type; \
45 explicit list(size_type num, const value_type& val = value_type()) : list_base(num, val) {} \
55 #if !(defined(_GLIBCXX_VECTOR) && (!EIGEN_GNUC_AT_LEAST(4,1))) /* Note that before gcc-4.1 we already have: std::list::resize(size_type,const T&). */
64 typedef typename list_base::size_type size_type; \
72 explicit list(size_type num, const value_type& val = value_type()) : list_base(num, val) {} \
88 void resize(size_type new_size)
91 void resize(size_type new_size, const value_type& x)
106 void insert(const_iterator position, size_type new_siz
[all...]
/external/libchrome/base/strings/
H A Dstring_piece.h167 typedef size_t size_type; typedef in class:base::BasicStringPiece
176 static const size_type npos;
188 BasicStringPiece(const value_type* offset, size_type len)
209 size_type size() const { return length_; }
210 size_type length() const { return length_; }
217 void set(const value_type* data, size_type len) {
226 value_type operator[](size_type i) const { return ptr_[i]; }
228 void remove_prefix(size_type n) {
233 void remove_suffix(size_type n) {
261 size_type max_siz
[all...]
/external/libcxx/test/std/containers/
H A Dstack_allocator.h27 typedef std::size_t size_type; typedef in class:stack_allocator
39 pointer allocate(size_type n, const void* = 0)
52 void deallocate(pointer p, size_type n)
58 size_type max_size() const {return N;}
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A DStartupConfig.cpp44 mBuffer.append ((uint8_string::size_type) 1, (uint8_string::value_type) 0);
61 mBuffer.append ((uint8_string::size_type) 1, (uint8_string::value_type) 0);
102 ALOGD ("%s: try append %u bytes", fn, (uint8_string::size_type) (newContentLen));
104 mBuffer.append (newContent+1, (uint8_string::size_type) (newContentLen-1));
/external/regex-re2/re2/
H A Dstringpiece.h120 typedef size_t size_type; typedef in class:re2::StringPiece
122 static const size_type npos;
135 // STLS says return size_type, but Google says return int
139 int copy(char* buf, size_type n, size_type pos = 0) const;
141 int find(const StringPiece& s, size_type pos = 0) const;
142 int find(char c, size_type pos = 0) const;
143 int rfind(const StringPiece& s, size_type pos = npos) const;
144 int rfind(char c, size_type pos = npos) const;
146 StringPiece substr(size_type po
[all...]
/external/libcxx/test/support/
H A Dnasty_containers.hpp27 typedef typename nested_container::size_type size_type; typedef in class:nasty_vector
36 explicit nasty_vector(size_type n) : v_(n) {}
37 nasty_vector(size_type n, const value_type& value) : v_(n, value) {}
46 void assign(size_type n, const value_type& u) { v_.assign(n, u); }
66 size_type size() const _NOEXCEPT { return v_.size(); }
67 size_type max_size() const _NOEXCEPT { return v_.max_size(); }
68 size_type capacity() const _NOEXCEPT { return v_.capacity(); }
70 void reserve(size_type n) { v_.reserve(n); };
73 reference operator[](size_type
148 typedef typename nested_container::size_type size_type; typedef in class:nasty_list
[all...]
/external/libbrillo/brillo/
H A Dsecure_blob.h26 void resize(size_type count);
27 void resize(size_type count, const value_type& value);
/external/libcxx/test/std/strings/basic.string/string.capacity/
H A Dsize.pass.cpp12 // size_type size() const;
21 test(const S& s, typename S::size_type c)
/external/llvm/include/llvm/ADT/
H A Dedit_distance.h58 typename ArrayRef<T>::size_type m = FromArray.size();
59 typename ArrayRef<T>::size_type n = ToArray.size();
73 for (typename ArrayRef<T>::size_type y = 1; y <= m; ++y) {
78 for (typename ArrayRef<T>::size_type x = 1; x <= n; ++x) {
/external/v8/src/
H A Dzone-allocator.h23 typedef size_t size_type; typedef in class:v8::internal::zone_allocator
39 pointer allocate(size_type n, const void* hint = 0) {
43 void deallocate(pointer p, size_type) { /* noop for Zones */ }
45 size_type max_size() const throw() {
/external/libchrome/base/containers/
H A Dmru_cache.h59 typedef typename PayloadList::size_type size_type; typedef in class:base::MRUCacheBase
72 explicit MRUCacheBase(size_type max_size) : max_size_(max_size) {
75 MRUCacheBase(size_type max_size, const DeletorType& deletor)
85 size_type max_size() const { return max_size_; }
170 void ShrinkToSize(size_type new_size) {
171 for (size_type i = size(); i > new_size; i--)
185 size_type size() const {
214 size_type max_size_;
242 explicit MRUCache(typename ParentType::size_type max_siz
[all...]
/external/libcxx/test/std/containers/container.adaptors/priority.queue/
H A Dtypes.pass.cpp21 // typedef typename container_type::size_type size_type;
46 typedef int size_type; typedef in struct:C
56 static_assert((std::is_same<std::priority_queue<int>::size_type, std::vector<int>::size_type>::value), "");

Completed in 1794 milliseconds

1234567891011>>