Searched refs:read_only_ (Results 1 – 8 of 8) sorted by relevance
/external/icing/icing/legacy/index/ |
D | icing-mmapper.cc | 38 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()
|
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/webrtc/rtc_base/ |
D | logging_unittest.cc | 50 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()
|