Home
last modified time | relevance | path

Searched full:read (Results 1 – 25 of 20561) sorted by relevance

12345678910>>...823

/external/libevent/
Depolltable-internal.h43 If either the read or the write change is add+del:
45 Else, if either the read or the write change is add:
47 If the read change is add, or
48 (the read change is not del, and ev_read is in old_events):
59 Else, if the read or the write change is del:
61 If the read change is del:
78 There is no read or write change; set op to 0 and events to 0.
115 Bit 2: read change is add
116 Bit 3: read change is del
140 /* old= 0, write: 0, read: 0, close: 0 */
[all …]
/external/mesa3d/src/intel/tools/
Daub_read.c74 parse_error(struct aub_read *read, const uint32_t *p, const char *fmt, ...) in parse_error() argument
76 if (!read->error) in parse_error()
84 read->error(read->user_data, p, msg); in parse_error()
90 handle_trace_header(struct aub_read *read, const uint32_t *p) in handle_trace_header() argument
101 if (!intel_get_device_info_from_pci_id(aub_pci_id, &read->devinfo)) { in handle_trace_header()
102 parse_error(read, p, in handle_trace_header()
113 if (read->info) in handle_trace_header()
114 read->info(read->user_data, aub_pci_id, app_name); in handle_trace_header()
120 handle_memtrace_version(struct aub_read *read, const uint32_t *p) in handle_memtrace_version() argument
132 if (!intel_get_device_info_from_pci_id(aub_pci_id, &read->devinfo)) { in handle_memtrace_version()
[all …]
/external/swiftshader/tests/regres/testlists/vk-default/image/
Dextend-operands-spirv1p4.txt1 dEQP-VK.image.extend_operands_spirv1p4.a2b10g10r10_uint_pack32.read.matched_sign.normal_precision
2 dEQP-VK.image.extend_operands_spirv1p4.a2b10g10r10_uint_pack32.read.matched_sign.relaxed_precision
4 dEQP-VK.image.extend_operands_spirv1p4.r16_sint.read.matched_sign.normal_precision
5 dEQP-VK.image.extend_operands_spirv1p4.r16_sint.read.matched_sign.relaxed_precision
6 dEQP-VK.image.extend_operands_spirv1p4.r16_sint.read.mismatched_sign.normal_precision
7 dEQP-VK.image.extend_operands_spirv1p4.r16_sint.read.mismatched_sign.relaxed_precision
10 dEQP-VK.image.extend_operands_spirv1p4.r16_uint.read.matched_sign.normal_precision
11 dEQP-VK.image.extend_operands_spirv1p4.r16_uint.read.matched_sign.relaxed_precision
13 dEQP-VK.image.extend_operands_spirv1p4.r16g16_sint.read.matched_sign.normal_precision
14 dEQP-VK.image.extend_operands_spirv1p4.r16g16_sint.read.matched_sign.relaxed_precision
[all …]
/external/deqp/external/vulkancts/mustpass/main/vksc-default/image/
Dextend-operands-spirv1p4.txt1 dEQP-VKSC.image.extend_operands_spirv1p4.a2b10g10r10_uint_pack32.read.matched_sign.normal_precision
2 dEQP-VKSC.image.extend_operands_spirv1p4.a2b10g10r10_uint_pack32.read.matched_sign.relaxed_precision
4 dEQP-VKSC.image.extend_operands_spirv1p4.r16_sint.read.matched_sign.normal_precision
5 dEQP-VKSC.image.extend_operands_spirv1p4.r16_sint.read.matched_sign.relaxed_precision
6 dEQP-VKSC.image.extend_operands_spirv1p4.r16_sint.read.mismatched_sign.normal_precision
7 dEQP-VKSC.image.extend_operands_spirv1p4.r16_sint.read.mismatched_sign.relaxed_precision
10 dEQP-VKSC.image.extend_operands_spirv1p4.r16_uint.read.matched_sign.normal_precision
11 dEQP-VKSC.image.extend_operands_spirv1p4.r16_uint.read.matched_sign.relaxed_precision
13 dEQP-VKSC.image.extend_operands_spirv1p4.r16g16_sint.read.matched_sign.normal_precision
14 dEQP-VKSC.image.extend_operands_spirv1p4.r16g16_sint.read.matched_sign.relaxed_precision
[all …]
/external/deqp/external/vulkancts/mustpass/main/vk-default/image/
Dextend-operands-spirv1p4.txt1 dEQP-VK.image.extend_operands_spirv1p4.a2b10g10r10_uint_pack32.read.matched_sign.normal_precision
2 dEQP-VK.image.extend_operands_spirv1p4.a2b10g10r10_uint_pack32.read.matched_sign.relaxed_precision
4 dEQP-VK.image.extend_operands_spirv1p4.r16_sint.read.matched_sign.normal_precision
5 dEQP-VK.image.extend_operands_spirv1p4.r16_sint.read.matched_sign.relaxed_precision
6 dEQP-VK.image.extend_operands_spirv1p4.r16_sint.read.mismatched_sign.normal_precision
7 dEQP-VK.image.extend_operands_spirv1p4.r16_sint.read.mismatched_sign.relaxed_precision
10 dEQP-VK.image.extend_operands_spirv1p4.r16_uint.read.matched_sign.normal_precision
11 dEQP-VK.image.extend_operands_spirv1p4.r16_uint.read.matched_sign.relaxed_precision
13 dEQP-VK.image.extend_operands_spirv1p4.r16g16_sint.read.matched_sign.normal_precision
14 dEQP-VK.image.extend_operands_spirv1p4.r16g16_sint.read.matched_sign.relaxed_precision
[all …]
/external/deqp/android/cts/main/vk-main-2022-03-01/image/
Dextend-operands-spirv1p4.txt1 dEQP-VK.image.extend_operands_spirv1p4.a2b10g10r10_uint_pack32.read.matched_sign.normal_precision
2 dEQP-VK.image.extend_operands_spirv1p4.a2b10g10r10_uint_pack32.read.matched_sign.relaxed_precision
4 dEQP-VK.image.extend_operands_spirv1p4.r16_sint.read.matched_sign.normal_precision
5 dEQP-VK.image.extend_operands_spirv1p4.r16_sint.read.matched_sign.relaxed_precision
6 dEQP-VK.image.extend_operands_spirv1p4.r16_sint.read.mismatched_sign.normal_precision
7 dEQP-VK.image.extend_operands_spirv1p4.r16_sint.read.mismatched_sign.relaxed_precision
10 dEQP-VK.image.extend_operands_spirv1p4.r16_uint.read.matched_sign.normal_precision
11 dEQP-VK.image.extend_operands_spirv1p4.r16_uint.read.matched_sign.relaxed_precision
13 dEQP-VK.image.extend_operands_spirv1p4.r16g16_sint.read.matched_sign.normal_precision
14 dEQP-VK.image.extend_operands_spirv1p4.r16g16_sint.read.matched_sign.relaxed_precision
[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/openthread/src/core/common/
Dframe_data.hpp47 …* It provide helper method to parse the content. As data is parsed and read, the `FrameData` is up…
48 * the read content.
54 …* Indicates whether or not there are enough bytes remaining in the `FrameData` to read a given num…
57 * @param[in] aLength The read length to check.
59 * @retval TRUE There are enough remaining bytes to read @p aLength bytes.
60 * @retval FALSE There are not enough remaining bytes to read @p aLength bytes.
67 * If read successfully, the `FrameData` is updated to skip over the read content.
69 * @param[out] aUint8 A reference to an `uint8_t` to return the read value.
71 * @retval kErrorNone Successfully read `uint8_t` value and skipped over it.
72 * @retval kErrorParse Not enough bytes remaining to read.
[all …]
/external/mbedtls/tests/suites/
Dtest_suite_psa_crypto_storage_format.v0.data3 read lifetime: (DEFAULT,LOCAL_STORAGE)
7 read lifetime: (READ_ONLY,LOCAL_STORAGE)
11 read lifetime: (2,LOCAL_STORAGE)
15 read lifetime: (254,LOCAL_STORAGE)
19 read lifetime: PERSISTENT
23 read usage without implication: 0
27 read usage without implication: COPY
31 read usage without implication: DECRYPT
35 read usage without implication: DERIVE
39 read usage without implication: ENCRYPT
[all …]
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_storage_format.v0.data3 read lifetime: (DEFAULT,LOCAL_STORAGE)
7 read lifetime: (READ_ONLY,LOCAL_STORAGE)
11 read lifetime: (2,LOCAL_STORAGE)
15 read lifetime: (254,LOCAL_STORAGE)
19 read lifetime: PERSISTENT
23 read usage without implication: 0
27 read usage without implication: COPY
31 read usage without implication: DECRYPT
35 read usage without implication: DERIVE
39 read usage without implication: ENCRYPT
[all …]
/external/mesa3d/src/intel/perf/
Doa-hsw.xml17 equation="GPU_TIME 0 READ 1000000000 UMUL $GpuTimestampFrequency UDIV"
30 equation="C 2 READ"
57 equation="A 5 READ"
70 equation="A 10 READ"
83 equation="A 15 READ"
96 equation="A 25 READ"
109 equation="A 30 READ"
122 equation="A 20 READ"
136 equation="A 41 READ 100 UMUL $GpuCoreClocks FDIV"
150 equation="A 0 READ $EuCoresTotalCount UDIV 100 UMUL $GpuCoreClocks FDIV"
[all …]
/external/tensorflow/tensorflow/core/lib/io/
Drandom_inputstream_test.cc33 tstring 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 …]
/external/openscreen/discovery/mdns/
Dmdns_reader.h24 using BigEndianReader::Read;
27 // read the value to |out| and advances current() to point right past the read
28 // data. Returns false if the method failed to read the value to |out|,
30 bool Read(TxtRecordRdata::Entry* out);
31 bool Read(DomainName* out);
32 bool Read(RawRecordRdata* out);
33 bool Read(SrvRecordRdata* out);
34 bool Read(ARecordRdata* out);
35 bool Read(AAAARecordRdata* out);
36 bool Read(PtrRecordRdata* out);
[all …]
Dmdns_reader.cc42 bool MdnsReader::Read(TxtRecordRdata::Entry* out) { in Read() function in openscreen::discovery::MdnsReader
45 if (!Read(&entry_length)) { in Read()
60 bool MdnsReader::Read(DomainName* out) { in Read() function in openscreen::discovery::MdnsReader
128 bool MdnsReader::Read(RawRecordRdata* out) { in Read() function in openscreen::discovery::MdnsReader
132 if (Read(&record_length)) { in Read()
138 if (Read(buffer.size(), buffer.data())) { in Read()
152 bool MdnsReader::Read(SrvRecordRdata* out) { in Read() function in openscreen::discovery::MdnsReader
160 if (Read(&record_length) && Read(&priority) && Read(&weight) && Read(&port) && in Read()
161 Read(&target) && in Read()
170 bool MdnsReader::Read(ARecordRdata* out) { in Read() function in openscreen::discovery::MdnsReader
[all …]
/external/tink/python/tink/streaming_aead/
D_rewindable_input_stream_test.py46 self.assertEqual(b'The q', f.read(5))
47 self.assertEqual(b'uick ', f.read(5))
48 self.assertEqual(b'brown', f.read(5))
49 self.assertEqual(b' fox', f.read(5))
50 self.assertEqual(b'', f.read(5))
51 self.assertEqual(b'', f.read(5))
56 self.assertEqual(b'The quick brown fox', f.read())
61 self.assertEqual(b'The quick brown fox', f.read(-1))
71 self.assertEqual(b'The quick', f.read(9))
73 self.assertEqual(b'The ', f.read(4))
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors_ioctl.inc17 // FIXME: support read+write arguments. Currently READWRITE and WRITE do the
23 READ,
50 _(FIOASYNC, READ, sizeof(int));
53 _(FIONBIO, READ, sizeof(int));
55 _(FIOSETOWN, READ, sizeof(int));
59 _(SIOCSPGRP, READ, sizeof(int));
65 _(TIOCMBIC, READ, sizeof(int));
66 _(TIOCMBIS, READ, sizeof(int));
68 _(TIOCMSET, READ, sizeof(int));
72 _(TIOCPKT, READ, sizeof(int));
[all …]
/external/sdv/vsomeip/third_party/boost/asio/include/boost/asio/
Dread.hpp2 // read.hpp
34 * @defgroup read boost::asio::read
36 * @brief The @c read function is a composed operation that reads a certain
41 /// Attempt to read a certain amount of data from a stream before returning.
43 * This function is used to read a certain number of bytes of data from a
54 * @param s The stream from which the data is to be read. The type must support
57 * @param buffers One or more buffers into which the data will be read. The sum
58 * of the buffer sizes indicates the maximum number of bytes to read from the
66 * To read into a single data buffer use the @ref buffer function as follows:
67 * @code boost::asio::read(s, boost::asio::buffer(data, size)); @endcode
[all …]
/external/openthread/src/lib/spinel/
Dspinel_decoder.hpp65 …* It sets the read position to the start of the frame and also erases/voids any saved positions (s…
88 * Returns the number of bytes that are already read/decoded from the frame.
90 * @returns The number of bytes already read from frame.
95 * Returns the number of remaining (not yet read/decoded) bytes in the frame.
102 * Indicates whether or not all the bytes in the frame are read.
104 * @returns TRUE if all the bytes in the buffer are read, FALSE otherwise.
109 * Resets the read position to beginning of frame. It will also void/erase any previously saved
117 * On success, the read position gets updated.
119 * @param[out] aBool Reference to variable to output the read value.
121 * @retval OT_ERROR_NONE Successfully read the value.
[all …]
/external/apache-commons-io/src/test/java/org/apache/commons/io/input/
DBoundedReaderTest.java78 mr.read(); in markReset()
79 mr.read(); in markReset()
80 mr.read(); in markReset()
82 mr.read(); in markReset()
83 mr.read(); in markReset()
84 mr.read(); in markReset()
85 assertEquals(-1, mr.read()); in markReset()
93 mr.read(); in markResetFromOffset1()
94 mr.read(); in markResetFromOffset1()
95 mr.read(); in markResetFromOffset1()
[all …]
DNullInputStreamTest.java62 assertEquals(0, input.read(), "Read 1"); in testEOFException()
63 assertEquals(1, input.read(), "Read 2"); in testEOFException()
64 assertThrows(EOFException.class, () -> input.read()); in testEOFException()
81 assertEquals(position, input.read(), "Read Before Mark [" + position + "]"); in testMarkAndReset()
87 // Read further in testMarkAndReset()
89 assertEquals(position + i, input.read(), "Read After Mark [" + i + "]"); in testMarkAndReset()
95 // Read From marked position in testMarkAndReset()
97 assertEquals(position + i, input.read(), "Read After Reset [" + i + "]"); in testMarkAndReset()
100 // Reset after read limit passed in testMarkAndReset()
101 …final IOException resetException = assertThrows(IOException.class, input::reset, "Read limit excee… in testMarkAndReset()
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/
Dread.hpp2 // read.hpp
26 * @defgroup read asio::read
28 * @brief Attempt to read a certain amount of data from a stream before
33 /// Attempt to read a certain amount of data from a stream before returning.
35 * This function is used to read a certain number of bytes of data from a
46 * @param s The stream from which the data is to be read. The type must support
49 * @param buffers One or more buffers into which the data will be read. The sum
50 * of the buffer sizes indicates the maximum number of bytes to read from the
58 * To read into a single data buffer use the @ref buffer function as follows:
59 * @code asio::read(s, asio::buffer(data, size)); @endcode
[all …]
/external/google-breakpad/src/common/
Dbyte_cursor_unittest.cc135 EXPECT_TRUE(cursor.Read(stars, 3)); in TEST()
167 .Read(1, true, &a) in TEST()
168 .Read(1, true, &b) in TEST()
169 .Read(1, true, &c) in TEST()
170 .Read(1, true, &d)); in TEST()
176 EXPECT_FALSE(cursor.Read(1, true, &e)); in TEST()
187 .Read(2, true, &a) in TEST()
188 .Read(2, true, &b) in TEST()
189 .Read(2, true, &c) in TEST()
190 .Read(2, true, &d) in TEST()
[all …]
/external/emboss/compiler/back_end/cpp/testcode/
Duint_sizes_test.cc48 EXPECT_EQ(2, view.one_byte().Read()); in TEST()
49 EXPECT_EQ(260, view.two_byte().Read()); in TEST()
50 EXPECT_EQ(0x445566U, view.three_byte().Read()); in TEST()
51 EXPECT_EQ(0x03040506U, view.four_byte().Read()); in TEST()
52 EXPECT_EQ(0xa987654321UL, view.five_byte().Read()); in TEST()
53 EXPECT_EQ(0x123456789abcUL, view.six_byte().Read()); in TEST()
54 EXPECT_EQ(0xf1e2d3c4b5a697UL, view.seven_byte().Read()); in TEST()
55 EXPECT_EQ(0xff00010203040506UL, view.eight_byte().Read()); in TEST()
57 EXPECT_EQ(1U, sizeof(view.one_byte().Read())); in TEST()
58 EXPECT_EQ(2U, sizeof(view.two_byte().Read())); in TEST()
[all …]
/external/cronet/stable/base/json/
Djson_reader_unittest.cc36 // MSan will do a better job detecting over-read errors if the input is not
64 std::optional<Value> root = JSONReader::Read(" null "); in TEST_P()
72 EXPECT_FALSE(JSONReader::Read("")); in TEST_P()
73 EXPECT_FALSE(JSONReader::Read("nu")); in TEST_P()
78 std::optional<Value> root = JSONReader::Read("true "); in TEST_P()
85 std::optional<Value> root = JSONReader::Read("/* comment */null"); in TEST_P()
88 root = JSONReader::Read("40 /* comment */"); in TEST_P()
91 root = JSONReader::Read("true // comment"); in TEST_P()
95 root = JSONReader::Read("{ \"cheese\": 3\n\n // Here's a comment\n}"); in TEST_P()
98 root = JSONReader::Read("{ \"cheese\": 3// Here's a comment\n}"); in TEST_P()
[all …]

12345678910>>...823