Lines Matching refs:WriteBits
97 void WriteBits(uint64_t bits, size_t num_bits) override { in WriteBits() function in spvtools::comp::__anone6f5b1e80111::BitWriterStringStream
413 TEST(BitWriterStringStream, WriteBits) { in TEST() argument
416 writer.WriteBits(bits1, 5); in TEST()
446 writer.WriteBits(b2_val, 8); in TEST()
450 writer.WriteBits(val, 8); in TEST()
467 TEST(BitWriterWord64, WriteBits) { in TEST() argument
470 writer.WriteBits(bits1, 5); in TEST()
471 writer.WriteBits(bits1, 5); in TEST()
472 writer.WriteBits(bits1, 5); in TEST()
479 writer.WriteBits(0, 0); in TEST()
480 writer.WriteBits(1, 0); in TEST()
482 writer.WriteBits(1, 1); in TEST()
483 writer.WriteBits(0, 0); in TEST()
484 writer.WriteBits(0, 63); in TEST()
486 writer.WriteBits(0, 0); in TEST()
487 writer.WriteBits(7, 3); in TEST()
488 writer.WriteBits(0, 0); in TEST()
496 writer1.WriteBits(i, 16); in TEST()
497 writer2.WriteBits(i, 16); in TEST()
744 writer.WriteBits(bits, size_t(num_bits)); in TEST()