Searched refs:length_ (Results 1 – 10 of 10) sorted by relevance
/art/runtime/base/ |
D | stringpiece.cc | 28 CHECK_LT(i, length_); in operator []() 34 target->assign(ptr_, length_); in CopyToString() 38 size_type ret = std::min(length_ - pos, n); in copy() 44 if (length_ == 0 || pos > static_cast<size_type>(length_)) { in find() 47 const char* result = std::search(ptr_ + pos, ptr_ + length_, s.ptr_, s.ptr_ + s.length_); in find() 49 return xpos + s.length_ <= length_ ? xpos : npos; in find() 53 int r = memcmp(ptr_, x.ptr_, std::min(length_, x.length_)); in compare() 55 if (length_ < x.length_) r = -1; in compare() 56 else if (length_ > x.length_) r = +1; in compare() 62 if (length_ == 0 || pos >= length_) { in find() [all …]
|
D | stringpiece.h | 50 StringPiece() : ptr_(nullptr), length_(0) { } in StringPiece() 52 : ptr_(str), length_((str == nullptr) ? 0 : strlen(str)) { } in StringPiece() 54 : ptr_(str.data()), length_(str.size()) { } in StringPiece() 55 StringPiece(const char* offset, size_t len) : ptr_(offset), length_(len) { } in StringPiece() 62 size_type size() const { return length_; } in size() 63 size_type length() const { return length_; } in length() 64 bool empty() const { return length_ == 0; } in empty() 68 length_ = 0; in clear() 72 length_ = len; in set() 77 length_ = strlen(str); in set() [all …]
|
/art/runtime/hprof/ |
D | hprof.cc | 154 EndianOutput() : length_(0), sum_length_(0), max_length_(0), started_(false) {} in EndianOutput() 158 if (length_ > 0) { in StartNewRecord() 161 DCHECK_EQ(length_, 0U); in StartNewRecord() 172 length_ - sizeof(uint8_t) - 2 * sizeof(uint32_t)); in EndRecord() 177 sum_length_ += length_; in EndRecord() 178 max_length_ = std::max(max_length_, length_); in EndRecord() 179 length_ = 0; in EndRecord() 224 length_ += count; in AddU1List() 228 length_ += count * sizeof(uint16_t); in AddU2List() 232 length_ += count * sizeof(uint32_t); in AddU4List() [all …]
|
/art/compiler/utils/x86/ |
D | assembler_x86.h | 74 CHECK_GE(length_, 2); in disp8() 75 return static_cast<int8_t>(encoding_[length_ - 1]); in disp8() 79 CHECK_GE(length_, 5); in disp32() 81 memcpy(&value, &encoding_[length_ - 4], sizeof(value)); in disp32() 92 Operand() : length_(0), fixup_(nullptr) { } in Operand() 97 length_ = 1; in SetModRM() 101 CHECK_EQ(length_, 1); in SetSIB() 104 length_ = 2; in SetSIB() 108 CHECK(length_ == 1 || length_ == 2); in SetDisp8() 109 encoding_[length_++] = static_cast<uint8_t>(disp); in SetDisp8() [all …]
|
D | assembler_x86.cc | 145 EmitLabel(lbl, dst.length_ + 5); in movl() 1819 const int length = operand.length_; in EmitOperand()
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64.h | 86 CHECK_GE(length_, 2); in disp8() 87 return static_cast<int8_t>(encoding_[length_ - 1]); in disp8() 91 CHECK_GE(length_, 5); in disp32() 93 memcpy(&value, &encoding_[length_ - 4], sizeof(value)); in disp32() 109 Operand() : rex_(0), length_(0), fixup_(nullptr) { } in Operand() 117 length_ = 1; in SetModRM() 121 CHECK_EQ(length_, 1); in SetSIB() 131 length_ = 2; in SetSIB() 135 CHECK(length_ == 1 || length_ == 2); in SetDisp8() 136 encoding_[length_++] = static_cast<uint8_t>(disp); in SetDisp8() [all …]
|
D | assembler_x86_64.cc | 2380 const int length = operand.length_; in EmitOperand()
|
/art/runtime/mirror/ |
D | array.h | 53 return GetField32<kVerifyFlags>(OFFSET_OF_OBJECT_MEMBER(Array, length_)); in GetLength() 60 SetField32<false, false, kVerifyNone>(OFFSET_OF_OBJECT_MEMBER(Array, length_), length); in SetLength() 64 return OFFSET_OF_OBJECT_MEMBER(Array, length_); in LengthOffset() 99 int32_t length_; variable
|
D | array-inl.h | 100 explicit SetLengthVisitor(int32_t length) : length_(length) { in SetLengthVisitor() 108 array->SetLength(length_); in operator() 112 const int32_t length_;
|
/art/runtime/gc/space/ |
D | image_space.cc | 620 length_(length) {} in RelocationRange() 623 return address - source_ < length_; in InSource() 627 return address - dest_ < length_; in InDest() 650 return length_; in Length() 656 const uintptr_t length_; member in art::gc::space::RelocationRange
|