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

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/strings/
string_piece.h 32 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 n)
    [all...]
string_piece.cc 14 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 StringPiece::find(char c, size_type pos) const
    [all...]
  /external/chromium_org/chrome/browser/sessions/
session_command.h 31 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()); }
session_command.cc 11 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/
size_type.pass.cpp 15 // 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/
tinystr.cpp 30 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_len = static_cast<TiXmlString::size_type>( strlen(a) )
    [all...]
tinystr.h 59 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 index) cons
    [all...]
  /external/chromium_org/third_party/re2/util/
stringpiece.cc 36 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_ - 1))
    [all...]
  /art/runtime/base/
stringpiece.cc 28 int StringPiece::copy(char* buf, size_type n, size_type pos) const {
34 StringPiece::size_type StringPiece::find(const StringPiece& s, size_type pos) const {
35 if (length_ < 0 || pos > static_cast<size_type>(length_))
40 const size_type xpos = result - ptr_;
41 return xpos + s.length_ <= static_cast<size_type>(length_) ? xpos : npos;
53 StringPiece::size_type StringPiece::find(char c, size_type pos) const {
54 if (length_ <= 0 || pos >= static_cast<size_type>(length_))
    [all...]
stringpiece.h 129 typedef size_t size_type; typedef in class:art::StringPiece
131 static const size_type npos;
144 // STLS says return size_type, but Google says return int
148 int copy(char* buf, size_type n, size_type pos = 0) const;
150 size_type find(const StringPiece& s, size_type pos = 0) const;
151 size_type find(char c, size_type pos = 0) const;
152 size_type rfind(const StringPiece& s, size_type pos = npos) const
    [all...]
  /external/oprofile/libutil++/
growable_vector.h 25 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 size, T const & value)
    [all...]
sparse_array.h 18 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/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/
p1-retmem.cpp 8 typedef int size_type; typedef in struct:X0
11 size_type f0() const;
17 typename X0<T>::size_type X0<T>::f0() const {
p1.cpp 5 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/oprofile/libpp/
symbol_container.h 33 typedef symbols_t::size_type size_type; typedef in class:symbol_container
36 size_type size() const;
  /external/chromium_org/base/strings/
string_piece.h 165 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 n)
    [all...]
  /external/ceres-solver/include/ceres/internal/
fixed_array.h 89 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 n
    [all...]
  /external/eigen/Eigen/src/StlSupport/
StdVector.h 32 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,const T&)
    [all...]
StdDeque.h 40 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_size, const value_type& x
    [all...]
  /external/chromium_org/third_party/angle/src/compiler/translator/
PoolAlloc.h 235 typedef size_t size_type; typedef in class:pool_allocator
267 void* allocate(size_type n) {
270 void* allocate(size_type n, const void*) {
273 void deallocate(void*, size_type) {}
275 pointer allocate(size_type n) {
278 pointer allocate(size_type n, const void*) {
281 void deallocate(pointer, size_type) {}
290 size_type max_size() const { return static_cast<size_type>(-1) / sizeof(T); }
291 size_type max_size(int size) const { return static_cast<size_type>(-1) / size;
    [all...]
  /external/chromium_org/third_party/tcmalloc/chromium/src/base/
stl_allocator.h 61 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/
stl_allocator.h 61 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/v8/src/
zone-allocator.h 23 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/containers/
stack_allocator.h 27 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/
StartupConfig.cpp 44 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));

Completed in 1330 milliseconds

1 2 3 4 5 6 7 8 91011>>