/external/pcre/dist/ |
pcre_stringpiece.h | 64 int length_; member in class:pcrecpp::StringPiece 71 : ptr_(NULL), length_(0) { } 73 : ptr_(str), length_(static_cast<int>(strlen(ptr_))) { } 76 length_(static_cast<int>(strlen(ptr_))) { } 78 : ptr_(str.data()), length_(static_cast<int>(str.size())) { } 80 : ptr_(offset), length_(len) { } 89 int size() const { return length_; } 90 bool empty() const { return length_ == 0; } 92 void clear() { ptr_ = NULL; length_ = 0; } 93 void set(const char* buffer, int len) { ptr_ = buffer; length_ = len; [all...] |
/external/v8/src/ |
arguments.h | 18 // (length_, arguments_) are "overlayed" with the parameters 27 // Note that length_ (whose value is in the integer range) is defined 33 : length_(length), arguments_(arguments) { 34 DCHECK_GE(length_, 0); 39 DCHECK_LT(static_cast<uint32_t>(index), static_cast<uint32_t>(length_)); 61 int length() const { return static_cast<int>(length_); } 70 intptr_t length_; member in class:v8::internal::BASE_EMBEDDED
|
bootstrapper.h | 167 : data_(source), length_(length) {} 169 size_t length() const override { return length_; } 173 size_t length_; member in class:v8::internal::final
|
list.h | 68 SLOW_DCHECK(static_cast<unsigned>(i) < static_cast<unsigned>(length_)); 72 inline T& last() const { return at(length_ - 1); } 77 inline iterator end() const { return &data_[length_]; } 79 INLINE(bool is_empty() const) { return length_ == 0; } 80 INLINE(int length() const) { return length_; } 83 Vector<T> ToVector() const { return Vector<T>(data_, length_); } 86 return Vector<const T>(data_, length_); 126 INLINE(T RemoveLast()) { return Remove(length_ - 1); } 140 INLINE(void RewindBy(int count)) { Rewind(length_ - count); } 173 length_ = 0 179 int length_; member in class:v8::internal::List [all...] |
bit-vector.h | 66 : length_(length), 74 : length_(other.length()), 75 data_length_(SizeFor(length_)), 178 int length() const { return length_; } 185 const int length_; member in class:v8::internal::BitVector
|
/external/v8/src/extensions/ |
externalize-string-extension.cc | 20 length_(length) {} 26 virtual size_t length() const { return length_; } 30 const size_t length_; member in class:v8::internal::SimpleStringResource
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
perftest.h | 65 PerfTest() : filename_(), json_(), length_(), whitespace_(), whitespace_length_() {}
85 length_ = (size_t)ftell(fp);
87 json_ = (char*)malloc(length_ + 1);
88 ASSERT_EQ(length_, fread(json_, 1, length_, fp));
89 json_[length_] = '\0';
122 size_t length_;
member in class:PerfTest
|
/system/update_engine/common/ |
multi_range_http_fetcher.h | 127 Range(off_t offset, size_t length) : offset_(offset), length_(length) {} 128 explicit Range(off_t offset) : offset_(offset), length_(0) {} 131 inline size_t length() const { return length_; } 133 inline bool HasLength() const { return (length_ > 0); } 139 size_t length_; member in class:chromeos_update_engine::MultiRangeHttpFetcher::Range
|
/external/libchrome/base/json/ |
json_parser.h | 104 // Either increases the |length_| of the string or copies the character if 133 size_t length_; member in class:base::internal::JSONParser::StringBuilder
|
/external/libweave/third_party/chromium/base/json/ |
json_parser.h | 104 // Either increases the |length_| of the string or copies the character if 133 size_t length_; member in class:base::internal::JSONParser::StringBuilder
|
/external/sfntly/cpp/src/sfntly/table/ |
header.h | 54 int32_t length() { return length_; } 78 int32_t length_; member in class:sfntly::Header
|
/external/v8/src/parsing/ |
scanner-character-streams.h | 61 size_t length_; member in class:v8::internal::GenericStringUtf16CharacterStream
|
/external/v8/tools/ |
parser-shell.cc | 61 : data_(data), length_(length) { } 62 virtual size_t length() const { return length_; } 67 int length_; member in class:StringResource8
|
/external/webrtc/webrtc/base/ |
cryptstring.h | 76 length_ = 0; 85 EnsureStorage(length_ + length + 1); 86 memcpy(storage_ + length_, data, length); 87 length_ += length; 88 storage_[length_] = '\0'; 93 EnsureStorage(length_ + len + 1); 94 password->CopyTo(storage_ + length_, true); 95 length_ += len; 99 return length_; 125 memcpy(storage_, old_storage, length_); 148 size_t length_; member in class:rtc::FormatCryptString [all...] |
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
encodedstreamtest.cpp | 27 EncodedStreamTest() : json_(), length_() {}
30 json_ = ReadFile("utf8.json", true, &length_);
248 size_t length_;
member in class:EncodedStreamTest
|
/system/core/libziparchive/ |
zip_archive_stream_entry.cc | 61 uint32_t length_; member in class:ZipArchiveStreamEntryUncompressed 73 length_ = entry.uncompressed_length; 82 if (length_ == 0) { 86 size_t bytes = (length_ > data_.size()) ? data_.size() : length_; 95 length_ = 0; 103 length_ -= bytes; 108 return length_ == 0 && crc32_ == computed_crc32_; 266 length_ = entry.compressed_length; 272 return length_ == 0 [all...] |
/art/runtime/base/ |
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_ = strlen(str) 168 size_type length_; member in class:art::StringPiece [all...] |
/art/runtime/mirror/ |
array-inl.h | 100 explicit SetLengthVisitor(int32_t length) : length_(length) { 108 array->SetLength(length_); 112 const int32_t length_; member in class:art::mirror::SetLengthVisitor
|
/build/kati/ |
string_piece.h | 64 StringPiece() : ptr_(NULL), length_(0) { } 66 : ptr_(str), length_((str == NULL) ? 0 : strlen(str)) { } 68 : ptr_(str.data()), length_(str.size()) { } 70 : ptr_(str.data()), length_(str.size()) { } 72 : ptr_(offset), length_(len) { } 79 size_type size() const { return length_; } 80 size_type length() const { return length_; } 81 bool empty() const { return length_ == 0; } 85 length_ = 0; 89 length_ = len 185 size_type length_; member in class:StringPiece [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_common.h | 137 : InternalScopedBuffer<char>(max_length), length_(0) { 140 uptr length() { return length_; } 143 length_ = 0; 148 uptr length_; member in class:__sanitizer::InternalScopedString
|
/external/libchrome/base/strings/ |
string_piece.h | 182 BasicStringPiece() : ptr_(NULL), length_(0) {} 185 length_((str == NULL) ? 0 : STRING_TYPE::traits_type::length(str)) {} 187 : ptr_(str.data()), length_(str.size()) {} 189 : ptr_(offset), length_(len) {} 197 length_ = static_cast<size_t>(std::distance(begin, end)); 201 ptr_ = length_ > 0 ? &*begin : nullptr; 209 size_type size() const { return length_; } 210 size_type length() const { return length_; } 211 bool empty() const { return length_ == 0; } 215 length_ = 0 361 size_type length_; member in class:base::BasicStringPiece [all...] |
/external/libweave/third_party/chromium/base/strings/ |
string_piece.h | 106 BasicStringPiece() : ptr_(NULL), length_(0) {} 109 length_((str == NULL) ? 0 : STRING_TYPE::traits_type::length(str)) {} 111 : ptr_(str.data()), length_(str.size()) {} 113 : ptr_(offset), length_(len) {} 116 length_ = static_cast<size_t>(std::distance(begin, end)); 120 ptr_ = length_ > 0 ? &*begin : nullptr; 128 size_type size() const { return length_; } 129 size_type length() const { return length_; } 130 bool empty() const { return length_ == 0; } 134 length_ = 0 280 size_type length_; member in class:base::BasicStringPiece [all...] |
/external/regex-re2/re2/ |
stringpiece.h | 32 int length_; member in class:re2::StringPiece 38 StringPiece() : ptr_(NULL), length_(0) { } 40 : ptr_(str), length_((str == NULL) ? 0 : static_cast<int>(strlen(str))) { } 42 : ptr_(str.data()), length_(static_cast<int>(str.size())) { } 43 StringPiece(const char* offset, int len) : ptr_(offset), length_(len) { } 50 int size() const { return length_; } 51 int length() const { return length_; } 52 bool empty() const { return length_ == 0; } 54 void clear() { ptr_ = NULL; length_ = 0; } 55 void set(const char* data, int len) { ptr_ = data; length_ = len; [all...] |
/external/v8/src/ast/ |
ast-value-factory.h | 121 : length_(left->length() + right->length()), left_(left), right_(right) {} 123 int length() const override { return length_; } 128 const int length_; member in class:v8::internal::final
|
/external/v8/src/compiler/ |
js-operator.h | 354 : constant_(constant), length_(length), flags_(flags), index_(index) {} 357 int length() const { return length_; } 363 int const length_; member in class:v8::internal::compiler::final
|