/external/chromium_org/net/base/ |
upload_bytes_element_reader_unittest.cc | 20 bytes_.assign(kData, kData + arraysize(kData)); 21 reader_.reset(new UploadBytesElementReader(&bytes_[0], bytes_.size())); 23 EXPECT_EQ(bytes_.size(), reader_->GetContentLength()); 24 EXPECT_EQ(bytes_.size(), reader_->BytesRemaining()); 28 std::vector<char> bytes_; member in class:net::UploadBytesElementReaderTest 33 const size_t kHalfSize = bytes_.size() / 2; 39 EXPECT_EQ(bytes_.size() - buf.size(), reader_->BytesRemaining()); 40 bytes_.resize(kHalfSize); // Resize to compare. 41 EXPECT_EQ(bytes_, buf) [all...] |
upload_file_element_reader_unittest.cc | 23 // Some tests (*.ReadPartially) rely on bytes_.size() being even. 25 bytes_.assign(kData, kData + arraysize(kData) - 1); 32 static_cast<int>(bytes_.size()), 33 base::WriteFile(temp_file_path_, &bytes_[0], bytes_.size())); 44 EXPECT_EQ(bytes_.size(), reader_->GetContentLength()); 45 EXPECT_EQ(bytes_.size(), reader_->BytesRemaining()); 54 std::vector<char> bytes_; member in class:net::UploadFileElementReaderTest 61 const size_t kHalfSize = bytes_.size() / 2; 62 ASSERT_EQ(bytes_.size(), kHalfSize * 2) [all...] |
upload_bytes_element_reader.cc | 16 : bytes_(bytes), 55 // the address of an element in |bytes_| and that will throw an 56 // exception if |bytes_| is an empty vector. 58 memcpy(buf->data(), bytes_ + offset_, num_bytes_to_read);
|
upload_bytes_element_reader.h | 25 const char* bytes() const { return bytes_; } 39 const char* const bytes_; member in class:net::UploadBytesElementReader
|
/external/chromium_org/components/rappor/ |
bloom_filter.cc | 15 : bytes_(bytes_size), 24 for (size_t i = 0; i < bytes_.size(); ++i) { 25 bytes_[i] = 0; 33 uint32_t byte_index = (index / 8) % bytes_.size(); 35 bytes_[byte_index] |= 1 << bit_index; 40 DCHECK_EQ(bytes_.size(), bytes.size()); 41 for (size_t i = 0; i < bytes_.size(); ++i) { 42 bytes_[i] = bytes[i];
|
bloom_filter.h | 32 const ByteVector& bytes() const { return bytes_; }; 39 ByteVector bytes_; member in class:rappor::BloomFilter
|
/external/chromium_org/content/child/webcrypto/ |
crypto_data.cc | 11 CryptoData::CryptoData() : bytes_(NULL), byte_length_(0) {} 14 : bytes_(bytes), byte_length_(byte_length) {} 17 : bytes_(bytes.size() ? &bytes[0] : NULL), byte_length_(bytes.size()) {} 20 : bytes_(bytes.size() ? reinterpret_cast<const unsigned char*>(bytes.data()) 25 : bytes_(bytes.data()), byte_length_(bytes.size()) {}
|
crypto_data.h | 37 const unsigned char* bytes() const { return bytes_; } 41 const unsigned char* const bytes_; member in class:content::webcrypto::CryptoData
|
/external/chromium_org/net/quic/congestion_control/ |
leaky_bucket.cc | 12 : bytes_(0), 24 bytes_ += bytes; 30 (bytes_ * base::Time::kMicrosecondsPerSecond) / 40 return bytes_; 46 if (bytes_cleared >= bytes_) { 47 bytes_ = 0; 49 bytes_ -= bytes_cleared;
|
leaky_bucket.h | 40 QuicByteCount bytes_; member in class:net::LeakyBucket
|
/external/chromium_org/base/memory/ |
discardable_memory_ashmem.cc | 16 : bytes_(bytes), 20 manager_->Register(this, bytes_); 62 ashmem_chunk_ = allocator_->Allocate(bytes_);
|
discardable_memory_ashmem.h | 43 const size_t bytes_; member in class:base::internal::DiscardableMemoryAshmem
|
discardable_memory_emulated.cc | 34 : bytes_(bytes), 93 memory_.reset(new uint8[bytes_]);
|
discardable_memory_emulated.h | 44 const size_t bytes_; member in class:base::internal::DiscardableMemoryEmulated
|
discardable_memory_mac.cc | 45 bytes_(mach_vm_round_page(bytes)), 91 bytes_, 94 memory_.reset(address, bytes_); 150 const size_t bytes_; member in class:base::__anon6958::DiscardableMemoryMac
|
/external/chromium_org/third_party/webrtc/base/ |
bytebuffer.cc | 51 bytes_ = new char[size_]; 55 memcpy(bytes_, bytes, end_); 62 delete[] bytes_; 130 val->append(bytes_ + start_, len); 140 memcpy(val, bytes_ + start_, len); 186 char* start = bytes_ + end_; 195 memmove(bytes_, bytes_ + start_, len); 200 memcpy(new_bytes, bytes_ + start_, len); 201 delete [] bytes_; [all...] |
/external/chromium_org/third_party/icu/source/common/ |
bytestrieiterator.cpp | 25 : bytes_(static_cast<const uint8_t *>(trieBytes)), 26 pos_(bytes_), initialPos_(bytes_), 47 : bytes_(trie.bytes_), pos_(trie.pos_), initialPos_(trie.pos_), 113 pos=bytes_+stack_->elementAti(stackSize-2); 184 stack_->addElement((int32_t)(skipDelta(pos)-bytes_), errorCode); 197 stack_->addElement((int32_t)(pos-bytes_), errorCode);
|
/external/icu/icu4c/source/common/ |
bytestrieiterator.cpp | 25 : bytes_(static_cast<const uint8_t *>(trieBytes)), 26 pos_(bytes_), initialPos_(bytes_), 47 : bytes_(trie.bytes_), pos_(trie.pos_), initialPos_(trie.pos_), 113 pos=bytes_+stack_->elementAti(stackSize-2); 184 stack_->addElement((int32_t)(skipDelta(pos)-bytes_), errorCode); 197 stack_->addElement((int32_t)(pos-bytes_), errorCode);
|
/external/chromium_org/sync/internal_api/public/base/ |
ordinal.h | 196 std::string bytes_; member in class:syncer::Ordinal 198 // A cache of the result of IsValidOrdinalBytes(bytes_). 231 : bytes_(bytes), 232 is_valid_(IsValidOrdinalBytes(bytes_)) {} 246 DCHECK_EQ(IsValidOrdinalBytes(bytes_), is_valid_); 264 base::EscapeBytesAsInvalidJSONString(bytes_, false /* put_in_quotes */); 275 return bytes_ < other.bytes_; 282 return bytes_ > other.bytes_; [all...] |
/external/chromium_org/cc/resources/ |
prioritized_resource.cc | 21 bytes_(0), 28 bytes_ = Resource::MemorySizeBytes(size, format); 54 bytes_ = Resource::MemorySizeBytes(size, format); 116 bytes_ = bytes;
|
/external/chromium_org/storage/common/ |
data_element.cc | 11 bytes_(NULL),
|
data_element.h | 36 const char* bytes() const { return bytes_ ? bytes_ : &buf_[0]; } 57 bytes_ = bytes; 88 const char* bytes_; // For TYPE_BYTES. member in class:storage::DataElement
|
/external/chromium_org/gin/ |
array_buffer.h | 33 void* bytes() const { return bytes_; } 40 void* bytes_; member in class:gin::ArrayBuffer
|
/external/chromium_org/media/cast/test/utility/ |
udp_proxy_main.cc | 21 ByteCounter() : bytes_(0), packets_(0) { 30 byte_data_.push_back(bytes_); 51 bytes_ += x; 56 uint64 bytes_; member in class:ByteCounter
|
/external/chromium_org/third_party/icu/source/common/unicode/ |
bytestrie.h | 65 : ownedArray_(NULL), bytes_(static_cast<const uint8_t *>(trieBytes)), 66 pos_(bytes_), remainingMatchLength_(-1) {} 81 : ownedArray_(NULL), bytes_(other.bytes_), 90 pos_=bytes_; 123 state.bytes=bytes_; 140 if(bytes_==state.bytes && bytes_!=NULL) { 168 return nextImpl(bytes_, inByte); 321 const uint8_t *bytes_; member in class:BytesTrie::Iterator 507 const uint8_t *bytes_; member in class:BytesTrie [all...] |