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

1234567891011>>

/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/strings/
H A Dstring_piece.h32 typedef size_t size_type; typedef in class:i18n::phonenumbers::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.cc14 typedef StringPiece::size_type size_type; typedef in namespace:i18n::phonenumbers
37 size_type StringPiece::copy(char* buf, size_type n, size_type pos) const {
38 size_type ret = std::min(length_ - pos, n);
43 size_type StringPiece::find(const StringPiece& s, size_type pos) const {
49 const size_type xpos = result - ptr_;
53 size_type StringPiec
[all...]
/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/chromium_org/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/libcxx/test/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/chromium_org/third_party/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/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/chromium_org/third_party/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/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...]
/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...]
/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...]
/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_org/base/strings/
H A Dstring_piece.h165 typedef size_t size_type; typedef in class:base::BasicStringPiece
174 static const size_type npos;
186 BasicStringPiece(const value_type* offset, size_type len)
191 length_((end > begin) ? (size_type)(end - begin) : 0) {}
198 size_type size() const { return length_; }
199 size_type length() const { return length_; }
206 void set(const value_type* data, size_type len) {
215 value_type operator[](size_type i) const { return ptr_[i]; }
217 void remove_prefix(size_type n) {
222 void remove_suffix(size_type
[all...]

Completed in 700 milliseconds

1234567891011>>