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

/art/runtime/base/
H A Dstringpiece.cc27 char StringPiece::operator[](size_type i) const {
37 StringPiece::size_type StringPiece::copy(char* buf, size_type n, size_type pos) const {
38 size_type ret = std::min(length_ - pos, n);
43 StringPiece::size_type StringPiece::find(const StringPiece& s, size_type pos) const {
44 if (length_ == 0 || pos > static_cast<size_type>(length_)) {
48 const size_type xpos = result - ptr_;
61 StringPiece::size_type StringPiec
[all...]
H A Dstringpiece.h39 typedef size_t size_type; typedef in class:art::StringPiece
41 static constexpr size_type npos = size_type(-1);
62 size_type size() const { return length_; }
63 size_type length() const { return length_; }
70 void set(const char* data_in, size_type len) {
82 void set(const void* data_in, size_type len) {
88 char operator[](size_type i) const {
92 char operator[](size_type i) const;
95 void remove_prefix(size_type
[all...]
H A Darena_containers.h151 typedef size_t size_type; typedef in class:art::ArenaAllocatorAdapter
172 size_type max_size() const {
173 return static_cast<size_type>(-1) / sizeof(T);
179 pointer allocate(size_type n,
184 void deallocate(pointer p, size_type n) {
H A Dscoped_arena_containers.h117 typedef size_t size_type; typedef in class:art::ScopedArenaAllocatorAdapter
143 size_type max_size() const {
144 return static_cast<size_type>(-1) / sizeof(T);
150 pointer allocate(size_type n,
157 void deallocate(pointer p, size_type n) {
H A Ddchecked_vector.h54 using typename Base::size_type;
62 // Note that we cannot forward to std::vector(size_type, const allocator_type&) because it is not
64 explicit dchecked_vector(size_type n, const allocator_type& alloc = allocator_type())
66 dchecked_vector(size_type n,
124 reference operator[](size_type n) {
128 const_reference operator[](size_type n) const {
156 iterator insert(const_iterator position, size_type n, const value_type& value) {
H A Dallocator.h111 typedef typename std::allocator<T>::size_type size_type; typedef in class:art::TrackingAllocatorImpl
134 pointer allocate(size_type n, const_pointer hint ATTRIBUTE_UNUSED = 0) {
141 void deallocate(PT p, size_type n) {
H A Dhash_set.h127 using size_type = size_t;
/art/compiler/utils/
H A Darray_ref.h56 typedef size_t size_type; typedef in class:art::ArrayRef
130 size_type size() const { return size_; }
135 reference operator[](size_type n) {
140 const_reference operator[](size_type n) const {
168 ArrayRef SubArray(size_type pos) const {
171 ArrayRef SubArray(size_type pos, size_type length) const {
H A Dswap_space.h141 typedef size_t size_type; typedef in class:art::SwapAllocator
158 size_type max_size() const {
159 return static_cast<size_type>(-1) / sizeof(T);
165 pointer allocate(size_type n, SwapAllocator<void>::pointer hint ATTRIBUTE_UNUSED = nullptr) {
175 void deallocate(pointer p, size_type n) {
/art/runtime/
H A Dsafe_map.h43 typedef typename ::std::map<K, V, Comparator, Allocator>::size_type size_type; typedef in class:art::SafeMap
68 size_type size() const { return map_.size(); }
73 size_type erase(const K& k) { return map_.erase(k); }
81 size_type count(const K& k) const { return map_.count(k); }
H A Dutils.cc1856 std::string::size_type colon = s.find(c);
/art/compiler/optimizing/
H A Doptimizing_unit_test.h111 std::string::size_type pos = result.find(p.first);
/art/cmdline/
H A Dcmdline_types.h95 std::string::size_type equals_pos = jdwp_option.find('=');
150 std::string::size_type colon = value.find(':');
746 std::string::size_type colon = s.find(c);

Completed in 141 milliseconds