Searched refs:read_only (Results 1 - 25 of 86) sorted by relevance

1234

/external/v4l2_codec2/vda/
H A Dshared_memory_region.cc14 bool read_only)
15 : shm_(handle, read_only),
23 bool read_only)
27 read_only) {}
11 SharedMemoryRegion(const base::SharedMemoryHandle& handle, off_t offset, size_t size, bool read_only) argument
22 SharedMemoryRegion(const BitstreamBuffer& bitstream_buffer, bool read_only) argument
H A Dshared_memory_region.h30 bool read_only);
33 SharedMemoryRegion(const BitstreamBuffer& bitstream_buffer, bool read_only);
/external/webrtc/webrtc/system_wrappers/include/
H A Dfile_wrapper.h35 // Opens a file in read or write mode, decided by the read_only parameter.
37 bool read_only,
41 // Initializes the wrapper from an existing handle. |read_only| must match in
46 bool read_only,
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_flush.h50 boolean read_only,
H A Dlp_flush.c103 boolean read_only,
113 ((referenced & LP_REFERENCED_FOR_READ) && !read_only)) {
100 llvmpipe_flush_resource(struct pipe_context *pipe, struct pipe_resource *resource, unsigned level, boolean read_only, boolean cpu_access, boolean do_not_block, const char *reason) argument
/external/libmojo/mojo/edk/embedder/
H A Dplatform_shared_buffer.h46 bool read_only,
61 bool read_only,
104 PlatformSharedBuffer(size_t num_bytes, bool read_only);
152 bool read_only,
158 shared_memory_(handle, read_only) {}
151 PlatformSharedBufferMapping(base::SharedMemoryHandle handle, bool read_only, size_t offset, size_t length) argument
H A Dembedder.h99 // |read_only| is whether the handle is a read-only handle to shared memory.
105 bool read_only,
110 // the size of the shared memory buffer and |read_only| will contain whether the
111 // buffer handle is read-only. Both |num_bytes| and |read_only| may be null.
119 bool* read_only);
H A Dembedder.cc101 bool read_only,
104 shared_memory_handle, num_bytes, read_only, mojo_wrapper_handle);
111 bool* read_only) {
113 mojo_handle, shared_memory_handle, num_bytes, read_only);
98 CreateSharedBufferWrapper( base::SharedMemoryHandle shared_memory_handle, size_t num_bytes, bool read_only, MojoHandle* mojo_wrapper_handle) argument
107 PassSharedMemoryHandle( MojoHandle mojo_handle, base::SharedMemoryHandle* shared_memory_handle, size_t* num_bytes, bool* read_only) argument
H A Dplatform_shared_buffer.cc60 bool read_only,
64 PlatformSharedBuffer* rv = new PlatformSharedBuffer(num_bytes, read_only);
99 bool read_only,
103 PlatformSharedBuffer* rv = new PlatformSharedBuffer(num_bytes, read_only);
216 PlatformSharedBuffer::PlatformSharedBuffer(size_t num_bytes, bool read_only) argument
217 : num_bytes_(num_bytes), read_only_(read_only) {}
58 CreateFromPlatformHandle( size_t num_bytes, bool read_only, ScopedPlatformHandle platform_handle) argument
97 CreateFromSharedMemoryHandle( size_t num_bytes, bool read_only, base::SharedMemoryHandle handle) argument
/external/libmojo/mojo/public/cpp/system/
H A Dplatform_handle.h62 // SharedMemoryHandle. Note that |read_only| is only an indicator of whether
69 bool read_only);
77 bool* read_only);
H A Dplatform_handle.cc68 bool read_only) {
91 if (read_only)
105 bool* read_only) {
121 if (read_only)
122 *read_only = flags & MOJO_PLATFORM_SHARED_BUFFER_HANDLE_FLAG_READ_ONLY;
65 WrapSharedMemoryHandle( const base::SharedMemoryHandle& memory_handle, size_t size, bool read_only) argument
102 UnwrapSharedMemoryHandle(ScopedSharedBufferHandle handle, base::SharedMemoryHandle* memory_handle, size_t* size, bool* read_only) argument
/external/webrtc/webrtc/system_wrappers/source/
H A Dfile_impl.cc101 int FileWrapperImpl::OpenFile(const char* file_name_utf8, bool read_only, argument
111 read_only_ = read_only;
125 if (read_only) {
131 if (read_only) {
139 if (read_only) {
145 if (read_only) {
170 bool read_only,
185 read_only_ = read_only;
168 OpenFromFileHandle(FILE* handle, bool manage_file, bool read_only, bool loop) argument
H A Dfile_impl.h33 bool read_only,
39 bool read_only,
/external/flac/include/share/grabbag/
H A Dfile.h45 /* read_only == false means "make file writable by user"
46 * read_only == true means "make file read-only for everyone"
48 FLAC__bool grabbag__file_change_stats(const char *filename, FLAC__bool read_only);
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_flush.h54 boolean read_only,
H A Dsp_flush.c120 boolean read_only,
129 ((referenced & SP_REFERENCED_FOR_READ) && !read_only)) {
115 softpipe_flush_resource(struct pipe_context *pipe, struct pipe_resource *texture, unsigned level, int layer, unsigned flush_flags, boolean read_only, boolean cpu_access, boolean do_not_block) argument
/external/libunwind/src/ia64/
H A DGglobal.c85 unw.read_only.r0 = 0;
86 unw.read_only.f0.raw.bits[0] = 0;
87 unw.read_only.f0.raw.bits[1] = 0;
89 lep = (uint8_t *) &unw.read_only.f1_le + 16;
90 bep = (uint8_t *) &unw.read_only.f1_be;
/external/autotest/client/tests/sysbench/
H A Dsysbench.py33 read_only = 0, args = ''):
53 self.execute_pgsql(build, num_threads, max_time, read_only, args)
55 self.execute_mysql(build, num_threads, max_time, read_only, args)
58 def execute_pgsql(self, build, num_threads, max_time, read_only, args):
90 if read_only:
103 def execute_mysql(self, build, num_threads, max_time, read_only, args):
135 if read_only:
/external/libchrome/base/memory/
H A Dshared_memory_android.cc61 bool SharedMemory::Open(const std::string& name, bool read_only) { argument
H A Dshared_memory_posix.cc46 SharedMemory::SharedMemory(const SharedMemoryHandle& handle, bool read_only) argument
51 read_only_(read_only),
243 bool SharedMemory::Open(const std::string& name, bool read_only) { argument
248 read_only_ = read_only;
250 const char *mode = read_only ? "r" : "r+";
H A Dshared_memory.h84 // that |read_only| matches the permissions of the handle.
85 SharedMemory(const SharedMemoryHandle& handle, bool read_only);
158 // If read_only is true, opens for read-only access.
160 bool Open(const std::string& name, bool read_only);
/external/libmojo/mojo/edk/system/
H A Dshared_buffer_unittest.cc240 bool read_only = false; local
242 PassSharedMemoryHandle(b, &shm_handle, nullptr, &read_only));
244 EXPECT_TRUE(read_only);
264 MojoHandle dupe = DuplicateBuffer(b, true /* read_only */);
279 MojoHandle dupe = DuplicateBuffer(b, true /* read_only */);
302 bool read_only = false; local
304 PassSharedMemoryHandle(b, &shm_handle, nullptr, &read_only));
306 EXPECT_TRUE(read_only);
/external/mesa3d/src/compiler/glsl/
H A Dlower_vertex_id.cpp94 gl_VertexID->data.read_only = true;
104 gl_BaseVertex->data.read_only = true;
H A Dlower_const_arrays_to_uniforms.cpp107 uni->data.read_only = true;
/external/mesa3d/src/compiler/nir/
H A Dnir_lower_io_to_temporaries.c64 if (newv->data.read_only)
142 temp->data.read_only = false;

Completed in 451 milliseconds

1234