Searched refs:size_type (Results 1 - 11 of 11) 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 Dallocator.h108 typedef typename std::allocator<T>::size_type size_type; typedef in class:art::TrackingAllocatorImpl
133 pointer allocate(size_type n, const_pointer hint = 0) {
141 void deallocate(PT p, size_type n) {
H A Darena_containers.h129 typedef size_t size_type; typedef in class:art::ArenaAllocatorAdapter
150 size_type max_size() const {
151 return static_cast<size_type>(-1) / sizeof(T);
157 pointer allocate(size_type n, ArenaAllocatorAdapter<void>::pointer hint = nullptr) {
162 void deallocate(pointer p, size_type n) {
H A Dscoped_arena_containers.h115 typedef size_t size_type; typedef in class:art::ScopedArenaAllocatorAdapter
141 size_type max_size() const {
142 return static_cast<size_type>(-1) / sizeof(T);
148 pointer allocate(size_type n, ScopedArenaAllocatorAdapter<void>::pointer hint = nullptr) {
155 void deallocate(pointer p, size_type n) {
/art/compiler/utils/
H A Darray_ref.h56 typedef size_t size_type; typedef in class:art::ArrayRef
126 size_type size() const { return size_; }
131 reference operator[](size_type n) {
136 const_reference operator[](size_type n) const {
H A Dswap_space.h139 typedef size_t size_type; typedef in class:art::SwapAllocator
156 size_type max_size() const {
157 return static_cast<size_type>(-1) / sizeof(T);
163 pointer allocate(size_type n, SwapAllocator<void>::pointer hint ATTRIBUTE_UNUSED = nullptr) {
171 void deallocate(pointer p, size_type n) {
/art/runtime/
H A Dsafe_map.h42 typedef typename ::std::map<K, V, Comparator, Allocator>::size_type size_type; typedef in class:art::SafeMap
67 size_type size() const { return map_.size(); }
72 size_type erase(const K& k) { return map_.erase(k); }
80 size_type count(const K& k) const { return map_.count(k); }
/art/compiler/optimizing/
H A Doptimizing_unit_test.h104 std::string::size_type pos = result.find(p.first);
/art/cmdline/
H A Dcmdline_types.h94 std::string::size_type equals_pos = jdwp_option.find('=');
149 std::string::size_type colon = value.find(':');
735 std::string::size_type colon = s.find(c);
/art/dex2oat/
H A Ddex2oat.cc449 std::string::size_type colon = s.find(c);

Completed in 168 milliseconds