Home
last modified time | relevance | path

Searched refs:length_ (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/androidfw/include/androidfw/
DStringPiece.h84 size_t length_; variable
98 inline BasicStringPiece<TChar>::BasicStringPiece() : data_(nullptr), length_(0) {} in BasicStringPiece()
102 : data_(str.data_), length_(str.length_) {} in BasicStringPiece()
106 : data_(str.data()), length_(str.length()) {} in BasicStringPiece()
110 : data_(str), length_(str != nullptr ? strlen(str) : 0) {} in BasicStringPiece()
114 : data_(str), length_(str != nullptr ? strlen16(str) : 0) {} in BasicStringPiece()
118 : data_(str), length_(len) {} in BasicStringPiece()
124 length_ = rhs.length_;
131 length_ = len; in assign()
138 len = length_ - start; in substr()
[all …]
/frameworks/base/tools/aapt2/compile/
DPseudolocalizer.cpp57 PseudoMethodAccent() : depth_(0), word_count_(0), length_(0) {} in PseudoMethodAccent()
66 size_t length_; member in aapt::PseudoMethodAccent
328 word_count_ = length_ = 0; in Start()
335 if (length_) { in End()
337 result += PseudoGenerateExpansion(word_count_ > 3 ? length_ : length_ / 2); in End()
339 word_count_ = length_ = 0; in End()
432 length_++; in Text()
DNinePatch.cpp138 : rows_(rows), xoffset_(xoffset), yoffset_(yoffset), length_(length) {} in HorizontalImageLine()
140 inline int32_t GetLength() const { return length_; } in GetLength()
148 int32_t xoffset_, yoffset_, length_; member in aapt::HorizontalImageLine
161 : rows_(rows), xoffset_(xoffset), yoffset_(yoffset), length_(length) {} in VerticalImageLine()
163 inline int32_t GetLength() const { return length_; } in GetLength()
171 int32_t xoffset_, yoffset_, length_; member in aapt::VerticalImageLine
185 length_(length) {} in DiagonalImageLine()
187 inline int32_t GetLength() const { return length_; } in GetLength()
196 int32_t xoffset_, yoffset_, xstep_, ystep_, length_; member in aapt::DiagonalImageLine
/frameworks/base/tools/aapt2/format/
DContainer.cpp185 if (length_ > std::numeric_limits<int>::max()) { in GetResTable()
186 reader_->error_ = StringPrintf("entry length %zu is too large", length_); in GetResTable()
192 const CodedInputStream::Limit limit = coded_in.PushLimit(static_cast<int>(length_)); in GetResTable()
353 entry_.length_ = entry_length; in Next()
DContainer.h78 size_t length_ = 0u; variable