/external/chromium_org/base/ |
pickle.cc | 166 header_size_(sizeof(Header)), 175 header_size_(AlignInt(header_size, sizeof(uint32))), 186 header_size_(0), 190 header_size_ = data_len - header_->payload_size; 192 if (header_size_ > static_cast<unsigned int>(data_len)) 193 header_size_ = 0; 195 if (header_size_ != AlignInt(header_size_, sizeof(uint32))) 196 header_size_ = 0; 199 if (!header_size_) [all...] |
pickle.h | 133 size_t size() const { return header_size_ + header_->payload_size; } 270 DCHECK_EQ(header_size_, sizeof(T)); 275 DCHECK_EQ(header_size_, sizeof(T)); 283 return reinterpret_cast<const char*>(header_) + header_size_; 295 return reinterpret_cast<char*>(header_) + header_size_; 324 size_t header_size_; // Supports extra data between header and payload. member in class:Pickle
|
pickle_unittest.cc | 172 EXPECT_TRUE(end == Pickle::FindNext(pickle.header_size_, start, end)); 173 EXPECT_TRUE(NULL == Pickle::FindNext(pickle.header_size_, start, end - 1)); 174 EXPECT_TRUE(end == Pickle::FindNext(pickle.header_size_, start, end + 1));
|
/external/chromium/base/ |
pickle.cc | 24 header_size_(sizeof(Header)), 33 header_size_(AlignInt(header_size, sizeof(uint32))), 44 header_size_(0), 48 header_size_ = data_len - header_->payload_size; 50 if (header_size_ > static_cast<unsigned int>(data_len)) 51 header_size_ = 0; 53 if (header_size_ != AlignInt(header_size_, sizeof(uint32))) 54 header_size_ = 0; 57 if (!header_size_) [all...] |
pickle.h | 59 size_t size() const { return header_size_ + header_->payload_size; } 151 DCHECK_EQ(header_size_, sizeof(T)); 156 DCHECK_EQ(header_size_, sizeof(T)); 175 return reinterpret_cast<char*>(header_) + header_size_; 178 return reinterpret_cast<const char*>(header_) + header_size_; 236 size_t header_size_; // Supports extra data between header and payload. member in class:Pickle
|
pickle_unittest.cc | 175 EXPECT_TRUE(end == Pickle::FindNext(pickle.header_size_, start, end)); 176 EXPECT_TRUE(NULL == Pickle::FindNext(pickle.header_size_, start, end - 1)); 177 EXPECT_TRUE(end == Pickle::FindNext(pickle.header_size_, start, end + 1));
|
/art/runtime/ |
dex_file_test.cc | 93 EXPECT_EQ(112U, header.header_size_);
|
dex_file_verifier.cc | 160 if (header_->header_size_ != sizeof(DexFile::Header)) { 161 LOG(ERROR) << "Bad header size: " << header_->header_size_; [all...] |
dex_file.h | 68 uint32_t header_size_; // offset to start of next section member in struct:art::DexFile::Header [all...] |