HomeSort by relevance Sort by last modified time
    Searched refs:size_type (Results 1 - 25 of 174) sorted by null

1 2 3 4 5 6 7

  /frameworks/base/media/libstagefright/include/
stagefright_string.h 27 typedef size_t size_type; typedef in class:android::string
28 static size_type npos;
33 string(const string &from, size_type start, size_type length = npos);
36 size_type size() const;
39 void erase(size_type from, size_type length);
41 size_type find(char c) const;
  /external/chromium/base/
string_piece.h 31 typedef size_t size_type; typedef in class:base::StringPiece
35 size_type length_;
46 StringPiece(const char* offset, size_type len)
54 size_type size() const { return length_; }
55 size_type length() const { return length_; }
62 void set(const char* data, size_type len) {
70 void set(const void* data, size_type len) {
75 char operator[](size_type i) const { return ptr_[i]; }
77 void remove_prefix(size_type n) {
82 void remove_suffix(size_type n)
    [all...]
string_piece.cc 13 typedef StringPiece::size_type size_type; typedef in namespace:base
36 size_type StringPiece::copy(char* buf, size_type n, size_type pos) const {
37 size_type ret = std::min(length_ - pos, n);
42 size_type StringPiece::find(const StringPiece& s, size_type pos) const {
48 const size_type xpos = result - ptr_;
52 size_type StringPiece::find(char c, size_type pos) const
    [all...]
  /external/astl/include/
string 63 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 n = npos)
    [all...]
  /external/tinyxml/
tinystr.h 56 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 index) cons
    [all...]
tinystr.cpp 35 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_len = static_cast<TiXmlString::size_type>( strlen(a) )
    [all...]
  /external/stlport/stlport/stl/
_string_sum_methods.h 30 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 __pos, size_type __n
    [all...]
_string_sum.h 92 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 __n
    [all...]
_string.h 138 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 __n
    [all...]
_hashtable.h 119 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 __n) { return _ElemsIte(_M_buckets[__n]);
    [all...]
_unordered_map.h 60 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 erase(const key_type& __key) {return _M_ht.erase(__key);
228 typedef typename _Ht::size_type size_type; typedef in class:unordered_multimap
    [all...]
_unordered_set.h 54 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 erase(const key_type& __key) {return _M_ht.erase(__key);
204 typedef typename _Ht::size_type size_type; typedef in class:unordered_multiset
    [all...]
  /ndk/sources/android/stlport/stlport/stl/
_string_sum_methods.h 30 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 __pos, size_type __n
    [all...]
_string_sum.h 92 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 __n
    [all...]
_string.h 138 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 __n
    [all...]
_hashtable.h 119 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 __n) { return _ElemsIte(_M_buckets[__n]);
    [all...]
_unordered_map.h 60 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 erase(const key_type& __key) {return _M_ht.erase(__key);
228 typedef typename _Ht::size_type size_type; typedef in class:unordered_multimap
    [all...]
_unordered_set.h 54 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 erase(const key_type& __key) {return _M_ht.erase(__key);
204 typedef typename _Ht::size_type size_type; typedef in class:unordered_multiset
    [all...]
  /external/stlport/stlport/stl/debug/
_string.h 75 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 capacity() const { return _M_non_dbg_impl.capacity();
    [all...]
_string_sum_methods.h 30 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 __pos, size_type __n
    [all...]
  /ndk/sources/android/stlport/stlport/stl/debug/
_string.h 75 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 capacity() const { return _M_non_dbg_impl.capacity();
    [all...]
_string_sum_methods.h 30 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 __pos, size_type __n
    [all...]
  /frameworks/base/media/libstagefright/
string.cpp 24 string::size_type string::npos = (string::size_type)-1;
33 string::string(const string &from, size_type start, size_type length) {
52 string::size_type string::size() const {
60 string::size_type string::find(char c) const {
67 return index < 0 ? npos : (size_type)index;
  /external/astl/src/
string.cpp 70 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 n
    [all...]
  /external/libffi/testsuite/libffi.call/
pyobjc-tc.c 36 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;

Completed in 520 milliseconds

1 2 3 4 5 6 7