Home
last modified time | relevance | path

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

/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/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/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)
1687 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/python/cpython2/Lib/test/
Dtest_io.py894 self.assertEqual(b"b", bufio.read1(1))
896 self.assertEqual(b"c", bufio.read1(100))
898 self.assertEqual(b"d", bufio.read1(100))
900 self.assertEqual(b"efg", bufio.read1(100))
902 self.assertEqual(b"", bufio.read1(100))
905 self.assertRaises(ValueError, bufio.read1, -1)
1468 self.assertEqual(pair.read1(3), b"abc")
1718 bufio.read1(1)
1792 self.assertEqual(f.read1(1), b'd')
2641 read1 = self.StringIO.read variable in TextIOWrapperTest.test_read_nonbytes.NonbytesStream
[all …]
Dtest_memoryio.py413 self.assertRaises(TypeError, memio.read1)
/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/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()
/external/python/cpython2/Doc/library/
Dio.rst470 .. method:: read1(n=-1)
565 .. method:: read1()
596 .. method:: read1(n)