Home
last modified time | relevance | path

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

/external/icing/icing/legacy/index/
Dicing-mmapper.cc38 read_only_(read_only) {} in IcingMMapper()
48 read_only_(read_only) { in IcingMMapper()
58 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/webrtc/rtc_base/
Dlogging_unittest.cc50 bool read_only_; member in rtc::__anon022e96ba0111::StringStream
54 : str_(*str), read_pos_(0), read_only_(false) {} in StringStream()
57 : str_(const_cast<std::string&>(str)), read_pos_(0), read_only_(true) {} in StringStream()
81 if (read_only_) { in Write()