Home
last modified time | relevance | path

Searched refs:read1 (Results 1 – 25 of 52) sorted by relevance

123

/external/zlib/src/examples/
Dgzappend.c198 #define read1(in) (in->left == 0 ? readmore(in) : 0, \ macro
227 val = read1(in); in read4()
228 val += (unsigned)read1(in) << 8; in read4()
229 val += (unsigned long)read1(in) << 16; in read4()
230 val += (unsigned long)read1(in) << 24; in read4()
240 if (read1(in) != 31 || read1(in) != 139) bye(in->name, " not a gzip file"); in gzheader()
241 if (read1(in) != 8) bye("unknown compression method in", in->name); in gzheader()
242 flags = read1(in); in gzheader()
246 n = read1(in); in gzheader()
247 n += (unsigned)(read1(in)) << 8; in gzheader()
[all …]
/external/wpa_supplicant_8/src/drivers/
Ddriver_roboswitch.c243 u16 read1[3], read2[3], addr_be16[3]; in wpa_driver_roboswitch_join() local
248 ROBO_ARLCTRL_CONF, read1, 1) < 0) in wpa_driver_roboswitch_join()
250 if (!(read1[0] & (1 << 4))) { in wpa_driver_roboswitch_join()
252 read1[0] |= 1 << 4; in wpa_driver_roboswitch_join()
262 ROBO_ARLCTRL_CONF, read1, 1); in wpa_driver_roboswitch_join()
266 ROBO_ARLCTRL_ADDR_1, read1, 3) || in wpa_driver_roboswitch_join()
269 os_memcmp(read1, read2, 6) != 0) in wpa_driver_roboswitch_join()
272 ROBO_ARLCTRL_VEC_1, read1, 1) || in wpa_driver_roboswitch_join()
275 read1[0] != read2[0]) in wpa_driver_roboswitch_join()
/external/deqp-deps/glslang/Test/baseResults/
Dspv.paramMemory.frag.out24 Name 35 "read1"
88 35(read1): 18(ptr) Variable Function
99 Store 35(read1) 41
104 50: 12(fvec4) Load 35(read1)
/external/vboot_reference/tests/futility/
Dtest_gbb_utility.sh53 --rootkey ${TMP}.read1 \
57 cmp -n 10 ${TMP}.data1.short ${TMP}.read1
70 ${FUTILITY} gbb_utility -g --rootkey ${TMP}.read1 ${TMP}.blob
74 cmp ${TMP}.data1 ${TMP}.read1
193 ${FUTILITY} gbb_utility -g --rootkey ${TMP}.read1 ${TMP}.blob.bad
/external/deqp-deps/glslang/Test/
Dspv.paramMemory.frag23 highp vec4 read1 = image_load(image1, in_coords);
26 image_store(image3, in_coords, read1*0.5);
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DTempFileSinkTest.java50 GrpcLogEntry read1 = GrpcLogEntry.parseDelimitedFrom(input); in readMyWrite() local
53 assertEquals(e1, read1); in readMyWrite()
/external/python/cpython3/Lib/
D_pyio.py660 def read1(self, size=-1): member in BufferedIOBase
678 return self._readinto(b, read1=False)
689 return self._readinto(b, read1=True)
691 def _readinto(self, b, read1): argument
696 if read1:
697 data = self.read1(len(b))
889 def read1(self, size=-1): member in BytesIO
1089 def read1(self, size=-1): member in BufferedReader
1107 def _readinto(self, buf, read1): argument
1143 elif not (read1 and written):
[all …]
Dlzma.py202 def read1(self, size=-1): member in LZMAFile
212 return self._buffer.read1(size)
Dbz2.py180 def read1(self, size=-1): member in BZ2File
191 return self._buffer.read1(size)
Dgzip.py278 def read1(self, size=-1): member in GzipFile
289 return self._buffer.read1(size)
/external/guava/guava/src/com/google/common/io/
DByteSource.java319 int read1 = ByteStreams.read(in1, buf1, 0, BUF_SIZE); in contentEquals() local
321 if (read1 != read2 || !Arrays.equals(buf1, buf2)) { in contentEquals()
323 } else if (read1 != BUF_SIZE) { in contentEquals()
/external/compiler-rt/lib/tsan/
Dcheck_analyze.sh41 for f in read1 read2 read4 read8; do
/external/python/cpython2/Lib/
D_pyio.py638 def read1(self, n=None): member in BufferedIOBase
832 def read1(self, n): member in BytesIO
1035 def read1(self, n): member in BufferedReader
1206 def read1(self, n): member in BufferedRWPair
1207 return self.reader.read1(n)
1292 def read1(self, n): member in BufferedRandom
1294 return BufferedReader.read1(self, n)
1688 input_chunk = self.buffer.read1(self._CHUNK_SIZE)
Dzipfile.py630 data = self.read1(n)
632 data = self.read1(n - len(buf))
649 def read1(self, n): member in ZipExtFile
/external/u-boot/cmd/
Dtpm_test.c272 int read0, read1, read2, read3; in test_readonly() local
290 read1 = tpm_nv_read_value(INDEX1, (uint8_t *)&index_1, sizeof(index_1)); in test_readonly()
293 if (read0 || read1 || read2 || read3) { in test_readonly()
/external/python/cpython3/Lib/test/
Dtest_lzma.py910 result = f.read1()
915 self.assertEqual(f.read1(), b"")
919 self.assertEqual(f.read1(0), b"")
925 result = f.read1(10)
930 self.assertEqual(f.read1(), b"")
936 result = f.read1()
941 self.assertEqual(f.read1(), b"")
946 self.assertRaises(ValueError, f.read1)
948 self.assertRaises(ValueError, f.read1)
950 self.assertRaises(TypeError, f.read1, None)
Dtest_io.py894 read1 = read variable in IOTest.test_buffered_readinto_mixin.Stream
948 def read1(self, size): member in IOTest.test_BufferedIOBase_readinto.Reader
1257 self.assertEqual(b"b", bufio.read1(1))
1259 self.assertEqual(b"", bufio.read1(0))
1260 self.assertEqual(b"c", bufio.read1(100))
1262 self.assertEqual(b"d", bufio.read1(100))
1264 self.assertEqual(b"efg", bufio.read1(100))
1266 self.assertEqual(b"", bufio.read1(100))
1273 self.assertEqual(b"bc", bufio.read1())
1274 self.assertEqual(b"d", bufio.read1())
[all …]
Dtest_httplib.py1088 self.assertEqual(resp.read1(2000), expected)
1111 self.assertEqual(resp.read1(20), expected*2)
1247 res = resp.read1(4)
1257 data = resp.read1()
1267 data = resp.read1(10)
1275 self.assertEqual(self.resp.read1(0), b"")
Dtest_memoryio.py468 self.assertEqual(self.ioclass(buf).read1(), buf)
469 self.assertEqual(self.ioclass(buf).read1(-1), buf)
/external/python/cpython3/Lib/http/
Dclient.py633 def read1(self, n=-1): member in HTTPResponse
643 result = self.fp.read1(n)
682 read = self.fp.read1(n)
/external/python/cpython2/Lib/test/
Dtest_io.py920 self.assertEqual(b"b", bufio.read1(1))
922 self.assertEqual(b"c", bufio.read1(100))
924 self.assertEqual(b"d", bufio.read1(100))
926 self.assertEqual(b"efg", bufio.read1(100))
928 self.assertEqual(b"", bufio.read1(100))
931 self.assertRaises(ValueError, bufio.read1, -1)
1497 self.assertEqual(pair.read1(3), b"abc")
1747 bufio.read1(1)
1821 self.assertEqual(f.read1(1), b'd')
2670 read1 = self.StringIO.read variable in TextIOWrapperTest.test_read_nonbytes.NonbytesStream
[all …]
/external/tensorflow/tensorflow/compiler/tests/
Dtensor_array_ops_test.py1050 read1 = ta1.read(0)
1059 self.assertEqual(tensor_shape.scalar(), read1.get_shape())
1064 (read0, read1, size0, size1))
/external/chromium-trace/catapult/third_party/zipfile/
Dzipfile_2_7_13.py630 data = self.read1(n)
632 data = self.read1(n - len(buf))
649 def read1(self, n): member in ZipExtFile
/external/python/cpython3/Modules/_io/
D_iomodule.c746 ADD_INTERNED(read1) in PyInit__io()
/external/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp4766 void read1(const Foo& f);
4802read1(foo); // expected-warning {{passing variable 'foo' by reference requires holding … in test1()
4829read1(*foop); // expected-warning {{passing the value that 'foop' points to by referenc… in test1()
4836read1(*foosp); // expected-warning {{reading the value pointed to by 'foosp' requires h… in test1()
4844 read1(*foosp.get()); in test1()

123