/art/runtime/base/ |
H A D | stringpiece.cc | 28 CHECK_LT(i, length_); 34 target->assign(ptr_, length_); 38 size_type ret = std::min(length_ - pos, n); 44 if (length_ == 0 || pos > static_cast<size_type>(length_)) { 47 const char* result = std::search(ptr_ + pos, ptr_ + length_, s.ptr_, s.ptr_ + s.length_); 49 return xpos + s.length_ <= length_ ? xpos : npos; 53 int r = memcmp(ptr_, x.ptr_, std::min(length_, [all...] |
H A D | stringpiece.h | 50 StringPiece() : ptr_(nullptr), length_(0) { } 52 : ptr_(str), length_((str == nullptr) ? 0 : strlen(str)) { } 54 : ptr_(str.data()), length_(str.size()) { } 55 StringPiece(const char* offset, size_t len) : ptr_(offset), length_(len) { } 62 size_type size() const { return length_; } 63 size_type length() const { return length_; } 64 bool empty() const { return length_ == 0; } 68 length_ = 0; 72 length_ = len; 77 length_ 168 size_type length_; member in class:art::StringPiece [all...] |
/art/runtime/hprof/ |
H A D | hprof.cc | 157 EndianOutput() : length_(0), sum_length_(0), max_length_(0), started_(false) {} 161 if (length_ > 0) { 164 DCHECK_EQ(length_, 0U); 175 length_ - sizeof(uint8_t) - 2 * sizeof(uint32_t)); 180 sum_length_ += length_; 181 max_length_ = std::max(max_length_, length_); 182 length_ = 0; 227 length_ += count; 231 length_ += count * sizeof(uint16_t); 235 length_ 289 size_t length_; // Current record size. member in class:art::hprof::EndianOutput [all...] |
/art/compiler/utils/x86/ |
H A D | assembler_x86.h | 75 CHECK_GE(length_, 2); 76 return static_cast<int8_t>(encoding_[length_ - 1]); 80 CHECK_GE(length_, 5); 82 memcpy(&value, &encoding_[length_ - 4], sizeof(value)); 93 Operand() : length_(0), fixup_(nullptr) { } 98 length_ = 1; 102 CHECK_EQ(length_, 1); 105 length_ = 2; 109 CHECK(length_ == 1 || length_ 129 uint8_t length_; member in class:art::x86::Operand [all...] |
H A D | assembler_x86.cc | 145 EmitLabel(lbl, dst.length_ + 5); 2447 const int length = operand.length_;
|
/art/runtime/mirror/ |
H A D | array.h | 61 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(Array, length_)); 68 SetField32<false, false, kVerifyNone>(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); 72 return OFFSET_OF_OBJECT_MEMBER(Array, length_); 107 int32_t length_; member in class:art::mirror::Array
|
H A D | array-inl.h | 103 explicit SetLengthVisitor(int32_t length) : length_(length) { 111 array->SetLength(length_); 115 const int32_t length_; member in class:art::mirror::SetLengthVisitor
|
/art/compiler/utils/x86_64/ |
H A D | assembler_x86_64.h | 87 CHECK_GE(length_, 2); 88 return static_cast<int8_t>(encoding_[length_ - 1]); 92 CHECK_GE(length_, 5); 94 memcpy(&value, &encoding_[length_ - 4], sizeof(value)); 110 Operand() : rex_(0), length_(0), fixup_(nullptr) { } 118 length_ = 1; 122 CHECK_EQ(length_, 1); 132 length_ = 2; 136 CHECK(length_ == 1 || length_ 153 uint8_t length_; member in class:art::x86_64::Operand [all...] |
H A D | assembler_x86_64.cc | 3050 const int length = operand.length_;
|
/art/runtime/gc/space/ |
H A D | image_space.cc | 426 length_(length) {} 429 return address - source_ < length_; 433 return address - dest_ < length_; 456 return length_; 462 const uintptr_t length_; member in class:art::gc::space::RelocationRange
|
/art/test/913-heaps/ |
H A D | heaps.cc | 229 : referrer_(referrer), referree_(referree), size_(size), length_(length) {} 238 length_); 248 jint length_; member in class:art::Test913Heaps::FINAL::Elem
|