Home
last modified time | relevance | path

Searched refs:word_buffer (Results 1 – 2 of 2) sorted by relevance

/external/deqp-deps/SPIRV-Tools/test/
Dparse_number_test.cpp597 std::vector<uint32_t> word_buffer; in TEST() local
598 auto emit = [&word_buffer](uint32_t word) { in TEST()
599 if (word_buffer.size() == 2) word_buffer.clear(); in TEST()
600 word_buffer.push_back(word); in TEST()
606 EXPECT_THAT(word_buffer, Eq(std::vector<uint32_t>{0u, 0u})); in TEST()
609 EXPECT_THAT(word_buffer, Eq(std::vector<uint32_t>{0u, 0u})); in TEST()
612 EXPECT_THAT(word_buffer, Eq(std::vector<uint32_t>{0xffffffffu, 0x7fffffffu})); in TEST()
615 EXPECT_THAT(word_buffer, Eq(std::vector<uint32_t>{0u, 0x80000000u})); in TEST()
618 EXPECT_THAT(word_buffer, Eq(std::vector<uint32_t>{0xffffffffu, 0xffffffffu})); in TEST()
623 EXPECT_THAT(word_buffer, Eq(std::vector<uint32_t>{0xffffffffu, 0x7fffffffu})); in TEST()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/
Dparse_number_test.cpp597 std::vector<uint32_t> word_buffer; in TEST() local
598 auto emit = [&word_buffer](uint32_t word) { in TEST()
599 if (word_buffer.size() == 2) word_buffer.clear(); in TEST()
600 word_buffer.push_back(word); in TEST()
606 EXPECT_THAT(word_buffer, Eq(std::vector<uint32_t>{0u, 0u})); in TEST()
609 EXPECT_THAT(word_buffer, Eq(std::vector<uint32_t>{0u, 0u})); in TEST()
612 EXPECT_THAT(word_buffer, Eq(std::vector<uint32_t>{0xffffffffu, 0x7fffffffu})); in TEST()
615 EXPECT_THAT(word_buffer, Eq(std::vector<uint32_t>{0u, 0x80000000u})); in TEST()
618 EXPECT_THAT(word_buffer, Eq(std::vector<uint32_t>{0xffffffffu, 0xffffffffu})); in TEST()
623 EXPECT_THAT(word_buffer, Eq(std::vector<uint32_t>{0xffffffffu, 0x7fffffffu})); in TEST()
[all …]