/external/chromium_org/third_party/leveldatabase/src/port/ |
atomic_pointer.h | 111 void* rep_; member in class:leveldb::port::AtomicPointer 114 explicit AtomicPointer(void* p) : rep_(p) {} 115 inline void* NoBarrier_Load() const { return rep_; } 116 inline void NoBarrier_Store(void* v) { rep_ = v; } 118 void* result = rep_; 124 rep_ = v; 132 std::atomic<void*> rep_; 135 explicit AtomicPointer(void* v) : rep_(v) { } 137 return rep_.load(std::memory_order_acquire); 140 rep_.store(v, std::memory_order_release) [all...] |
port_example.h | 77 intptr_t rep_; member in class:leveldb::port::AtomicPointer 83 explicit AtomicPointer(void* v) : rep_(v) { }
|
/external/tinyxml/ |
tinystr.h | 63 TiXmlString () : rep_(&nullrep_) 127 const char * c_str () const { return rep_->str; } 130 const char * data () const { return rep_->str; } 133 size_type length () const { return rep_->size; } 136 size_type size () const { return rep_->size; } 139 bool empty () const { return rep_->size == 0; } 142 size_type capacity () const { return rep_->capacity; } 149 return rep_->str[ index ]; 156 return rep_->str[ index ]; 198 Rep* r = rep_; [all...] |
/external/sfntly/cpp/src/test/tinyxml/ |
tinystr.h | 66 TiXmlString () : rep_(&nullrep_) 71 TiXmlString ( const TiXmlString & copy) : rep_(0) 78 TIXML_EXPLICIT TiXmlString ( const char * copy) : rep_(0) 85 TIXML_EXPLICIT TiXmlString ( const char * str, size_type len) : rep_(0) 128 const char * c_str () const { return rep_->str; } 131 const char * data () const { return rep_->str; } 134 size_type length () const { return rep_->size; } 137 size_type size () const { return rep_->size; } 140 bool empty () const { return rep_->size == 0; } 143 size_type capacity () const { return rep_->capacity; [all...] |
/external/chromium_org/third_party/leveldatabase/src/db/ |
write_batch.cc | 5 // WriteBatch::rep_ := 38 rep_.clear(); 39 rep_.resize(kHeader); 43 Slice input(rep_); 83 return DecodeFixed32(b->rep_.data() + 8); 87 EncodeFixed32(&b->rep_[8], n); 91 return SequenceNumber(DecodeFixed64(b->rep_.data())); 95 EncodeFixed64(&b->rep_[0], seq); 100 rep_.push_back(static_cast<char>(kTypeValue)); 101 PutLengthPrefixedSlice(&rep_, key) [all...] |
write_batch_internal.h | 32 return Slice(batch->rep_); 36 return batch->rep_.size();
|
dbformat.h | 143 std::string rep_; member in class:leveldb::InternalKey 145 InternalKey() { } // Leave rep_ as empty to indicate it is invalid 147 AppendInternalKey(&rep_, ParsedInternalKey(user_key, s, t)); 150 void DecodeFrom(const Slice& s) { rep_.assign(s.data(), s.size()); } 152 assert(!rep_.empty()); 153 return rep_; 156 Slice user_key() const { return ExtractUserKey(rep_); } 159 rep_.clear(); 160 AppendInternalKey(&rep_, p); 163 void Clear() { rep_.clear(); [all...] |
dbformat.cc | 37 if (ParseInternalKey(rep_, &parsed)) { 41 result.append(EscapeString(rep_));
|
c.cc | 504 const FilterPolicy* rep_; member in struct:Wrapper 505 ~Wrapper() { delete rep_; } 506 const char* Name() const { return rep_->Name(); } 508 return rep_->CreateFilter(keys, n, dst); 511 return rep_->KeyMayMatch(key, filter); 516 wrapper->rep_ = NewBloomFilterPolicy(bits_per_key);
|
/external/chromium_org/third_party/leveldatabase/src/table/ |
table_builder.cc | 64 : rep_(new Rep(options, file)) { 65 if (rep_->filter_block != NULL) { 66 rep_->filter_block->StartBlock(0); 71 assert(rep_->closed); // Catch errors where caller forgot to call Finish() 72 delete rep_->filter_block; 73 delete rep_; 80 if (options.comparator != rep_->options.comparator) { 84 // Note that any live BlockBuilders point to rep_->options and therefore 86 rep_->options = options; 87 rep_->index_block_options = options [all...] |
table.cc | 88 if (rep_->options.filter_policy == NULL) { 96 if (!ReadBlock(rep_->file, opt, footer.metaindex_handle(), &contents).ok()) { 104 key.append(rep_->options.filter_policy->Name()); 124 if (!ReadBlock(rep_->file, opt, filter_handle, &block).ok()) { 128 rep_->filter_data = block.data.data(); // Will need to delete later 130 rep_->filter = new FilterBlockReader(rep_->options.filter_policy, block.data); 134 delete rep_; 158 Cache* block_cache = table->rep_->options.block_cache; 172 EncodeFixed64(cache_key_buffer, table->rep_->cache_id) [all...] |
/external/chromium_org/third_party/leveldatabase/port/ |
port_chromium.h | 68 Rep rep_; member in class:leveldb::port::AtomicPointer 71 explicit AtomicPointer(void* p) : rep_(reinterpret_cast<Rep>(p)) {} 73 return reinterpret_cast<void*>(::base::subtle::Acquire_Load(&rep_)); 76 ::base::subtle::Release_Store(&rep_, reinterpret_cast<Rep>(v)); 79 return reinterpret_cast<void*>(::base::subtle::NoBarrier_Load(&rep_)); 82 ::base::subtle::NoBarrier_Store(&rep_, reinterpret_cast<Rep>(v));
|
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/ |
table.h | 60 Rep* rep_; member in class:leveldb::Table 62 explicit Table(Rep* rep) { rep_ = rep; }
|
write_batch.h | 57 std::string rep_; // See comment in write_batch.cc for the format of rep_ member in class:leveldb::WriteBatch
|
cache.h | 90 Rep* rep_; member in class:leveldb::Cache
|
table_builder.h | 83 Rep* rep_; member in class:leveldb::TableBuilder
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_rtl_report.cc | 139 rep_ = new(mem) ReportDesc; 140 rep_->typ = typ; 148 DestroyAndFree(rep_); 152 ReportStack **rs = rep_->stacks.PushBack(); 160 rep_->mops.PushBack(mop); 190 for (uptr i = 0; i < rep_->threads.Size(); i++) { 191 if ((u32)rep_->threads[i]->id == tctx->tid) 196 rep_->threads.PushBack(rt); 264 for (uptr i = 0; i < rep_->mutexes.Size(); i++) { 265 if (rep_->mutexes[i]->id == s->uid [all...] |
tsan_rtl.h | 575 ReportDesc *rep_; member in class:__tsan::ScopedReport
|