Searched refs:used_ (Results 1 - 20 of 20) sorted by relevance

/external/chromium_org/media/base/
H A Dbyte_queue.cc18 used_(0) {
25 used_ = 0;
32 size_t size_needed = used_ + size;
46 if (used_ > 0)
47 memcpy(new_buffer.get(), front(), used_);
52 } else if ((offset_ + used_ + size) > size_) {
54 memmove(buffer_.get(), front(), used_);
58 memcpy(front() + used_, data, size);
59 used_ += size;
66 *size = used_;
[all...]
H A Dbyte_queue.h51 int used_; member in class:media::ByteQueue
/external/jsoncpp/src/lib_json/
H A Djson_batchallocator.h64 if ( currentBatch_->used_ == currentBatch_->end_ )
67 while ( currentBatch_ && currentBatch_->used_ == currentBatch_->end_ )
77 AllocatedType *allocated = currentBatch_->used_;
78 currentBatch_->used_ += objectPerAllocation;
95 AllocatedType *used_; member in struct:Json::BatchAllocator::BatchInfo
110 batch->used_ = batch->buffer_;
/external/chromium_org/net/base/
H A Dio_buffer.cc59 used_(0) {
63 SetOffset(used_ + bytes);
67 return size_ - used_;
72 return used_;
78 used_ = bytes;
79 data_ = base_->data() + used_;
H A Dio_buffer.h168 int used_; member in class:net::DrainableIOBuffer
/external/chromium_org/base/
H A Dini_parser.cc12 INIParser::INIParser() : used_(false) {}
17 DCHECK(!used_);
18 used_ = true;
H A Dini_parser.h44 bool used_; member in class:base::INIParser
/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_transaction.cc63 used_(false),
96 used_ = true;
108 DCHECK(used_);
113 DCHECK(used_);
204 if (!used_)
248 DCHECK(!used_ || state_ == STARTED);
259 if (!used_) {
288 bool committed = !used_ || transaction_->CommitPhaseTwo().ok();
H A Dindexed_db_transaction.h118 bool used_; member in class:content::IndexedDBTransaction
H A Dindexed_db_transaction_unittest.cc346 EXPECT_TRUE(transaction->used_);
/external/chromium_org/third_party/libwebp/utils/
H A Dbit_writer.h84 int used_; // number of bits used in accumulator member in struct:__anon12294
97 return (bw->cur_ - bw->buf_) + ((bw->used_ + 7) >> 3);
H A Dbit_writer.c255 assert(bw->used_ + n_bits <= 2 * VP8L_WRITER_MAX_BITS);
259 int used = bw->used_;
290 bw->used_ = used + n_bits;
296 if (VP8LBitWriterResize(bw, (bw->used_ + 7) >> 3)) {
297 while (bw->used_ > 0) {
300 bw->used_ -= 8;
302 bw->used_ = 0;
/external/webp/src/utils/
H A Dbit_writer.h84 int used_; // number of bits used in accumulator member in struct:__anon32509
97 return (bw->cur_ - bw->buf_) + ((bw->used_ + 7) >> 3);
H A Dbit_writer.c255 assert(bw->used_ + n_bits <= 2 * VP8L_WRITER_MAX_BITS);
259 int used = bw->used_;
290 bw->used_ = used + n_bits;
296 if (VP8LBitWriterResize(bw, (bw->used_ + 7) >> 3)) {
297 while (bw->used_ > 0) {
300 bw->used_ -= 8;
302 bw->used_ = 0;
/external/clang/test/SemaCXX/
H A Dwarn-unused-private-field.cpp95 used_ = 42;
107 int used_, unused_; // expected-warning{{private field 'unused_' is not used}} member in class:A
/external/chromium_org/net/http/
H A Dhttp_stream_parser.cc117 used_(0) {
123 SetOffset(used_ + bytes);
128 return size_ - used_;
136 used_ = bytes;
137 data_ = real_data_ + used_;
172 int used_; member in class:net::HttpStreamParser::SeekableIOBuffer
/external/chromium_org/net/ocsp/
H A Dnss_ocsp.cc62 used_ = true;
72 return used_;
96 used_ = false;
112 bool used_; // Protected by |lock_|. member in class:net::__anon8753::OCSPIOLoop
113 // This should not be modified after |used_|.
497 used_(false),
507 DCHECK(!used_);
524 used_ = false;
/external/chromium_org/chrome/browser/history/
H A Durl_index_private_data.h177 // marking the cache item as being |used_|. If we find a prefix for a search
181 // not mark the item as being |used_|.
192 bool used_; // True if this item has been used for the current term search. member in struct:history::URLIndexPrivateData::SearchTermCacheItem
296 // Clears |used_| for each item in the search term cache.
H A Durl_index_private_data.cc188 // Reset used_ flags for search_term_cache_. We use a basic mark-and-sweep
269 if (!cache_iter->second.used_)
575 best_prefix->second.used_ = true;
874 iter->second.used_ = false;
1253 used_(true) {}
1256 : used_(true) {}
H A Din_memory_url_index_unittest.cc300 EXPECT_TRUE(cache_item.used_)

Completed in 813 milliseconds