Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 5509) sorted by relevance

12345678910>>...221

/external/clang/test/OpenMP/
Datomic_read_codegen.c83 #pragma omp atomic read in main()
87 #pragma omp atomic read in main()
91 #pragma omp atomic read in main()
95 #pragma omp atomic read in main()
99 #pragma omp atomic read in main()
103 #pragma omp atomic read in main()
107 #pragma omp atomic read in main()
111 #pragma omp atomic read in main()
115 #pragma omp atomic read in main()
119 #pragma omp atomic read in main()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/NVPTX/
Denvreg.ll4 declare i32 @llvm.nvvm.read.ptx.sreg.envreg0()
5 declare i32 @llvm.nvvm.read.ptx.sreg.envreg1()
6 declare i32 @llvm.nvvm.read.ptx.sreg.envreg2()
7 declare i32 @llvm.nvvm.read.ptx.sreg.envreg3()
8 declare i32 @llvm.nvvm.read.ptx.sreg.envreg4()
9 declare i32 @llvm.nvvm.read.ptx.sreg.envreg5()
10 declare i32 @llvm.nvvm.read.ptx.sreg.envreg6()
11 declare i32 @llvm.nvvm.read.ptx.sreg.envreg7()
12 declare i32 @llvm.nvvm.read.ptx.sreg.envreg8()
13 declare i32 @llvm.nvvm.read.ptx.sreg.envreg9()
[all …]
Dintrinsic-old.ll11 ; RANGE: call i32 @llvm.nvvm.read.ptx.sreg.tid.x(), !range ![[BLK_IDX_XY:[0-9]+]]
13 %x = call i32 @llvm.nvvm.read.ptx.sreg.tid.x()
19 ; RANGE: call i32 @llvm.nvvm.read.ptx.sreg.tid.y(), !range ![[BLK_IDX_XY]]
21 %x = call i32 @llvm.nvvm.read.ptx.sreg.tid.y()
27 ; RANGE: call i32 @llvm.nvvm.read.ptx.sreg.tid.z(), !range ![[BLK_IDX_Z:[0-9]+]]
29 %x = call i32 @llvm.nvvm.read.ptx.sreg.tid.z()
36 %x = call i32 @llvm.nvvm.read.ptx.sreg.tid.w()
42 ; RANGE: call i32 @llvm.nvvm.read.ptx.sreg.ntid.x(), !range ![[BLK_SIZE_XY:[0-9]+]]
44 %x = call i32 @llvm.nvvm.read.ptx.sreg.ntid.x()
50 ; RANGE: call i32 @llvm.nvvm.read.ptx.sreg.ntid.y(), !range ![[BLK_SIZE_XY]]
[all …]
/external/llvm/test/CodeGen/NVPTX/
Denvreg.ll4 declare i32 @llvm.nvvm.read.ptx.sreg.envreg0()
5 declare i32 @llvm.nvvm.read.ptx.sreg.envreg1()
6 declare i32 @llvm.nvvm.read.ptx.sreg.envreg2()
7 declare i32 @llvm.nvvm.read.ptx.sreg.envreg3()
8 declare i32 @llvm.nvvm.read.ptx.sreg.envreg4()
9 declare i32 @llvm.nvvm.read.ptx.sreg.envreg5()
10 declare i32 @llvm.nvvm.read.ptx.sreg.envreg6()
11 declare i32 @llvm.nvvm.read.ptx.sreg.envreg7()
12 declare i32 @llvm.nvvm.read.ptx.sreg.envreg8()
13 declare i32 @llvm.nvvm.read.ptx.sreg.envreg9()
[all …]
Dintrinsic-old.ll11 ; RANGE: call i32 @llvm.nvvm.read.ptx.sreg.tid.x(), !range ![[BLK_IDX_XY:[0-9]+]]
13 %x = call i32 @llvm.nvvm.read.ptx.sreg.tid.x()
19 ; RANGE: call i32 @llvm.nvvm.read.ptx.sreg.tid.y(), !range ![[BLK_IDX_XY]]
21 %x = call i32 @llvm.nvvm.read.ptx.sreg.tid.y()
27 ; RANGE: call i32 @llvm.nvvm.read.ptx.sreg.tid.z(), !range ![[BLK_IDX_Z:[0-9]+]]
29 %x = call i32 @llvm.nvvm.read.ptx.sreg.tid.z()
36 %x = call i32 @llvm.nvvm.read.ptx.sreg.tid.w()
42 ; RANGE: call i32 @llvm.nvvm.read.ptx.sreg.ntid.x(), !range ![[BLK_SIZE_XY:[0-9]+]]
44 %x = call i32 @llvm.nvvm.read.ptx.sreg.ntid.x()
50 ; RANGE: call i32 @llvm.nvvm.read.ptx.sreg.ntid.y(), !range ![[BLK_SIZE_XY]]
[all …]
/external/tensorflow/tensorflow/core/lib/io/
Drandom_inputstream_test.cc33 string read; in TEST() local
35 TF_ASSERT_OK(in.ReadNBytes(3, &read)); in TEST()
36 EXPECT_EQ(read, "012"); in TEST()
38 TF_ASSERT_OK(in.ReadNBytes(0, &read)); in TEST()
39 EXPECT_EQ(read, ""); in TEST()
41 TF_ASSERT_OK(in.ReadNBytes(5, &read)); in TEST()
42 EXPECT_EQ(read, "34567"); in TEST()
44 TF_ASSERT_OK(in.ReadNBytes(0, &read)); in TEST()
45 EXPECT_EQ(read, ""); in TEST()
47 EXPECT_TRUE(errors::IsOutOfRange(in.ReadNBytes(20, &read))); in TEST()
[all …]
Dinputbuffer_test.cc160 string read; in TEST() local
163 TF_CHECK_OK(in.ReadNBytes(3, &read)); in TEST()
164 EXPECT_EQ(read, "012"); in TEST()
166 TF_CHECK_OK(in.ReadNBytes(0, &read)); in TEST()
167 EXPECT_EQ(read, ""); in TEST()
169 TF_CHECK_OK(in.ReadNBytes(4, &read)); in TEST()
170 EXPECT_EQ(read, "3456"); in TEST()
172 TF_CHECK_OK(in.ReadNBytes(0, &read)); in TEST()
173 EXPECT_EQ(read, ""); in TEST()
175 EXPECT_TRUE(errors::IsOutOfRange(in.ReadNBytes(5, &read))); in TEST()
[all …]
Dbuffered_inputstream_test.cc166 string read; in TEST() local
169 TF_ASSERT_OK(in.ReadNBytes(3, &read)); in TEST()
170 EXPECT_EQ(read, "012"); in TEST()
172 TF_ASSERT_OK(in.ReadNBytes(0, &read)); in TEST()
173 EXPECT_EQ(read, ""); in TEST()
175 TF_ASSERT_OK(in.ReadNBytes(4, &read)); in TEST()
176 EXPECT_EQ(read, "3456"); in TEST()
178 TF_ASSERT_OK(in.ReadNBytes(0, &read)); in TEST()
179 EXPECT_EQ(read, ""); in TEST()
181 EXPECT_TRUE(errors::IsOutOfRange(in.ReadNBytes(5, &read))); in TEST()
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/PTX/
Dintrinsic.ll6 %x = call i32 @llvm.ptx.read.tid.x()
13 %x = call i32 @llvm.ptx.read.tid.y()
20 %x = call i32 @llvm.ptx.read.tid.z()
27 %x = call i32 @llvm.ptx.read.tid.w()
34 %x = call i32 @llvm.ptx.read.ntid.x()
41 %x = call i32 @llvm.ptx.read.ntid.y()
48 %x = call i32 @llvm.ptx.read.ntid.z()
55 %x = call i32 @llvm.ptx.read.ntid.w()
62 %x = call i32 @llvm.ptx.read.laneid()
69 %x = call i32 @llvm.ptx.read.warpid()
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/snappy/
DFramedSnappyCompressorInputStream.java140 public int read() throws IOException { in read() method in FramedSnappyCompressorInputStream
141 return read(oneByte, 0, 1) == -1 ? -1 : oneByte[0] & 0xFF; in read()
159 public int read(final byte[] b, final int off, final int len) throws IOException { in read() method in FramedSnappyCompressorInputStream
160 int read = readOnce(b, off, len); in read() local
161 if (read == -1) { in read()
166 read = readOnce(b, off, len); in read()
168 return read; in read()
199 int read = -1; in readOnce() local
205 read = in.read(b, off, amount); in readOnce()
206 if (read != -1) { in readOnce()
[all …]
/external/ImageMagick/PerlMagick/
DMANIFEST37 t/bzlib/read.t
40 t/cgm/read.t
48 t/fpx/read.t
53 t/hdf/read.t
56 t/hpgl/read.t
105 t/jbig/read.t
119 t/jng/read.t
123 t/jpeg/read.t
129 t/mpeg/read.t
132 t/openjp2/read.t
[all …]
/external/guava/guava-tests/test/com/google/common/io/
DCharSequenceReaderTest.java77 reader.read(buf, 0, 11); in testIllegalArguments()
83 reader.read(buf, 10, 1); in testIllegalArguments()
89 reader.read(buf, 11, 0); in testIllegalArguments()
95 reader.read(buf, -1, 5); in testIllegalArguments()
101 reader.read(buf, 5, -1); in testIllegalArguments()
107 reader.read(buf, 0, 11); in testIllegalArguments()
130 reader.read(); in testMethodsThrowWhenClosed()
136 reader.read(new char[10]); in testMethodsThrowWhenClosed()
142 reader.read(new char[10], 0, 10); in testMethodsThrowWhenClosed()
148 reader.read(CharBuffer.allocate(10)); in testMethodsThrowWhenClosed()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/
DFakeTickerTest.java36 assertEquals(0, ticker.read()); in testAdvance()
38 assertEquals(10, ticker.read()); in testAdvance()
40 assertEquals(1000010L, ticker.read()); in testAdvance()
50 assertEquals(0, ticker.read()); in testAutoIncrementStep_nanos()
51 assertEquals(10, ticker.read()); in testAutoIncrementStep_nanos()
52 assertEquals(20, ticker.read()); in testAutoIncrementStep_nanos()
57 assertEquals(0, ticker.read()); in testAutoIncrementStep_millis()
58 assertEquals(1000000, ticker.read()); in testAutoIncrementStep_millis()
59 assertEquals(2000000, ticker.read()); in testAutoIncrementStep_millis()
64 assertEquals(0, ticker.read()); in testAutoIncrementStep_seconds()
[all …]
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
DRandomAccessFileInputStreamTest.java92 Assert.assertEquals(x, stream.read()); in testRead_OneByte()
94 Assert.assertEquals(-1, stream.read()); in testRead_OneByte()
103 int numRead = stream.read(buffer); in testRead_WithBuffer()
109 Assert.assertEquals(-1, stream.read(buffer, 0, 1)); in testRead_WithBuffer()
115 Assert.assertEquals(0, stream.read(new byte[] {}, 0, -1)); in testRead_WithBuffer_NegativeLength()
124 int numRead = stream.read(buffer, 0, 2); // At most 2 bytes of the buffer can be used in testRead_WithPartialBuffer()
130 Assert.assertEquals(-1, stream.read()); in testRead_WithPartialBuffer()
145 Assert.assertEquals(1, stream.read()); in testMarkAndReset_WithOffsetFile()
147 Assert.assertEquals(2, stream.read()); in testMarkAndReset_WithOffsetFile()
150 Assert.assertEquals(2, stream.read()); in testMarkAndReset_WithOffsetFile()
[all …]
/external/bcc/tools/
Dprofile_example.txt33 read
76 the idle thread. Stacks can be read top-down, to follow ancestry: child,
85 The dd process has called read(), and then enters the kernel via
106 read
124 read
135 read
147 read
184 read
198 read
314 dd;[unknown];read;-;entry_SYSCALL_64_fastpath_[k];SyS_read_[k];vfs_read_[k];rw_verify_area_[k];secu…
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DRecyclableBufferedInputStream.java132 int result = localIn.read(localBuf); in fillbuf()
166 int bytesread = localIn.read(localBuf, pos, localBuf.length - pos); in fillbuf()
219 public synchronized int read() throws IOException { in read() method in RecyclableBufferedInputStream
269 public synchronized int read(byte[] buffer, int offset, int byteCount) throws IOException { in read() method in RecyclableBufferedInputStream
300 int read; in read() local
304 read = localIn.read(buffer, offset, required); in read()
305 if (read == -1) { in read()
320 read = count - pos >= required ? required : count - pos; in read()
321 System.arraycopy(localBuf, pos, buffer, offset, read); in read()
322 pos += read; in read()
[all …]
/external/llvm/test/CodeGen/AMDGPU/
Dannotate-kernel-features.ll3 declare i32 @llvm.r600.read.tgid.x() #0
4 declare i32 @llvm.r600.read.tgid.y() #0
5 declare i32 @llvm.r600.read.tgid.z() #0
7 declare i32 @llvm.r600.read.tidig.x() #0
8 declare i32 @llvm.r600.read.tidig.y() #0
9 declare i32 @llvm.r600.read.tidig.z() #0
11 declare i32 @llvm.r600.read.local.size.x() #0
12 declare i32 @llvm.r600.read.local.size.y() #0
13 declare i32 @llvm.r600.read.local.size.z() #0
17 %val = call i32 @llvm.r600.read.tgid.x()
[all …]
Dwrong-transalu-pos-fix.ll9 %x.i = tail call i32 @llvm.r600.read.global.size.x() #1
10 %y.i18 = tail call i32 @llvm.r600.read.global.size.y() #1
12 %z.i17 = tail call i32 @llvm.r600.read.global.size.z() #1
14 %x.i.i = tail call i32 @llvm.r600.read.tgid.x() #1
15 %x.i12.i = tail call i32 @llvm.r600.read.local.size.x() #1
17 %x.i4.i = tail call i32 @llvm.r600.read.tidig.x() #1
20 %y.i.i = tail call i32 @llvm.r600.read.tgid.y() #1
21 %y.i14.i = tail call i32 @llvm.r600.read.local.size.y() #1
23 %y.i6.i = tail call i32 @llvm.r600.read.tidig.y() #1
27 %z.i.i = tail call i32 @llvm.r600.read.tgid.z() #1
[all …]
/external/syzkaller/prog/
Ddecodeexec.go99 switch instr := dec.read(); instr {
103 Addr: dec.read(),
108 Index: dec.read(),
109 Addr: dec.read(),
110 Size: dec.read(),
119 dec.call.Index = dec.read()
120 for i := dec.read(); i > 0; i-- {
137 switch typ := dec.read(); typ {
139 meta := dec.read()
141 Value: dec.read(),
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dwrong-transalu-pos-fix.ll9 %x.i = tail call i32 @llvm.r600.read.global.size.x() #1
10 %y.i18 = tail call i32 @llvm.r600.read.global.size.y() #1
12 %z.i17 = tail call i32 @llvm.r600.read.global.size.z() #1
14 %x.i.i = tail call i32 @llvm.r600.read.tgid.x() #1
15 %x.i12.i = tail call i32 @llvm.r600.read.local.size.x() #1
17 %x.i4.i = tail call i32 @llvm.r600.read.tidig.x() #1
20 %y.i.i = tail call i32 @llvm.r600.read.tgid.y() #1
21 %y.i14.i = tail call i32 @llvm.r600.read.local.size.y() #1
23 %y.i6.i = tail call i32 @llvm.r600.read.tidig.y() #1
27 %z.i.i = tail call i32 @llvm.r600.read.tgid.z() #1
[all …]
Dannotate-kernel-features.ll3 declare i32 @llvm.r600.read.tgid.x() #0
4 declare i32 @llvm.r600.read.tgid.y() #0
5 declare i32 @llvm.r600.read.tgid.z() #0
7 declare i32 @llvm.r600.read.tidig.x() #0
8 declare i32 @llvm.r600.read.tidig.y() #0
9 declare i32 @llvm.r600.read.tidig.z() #0
11 declare i32 @llvm.r600.read.local.size.x() #0
12 declare i32 @llvm.r600.read.local.size.y() #0
13 declare i32 @llvm.r600.read.local.size.z() #0
17 %val = call i32 @llvm.r600.read.tgid.x()
[all …]
/external/guava/guava-testlib/test/com/google/common/testing/
DFakeTickerTest.java47 assertEquals(0, ticker.read()); in testAdvance()
49 assertEquals(10, ticker.read()); in testAdvance()
51 assertEquals(1000010L, ticker.read()); in testAdvance()
61 assertEquals(0, ticker.read()); in testAutoIncrementStep_nanos()
62 assertEquals(10, ticker.read()); in testAutoIncrementStep_nanos()
63 assertEquals(20, ticker.read()); in testAutoIncrementStep_nanos()
68 assertEquals(0, ticker.read()); in testAutoIncrementStep_millis()
69 assertEquals(1000000, ticker.read()); in testAutoIncrementStep_millis()
70 assertEquals(2000000, ticker.read()); in testAutoIncrementStep_millis()
75 assertEquals(0, ticker.read()); in testAutoIncrementStep_seconds()
[all …]
/external/bcc/tools/old/
Dprofile_example.txt33 00007fc5652ad9b0 read
77 the idle thread. Stacks can be read top-down, to follow ancestry: child,
86 The dd process has called read(), and then enters the kernel via
107 00007fc5652ad9b0 read
125 00007fc5652ad9b0 read
136 00007fc5652ad9b0 read
148 00007fc5652ad9b0 read
185 00007fc5652ad9b0 read
199 00007fc5652ad9b0 read
315 dd;[unknown];read;-;entry_SYSCALL_64_fastpath_[k];SyS_read_[k];vfs_read_[k];rw_verify_area_[k];secu…
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/util/
DExceptionCatchingInputStream.java71 public int read(byte[] buffer) throws IOException { in read() method in ExceptionCatchingInputStream
72 int read; in read() local
74 read = wrapped.read(buffer); in read()
77 read = -1; in read()
79 return read; in read()
83 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { in read() method in ExceptionCatchingInputStream
84 int read; in read() local
86 read = wrapped.read(buffer, byteOffset, byteCount); in read()
89 read = -1; in read()
91 return read; in read()
[all …]
/external/python/apitools/apitools/base/py/
Dstream_slice_test.py36 self.assertEqual('', ss.read(0))
37 self.assertEqual(self.value[0:3], ss.read(3))
39 self.assertEqual(self.value[3:10], ss.read())
40 self.assertEqual('', ss.read())
41 self.assertEqual('', ss.read(10))
46 self.assertEqual('', ss.read(5))
47 self.assertEqual('', ss.read())
53 self.assertEqual(self.value[26:36], ss.read(10))
54 self.assertEqual(self.value[36:], ss.read())
55 self.assertEqual('', ss.read())
[all …]

12345678910>>...221