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

1234567891011>>

/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/
H A Dsize_type.pass.cpp15 // typedef Alloc::size_type | size_t size_type;
28 typedef unsigned short size_type; typedef in struct:A
52 typedef void size_type; typedef in struct:D
68 static_assert((std::is_same<std::allocator_traits<A<char> >::size_type, unsigned short>::value), "");
69 static_assert((std::is_same<std::allocator_traits<B<char> >::size_type,
71 static_assert((std::is_same<std::allocator_traits<C<char> >::size_type,
74 static_assert((std::is_same<std::allocator_traits<D<char> >::size_type, unsigned short>::value), "");
/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/google-breakpad/src/processor/
H A Dpathname_stripper.cc42 string::size_type slash = path.rfind('/');
43 string::size_type backslash = path.rfind('\\');
45 string::size_type file_start = 0;
/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/tensorflow/tensorflow/core/lib/gtl/
H A Darray_slice.h122 typedef typename Impl::size_type size_type; typedef in class:tensorflow::gtl::ArraySlice
125 static const size_type npos = Impl::npos;
128 ArraySlice(const_pointer array, size_type length) : impl_(array, length) {}
168 ArraySlice(const ArraySlice& x, size_type pos, size_type len)
172 size_type size() const { return impl_.size(); }
173 size_type length() const { return size(); }
178 const_reference operator[](size_type i) const { return impl_[i]; }
179 const_reference at(size_type
231 typedef typename Impl::size_type size_type; typedef in class:tensorflow::gtl::MutableArraySlice
[all...]
/external/protobuf/src/google/protobuf/stubs/
H A Dstringpiece.cc91 size_type n,
92 size_type pos) const {
102 stringpiece_ssize_type StringPiece::find(StringPiece s, size_type pos) const {
103 if (length_ <= 0 || pos > static_cast<size_type>(length_)) {
112 stringpiece_ssize_type StringPiece::find(char c, size_type pos) const {
113 if (length_ <= 0 || pos >= static_cast<size_type>(length_)) {
121 stringpiece_ssize_type StringPiece::rfind(StringPiece s, size_type pos) const {
132 stringpiece_ssize_type StringPiece::rfind(char c, size_type pos) const {
136 std::min(pos, static_cast<size_type>(length_ - 1));
163 size_type po
[all...]
H A Dstringpiece.h157 // StringPiece::size_type
352 typedef size_t size_type; typedef in class:google::protobuf::StringPiece
354 static const size_type npos;
371 stringpiece_ssize_type copy(char* buf, size_type n, size_type pos = 0) const; // NOLINT
375 stringpiece_ssize_type find(StringPiece s, size_type pos = 0) const;
376 stringpiece_ssize_type find(char c, size_type pos = 0) const;
377 stringpiece_ssize_type rfind(StringPiece s, size_type pos = npos) const;
378 stringpiece_ssize_type rfind(char c, size_type pos = npos) const;
380 stringpiece_ssize_type find_first_of(StringPiece s, size_type po
[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/python/cpython2/Modules/_ctypes/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/python/cpython3/Modules/_ctypes/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/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) {} \
56 typedef typename vector_base::size_type size_type; \
64 explicit vector(size_type num, const value_type& val = value_type()) : vector_base(num, val) {} \
80 void resize(size_type new_size)
85 void resize(size_type new_size, const value_type& x)
97 void insert(const_iterator position, size_type new_size, const value_type& x)
100 /* Note that before gcc-4.1 we already have: std::vector::resize(size_type,cons
[all...]
H A DStdDeque.h32 typedef deque_base::size_type size_type; \
38 explicit deque(size_type num, const value_type& val = value_type()) : deque_base(num, val) {} \
48 #if !EIGEN_HAS_CXX11_CONTAINERS && !(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&). */
56 typedef typename deque_base::size_type size_type; \
64 explicit deque(size_type num, const value_type& val = value_type()) : deque_base(num, val) {} \
80 void resize(size_type new_size)
85 void resize(size_type new_size, const value_type& x)
99 void insert(const_iterator position, size_type new_siz
[all...]
H A DStdList.h31 typedef list_base::size_type size_type; \
37 explicit list(size_type num, const value_type& val = value_type()) : list_base(num, val) {} \
47 #if !EIGEN_HAS_CXX11_CONTAINERS && !(defined(_GLIBCXX_LIST) && (!EIGEN_GNUC_AT_LEAST(4,1))) /* Note that before gcc-4.1 we already have: std::list::resize(size_type,const T&). */
56 typedef typename list_base::size_type size_type; \
64 explicit list(size_type num, const value_type& val = value_type()) : list_base(num, val) {} \
80 void resize(size_type new_size)
83 void resize(size_type new_size, const value_type& x)
98 void insert(const_iterator position, size_type new_siz
[all...]
/external/libchrome/base/strings/
H A Dstring_piece.h166 typedef size_t size_type; typedef in class:base::BasicStringPiece
175 static const size_type npos;
187 BasicStringPiece(const value_type* offset, size_type len)
208 size_type size() const { return length_; }
209 size_type length() const { return length_; }
216 void set(const value_type* data, size_type len) {
225 value_type operator[](size_type i) const { return ptr_[i]; }
229 void remove_prefix(size_type n) {
234 void remove_suffix(size_type n) {
265 size_type max_siz
[all...]
/external/libcxx/test/support/
H A Dnasty_containers.hpp30 typedef typename nested_container::size_type size_type; typedef in class:nasty_vector
39 explicit nasty_vector(size_type n) : v_(n) {}
40 nasty_vector(size_type n, const value_type& value) : v_(n, value) {}
49 void assign(size_type n, const value_type& u) { v_.assign(n, u); }
69 size_type size() const TEST_NOEXCEPT { return v_.size(); }
70 size_type max_size() const TEST_NOEXCEPT { return v_.max_size(); }
71 size_type capacity() const TEST_NOEXCEPT { return v_.capacity(); }
73 void reserve(size_type n) { v_.reserve(n); };
76 reference operator[](size_type
152 typedef typename nested_container::size_type size_type; typedef in class:nasty_list
[all...]
/external/libbrillo/brillo/
H A Dsecure_blob.h26 void resize(size_type count);
27 void resize(size_type count, const value_type& value);
/external/libcxx/test/std/strings/basic.string/string.capacity/
H A Dsize.pass.cpp12 // size_type size() const;
21 test(const S& s, typename S::size_type c)
/external/llvm/include/llvm/ADT/
H A Dedit_distance.h58 typename ArrayRef<T>::size_type m = FromArray.size();
59 typename ArrayRef<T>::size_type n = ToArray.size();
73 for (typename ArrayRef<T>::size_type y = 1; y <= m; ++y) {
78 for (typename ArrayRef<T>::size_type x = 1; x <= n; ++x) {
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
H A Dedit_distance.h58 typename ArrayRef<T>::size_type m = FromArray.size();
59 typename ArrayRef<T>::size_type n = ToArray.size();
73 for (typename ArrayRef<T>::size_type y = 1; y <= m; ++y) {
78 for (typename ArrayRef<T>::size_type x = 1; x <= n; ++x) {
/external/v8/src/zone/
H A Dzone-allocator.h22 typedef size_t size_type; typedef in class:v8::internal::zone_allocator
44 pointer allocate(size_type n, const void* hint = 0) {
48 void deallocate(pointer p, size_type) { /* noop for Zones */
51 size_type max_size() const throw() {
/external/libcxx/test/std/containers/container.adaptors/queue/queue.defn/
H A Dtypes.pass.cpp20 // typedef typename container_type::size_type size_type;
44 typedef int size_type; typedef in struct:C
54 static_assert(( std::is_same<std::queue<int>::size_type, std::deque<int>::size_type>::value), "");

Completed in 8826 milliseconds

1234567891011>>