Home
last modified time | relevance | path

Searched refs:ByteCount (Results 1 – 25 of 109) sorted by relevance

12345

/external/swiftshader/third_party/subzero/unittest/AssemblerX8632/
DOther.cpp40 static constexpr uint32_t ByteCount = 1; in TEST_F() local
41 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
42 verifyBytes<ByteCount>(codeBytes(), 0xCC); in TEST_F()
47 static constexpr uint32_t ByteCount = 1; in TEST_F() local
48 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
49 verifyBytes<ByteCount>(codeBytes(), 0xF4); in TEST_F()
54 static constexpr uint32_t ByteCount = 2; in TEST_F() local
55 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
56 verifyBytes<ByteCount>(codeBytes(), 0x0F, 0x0B); in TEST_F()
62 static constexpr uint8_t ByteCount = 1; \ in TEST_F()
[all …]
DLowLevel.cpp19 constexpr size_t ByteCount = 1; in TEST_F() local
20 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
22 verifyBytes<ByteCount>(codeBytes(), 0xc3); in TEST_F()
28 constexpr size_t ByteCount = 3; in TEST_F() local
29 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
31 verifyBytes<ByteCount>(codeBytes(), 0xC2, 0x20, 0x00); in TEST_F()
37 constexpr size_t ByteCount = 5; in TEST_F() local
38 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
40 verifyBytes<ByteCount>(codeBytes(), 0xe8, 0x00, 0x00, 0x00, 0x00); in TEST_F()
52 constexpr size_t ByteCount = 7; in TEST_F() local
[all …]
DX87.cpp22 constexpr size_t ByteCount = 9; in TEST_F() local
23 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
31 verifyBytes<ByteCount>(codeBytes(), Fld32Opcode, Fld32ModRM, 0x01, in TEST_F()
41 constexpr size_t ByteCount = 9; in TEST_F() local
42 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
50 verifyBytes<ByteCount>(codeBytes(), Fld32Opcode, Fld32ModRM, 0x01, in TEST_F()
57 constexpr size_t ByteCount = 2; in TEST_F() local
58 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
60 verifyBytes<ByteCount>(codeBytes(), 0xD9, 0XF7); in TEST_F()
67 constexpr size_t ByteCount = 6; in TEST_F() local
[all …]
/external/swiftshader/third_party/subzero/unittest/AssemblerX8664/
DOther.cpp40 static constexpr uint32_t ByteCount = 1; in TEST_F() local
41 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
42 verifyBytes<ByteCount>(codeBytes(), 0xCC); in TEST_F()
47 static constexpr uint32_t ByteCount = 1; in TEST_F() local
48 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
49 verifyBytes<ByteCount>(codeBytes(), 0xF4); in TEST_F()
54 static constexpr uint32_t ByteCount = 2; in TEST_F() local
55 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
56 verifyBytes<ByteCount>(codeBytes(), 0x0F, 0x0B); in TEST_F()
DLowLevel.cpp19 constexpr size_t ByteCount = 1; in TEST_F() local
20 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
22 verifyBytes<ByteCount>(codeBytes(), 0xc3); in TEST_F()
28 constexpr size_t ByteCount = 3; in TEST_F() local
29 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
31 verifyBytes<ByteCount>(codeBytes(), 0xC2, 0x20, 0x00); in TEST_F()
37 constexpr size_t ByteCount = 5; in TEST_F() local
38 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
40 verifyBytes<ByteCount>(codeBytes(), 0xe8, 0x00, 0x00, 0x00, 0x00); in TEST_F()
60 constexpr size_t ByteCount = 23; in TEST_F() local
[all …]
DLocked.cpp19 static constexpr uint8_t ByteCount = 3; in TEST_F() local
20 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
21 verifyBytes<ByteCount>(codeBytes(), 0x0F, 0xAE, 0xF0); in TEST_F()
27 static constexpr uint8_t ByteCount = 1; in TEST_F() local
28 ASSERT_EQ(ByteCount, codeBytesSize()); in TEST_F()
29 verifyBytes<ByteCount>(codeBytes(), 0xF0); in TEST_F()
267 static constexpr uint8_t ByteCount = 1; \ in TEST_F()
269 ASSERT_EQ(ByteCount, codeBytesSize()) << Prefix; \ in TEST_F()
270 ASSERT_TRUE(verifyBytes<ByteCount>(codeBytes(), Prefix)); \ in TEST_F()
/external/cronet/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl.cc98 int64_t FileInputStream::ByteCount() const { return impl_.ByteCount(); } in ByteCount() function in google::protobuf::io::FileInputStream
262 int64_t IstreamInputStream::ByteCount() const { return impl_.ByteCount(); } in ByteCount() function in google::protobuf::io::IstreamInputStream
293 int64_t OstreamOutputStream::ByteCount() const { return impl_.ByteCount(); } in ByteCount() function in google::protobuf::io::OstreamOutputStream
320 bytes_retired_ += streams_[0]->ByteCount(); in Next()
341 int64_t target_byte_count = streams_[0]->ByteCount() + count; in Skip()
346 int64_t final_byte_count = streams_[0]->ByteCount(); in Skip()
359 int64_t ConcatenatingInputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::ConcatenatingInputStream
363 return bytes_retired_ + streams_[0]->ByteCount(); in ByteCount()
Dcoded_stream_unittest.cc200 EXPECT_EQ(kVarintCases_case.size, input.ByteCount()); in TEST_2D()
217 EXPECT_EQ(kVarintCases_case.size, input.ByteCount()); in TEST_2D()
238 int64_t ByteCount() const override { return 0; } in TEST_F() function in google::protobuf::io::__anona2df41900111::TEST_F::In
274 EXPECT_EQ(kVarintCases_case.size + 1, input.ByteCount()); in TEST_1D()
276 EXPECT_EQ(1, input.ByteCount()); in TEST_1D()
309 EXPECT_EQ(kVarintCases_case.size, input.ByteCount()); in TEST_2D()
326 EXPECT_EQ(kVarintCases_case.size, coded_output.ByteCount()); in TEST_2D()
329 EXPECT_EQ(kVarintCases_case.size, output.ByteCount()); in TEST_2D()
343 EXPECT_EQ(kVarintCases_case.size, coded_output.ByteCount()); in TEST_2D()
346 EXPECT_EQ(kVarintCases_case.size, output.ByteCount()); in TEST_2D()
[all …]
Dzero_copy_stream_unittest.cc226 EXPECT_EQ(output->ByteCount(), 68); in WriteStuff()
228 int result = output->ByteCount(); in WriteStuff()
244 EXPECT_EQ(input->ByteCount(), 68); in ReadStuff()
260 EXPECT_EQ(output->ByteCount(), 200055); in WriteStuffLarge()
262 int result = output->ByteCount(); in WriteStuffLarge()
277 EXPECT_EQ(input->ByteCount(), 200055); in ReadStuffLarge()
321 int64 pos = output->ByteCount(); in TEST_F()
329 int64 size = pos + output->ByteCount(); in TEST_F()
374 size = output.ByteCount(); in TEST_F()
409 size = output.ByteCount(); in TEST_F()
[all …]
Dzero_copy_stream_impl_lite.cc100 int64_t ArrayInputStream::ByteCount() const { return position_; } in ByteCount() function in google::protobuf::io::ArrayInputStream
134 int64_t ArrayOutputStream::ByteCount() const { return position_; } in ByteCount() function in google::protobuf::io::ArrayOutputStream
174 int64_t StringOutputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::StringOutputStream
280 int64_t CopyingInputStreamAdaptor::ByteCount() const { in ByteCount() function in google::protobuf::io::CopyingInputStreamAdaptor
344 int64_t CopyingOutputStreamAdaptor::ByteCount() const { in ByteCount() function in google::protobuf::io::CopyingOutputStreamAdaptor
414 prior_bytes_read_ = input_->ByteCount(); in LimitingInputStream()
457 int64_t LimitingInputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::LimitingInputStream
459 return input_->ByteCount() + limit_ - prior_bytes_read_; in ByteCount()
461 return input_->ByteCount() - prior_bytes_read_; in ByteCount()
Dzero_copy_stream_impl_lite.h85 int64_t ByteCount() const override;
119 int64_t ByteCount() const override;
154 int64_t ByteCount() const override;
226 int64_t ByteCount() const override;
313 int64_t ByteCount() const override;
363 int64_t ByteCount() const override;
Dprinter_unittest.cc78 buffer[output.ByteCount()] = '\0'; in TEST()
105 buffer[output.ByteCount()] = '\0'; in TEST()
141 buffer[output.ByteCount()] = '\0'; in TEST()
167 buffer[output.ByteCount()] = '\0'; in TEST()
231 buffer[output.ByteCount()] = '\0'; in TEST()
271 buffer[output.ByteCount()] = '\0'; in TEST()
306 buffer[output.ByteCount()] = '\0'; in TEST()
331 buffer[output.ByteCount()] = '\0'; in TEST()
355 buffer[output.ByteCount()] = '\0'; in TEST()
392 buffer[output.ByteCount()] = '\0'; in TEST()
[all …]
Dzero_copy_stream_impl.h97 int64_t ByteCount() const override;
224 int64_t ByteCount() const override;
269 int64_t ByteCount() const override;
315 int64_t ByteCount() const override;
Dzero_copy_stream.h184 virtual int64_t ByteCount() const = 0;
239 virtual int64_t ByteCount() const = 0;
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl.cc98 int64_t FileInputStream::ByteCount() const { return impl_.ByteCount(); } in ByteCount() function in google::protobuf::io::FileInputStream
262 int64_t IstreamInputStream::ByteCount() const { return impl_.ByteCount(); } in ByteCount() function in google::protobuf::io::IstreamInputStream
293 int64_t OstreamOutputStream::ByteCount() const { return impl_.ByteCount(); } in ByteCount() function in google::protobuf::io::OstreamOutputStream
320 bytes_retired_ += streams_[0]->ByteCount(); in Next()
341 int64_t target_byte_count = streams_[0]->ByteCount() + count; in Skip()
346 int64_t final_byte_count = streams_[0]->ByteCount(); in Skip()
359 int64_t ConcatenatingInputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::ConcatenatingInputStream
363 return bytes_retired_ + streams_[0]->ByteCount(); in ByteCount()
Dcoded_stream_unittest.cc202 EXPECT_EQ(kVarintCases_case.size, input.ByteCount()); in TEST_2D()
219 EXPECT_EQ(kVarintCases_case.size, input.ByteCount()); in TEST_2D()
240 int64_t ByteCount() const override { return 0; } in TEST_F() function in google::protobuf::io::__anonfd2d41fd0111::TEST_F::In
276 EXPECT_EQ(kVarintCases_case.size + 1, input.ByteCount()); in TEST_1D()
278 EXPECT_EQ(1, input.ByteCount()); in TEST_1D()
312 EXPECT_EQ(kVarintCases_case.size, input.ByteCount()); in TEST_2D()
329 EXPECT_EQ(kVarintCases_case.size, coded_output.ByteCount()); in TEST_2D()
332 EXPECT_EQ(kVarintCases_case.size, output.ByteCount()); in TEST_2D()
346 EXPECT_EQ(kVarintCases_case.size, coded_output.ByteCount()); in TEST_2D()
349 EXPECT_EQ(kVarintCases_case.size, output.ByteCount()); in TEST_2D()
[all …]
Dzero_copy_stream_unittest.cc226 EXPECT_EQ(output->ByteCount(), 68); in WriteStuff()
228 int result = output->ByteCount(); in WriteStuff()
244 EXPECT_EQ(input->ByteCount(), 68); in ReadStuff()
260 EXPECT_EQ(output->ByteCount(), 200055); in WriteStuffLarge()
262 int result = output->ByteCount(); in WriteStuffLarge()
277 EXPECT_EQ(input->ByteCount(), 200055); in ReadStuffLarge()
321 int64 pos = output->ByteCount(); in TEST_F()
329 int64 size = pos + output->ByteCount(); in TEST_F()
374 size = output.ByteCount(); in TEST_F()
409 size = output.ByteCount(); in TEST_F()
[all …]
Dzero_copy_stream_impl_lite.cc100 int64_t ArrayInputStream::ByteCount() const { return position_; } in ByteCount() function in google::protobuf::io::ArrayInputStream
134 int64_t ArrayOutputStream::ByteCount() const { return position_; } in ByteCount() function in google::protobuf::io::ArrayOutputStream
174 int64_t StringOutputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::StringOutputStream
280 int64_t CopyingInputStreamAdaptor::ByteCount() const { in ByteCount() function in google::protobuf::io::CopyingInputStreamAdaptor
344 int64_t CopyingOutputStreamAdaptor::ByteCount() const { in ByteCount() function in google::protobuf::io::CopyingOutputStreamAdaptor
414 prior_bytes_read_ = input_->ByteCount(); in LimitingInputStream()
457 int64_t LimitingInputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::LimitingInputStream
459 return input_->ByteCount() + limit_ - prior_bytes_read_; in ByteCount()
461 return input_->ByteCount() - prior_bytes_read_; in ByteCount()
Dzero_copy_stream_impl_lite.h85 int64_t ByteCount() const override;
119 int64_t ByteCount() const override;
154 int64_t ByteCount() const override;
226 int64_t ByteCount() const override;
313 int64_t ByteCount() const override;
363 int64_t ByteCount() const override;
Dprinter_unittest.cc78 buffer[output.ByteCount()] = '\0'; in TEST()
105 buffer[output.ByteCount()] = '\0'; in TEST()
141 buffer[output.ByteCount()] = '\0'; in TEST()
167 buffer[output.ByteCount()] = '\0'; in TEST()
231 buffer[output.ByteCount()] = '\0'; in TEST()
271 buffer[output.ByteCount()] = '\0'; in TEST()
306 buffer[output.ByteCount()] = '\0'; in TEST()
331 buffer[output.ByteCount()] = '\0'; in TEST()
355 buffer[output.ByteCount()] = '\0'; in TEST()
392 buffer[output.ByteCount()] = '\0'; in TEST()
[all …]
Dzero_copy_stream_impl.h97 int64_t ByteCount() const override;
224 int64_t ByteCount() const override;
269 int64_t ByteCount() const override;
315 int64_t ByteCount() const override;
Dzero_copy_stream.h182 virtual int64_t ByteCount() const = 0;
237 virtual int64_t ByteCount() const = 0;
/external/llvm/lib/Support/
DSHA1.cpp46 InternalState.ByteCount = 0; in init()
108 ++InternalState.ByteCount; in writebyte()
129 addUncounted(InternalState.ByteCount >> 29); // Shifting to multiply by 8 in pad()
130 addUncounted(InternalState.ByteCount >> in pad()
132 addUncounted(InternalState.ByteCount >> 13); // byte. in pad()
133 addUncounted(InternalState.ByteCount >> 5); in pad()
134 addUncounted(InternalState.ByteCount << 3); in pad()
/external/protobuf/src/google/protobuf/
Dtest_util2.h90 GOOGLE_CHECK_LT(stream_.ByteCount(), bound_); in Next()
95 int64_t ByteCount() const override { return stream_.ByteCount(); } in ByteCount() function
/external/cronet/third_party/protobuf/src/google/protobuf/
Dtest_util2.h90 GOOGLE_CHECK_LT(stream_.ByteCount(), bound_); in Next()
95 int64_t ByteCount() const override { return stream_.ByteCount(); } in ByteCount() function

12345