Home
last modified time | relevance | path

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

123

/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 …]
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()
/external/protobuf/src/google/protobuf/util/internal/
Djson_objectwriter_test.cc67 EXPECT_EQ("{}", output_.substr(0, out_stream_->ByteCount())); in TEST_F()
78 output_.substr(0, out_stream_->ByteCount())); in TEST_F()
84 EXPECT_EQ("[]", output_.substr(0, out_stream_->ByteCount())); in TEST_F()
95 output_.substr(0, out_stream_->ByteCount())); in TEST_F()
106 output_.substr(0, out_stream_->ByteCount())); in TEST_F()
117 output_.substr(0, out_stream_->ByteCount())); in TEST_F()
128 output_.substr(0, out_stream_->ByteCount())); in TEST_F()
138 EXPECT_EQ("[[\"value\"]]", output_.substr(0, out_stream_->ByteCount())); in TEST_F()
168 output_.substr(0, out_stream_->ByteCount())); in TEST_F()
179 output_.substr(0, out_stream_->ByteCount())); in TEST_F()
[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/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl.cc102 int64 FileInputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::FileInputStream
103 return impl_.ByteCount(); in ByteCount()
201 int64 FileOutputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::FileOutputStream
202 return impl_.ByteCount(); in ByteCount()
292 int64 IstreamInputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::IstreamInputStream
293 return impl_.ByteCount(); in ByteCount()
332 int64 OstreamOutputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::OstreamOutputStream
333 return impl_.ByteCount(); in ByteCount()
365 bytes_retired_ += streams_[0]->ByteCount(); in Next()
386 int64 target_byte_count = streams_[0]->ByteCount() + count; in Skip()
[all …]
Dcoded_stream_unittest.cc204 EXPECT_EQ(kVarintCases_case.size, input.ByteCount()); in TEST_2D()
221 EXPECT_EQ(kVarintCases_case.size, input.ByteCount()); in TEST_2D()
243 virtual int64 ByteCount() const { return 0; } in TEST_F() function in google::protobuf::io::__anon8e03bf410111::TEST_F::In
279 EXPECT_EQ(kVarintCases_case.size + 1, input.ByteCount()); in TEST_1D()
281 EXPECT_EQ(1, input.ByteCount()); in TEST_1D()
315 EXPECT_EQ(kVarintCases_case.size, input.ByteCount()); in TEST_2D()
332 EXPECT_EQ(kVarintCases_case.size, coded_output.ByteCount()); in TEST_2D()
335 EXPECT_EQ(kVarintCases_case.size, output.ByteCount()); in TEST_2D()
349 EXPECT_EQ(kVarintCases_case.size, coded_output.ByteCount()); in TEST_2D()
352 EXPECT_EQ(kVarintCases_case.size, output.ByteCount()); in TEST_2D()
[all …]
Dzero_copy_stream_unittest.cc218 EXPECT_EQ(output->ByteCount(), 68); in WriteStuff()
220 int result = output->ByteCount(); in WriteStuff()
236 EXPECT_EQ(input->ByteCount(), 68); in ReadStuff()
250 EXPECT_EQ(output->ByteCount(), 200055); in WriteStuffLarge()
252 int result = output->ByteCount(); in WriteStuffLarge()
267 EXPECT_EQ(input->ByteCount(), 200055); in ReadStuffLarge()
311 int64 pos = output->ByteCount(); in TEST_F()
319 int64 size = pos + output->ByteCount(); in TEST_F()
364 size = output.ByteCount(); in TEST_F()
400 size = output.ByteCount(); in TEST_F()
[all …]
Dzero_copy_stream_impl_lite.h83 int64 ByteCount() const;
116 int64 ByteCount() const;
150 int64 ByteCount() const;
175 int64 ByteCount() const;
246 int64 ByteCount() const;
333 int64 ByteCount() const;
Dzero_copy_stream_impl.h94 int64 ByteCount() const;
176 int64 ByteCount() const;
228 int64 ByteCount() const;
271 int64 ByteCount() const;
315 int64 ByteCount() const;
341 int64 ByteCount() const;
Dzero_copy_stream_impl_lite.cc105 int64 ArrayInputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::ArrayInputStream
146 int64 ArrayOutputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::ArrayOutputStream
197 int64 StringOutputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::StringOutputStream
226 int64 LazyStringOutputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::LazyStringOutputStream
227 return string_is_set_ ? StringOutputStream::ByteCount() : 0; in ByteCount()
335 int64 CopyingInputStreamAdaptor::ByteCount() const { in ByteCount() function in google::protobuf::io::CopyingInputStreamAdaptor
400 int64 CopyingOutputStreamAdaptor::ByteCount() const { in ByteCount() function in google::protobuf::io::CopyingOutputStreamAdaptor
Dprinter_unittest.cc79 buffer[output.ByteCount()] = '\0'; in TEST()
105 buffer[output.ByteCount()] = '\0'; in TEST()
140 buffer[output.ByteCount()] = '\0'; in TEST()
165 buffer[output.ByteCount()] = '\0'; in TEST()
228 buffer[output.ByteCount()] = '\0'; in TEST()
268 buffer[output.ByteCount()] = '\0'; in TEST()
303 buffer[output.ByteCount()] = '\0'; in TEST()
328 buffer[output.ByteCount()] = '\0'; in TEST()
352 buffer[output.ByteCount()] = '\0'; in TEST()
396 buffer[output.ByteCount()] = '\0'; in TEST()
Dzero_copy_stream.h172 virtual int64 ByteCount() const = 0;
227 virtual int64 ByteCount() const = 0;
Dgzip_stream.h88 int64 ByteCount() const;
181 int64 ByteCount() const;
/external/perfetto/src/tracing/core/
Dsliced_protobuf_input_stream_unittest.cc43 ASSERT_EQ(kBufs[0], istr.ByteCount()); in TEST()
48 ASSERT_EQ(kBufs[0] - 10, istr.ByteCount()); in TEST()
54 ASSERT_EQ(kBufs[0], istr.ByteCount()); in TEST()
59 ASSERT_EQ(kBufs[0] - 50, istr.ByteCount()); in TEST()
66 ASSERT_EQ(kBufs[0], istr.ByteCount()); in TEST()
79 ASSERT_EQ(num_bytes, istr.ByteCount()); in TEST()
84 ASSERT_EQ(num_bytes, istr.ByteCount()); in TEST()
95 ASSERT_EQ(99, istr.ByteCount()); in TEST()
98 ASSERT_EQ(99 + 1 + 200 + 1023, istr.ByteCount()); in TEST()
101 ASSERT_EQ(99 + 1 + 200 + 1023 + 1 + 0 + 10 + 0 + 1 + 1 + 3, istr.ByteCount()); in TEST()
Dsliced_protobuf_input_stream.h41 google::protobuf::int64 ByteCount() const override;
/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/compiler/
Dzip_writer.cc144 info.offset = raw_output_->ByteCount(); in Write()
171 uint32 dir_ofs = raw_output_->ByteCount(); in WriteDirectory()
201 uint32 dir_len = output.ByteCount(); in WriteDirectory()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DSHA1.cpp91 InternalState.ByteCount = 0; in init()
209 ++InternalState.ByteCount; in writebyte()
230 addUncounted(InternalState.ByteCount >> 29); // Shifting to multiply by 8 in pad()
231 addUncounted(InternalState.ByteCount >> in pad()
233 addUncounted(InternalState.ByteCount >> 13); // byte. in pad()
234 addUncounted(InternalState.ByteCount >> 5); in pad()
235 addUncounted(InternalState.ByteCount << 3); in pad()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_10_0.inc501 CUresult CUDAAPI cuMemcpy(CUdeviceptr dst, CUdeviceptr src, size_t ByteCount) {
505 return func_ptr(dst, src, ByteCount);
508 …r dstDevice, CUcontext dstContext, CUdeviceptr srcDevice, CUcontext srcContext, size_t ByteCount) {
512 return func_ptr(dstDevice, dstContext, srcDevice, srcContext, ByteCount);
515 CUresult CUDAAPI cuMemcpyHtoD(CUdeviceptr dstDevice, const void *srcHost, size_t ByteCount) {
519 return func_ptr(dstDevice, srcHost, ByteCount);
522 CUresult CUDAAPI cuMemcpyDtoH(void *dstHost, CUdeviceptr srcDevice, size_t ByteCount) {
526 return func_ptr(dstHost, srcDevice, ByteCount);
529 CUresult CUDAAPI cuMemcpyDtoD(CUdeviceptr dstDevice, CUdeviceptr srcDevice, size_t ByteCount) {
533 return func_ptr(dstDevice, srcDevice, ByteCount);
[all …]
/external/sfntly/cpp/src/sfntly/table/
Dbyte_array_table_builder.h43 virtual int32_t ByteCount();
/external/llvm/include/llvm/Support/
DSHA1.h66 uint32_t ByteCount; member

123