Home
last modified time | relevance | path

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

12

/third_party/boost/libs/spirit/test/karma/
Dactions.cpp26 void read1(int& i) in read1() function
60 BOOST_TEST(test("42", int_[&read1])); in main()
61 BOOST_TEST(test_delimited("42 ", int_[&read1], ' ')); in main()
77 BOOST_TEST(test("42", int_[boost::bind(&read1, _1)])); in main()
78 BOOST_TEST(test_delimited("42 ", int_[boost::bind(&read1, _1)], ' ')); in main()
98 BOOST_TEST(test("{42}", '{' << int_[&read1] << '}')); in main()
99 BOOST_TEST(test_delimited("{ 42 } ", '{' << int_[&read1] << '}', ' ')); in main()
113 BOOST_TEST(test("{42}", '{' << int_[boost::bind(&read1, _1)] << '}')); in main()
115 '{' << int_[boost::bind(&read1, _1)] << '}', ' ')); in main()
/third_party/skia/tests/
DPremulAlphaRoundTripTest.cpp131 GrPixmap read1 = GrPixmap::Allocate(upmInfo); in DEF_TEST() local
132 GrConvertPixels(read1, surf); in DEF_TEST()
135 GrConvertPixels(surf2, read1); in DEF_TEST()
148 SkDebugf(" <- : %08x\n", get_pixel(read1, x, y)); in DEF_TEST()
155 const uint32_t* pixels1 = (const uint32_t*) read1.addr(); in DEF_TEST()
192 SkBitmap read1; read1.allocPixels(upmInfo); in DEF_TEST() local
193 convert(read1, surf); in DEF_TEST()
196 convert(surf2, read1); in DEF_TEST()
205 SkDebugf(" <- : %08x\n", *read1.getAddr32(x, y)); in DEF_TEST()
212 const uint32_t* pixels1 = read1.getAddr32(0, 0); in DEF_TEST()
/third_party/zlib/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 …]
/third_party/boost/libs/beast/test/extern/zlib-1.2.11/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 …]
/third_party/boost/tools/boost_install/test/iostreams/zlib-1.2.11/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 …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/glslang/Test/baseResults/
Dspv.paramMemory.frag.out24 Name 35 "read1"
78 35(read1): 18(ptr) Variable Function
84 Store 35(read1) 37
86 44: 12(fvec4) Load 35(read1)
Dspv.paramMemory.420.frag.out25 Name 35 "read1"
89 35(read1): 18(ptr) Variable Function
100 Store 35(read1) 39
105 48: 12(fvec4) Load 35(read1)
/third_party/glslang/Test/
Dspv.paramMemory.420.frag26 vec4 read1 = image_load(image1, in_coords);
29 image_store(image3, in_coords, read1*0.5);
Dspv.paramMemory.frag23 highp vec4 read1 = vec4(0.4); // = image_load(image1, in_coords);
26 image_store(image3, in_coords, read1*0.5);
/third_party/python/Lib/
D_pyio.py735 def read1(self, size=-1): member in BufferedIOBase
753 return self._readinto(b, read1=False)
764 return self._readinto(b, read1=True)
766 def _readinto(self, b, read1): argument
771 if read1:
772 data = self.read1(len(b))
971 def read1(self, size=-1): member in BytesIO
1171 def read1(self, size=-1): member in BufferedReader
1189 def _readinto(self, buf, read1): argument
1225 elif not (read1 and written):
[all …]
Dbz2.py166 def read1(self, size=-1): member in BZ2File
176 return self._buffer.read1(size)
Dlzma.py202 def read1(self, size=-1): member in LZMAFile
212 return self._buffer.read1(size)
Dgzip.py303 def read1(self, size=-1): member in GzipFile
314 return self._buffer.read1(size)
/third_party/boost/libs/beast/test/beast/websocket/
DCMakeLists.txt30 read1.cpp
DJamfile21 read1.cpp
Dread1.cpp149 BEAST_DEFINE_TESTSUITE(beast,websocket,read1);
/third_party/python/Lib/test/
Dtest_lzma.py915 result = f.read1()
920 self.assertEqual(f.read1(), b"")
924 self.assertEqual(f.read1(0), b"")
930 result = f.read1(10)
935 self.assertEqual(f.read1(), b"")
941 result = f.read1()
946 self.assertEqual(f.read1(), b"")
951 self.assertRaises(ValueError, f.read1)
953 self.assertRaises(ValueError, f.read1)
955 self.assertRaises(TypeError, f.read1, None)
Dtest_io.py921 read1 = read variable in IOTest.test_buffered_readinto_mixin.Stream
975 def read1(self, size): member in IOTest.test_BufferedIOBase_readinto.Reader
1293 self.assertEqual(b"b", bufio.read1(1))
1295 self.assertEqual(b"", bufio.read1(0))
1296 self.assertEqual(b"c", bufio.read1(100))
1298 self.assertEqual(b"d", bufio.read1(100))
1300 self.assertEqual(b"efg", bufio.read1(100))
1302 self.assertEqual(b"", bufio.read1(100))
1309 self.assertEqual(b"bc", bufio.read1())
1310 self.assertEqual(b"d", bufio.read1())
[all …]
Dtest_httplib.py1163 self.assertEqual(resp.read1(2000), expected)
1186 self.assertEqual(resp.read1(20), expected*2)
1358 res = resp.read1(4)
1368 data = resp.read1()
1378 data = resp.read1(10)
1386 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)
/third_party/python/Lib/http/
Dclient.py643 def read1(self, n=-1): member in HTTPResponse
653 result = self.fp.read1(n)
692 read = self.fp.read1(n)
/third_party/python/Modules/_io/
D_iomodule.c796 ADD_INTERNED(read1) in PyInit__io()
/third_party/python/Doc/library/
Dgzip.rst154 The :meth:`io.BufferedIOBase.read1` method is now implemented.

12