Home
last modified time | relevance | path

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

1234567

/external/llvm-project/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-warning {{duplicate 'read_only' decl…
66 …nt i){} // expected-error{{access qualifier 'read_write' can not be used for 'read_only pipe int'}}
[all …]
Dimages.cl3 void img2d_ro(read_only image2d_t); // expected-note 3{{passing argument to parameter here}}
9 img2d_ro(img2dro); // read_only = read_only
13 kernel void read_only_access_test(read_only image2d_t img) {
14 img2d_ro(img); // read_only = read_only
17 img2d_default(img); // read_only = read_only
Dinvalid-pipes-cl2.0.cl4 global pipe int gp; // expected-error {{type '__global read_only pipe int' can only be u…
19 …pipe int p; // expected-error {{type '__private read_only pipe int' can only be used as a function…
24 …or{{invalid operands to binary expression ('__private read_only pipe int' and '__private read_only
25 …or{{invalid operands to binary expression ('__private read_only pipe int' and '__private read_only
26 &p; // expected-error{{invalid argument type '__private read_only pipe int' to unary expression}}
27 *p; // expected-error{{invalid argument type '__private read_only pipe int' to unary expression}}
31 …ected-error{{declaring function return value of type 'pipe_int_t' (aka 'read_only pipe int') is no…
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.cl5 void test1(read_only pipe int p, global int* ptr){
47 read_pipe(p, ptr); // expected-error {{invalid pipe access modifier (expecting read_only)}}
48 …pipe(p, rid, tmp, ptr); // expected-error {{invalid pipe access modifier (expecting read_only)}}
54 …serve_read_pipe(p, tmp); // expected-error{{invalid pipe access modifier (expecting read_only)}}
60 …ommit_read_pipe(p, tmp); // expected-error{{invalid pipe access modifier (expecting read_only)}}
/external/llvm-project/lldb/source/Target/
DSectionLoadHistory.cpp37 bool read_only) { in GetSectionLoadListForStopID() argument
39 if (read_only) { in GetSectionLoadListForStopID()
96 const bool read_only = true; in GetCurrentSectionLoadList() local
99 GetSectionLoadListForStopID(eStopIDNow, read_only); in GetCurrentSectionLoadList()
108 const bool read_only = true; in GetSectionLoadAddress() local
110 GetSectionLoadListForStopID(stop_id, read_only); in GetSectionLoadAddress()
118 const bool read_only = true; in ResolveLoadAddress() local
120 GetSectionLoadListForStopID(stop_id, read_only); in ResolveLoadAddress()
128 const bool read_only = false; in SetSectionLoadAddress() local
130 GetSectionLoadListForStopID(stop_id, read_only); in SetSectionLoadAddress()
[all …]
/external/llvm-project/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/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/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"}
/external/llvm-project/clang/test/CodeGenOpenCL/
Dpipe_types.cl8 void test1(read_only pipe int p) {
18 void test3(read_only pipe const int p) {
22 void test4(read_only pipe uchar3 p) {
26 void test5(read_only pipe int4 p) {
30 typedef read_only pipe int MyPipe;
42 read_only pipe struct Person SPipe) {
Dpipe_types_mangling.cl10 void test1(read_only pipe int p) {
31 void test2(read_only pipe int p) {
38 void test3(read_only pipe const int p) {
45 void test4(read_only pipe uchar3 p) {
52 void test5(read_only pipe int4 p) {
58 typedef read_only pipe int MyPipe;
73 read_only pipe struct Person SPipe) {
Dkernel-arg-info.cl32 kernel void foo2(read_only image1d_t img1, image2d_t img2, write_only image2d_array_t img3, read_wr…
83 typedef read_only image1d_t ROImage;
103 // CHECK: ![[MD22]] = !{!"read_only", !"read_only", !"write_only", !"read_write"}
118 // CHECK: ![[MD51]] = !{!"read_only", !"write_only"}
125 // CHECK: ![[MD72]] = !{!"read_only", !"write_only", !"read_write"}
/external/crosvm/devices/src/
Ddirect_io.rs14 read_only: bool, field
19 pub fn new(path: &Path, read_only: bool) -> Result<Self, io::Error> { in new()
20 let dev = OpenOptions::new().read(true).write(!read_only).open(path)?; in new()
23 read_only, in new()
28 if !self.read_only { in iowr()
/external/llvm-project/clang/test/Index/
Dopencl-types.cl28 void kernel OCLImage1dROTest(read_only image1d_t scalarOCLImage1dRO);
29 void kernel OCLImage1dArrayROTest(read_only image1d_array_t scalarOCLImage1dArrayRO);
30 void kernel OCLImage1dBufferROTest(read_only image1d_buffer_t scalarOCLImage1dBufferRO);
31 void kernel OCLImage2dROTest(read_only image2d_t scalarOCLImage2dRO);
32 void kernel OCLImage2dArrayROTest(read_only image2d_array_t scalarOCLImage2dArrayRO);
33 void kernel OCLImage2dDepthROTest(read_only image2d_depth_t scalarOCLImage2dDepthRO);
34 void kernel OCLImage2dArrayDepthROTest(read_only image2d_array_depth_t scalarOCLImage2dArrayDepthRO…
35 void kernel OCLImage2dMSAAROTest(read_only image2d_msaa_t scalarOCLImage2dMSAARO);
36 void kernel OCLImage2dArrayMSAAROTest(read_only image2d_array_msaa_t scalarOCLImage2dArrayMSAARO);
37 void kernel OCLImage2dMSAADepthROTest(read_only image2d_msaa_depth_t scalarOCLImage2dMSAADepthRO);
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/analysis/
Dside_effect_analysis.cc245 bool read_only) { in TrackAccess() argument
247 if (read_only) { in TrackAccess()
259 if (read_only) { in TrackAccess()
278 bool read_only) { in AddPredecessorsForAccess() argument
284 if (!read_only) { in AddPredecessorsForAccess()
333 bool read_only) { in AnalyzeRegion() argument
340 return read_only in AnalyzeRegion()
381 const bool read_only = IsResourceOpReadOnly(&op, resource_op_info); in AnalyzeRegion() local
387 AddPredecessorsForAccess(entry.getFirst(), &op, read_only); in AnalyzeRegion()
390 read_only); in AnalyzeRegion()
[all …]
/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:
/external/icing/icing/legacy/index/
Dicing-mmapper.cc31 IcingMMapper::IcingMMapper(bool read_only, int flags) in IcingMMapper() argument
38 read_only_(read_only) {} in IcingMMapper()
40 IcingMMapper::IcingMMapper(int fd, bool read_only, uint64_t location, in IcingMMapper() argument
48 read_only_(read_only) { in IcingMMapper()
/external/llvm-project/clang/test/Modules/
Dodr_hash.cl38 typedef read_only pipe int x;
41 typedef read_only pipe int x;
44 typedef read_only pipe int x;
53 typedef read_only pipe float x;
56 typedef read_only pipe int x;
/external/tensorflow/tensorflow/python/framework/
Dauto_control_deps_utils.py45 read_only = True
49 read_only = False
56 read_only = False
58 if read_only:
/external/llvm-project/clang/test/AST/
Dast-dump-pipe.cl12 // CHECK: PipeType {{.*}} 'read_only pipe int'
15 typedef read_only pipe int pipetype2;
16 // CHECK: PipeType {{.*}} 'read_only pipe int'
/external/webrtc/rtc_base/system/
Dfile_wrapper.cc26 FILE* FileOpen(const char* file_name_utf8, bool read_only, int* error) { in FileOpen() argument
31 FILE* file = _wfopen(wstr.c_str(), read_only ? L"rb" : L"wb"); in FileOpen()
33 FILE* file = fopen(file_name_utf8, read_only ? "rb" : "wb"); in FileOpen()

1234567