Home
last modified time | relevance | path

Searched refs:read_only_ (Results 1 – 17 of 17) sorted by relevance

/external/icing/icing/legacy/index/
Dicing-mmapper.cc39 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()
Dicing-mmapper.h90 const bool read_only_; variable
/external/libchrome/libchrome_tools/patch/
Dshared_memory_posix.patch49 - 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),
Dshared_memory_handle.patch13 void SetReadOnly() { read_only_ = true; }
/external/libchrome/base/memory/
Dshared_memory_handle.h152 void SetReadOnly() { read_only_ = true; } in SetReadOnly()
156 bool IsReadOnly() const { return read_only_; } in IsReadOnly()
225 bool read_only_ = false;
Dshared_memory_posix.cc45 : 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()
Dshared_memory.h245 bool read_only_ = false; variable
/external/cronet/components/prefs/
Djson_pref_store.cc158 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()
Dtesting_pref_store.cc17 : read_only_(true), in TestingPrefStore()
84 return read_only_; in ReadOnly()
203 read_only_ = read_only; in set_read_only()
Dtesting_pref_store.h99 bool read_only_; variable
Djson_pref_store.h194 bool read_only_; variable
/external/cronet/net/disk_cache/blockfile/
Dbackend_impl.h198 return read_only_; in read_only()
426 bool read_only_ = variable
Dentry_impl.cc320 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()
Dentry_impl.h310 bool read_only_; // True if not yet writing. variable
Dbackend_impl.cc283 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/
Dtrace_buffer.cc100 PERFETTO_CHECK(!read_only_); in CopyChunkUntrusted()
405 PERFETTO_CHECK(!read_only_); in TryPatchChunkContents()
910 read_only_(true), in TraceBuffer()
Dtrace_buffer.h691 bool read_only_ = false; variable