Searched refs:size_type (Results 26 - 50 of 470) sorted by relevance

1234567891011>>

/external/stlport/stlport/stl/
H A D_hashtable.h119 typedef size_t size_type; typedef in struct:_Ht_iterator
238 typedef size_t size_type; typedef in class:hashtable
278 size_type _M_num_elements;
303 hashtable(size_type __n,
308 hashtable(size_type __n,
319 hashtable(size_type __n,
363 size_type size() const { return _M_num_elements; }
364 size_type max_size() const { return size_type(-1); }
378 local_iterator begin(size_type __
[all...]
H A D_unordered_map.h60 typedef typename _Ht::size_type size_type; typedef in class:unordered_map
83 explicit unordered_map(size_type __n = 0, const hasher& __hf = hasher(),
96 size_type __n = 0, const hasher& __hf = hasher(),
103 size_type __n = 0, const hasher& __hf = hasher(),
110 size_type __n = 0, const hasher& __hf = hasher(),
120 size_type size() const { return _M_ht.size(); }
121 size_type max_size() const { return _M_ht.max_size(); }
161 size_type count(const _KT& __key) const { return _M_ht.count(__key); }
170 size_type eras
228 typedef typename _Ht::size_type size_type; typedef in class:unordered_multimap
[all...]
H A D_unordered_set.h54 typedef typename _Ht::size_type size_type; typedef in class:unordered_set
77 explicit unordered_set(size_type __n = 0, const hasher& __hf = hasher(),
90 size_type __n = 0, const hasher& __hf = hasher(),
97 size_type __n = 0, const hasher& __hf = hasher(),
104 size_type __n = 0, const hasher& __hf = hasher(),
114 size_type size() const { return _M_ht.size(); }
115 size_type max_size() const { return _M_ht.max_size(); }
147 size_type count(const _KT& __key) const { return _M_ht.count(__key); }
156 size_type eras
204 typedef typename _Ht::size_type size_type; typedef in class:unordered_multiset
[all...]
H A D_string_workaround.h58 basic_string(const _Self& __s, size_type __pos, size_type __n = npos,
62 basic_string(const _CharT* __s, size_type __n,
70 basic_string(size_type __n, _CharT __c,
168 size_type __pos, size_type __n) {
173 _Self& append(const _CharT* __s, size_type __n) {
183 _Self& append(size_type __n, _CharT __c) {
219 const size_type __n = __STATIC_CAST(size_type, _STLP_ST
[all...]
H A D_vector.h129 typedef size_t size_type; typedef in class:vector
145 size_type __fill_len, bool __atend);
147 size_type __fill_len, bool __atend) {
158 size_type __fill_len, bool __atend = false) {
165 size_type __fill_len, bool __atend = false);
166 void _M_range_check(size_type __n) const {
167 if (__n >= size_type(this->_M_finish - this->_M_start))
171 size_type _M_compute_next_size(size_type __n) {
172 const size_type __siz
[all...]
H A D_string_io.c33 typedef typename basic_string<_CharT, _Traits, _Alloc>::size_type size_type; typedef
35 // The hypothesis of this implementation is that size_type is unsigned:
36 _STLP_STATIC_ASSERT(__STATIC_CAST(size_type, -1) > 0)
43 size_type __n = __s.size();
72 typedef typename basic_string<_CharT, _Traits, _Alloc>::size_type size_type; typedef
74 // The hypothesis of this implementation is that size_type is unsigned:
75 _STLP_STATIC_ASSERT(__STATIC_CAST(size_type, -1) > 0)
87 size_type __
137 typedef typename basic_string<_CharT, _Traits, _Alloc>::size_type size_type; typedef
[all...]
H A D_hash_set.h62 typedef typename _Ht::size_type size_type; typedef in class:hash_set
85 explicit hash_set(size_type __n)
87 hash_set(size_type __n, const hasher& __hf)
90 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql,
93 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql)
95 hash_set(size_type __n, const hasher& __hf, const key_equal& __eql,
111 hash_set(_InputIterator __f, _InputIterator __l, size_type __n)
115 hash_set(_InputIterator __f, _InputIterator __l, size_type __n,
120 hash_set(_InputIterator __f, _InputIterator __l, size_type __
248 typedef typename _Ht::size_type size_type; typedef in class:hash_multiset
[all...]
H A D_alloc.h282 typedef size_t size_type; typedef in class:allocator
301 _Tp* allocate(size_type __n, const void* = 0) {
306 size_type __buf_size = __n * sizeof(value_type);
317 void deallocate(pointer __p, size_type __n) {
330 size_type max_size() const _STLP_NOTHROW { return size_t(-1) / sizeof(value_type); }
341 _Tp* _M_allocate(size_type __n, size_type& __allocated_n) {
347 size_type __buf_size = __n * sizeof(value_type);
366 typedef size_t size_type; typedef in class:allocator
475 typedef typename _Base::size_type size_typ typedef in class:_STLP_alloc_proxy
[all...]
/external/eigen/Eigen/src/StlSupport/
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/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dstl_allocator.h61 typedef size_t size_type; typedef in class:STL_Allocator
81 pointer allocate(size_type n, const void* = 0) {
85 void deallocate(pointer p, size_type n) { Alloc::Free(p, n * sizeof(T)); }
87 size_type max_size() const { return size_t(-1) / sizeof(T); }
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dstl_allocator.h61 typedef size_t size_type; typedef in class:STL_Allocator
81 pointer allocate(size_type n, const void* = 0) {
85 void deallocate(pointer p, size_type n) { Alloc::Free(p, n * sizeof(T)); }
87 size_type max_size() const { return size_t(-1) / sizeof(T); }
/external/libcxx/test/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/oprofile/libutil++/
H A Dunique_storage.h70 typedef typename stored_values::size_type size_type; typedef in struct:unique_storage::id_value
72 explicit id_value(size_type s) : id(s) {}
75 size_type id;
H A Dsparse_array.h18 typedef typename container_type::size_type size_type; typedef in class:sparse_array
28 T operator[](size_type index) const {
41 T & operator[](size_type index) {
77 size_type size() const {
/external/chromium_org/third_party/re2/re2/
H A Dstringpiece.h123 typedef size_t size_type; typedef in class:re2::StringPiece
125 static const size_type npos;
138 // STLS says return size_type, but Google says return int
142 int copy(char* buf, size_type n, size_type pos = 0) const;
144 int find(const StringPiece& s, size_type pos = 0) const;
145 int find(char c, size_type pos = 0) const;
146 int rfind(const StringPiece& s, size_type pos = npos) const;
147 int rfind(char c, size_type pos = npos) const;
149 StringPiece substr(size_type po
[all...]
/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/stlport/stlport/stl/pointers/
H A D_vector.h68 typedef size_t size_type; typedef in class:vector
89 size_type size() const { return _M_impl.size(); }
90 size_type max_size() const { return _M_impl.max_size(); }
92 size_type capacity() const { return _M_impl.capacity(); }
95 reference operator[](size_type __n) { return cast_traits::to_value_type_ref(_M_impl[__n]); }
96 const_reference operator[](size_type __n) const { return cast_traits::to_value_type_cref(_M_impl[__n]); }
103 reference at(size_type __n) { return cast_traits::to_value_type_ref(_M_impl.at(__n)); }
104 const_reference at(size_type __n) const { return cast_traits::to_value_type_cref(_M_impl.at(__n)); }
110 explicit vector(size_type __n, const value_type& __val = _STLP_DEFAULT_CONSTRUCTED(value_type),
112 vector(size_type __
[all...]
/external/chromium_org/base/win/
H A Di18n_unittest.cc20 EXPECT_NE(static_cast<std::vector<std::wstring>::size_type>(0),
32 EXPECT_NE(static_cast<std::vector<std::wstring>::size_type>(0),
/external/chromium_org/content/shell/renderer/test_runner/
H A Dtest_common.cc12 const std::string::size_type layout_tests_pattern_size =
17 const std::string::size_type data_url_pattern_size =
/external/stlport/stlport/stl/debug/
H A D_vector.h131 void _Check_Overflow(size_type __nb) {
135 void _Compare_Capacity (size_type __old_capacity) {
156 size_type size() const { return _M_non_dbg_impl.size(); }
157 size_type max_size() const { return _M_non_dbg_impl.max_size(); }
158 size_type capacity() const { return _M_non_dbg_impl.capacity(); }
161 reference operator[](size_type __n) {
166 const_reference operator[](size_type __n) const {
171 reference at(size_type __n) { return _M_non_dbg_impl.at(__n); }
172 const_reference at(size_type __n) const { return _M_non_dbg_impl.at(__n); }
178 explicit vector(size_type __
[all...]
/external/chromium_org/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/libcxx/test/strings/basic.string/string.capacity/
H A Dsize.pass.cpp12 // size_type size() const;
21 test(const S& s, typename S::size_type c)

Completed in 656 milliseconds

1234567891011>>