Searched refs:read_only_ (Results 1 – 17 of 17) sorted by relevance
/external/icing/icing/legacy/index/ |
D | icing-mmapper.cc | 39 read_only_(read_only) {} in IcingMMapper() 49 read_only_(read_only) { in IcingMMapper() 59 int prot = read_only_ ? (PROT_READ) : (PROT_READ | PROT_WRITE); in DoMapping() 95 if (is_valid() && !read_only_) { in Sync()
|
D | icing-mmapper.h | 90 const bool read_only_; variable
|
/external/libchrome/libchrome_tools/patch/ |
D | shared_memory_posix.patch | 49 - DCHECK(read_only_) 51 - if (!read_only_) { 62 + // DCHECK(read_only_) 64 + // if (!read_only_) { 73 memory_ = mmap(nullptr, bytes, PROT_READ | (read_only_ ? 0 : PROT_WRITE),
|
D | shared_memory_handle.patch | 13 void SetReadOnly() { read_only_ = true; }
|
/external/libchrome/base/memory/ |
D | shared_memory_handle.h | 152 void SetReadOnly() { read_only_ = true; } in SetReadOnly() 156 bool IsReadOnly() const { return read_only_; } in IsReadOnly() 225 bool read_only_ = false;
|
D | shared_memory_posix.cc | 45 : shm_(handle), read_only_(read_only) {} in SharedMemory() 227 read_only_ = read_only; in Open() 285 DCHECK(read_only_) in MapAt() 287 if (!read_only_) { in MapAt() 296 memory_ = mmap(nullptr, bytes, PROT_READ | (read_only_ ? 0 : PROT_WRITE), in MapAt()
|
D | shared_memory.h | 245 bool read_only_ = false; variable
|
/external/cronet/components/prefs/ |
D | json_pref_store.cc | 158 read_only_(read_only), in JsonPrefStore() 272 return read_only_; in ReadOnly() 310 if (writer_.HasPendingWrite() && !read_only_) in CommitPendingWrite() 449 read_only_ = true; in OnFileRead() 532 if (read_only_) in ScheduleWrite()
|
D | testing_pref_store.cc | 17 : read_only_(true), in TestingPrefStore() 84 return read_only_; in ReadOnly() 203 read_only_ = read_only; in set_read_only()
|
D | testing_pref_store.h | 99 bool read_only_; variable
|
D | json_pref_store.h | 194 bool read_only_; variable
|
/external/cronet/net/disk_cache/blockfile/ |
D | backend_impl.h | 198 return read_only_; in read_only() 426 bool read_only_ = variable
|
D | entry_impl.cc | 320 read_only_(read_only) { in EntryImpl() 379 DCHECK(node_.Data()->dirty || read_only_); in ReadSparseDataImpl() 395 DCHECK(node_.Data()->dirty || read_only_); in WriteSparseDataImpl() 562 if (read_only_) in Update() 850 DCHECK(node_.Data()->dirty || read_only_); in ReadData() 880 DCHECK(node_.Data()->dirty || read_only_); in WriteData() 1027 DCHECK(node_.Data()->dirty || read_only_); in InternalReadData() 1118 DCHECK(node_.Data()->dirty || read_only_); in InternalWriteData()
|
D | entry_impl.h | 310 bool read_only_; // True if not yet writing. variable
|
D | backend_impl.cc | 283 read_only_ = true; in SyncInit() 787 if (read_only_ || (!modified && GetCacheType() == net::SHADER_CACHE)) in UpdateRank() 900 if (data_->header.num_bytes > max_size_ && !read_only_ && in OnSyncBackendOpComplete() 1142 read_only_ = true; in SetUpgradeMode() 1587 auto cache_entry = base::MakeRefCounted<EntryImpl>(this, address, read_only_); in NewEntry()
|
/external/perfetto/src/tracing/core/ |
D | trace_buffer.cc | 100 PERFETTO_CHECK(!read_only_); in CopyChunkUntrusted() 405 PERFETTO_CHECK(!read_only_); in TryPatchChunkContents() 910 read_only_(true), in TraceBuffer()
|
D | trace_buffer.h | 691 bool read_only_ = false; variable
|