Home
last modified time | relevance | path

Searched refs:read_only (Results 1 – 25 of 121) sorted by relevance

12345

/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dimage-resource-id.ll3 ; === 1 image arg, read_only ===================================================
10 define amdgpu_kernel void @test_2d_rd_1_0(%opencl.image2d_t addrspace(1)* %in, ; read_only
24 define amdgpu_kernel void @test_3d_rd_1_0(%opencl.image3d_t addrspace(1)* %in, ; read_only
63 ; === 2 image args, read_only ==================================================
70 define amdgpu_kernel void @test_2d_rd_2_0(%opencl.image2d_t addrspace(1)* %in1, ; read_only
71 %opencl.image2d_t addrspace(1)* %in2, ; read_only
85 define amdgpu_kernel void @test_2d_rd_2_1(%opencl.image2d_t addrspace(1)* %in1, ; read_only
86 %opencl.image2d_t addrspace(1)* %in2, ; read_only
100 define amdgpu_kernel void @test_3d_rd_2_0(%opencl.image3d_t addrspace(1)* %in1, ; read_only
101 %opencl.image3d_t addrspace(1)* %in2, ; read_only
[all …]
/external/llvm/test/CodeGen/AMDGPU/
Dimage-resource-id.ll3 ; === 1 image arg, read_only ===================================================
10 define void @test_2d_rd_1_0(%opencl.image2d_t addrspace(1)* %in, ; read_only
24 define void @test_3d_rd_1_0(%opencl.image3d_t addrspace(1)* %in, ; read_only
63 ; === 2 image args, read_only ==================================================
70 define void @test_2d_rd_2_0(%opencl.image2d_t addrspace(1)* %in1, ; read_only
71 %opencl.image2d_t addrspace(1)* %in2, ; read_only
85 define void @test_2d_rd_2_1(%opencl.image2d_t addrspace(1)* %in1, ; read_only
86 %opencl.image2d_t addrspace(1)* %in2, ; read_only
100 define void @test_3d_rd_2_0(%opencl.image3d_t addrspace(1)* %in1, ; read_only
101 %opencl.image3d_t addrspace(1)* %in2, ; read_only
[all …]
/external/spirv-llvm/test/SPIRV/transcoding/
Dcl-types.ll8 ;; read_only pipe int a,
10 ;; read_only image1d_t c1,
11 ;; read_only image2d_t d1,
12 ;; read_only image3d_t e1,
13 ;; read_only image2d_array_t f1,
14 ;; read_only image1d_buffer_t g1,
124 …!"kernel_arg_access_qual", !"read_only", !"write_only", !"read_only", !"read_only", !"read_only", …
131 …!"kernel_arg_access_qual", !"read_only", !"write_only", !"read_only", !"read_only", !"read_only", …
Dspirv-types.ll57 %spirv.Pipe._0 = type opaque ; read_only pipe
59 %spirv.Image._void_0_0_0_0_0_0_0 = type opaque ; read_only image1d_t
60 %spirv.Image._int_1_0_0_0_0_0_0 = type opaque ; read_only image2d_t
61 %spirv.Image._uint_2_0_0_0_0_0_0 = type opaque ; read_only image3d_t
62 %spirv.Image._float_1_1_0_0_0_0_0 = type opaque; read_only image2d_depth_t
63 %spirv.Image._half_1_0_1_0_0_0_0 = type opaque ; read_only image2d_array_t
64 %spirv.Image._float_5_0_0_0_0_0_0 = type opaque ; read_only image1d_buffer_t
165 …!"kernel_arg_access_qual", !"read_only", !"write_only", !"read_only", !"read_only", !"read_only", …
172 …!"kernel_arg_access_qual", !"read_only", !"write_only", !"read_only", !"read_only", !"read_only", …
DOpImageQuerySize.ll259 !2 = !{!"kernel_arg_access_qual", !"none", !"read_only", !"read_only", !"read_only"}
265 !8 = !{!"kernel_arg_access_qual", !"none", !"read_only", !"read_only", !"read_only", !"read_only"}
271 !14 = !{!"kernel_arg_access_qual", !"none", !"read_only"}
285 !28 = !{!"kernel_arg_access_qual", !"none", !"read_only"}
/external/clang/test/SemaOpenCL/
Daccess-qualifier.cl4 typedef image1d_t img1d_ro_default; // expected-note {{previously declared 'read_only' here}}
7 typedef read_only image1d_t img1d_ro;
14 typedef read_only int IntRO; // expected-error {{access qualifier can only be used for pipe and ima…
18 void myRead(read_only image1d_t); // expected-note {{passing argument to parameter here}}
53 kernel void k7(read_only img1d_wo img){} // expected-error {{multiple access qualifiers}}
57 kernel void k9(read_only int i){} // expected-error{{access qualifier can only be used for pipe and…
59 kernel void k10(read_only Int img){} // expected-error {{access qualifier can only be used for pipe…
61 kernel void k11(read_only write_only image1d_t i){} // expected-error{{multiple access qualifiers}}
63 kernel void k12(read_only read_only image1d_t i){} // expected-error{{multiple access qualifiers}}
Dsampler_t_overload.cl3 void __attribute__((overloadable)) foo(sampler_t, read_only image1d_t);
4 void __attribute__((overloadable)) foo(sampler_t, read_only image2d_t);
8 void kernel ker(read_only image1d_t src1, read_only image2d_t src2) {
Dinvalid-pipe-builtin-cl2.0.cl3 void test1(read_only pipe int p, global int* ptr){
45 read_pipe(p, ptr); // expected-error {{invalid pipe access modifier (expecting read_only)}}
46 …pipe(p, rid, tmp, ptr); // expected-error {{invalid pipe access modifier (expecting read_only)}}
52 …serve_read_pipe(p, tmp); // expected-error{{invalid pipe access modifier (expecting read_only)}}
58 …ommit_read_pipe(p, tmp); // expected-error{{invalid pipe access modifier (expecting read_only)}}
/external/webrtc/webrtc/system_wrappers/source/
Dfile_impl.cc101 int FileWrapperImpl::OpenFile(const char* file_name_utf8, bool read_only, in OpenFile() argument
111 read_only_ = read_only; in OpenFile()
125 if (read_only) { in OpenFile()
131 if (read_only) { in OpenFile()
139 if (read_only) { in OpenFile()
145 if (read_only) { in OpenFile()
170 bool read_only, in OpenFromFileHandle() argument
185 read_only_ = read_only; in OpenFromFileHandle()
Dfile_impl.h33 bool read_only,
39 bool read_only,
/external/clang/test/CodeGenOpenCL/
Dpipe_types.cl7 void test1(read_only pipe int p) {
17 void test3(read_only pipe const int p) {
21 void test4(read_only pipe uchar3 p) {
25 void test5(read_only pipe int4 p) {
29 typedef read_only pipe int MyPipe;
41 read_only pipe struct Person SPipe) {
Dkernel-arg-info.cl17 kernel void foo2(read_only image1d_t img1, image2d_t img2, write_only image2d_array_t img3) {
69 // CHECK: ![[MD22]] = !{!"read_only", !"read_only", !"write_only"}
84 // CHECK: ![[MD51]] = !{!"read_only", !"write_only"}
Dimages.cl3 __attribute__((overloadable)) void read_image(read_only image1d_t img_ro);
6 kernel void test_read_image(read_only image1d_t img_ro, write_only image1d_t img_wo) {
Dpipe_builtin.cl6 void test1(read_only pipe int p, global int *ptr) {
28 void test3(read_only pipe int p, global int *ptr) {
42 void test5(read_only pipe int p, global int *ptr) {
/external/libunwind/src/ia64/
DGglobal.c85 unw.read_only.r0 = 0; in tdep_init()
86 unw.read_only.f0.raw.bits[0] = 0; in tdep_init()
87 unw.read_only.f0.raw.bits[1] = 0; in tdep_init()
89 lep = (uint8_t *) &unw.read_only.f1_le + 16; in tdep_init()
90 bep = (uint8_t *) &unw.read_only.f1_be; in tdep_init()
Dunwind_i.h60 case UNW_IA64_GR + 0: addr = &unw.read_only.r0; break; in inlined_uc_addr()
61 case UNW_IA64_NAT + 0: addr = &unw.read_only.r0; break; in inlined_uc_addr()
62 case UNW_IA64_FR + 0: addr = &unw.read_only.f0; break; in inlined_uc_addr()
65 addr = &unw.read_only.f1_be; in inlined_uc_addr()
67 addr = &unw.read_only.f1_le; in inlined_uc_addr()
119 return ((unsigned long) ((char *) addr - (char *) &unw.read_only) in ia64_read_only_reg()
120 < sizeof (unw.read_only)); in ia64_read_only_reg()
/external/v4l2_codec2/vda/
Dshared_memory_region.cc14 bool read_only) in SharedMemoryRegion() argument
15 : shm_(handle, read_only), in SharedMemoryRegion()
23 bool read_only) in SharedMemoryRegion() argument
27 read_only) {} in SharedMemoryRegion()
Dshared_memory_region.h30 bool read_only);
33 SharedMemoryRegion(const BitstreamBuffer& bitstream_buffer, bool read_only);
/external/autotest/client/tests/sysbench/
Dsysbench.py33 read_only = 0, args = ''): argument
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): argument
90 if read_only:
103 def execute_mysql(self, build, num_threads, max_time, read_only, args): argument
135 if read_only:
Dcontrol18 num_threads=threads, read_only=1, tag='pgsql.' + str(threads))
24 num_threads=threads, read_only=1, tag='mysql.' + str(threads))
/external/libchrome/base/memory/
Dshared_memory_posix.cc46 SharedMemory::SharedMemory(const SharedMemoryHandle& handle, bool read_only) in SharedMemory() argument
47 : shm_(handle), read_only_(read_only) {} in SharedMemory()
224 bool SharedMemory::Open(const std::string& name, bool read_only) { in Open() argument
229 read_only_ = read_only; in Open()
231 int mode = read_only ? O_RDONLY : O_RDWR; in Open()
/external/webrtc/webrtc/system_wrappers/include/
Dfile_wrapper.h37 bool read_only,
46 bool read_only,
/external/u-boot/fs/yaffs2/
Dyaffsfs.c870 obj->my_dev->read_only) { in yaffs_open_sharing()
939 if (dir->my_dev->read_only) { in yaffs_open_sharing()
1013 else if (obj->my_dev->read_only) in yaffs_Dofsync()
1217 } else if (obj->my_dev->read_only) { in yaffsfs_do_write()
1251 if (!obj || obj->my_dev->read_only) in yaffsfs_do_write()
1333 else if (obj->my_dev->read_only) in yaffs_truncate()
1337 else if (obj->my_dev->read_only) in yaffs_truncate()
1364 else if (obj->my_dev->read_only) in yaffs_ftruncate()
1452 else if (obj->my_dev->read_only) in yaffsfs_DoUnlink()
1544 } else if (obj->my_dev->read_only) { in yaffs_rename()
[all …]
/external/llvm/test/Transforms/SimplifyCFG/
Dinvoke.ll7 declare i32 @read_only() nounwind readonly
55 %call = invoke i32 @read_only()
73 ; CHECK-NEXT: call i32 @read_only()
74 %call = invoke i32 @read_only()
/external/libchrome/base/metrics/
Dpersistent_memory_allocator_unittest.cc865 const bool read_only = (filesize % (2 * kAllocAlignment)) != 0; in TEST() local
867 File::FLAG_OPEN | File::FLAG_READ | (read_only ? 0 : File::FLAG_WRITE); in TEST()
869 read_only ? MemoryMappedFile::READ_ONLY : MemoryMappedFile::READ_WRITE; in TEST()
874 if (FilePersistentMemoryAllocator::IsFileAcceptable(*mmfile, read_only)) { in TEST()
878 read_only); in TEST()
916 if (FilePersistentMemoryAllocator::IsFileAcceptable(*mmfile, read_only)) { in TEST()
920 read_only); in TEST()
966 for (bool read_only : {false, true}) { in TEST_F()
967 SCOPED_TRACE(StringPrintf("read_only=%s", read_only ? "true" : "false")); in TEST_F()
972 (read_only ? File::FLAG_READ in TEST_F()
[all …]

12345