Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/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
185 int64_t FileOutputStream::ByteCount() const { return impl_.ByteCount(); } in ByteCount() function in google::protobuf::io::FileOutputStream
265 int64_t IstreamInputStream::ByteCount() const { return impl_.ByteCount(); } in ByteCount() function in google::protobuf::io::IstreamInputStream
296 int64_t OstreamOutputStream::ByteCount() const { return impl_.ByteCount(); } in ByteCount() function in google::protobuf::io::OstreamOutputStream
323 bytes_retired_ += streams_[0]->ByteCount(); in Next()
344 int64 target_byte_count = streams_[0]->ByteCount() + count; in Skip()
349 int64 final_byte_count = streams_[0]->ByteCount(); in Skip()
362 int64_t ConcatenatingInputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::ConcatenatingInputStream
366 return bytes_retired_ + streams_[0]->ByteCount(); in ByteCount()
Dcoded_stream_unittest.cc203 EXPECT_EQ(kVarintCases_case.size, input.ByteCount()); in TEST_2D()
220 EXPECT_EQ(kVarintCases_case.size, input.ByteCount()); in TEST_2D()
241 int64_t ByteCount() const override { return 0; } in TEST_F() function in google::protobuf::io::__anon1b6c73a90111::TEST_F::In
277 EXPECT_EQ(kVarintCases_case.size + 1, input.ByteCount()); in TEST_1D()
279 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.cc223 EXPECT_EQ(output->ByteCount(), 68); in WriteStuff()
225 int result = output->ByteCount(); in WriteStuff()
241 EXPECT_EQ(input->ByteCount(), 68); in ReadStuff()
255 EXPECT_EQ(output->ByteCount(), 200055); in WriteStuffLarge()
257 int result = output->ByteCount(); in WriteStuffLarge()
272 EXPECT_EQ(input->ByteCount(), 200055); in ReadStuffLarge()
316 int64 pos = output->ByteCount(); in TEST_F()
324 int64 size = pos + output->ByteCount(); in TEST_F()
369 size = output.ByteCount(); in TEST_F()
404 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
135 int64_t ArrayOutputStream::ByteCount() const { return position_; } in ByteCount() function in google::protobuf::io::ArrayOutputStream
179 int64_t StringOutputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::StringOutputStream
285 int64_t CopyingInputStreamAdaptor::ByteCount() const { in ByteCount() function in google::protobuf::io::CopyingInputStreamAdaptor
345 int64_t CopyingOutputStreamAdaptor::ByteCount() const { in ByteCount() function in google::protobuf::io::CopyingOutputStreamAdaptor
384 prior_bytes_read_ = input_->ByteCount(); in LimitingInputStream()
427 int64_t LimitingInputStream::ByteCount() const { in ByteCount() function in google::protobuf::io::LimitingInputStream
429 return input_->ByteCount() + limit_ - prior_bytes_read_; in ByteCount()
431 return input_->ByteCount() - prior_bytes_read_; in ByteCount()
Dzero_copy_stream_impl_lite.h83 int64_t ByteCount() const override;
116 int64_t ByteCount() const override;
150 int64_t ByteCount() const override;
222 int64_t ByteCount() const override;
309 int64_t ByteCount() const override;
356 int64_t ByteCount() const override;
Dzero_copy_stream_impl.h96 int64_t ByteCount() const override;
178 int64_t ByteCount() const override;
229 int64_t ByteCount() const override;
272 int64_t ByteCount() const override;
317 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.h175 virtual int64_t ByteCount() const = 0;
230 virtual int64_t ByteCount() const = 0;
Dgzip_stream.h86 int64_t ByteCount() const;
172 int64_t ByteCount() const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DSHA1.cpp91 InternalState.ByteCount = 0; in init()
209 ++InternalState.ByteCount; in writebyte()
214 InternalState.ByteCount += Data.size(); in update()
253 addUncounted(InternalState.ByteCount >> 29); // Shifting to multiply by 8 in pad()
254 addUncounted(InternalState.ByteCount >> in pad()
256 addUncounted(InternalState.ByteCount >> 13); // byte. in pad()
257 addUncounted(InternalState.ByteCount >> 5); in pad()
258 addUncounted(InternalState.ByteCount << 3); in pad()
/third_party/protobuf/src/google/protobuf/compiler/
Dzip_writer.cc118 info.offset = raw_output_->ByteCount(); in Write()
145 uint32 dir_ofs = raw_output_->ByteCount(); in WriteDirectory()
175 uint32 dir_len = output.ByteCount(); in WriteDirectory()
/third_party/protobuf/src/google/protobuf/
Dmessage_lite.cc216 int64_t ByteCount() const final { return 0; } in ByteCount() function in google::protobuf::ZeroCopyCodedInputStream
353 GOOGLE_DCHECK(!out.HadError() && stream.ByteCount() == size); in SerializeToArrayImpl()
385 int original_byte_count = output->ByteCount(); in SerializePartialToCodedStream()
390 int final_byte_count = output->ByteCount(); in SerializePartialToCodedStream()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/
Dbyte_array_table_builder.h43 virtual int32_t ByteCount();
Dbyte_array_table_builder.cc45 int32_t ByteArrayTableBuilder::ByteCount() { in ByteCount() function in sfntly::ByteArrayTableBuilder
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/
Dbyte_array_table_builder.h43 virtual int32_t ByteCount();
Dbyte_array_table_builder.cc45 int32_t ByteArrayTableBuilder::ByteCount() { in ByteCount() function in sfntly::ByteArrayTableBuilder
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DSHA1.h72 uint32_t ByteCount; member
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceASanInstrumentation.cpp249 auto *ByteCount = ConstantInteger32::create(Ctx, IceType_i32, RzSize); in instrumentFuncStart() local
252 InstAlloca::create(Func, LastRzVar, ByteCount, Alignment)); in instrumentFuncStart()
279 auto *ByteCount = in instrumentFuncStart() local
283 InstAlloca::create(Func, Dest, ByteCount, Alignment)); in instrumentFuncStart()

123