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

1234567891011

/external/chromium/base/
H A Dstring_piece.h32 typedef size_t size_type; typedef in class:base::StringPiece
43 static const size_type npos;
54 StringPiece(const char* offset, size_type len)
62 size_type size() const { return length_; }
63 size_type length() const { return length_; }
70 void set(const char* data, size_type len) {
78 void set(const void* data, size_type len) {
83 char operator[](size_type i) const { return ptr_[i]; }
85 void remove_prefix(size_type n) {
90 void remove_suffix(size_type
[all...]
H A Dstring_piece.cc13 typedef StringPiece::size_type size_type; typedef in namespace:base
31 size_type StringPiece::copy(char* buf, size_type n, size_type pos) const {
32 size_type ret = std::min(length_ - pos, n);
37 size_type StringPiece::find(const StringPiece& s, size_type pos) const {
43 const size_type xpos = result - ptr_;
47 size_type StringPiec
[all...]
/external/astl/include/
H A Dstring63 typedef size_t size_type;
72 static const size_type npos = static_cast<size_type>(-1);
84 string(const string& str, size_t pos, size_type n);
87 string(const string& str, size_type pos);
96 string(const value_type *str, size_type n);
113 size_type length() const { return mLength; }
114 size_type size() const { return mLength; }
140 string& erase(size_type pos = 0, size_type
[all...]
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/
H A Dp1-retmem.cpp7 typedef int size_type; typedef in struct:X0
10 size_type f0() const;
16 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/chromium/chrome/browser/sessions/
H A Dsession_command.h31 typedef uint16 size_type; typedef in class:SessionCommand
35 SessionCommand(id_type id, size_type size);
49 size_type size() const { return static_cast<size_type>(contents_.size()); }
H A Dsession_command.cc11 SessionCommand::SessionCommand(id_type id, size_type size)
19 DCHECK(pickle.size() < std::numeric_limits<size_type>::max());
/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/oprofile/libutil++/
H A Dgrowable_vector.h25 typedef typename container_type::size_type size_type; typedef in class:growable_vector
32 T operator[](size_type index) const {
44 T & operator[](size_type index) {
58 size_type min_size = min(container.size(), rhs.container.size());
59 for (size_type i = 0 ; i < min_size; ++i)
74 size_type min_size = min(container.size(), rhs.container.size());
75 for (size_type i = 0 ; i < min_size; ++i)
83 size_type size() const {
89 void fill(size_type siz
[all...]
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;
/external/stlport/stlport/stl/debug/
H A D_string.h75 void _Compare_Capacity (size_type __old_capacity) {
101 basic_string(const _Self& __s, size_type __pos, size_type __n = npos,
106 basic_string(const _CharT* __s, size_type __n,
116 basic_string(size_type __n, _CharT __c,
194 size_type size() const { return _M_non_dbg_impl.size(); }
195 size_type length() const { return _M_non_dbg_impl.length(); }
198 void resize(size_type __n, _CharT __c) {
205 void resize(size_type __n) { resize(__n, _STLP_DEFAULT_CONSTRUCTED(_CharT)); }
206 size_type capacit
[all...]
H A D_string_sum_methods.h30 size_type __pos, size_type __n = npos,
34 size_type __size = __s.size();
45 _Base& _M_append_fast(_CharT const* __s, size_type __s_size, _Base &__str)
59 _Base& _M_append_fast_pos(_STLP_PRIV __char_wrapper<_CharT> __c, _Base &__str, size_type /*__pos*/, size_type __n) {
64 _Base& _M_append_fast_pos(_CharT const* __s, size_type __s_size, _Base &__str,
65 size_type __pos, size_type __n)
68 size_type __po
[all...]
/external/stlport/stlport/stl/
H A D_string_sum.h92 typedef typename _BString::size_type size_type; typedef in class:__bstr_sum
109 size_type size() const { return _lhs.size() + _rhs.size(); }
110 size_type length() const { return size(); }
113 size_type capacity() const { return size(); }
119 const_reference at(size_type __n) const
135 _BString& append(const _BString& __s, size_type __pos, size_type __n)
138 const size_type __n = _Traits::length(__s);
141 _CStrOnLeft append(const _CharT* __s, size_type __
[all...]
H A D_string_sum_methods.h30 size_type __pos, size_type __n = npos,
33 size_type __size = __s.size();
45 _CharT* _M_append_fast(_CharT const* __s, size_type __s_size, _CharT *__buf)
59 _CharT* _M_append_fast_pos(_STLP_PRIV __char_wrapper<_CharT> __c, _CharT *__buf, size_type /*__pos*/, size_type __n) {
65 _CharT* _M_append_fast_pos(_CharT const* __s, size_type __s_size, _CharT *__buf,
66 size_type __pos, size_type __n)
69 size_type __po
[all...]
H A D_string.h138 typedef typename _Base::size_type size_type; typedef in class:basic_string
183 basic_string(const _Self& __s, size_type __pos, size_type __n = npos,
186 basic_string(const _Self& __s, size_type __pos)
193 basic_string(const _Self& __s, size_type __pos, size_type __n)
201 basic_string(const _Self& __s, size_type __pos, size_type __n,
213 basic_string(const _CharT* __s, size_type __
[all...]
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...]
/external/astl/src/
H A Dstring.cpp70 bool string::SafeMalloc(size_type n)
92 void string::SafeRealloc(size_type n)
143 void string::Constructor(const value_type *str, size_type n)
149 void string::Constructor(const value_type *str, size_type pos, size_type n)
162 void string::Constructor(size_type n, char c)
186 string::string(const string& str, size_type pos, size_type n)
201 string::string(const string& str, size_type pos)
225 string::string(const value_type *str, size_type
[all...]
/external/libffi/testsuite/libffi.call/
H A Dpyobjc-tc.c36 ffi_type size_type; local
55 size_type.size = 0;/* sizeof(Size);*/
56 size_type.alignment = 0;/* __alignof__(Size);*/
57 size_type.type = FFI_TYPE_STRUCT;
58 size_type.elements = malloc(3 * sizeof(ffi_type*));
59 size_type.elements[0] = &ffi_type_float;
60 size_type.elements[1] = &ffi_type_float;
61 size_type.elements[2] = NULL;
68 rect_type.elements[1] = &size_type;
/external/oprofile/libpp/
H A Dsymbol_container.h33 typedef symbols_t::size_type size_type; typedef in class:symbol_container
36 size_type size() const;
/external/chromium/chrome/browser/debugger/
H A Ddevtools_remote_message_unittest.cc37 static_cast<std::string::size_type>(message.content_length()));
38 ASSERT_EQ(static_cast<DevToolsRemoteMessage::HeaderMap::size_type>(2),
50 ASSERT_EQ(static_cast<DevToolsRemoteMessage::HeaderMap::size_type>(3),
67 static_cast<DevToolsRemoteMessage::HeaderMap::size_type>(
/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...]

Completed in 826 milliseconds

1234567891011